diff --git a/profiles/latest/devtestlabs/mgmt/dtl/models.go b/profiles/latest/devtestlabs/mgmt/dtl/models.go index 43ed11186d72..f35bb8a8b6ee 100644 --- a/profiles/latest/devtestlabs/mgmt/dtl/models.go +++ b/profiles/latest/devtestlabs/mgmt/dtl/models.go @@ -196,8 +196,9 @@ const ( type StorageType = original.StorageType const ( - Premium StorageType = original.Premium - Standard StorageType = original.Standard + Premium StorageType = original.Premium + Standard StorageType = original.Standard + StandardSSD StorageType = original.StandardSSD ) type TargetCostStatus = original.TargetCostStatus @@ -225,8 +226,9 @@ const ( type VirtualMachineCreationSource = original.VirtualMachineCreationSource const ( - FromCustomImage VirtualMachineCreationSource = original.FromCustomImage - FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage + FromCustomImage VirtualMachineCreationSource = original.FromCustomImage + FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage + FromSharedGalleryImage VirtualMachineCreationSource = original.FromSharedGalleryImage ) type WindowsOsState = original.WindowsOsState @@ -493,9 +495,6 @@ type ServiceFabricsDeleteFuture = original.ServiceFabricsDeleteFuture type ServiceFabricsStartFuture = original.ServiceFabricsStartFuture type ServiceFabricsStopFuture = original.ServiceFabricsStopFuture type ServiceRunner = original.ServiceRunner -type ServiceRunnerList = original.ServiceRunnerList -type ServiceRunnerListIterator = original.ServiceRunnerListIterator -type ServiceRunnerListPage = original.ServiceRunnerListPage type ServiceRunnersClient = original.ServiceRunnersClient type SharedPublicIPAddressConfiguration = original.SharedPublicIPAddressConfiguration type SharedPublicIPAddressConfigurationFragment = original.SharedPublicIPAddressConfigurationFragment @@ -778,12 +777,6 @@ func NewServiceFabricsClient(subscriptionID string) ServiceFabricsClient { func NewServiceFabricsClientWithBaseURI(baseURI string, subscriptionID string) ServiceFabricsClient { return original.NewServiceFabricsClientWithBaseURI(baseURI, subscriptionID) } -func NewServiceRunnerListIterator(page ServiceRunnerListPage) ServiceRunnerListIterator { - return original.NewServiceRunnerListIterator(page) -} -func NewServiceRunnerListPage(getNextPage func(context.Context, ServiceRunnerList) (ServiceRunnerList, error)) ServiceRunnerListPage { - return original.NewServiceRunnerListPage(getNextPage) -} func NewServiceRunnersClient(subscriptionID string) ServiceRunnersClient { return original.NewServiceRunnersClient(subscriptionID) } diff --git a/profiles/preview/devtestlabs/mgmt/dtl/models.go b/profiles/preview/devtestlabs/mgmt/dtl/models.go index 254097a49f2c..0f9b01653c20 100644 --- a/profiles/preview/devtestlabs/mgmt/dtl/models.go +++ b/profiles/preview/devtestlabs/mgmt/dtl/models.go @@ -196,8 +196,9 @@ const ( type StorageType = original.StorageType const ( - Premium StorageType = original.Premium - Standard StorageType = original.Standard + Premium StorageType = original.Premium + Standard StorageType = original.Standard + StandardSSD StorageType = original.StandardSSD ) type TargetCostStatus = original.TargetCostStatus @@ -225,8 +226,9 @@ const ( type VirtualMachineCreationSource = original.VirtualMachineCreationSource const ( - FromCustomImage VirtualMachineCreationSource = original.FromCustomImage - FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage + FromCustomImage VirtualMachineCreationSource = original.FromCustomImage + FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage + FromSharedGalleryImage VirtualMachineCreationSource = original.FromSharedGalleryImage ) type WindowsOsState = original.WindowsOsState @@ -493,9 +495,6 @@ type ServiceFabricsDeleteFuture = original.ServiceFabricsDeleteFuture type ServiceFabricsStartFuture = original.ServiceFabricsStartFuture type ServiceFabricsStopFuture = original.ServiceFabricsStopFuture type ServiceRunner = original.ServiceRunner -type ServiceRunnerList = original.ServiceRunnerList -type ServiceRunnerListIterator = original.ServiceRunnerListIterator -type ServiceRunnerListPage = original.ServiceRunnerListPage type ServiceRunnersClient = original.ServiceRunnersClient type SharedPublicIPAddressConfiguration = original.SharedPublicIPAddressConfiguration type SharedPublicIPAddressConfigurationFragment = original.SharedPublicIPAddressConfigurationFragment @@ -778,12 +777,6 @@ func NewServiceFabricsClient(subscriptionID string) ServiceFabricsClient { func NewServiceFabricsClientWithBaseURI(baseURI string, subscriptionID string) ServiceFabricsClient { return original.NewServiceFabricsClientWithBaseURI(baseURI, subscriptionID) } -func NewServiceRunnerListIterator(page ServiceRunnerListPage) ServiceRunnerListIterator { - return original.NewServiceRunnerListIterator(page) -} -func NewServiceRunnerListPage(getNextPage func(context.Context, ServiceRunnerList) (ServiceRunnerList, error)) ServiceRunnerListPage { - return original.NewServiceRunnerListPage(getNextPage) -} func NewServiceRunnersClient(subscriptionID string) ServiceRunnersClient { return original.NewServiceRunnersClient(subscriptionID) } diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/armtemplates.go b/services/devtestlabs/mgmt/2018-09-15/dtl/armtemplates.go index 9142cf2e8e25..f7425f06b6f0 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/armtemplates.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/armtemplates.go @@ -45,7 +45,7 @@ func NewArmTemplatesClientWithBaseURI(baseURI string, subscriptionID string) Arm // resourceGroupName - the name of the resource group. // labName - the name of the lab. // artifactSourceName - the name of the artifact source. -// name - the name of the azure Resource Manager template. +// name - the name of the azure resource manager template. // expand - specify the $expand query. Example: 'properties($select=displayName)' func (client ArmTemplatesClient) Get(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, expand string) (result ArmTemplate, err error) { if tracing.IsEnabled() { diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/artifactsources.go b/services/devtestlabs/mgmt/2018-09-15/dtl/artifactsources.go index 03da77dc5519..bb9efa9babb5 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/artifactsources.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/artifactsources.go @@ -421,7 +421,7 @@ func (client ArtifactSourcesClient) ListComplete(ctx context.Context, resourceGr return } -// Update modify properties of artifact sources. +// Update allows modifying tags of artifact sources. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/customimages.go b/services/devtestlabs/mgmt/2018-09-15/dtl/customimages.go index 6978f68bc5f7..3ef86b4c1e24 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/customimages.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/customimages.go @@ -421,7 +421,7 @@ func (client CustomImagesClient) ListComplete(ctx context.Context, resourceGroup return } -// Update modify properties of custom images. +// Update allows modifying tags of custom images. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/disks.go b/services/devtestlabs/mgmt/2018-09-15/dtl/disks.go index 5e8ec4b449ea..2a85ed985d97 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/disks.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/disks.go @@ -596,7 +596,7 @@ func (client DisksClient) ListComplete(ctx context.Context, resourceGroupName st return } -// Update modify properties of disks. +// Update allows modifying tags of disks. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/dtlapi/interfaces.go b/services/devtestlabs/mgmt/2018-09-15/dtl/dtlapi/interfaces.go index 59aca2c7c9d7..6a8b229473ab 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/dtlapi/interfaces.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/dtlapi/interfaces.go @@ -182,7 +182,6 @@ type ServiceRunnersClientAPI interface { CreateOrUpdate(ctx context.Context, resourceGroupName string, labName string, name string, serviceRunner dtl.ServiceRunner) (result dtl.ServiceRunner, err error) Delete(ctx context.Context, resourceGroupName string, labName string, name string) (result autorest.Response, err error) Get(ctx context.Context, resourceGroupName string, labName string, name string) (result dtl.ServiceRunner, err error) - List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderby string) (result dtl.ServiceRunnerListPage, err error) } var _ ServiceRunnersClientAPI = (*dtl.ServiceRunnersClient)(nil) diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/environments.go b/services/devtestlabs/mgmt/2018-09-15/dtl/environments.go index 7223d0319e5e..a710d520c413 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/environments.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/environments.go @@ -429,7 +429,7 @@ func (client EnvironmentsClient) ListComplete(ctx context.Context, resourceGroup return } -// Update modify properties of environments. +// Update allows modifying tags of environments. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/formulas.go b/services/devtestlabs/mgmt/2018-09-15/dtl/formulas.go index 8c8bd776e091..7e57e5c987ff 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/formulas.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/formulas.go @@ -41,7 +41,7 @@ func NewFormulasClientWithBaseURI(baseURI string, subscriptionID string) Formula return FormulasClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate create or replace an existing Formula. This operation can take a while to complete. +// CreateOrUpdate create or replace an existing formula. This operation can take a while to complete. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. @@ -421,7 +421,7 @@ func (client FormulasClient) ListComplete(ctx context.Context, resourceGroupName return } -// Update modify properties of formulas. +// Update allows modifying tags of formulas. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/globalschedules.go b/services/devtestlabs/mgmt/2018-09-15/dtl/globalschedules.go index 227eae5216a7..acdbd3aa9070 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/globalschedules.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/globalschedules.go @@ -695,7 +695,7 @@ func (client GlobalSchedulesClient) RetargetResponder(resp *http.Response) (resu return } -// Update modify properties of schedules. +// Update allows modifying tags of schedules. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // name - the name of the schedule. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/labs.go b/services/devtestlabs/mgmt/2018-09-15/dtl/labs.go index ee0f1dc831fe..253c93a5b441 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/labs.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/labs.go @@ -1043,7 +1043,7 @@ func (client LabsClient) ListVhdsComplete(ctx context.Context, resourceGroupName return } -// Update modify properties of labs. +// Update allows modifying tags of labs. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // name - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/models.go b/services/devtestlabs/mgmt/2018-09-15/dtl/models.go index 98acd9422bc9..24a1dc55c84d 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/models.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/models.go @@ -383,11 +383,13 @@ const ( Premium StorageType = "Premium" // Standard ... Standard StorageType = "Standard" + // StandardSSD ... + StandardSSD StorageType = "StandardSSD" ) // PossibleStorageTypeValues returns an array of possible values for the StorageType const type. func PossibleStorageTypeValues() []StorageType { - return []StorageType{Premium, Standard} + return []StorageType{Premium, Standard, StandardSSD} } // TargetCostStatus enumerates the values for target cost status. @@ -445,11 +447,13 @@ const ( FromCustomImage VirtualMachineCreationSource = "FromCustomImage" // FromGalleryImage ... FromGalleryImage VirtualMachineCreationSource = "FromGalleryImage" + // FromSharedGalleryImage ... + FromSharedGalleryImage VirtualMachineCreationSource = "FromSharedGalleryImage" ) // PossibleVirtualMachineCreationSourceValues returns an array of possible values for the VirtualMachineCreationSource const type. func PossibleVirtualMachineCreationSourceValues() []VirtualMachineCreationSource { - return []VirtualMachineCreationSource{FromCustomImage, FromGalleryImage} + return []VirtualMachineCreationSource{FromCustomImage, FromGalleryImage, FromSharedGalleryImage} } // WindowsOsState enumerates the values for windows os state. @@ -1632,21 +1636,21 @@ type AttachDiskProperties struct { // AttachNewDataDiskOptions properties to attach new disk to the Virtual Machine. type AttachNewDataDiskOptions struct { - // DiskSizeGiB - Size of the disk to be attached in Gibibytes. + // DiskSizeGiB - Size of the disk to be attached in GibiBytes. DiskSizeGiB *int32 `json:"diskSizeGiB,omitempty"` // DiskName - The name of the disk to be attached. DiskName *string `json:"diskName,omitempty"` - // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium' + // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium', 'StandardSSD' DiskType StorageType `json:"diskType,omitempty"` } // AttachNewDataDiskOptionsFragment properties to attach new disk to the Virtual Machine. type AttachNewDataDiskOptionsFragment struct { - // DiskSizeGiB - Size of the disk to be attached in Gibibytes. + // DiskSizeGiB - Size of the disk to be attached in GibiBytes. DiskSizeGiB *int32 `json:"diskSizeGiB,omitempty"` // DiskName - The name of the disk to be attached. DiskName *string `json:"diskName,omitempty"` - // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium' + // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium', 'StandardSSD' DiskType StorageType `json:"diskType,omitempty"` } @@ -2260,7 +2264,7 @@ type DataDiskPropertiesFragment struct { type DataDiskStorageTypeInfo struct { // Lun - Disk Lun Lun *string `json:"lun,omitempty"` - // StorageType - Disk Storage Type. Possible values include: 'Standard', 'Premium' + // StorageType - Disk Storage Type. Possible values include: 'Standard', 'Premium', 'StandardSSD' StorageType StorageType `json:"storageType,omitempty"` } @@ -2268,7 +2272,7 @@ type DataDiskStorageTypeInfo struct { type DataDiskStorageTypeInfoFragment struct { // Lun - Disk Lun Lun *string `json:"lun,omitempty"` - // StorageType - Disk Storage Type. Possible values include: 'Standard', 'Premium' + // StorageType - Disk Storage Type. Possible values include: 'Standard', 'Premium', 'StandardSSD' StorageType StorageType `json:"storageType,omitempty"` } @@ -2598,9 +2602,9 @@ func NewDiskListPage(getNextPage func(context.Context, DiskList) (DiskList, erro // DiskProperties properties of a disk. type DiskProperties struct { - // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium' + // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium', 'StandardSSD' DiskType StorageType `json:"diskType,omitempty"` - // DiskSizeGiB - The size of the disk in Gibibytes. + // DiskSizeGiB - The size of the disk in GibiBytes. DiskSizeGiB *int32 `json:"diskSizeGiB,omitempty"` // LeasedByLabVMID - The resource ID of the VM to which this disk is leased. LeasedByLabVMID *string `json:"leasedByLabVmId,omitempty"` @@ -2622,9 +2626,9 @@ type DiskProperties struct { // DiskPropertiesFragment properties of a disk. type DiskPropertiesFragment struct { - // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium' + // DiskType - The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium', 'StandardSSD' DiskType StorageType `json:"diskType,omitempty"` - // DiskSizeGiB - The size of the disk in Gibibytes. + // DiskSizeGiB - The size of the disk in GibiBytes. DiskSizeGiB *int32 `json:"diskSizeGiB,omitempty"` // LeasedByLabVMID - The resource ID of the VM to which this disk is leased. LeasedByLabVMID *string `json:"leasedByLabVmId,omitempty"` @@ -4466,7 +4470,7 @@ type LabProperties struct { PremiumDataDiskStorageAccount *string `json:"premiumDataDiskStorageAccount,omitempty"` // VaultName - READ-ONLY; The lab's Key vault. VaultName *string `json:"vaultName,omitempty"` - // LabStorageType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Possible values include: 'Standard', 'Premium' + // LabStorageType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Possible values include: 'Standard', 'Premium', 'StandardSSD' LabStorageType StorageType `json:"labStorageType,omitempty"` // MandatoryArtifactsResourceIdsLinux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user. MandatoryArtifactsResourceIdsLinux *[]string `json:"mandatoryArtifactsResourceIdsLinux,omitempty"` @@ -4484,7 +4488,7 @@ type LabProperties struct { Announcement *LabAnnouncementProperties `json:"announcement,omitempty"` // Support - The properties of any lab support message associated with this lab Support *LabSupportProperties `json:"support,omitempty"` - // VMCreationResourceGroup - READ-ONLY; The resource group in which lab virtual machines will be created in. + // VMCreationResourceGroup - READ-ONLY; The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null. VMCreationResourceGroup *string `json:"vmCreationResourceGroup,omitempty"` // PublicIPID - READ-ONLY; The public IP address for the lab's load balancer. PublicIPID *string `json:"publicIpId,omitempty"` @@ -4532,7 +4536,7 @@ func (lp LabProperties) MarshalJSON() ([]byte, error) { // LabPropertiesFragment properties of a lab. type LabPropertiesFragment struct { - // LabStorageType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Possible values include: 'Standard', 'Premium' + // LabStorageType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Possible values include: 'Standard', 'Premium', 'StandardSSD' LabStorageType StorageType `json:"labStorageType,omitempty"` // MandatoryArtifactsResourceIdsLinux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user. MandatoryArtifactsResourceIdsLinux *[]string `json:"mandatoryArtifactsResourceIdsLinux,omitempty"` @@ -5234,7 +5238,7 @@ type LabVirtualMachineCreationParameterProperties struct { AllowClaim *bool `json:"allowClaim,omitempty"` // StorageType - Storage type to use for virtual machine (i.e. Standard, Premium). StorageType *string `json:"storageType,omitempty"` - // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage' + // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' VirtualMachineCreationSource VirtualMachineCreationSource `json:"virtualMachineCreationSource,omitempty"` // EnvironmentID - The resource ID of the environment that contains this virtual machine, if any. EnvironmentID *string `json:"environmentId,omitempty"` @@ -5302,7 +5306,7 @@ type LabVirtualMachineCreationParameterPropertiesFragment struct { AllowClaim *bool `json:"allowClaim,omitempty"` // StorageType - Storage type to use for virtual machine (i.e. Standard, Premium). StorageType *string `json:"storageType,omitempty"` - // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage' + // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' VirtualMachineCreationSource VirtualMachineCreationSource `json:"virtualMachineCreationSource,omitempty"` // EnvironmentID - The resource ID of the environment that contains this virtual machine, if any. EnvironmentID *string `json:"environmentId,omitempty"` @@ -5571,7 +5575,7 @@ type LabVirtualMachineProperties struct { AllowClaim *bool `json:"allowClaim,omitempty"` // StorageType - Storage type to use for virtual machine (i.e. Standard, Premium). StorageType *string `json:"storageType,omitempty"` - // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage' + // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' VirtualMachineCreationSource VirtualMachineCreationSource `json:"virtualMachineCreationSource,omitempty"` // EnvironmentID - The resource ID of the environment that contains this virtual machine, if any. EnvironmentID *string `json:"environmentId,omitempty"` @@ -5641,7 +5645,7 @@ type LabVirtualMachinePropertiesFragment struct { AllowClaim *bool `json:"allowClaim,omitempty"` // StorageType - Storage type to use for virtual machine (i.e. Standard, Premium). StorageType *string `json:"storageType,omitempty"` - // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage' + // VirtualMachineCreationSource - Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' VirtualMachineCreationSource VirtualMachineCreationSource `json:"virtualMachineCreationSource,omitempty"` // EnvironmentID - The resource ID of the environment that contains this virtual machine, if any. EnvironmentID *string `json:"environmentId,omitempty"` @@ -8094,152 +8098,6 @@ func (sr ServiceRunner) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// ServiceRunnerList the response of a list operation. -type ServiceRunnerList struct { - autorest.Response `json:"-"` - // Value - Results of the list operation. - Value *[]ServiceRunner `json:"value,omitempty"` - // NextLink - Link for next set of results. - NextLink *string `json:"nextLink,omitempty"` -} - -// ServiceRunnerListIterator provides access to a complete listing of ServiceRunner values. -type ServiceRunnerListIterator struct { - i int - page ServiceRunnerListPage -} - -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *ServiceRunnerListIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ServiceRunnerListIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *ServiceRunnerListIterator) Next() error { - return iter.NextWithContext(context.Background()) -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter ServiceRunnerListIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter ServiceRunnerListIterator) Response() ServiceRunnerList { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter ServiceRunnerListIterator) Value() ServiceRunner { - if !iter.page.NotDone() { - return ServiceRunner{} - } - return iter.page.Values()[iter.i] -} - -// Creates a new instance of the ServiceRunnerListIterator type. -func NewServiceRunnerListIterator(page ServiceRunnerListPage) ServiceRunnerListIterator { - return ServiceRunnerListIterator{page: page} -} - -// IsEmpty returns true if the ListResult contains no values. -func (srl ServiceRunnerList) IsEmpty() bool { - return srl.Value == nil || len(*srl.Value) == 0 -} - -// serviceRunnerListPreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (srl ServiceRunnerList) serviceRunnerListPreparer(ctx context.Context) (*http.Request, error) { - if srl.NextLink == nil || len(to.String(srl.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(srl.NextLink))) -} - -// ServiceRunnerListPage contains a page of ServiceRunner values. -type ServiceRunnerListPage struct { - fn func(context.Context, ServiceRunnerList) (ServiceRunnerList, error) - srl ServiceRunnerList -} - -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *ServiceRunnerListPage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ServiceRunnerListPage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.srl) - if err != nil { - return err - } - page.srl = next - return nil -} - -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *ServiceRunnerListPage) Next() error { - return page.NextWithContext(context.Background()) -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page ServiceRunnerListPage) NotDone() bool { - return !page.srl.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page ServiceRunnerListPage) Response() ServiceRunnerList { - return page.srl -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page ServiceRunnerListPage) Values() []ServiceRunner { - if page.srl.IsEmpty() { - return nil - } - return *page.srl.Value -} - -// Creates a new instance of the ServiceRunnerListPage type. -func NewServiceRunnerListPage(getNextPage func(context.Context, ServiceRunnerList) (ServiceRunnerList, error)) ServiceRunnerListPage { - return ServiceRunnerListPage{fn: getNextPage} -} - // SharedPublicIPAddressConfiguration properties of a virtual machine that determine how it is connected to // a load balancer. type SharedPublicIPAddressConfiguration struct { diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/notificationchannels.go b/services/devtestlabs/mgmt/2018-09-15/dtl/notificationchannels.go index 9b31d46ddb50..ea52873bf53d 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/notificationchannels.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/notificationchannels.go @@ -41,11 +41,11 @@ func NewNotificationChannelsClientWithBaseURI(baseURI string, subscriptionID str return NotificationChannelsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate create or replace an existing notificationChannel. +// CreateOrUpdate create or replace an existing notification channel. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. -// name - the name of the notificationChannel. +// name - the name of the notification channel. // notificationChannel - a notification. func (client NotificationChannelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labName string, name string, notificationChannel NotificationChannel) (result NotificationChannel, err error) { if tracing.IsEnabled() { @@ -133,7 +133,7 @@ func (client NotificationChannelsClient) CreateOrUpdateResponder(resp *http.Resp // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. -// name - the name of the notificationChannel. +// name - the name of the notification channel. func (client NotificationChannelsClient) Delete(ctx context.Context, resourceGroupName string, labName string, name string) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/NotificationChannelsClient.Delete") @@ -211,7 +211,7 @@ func (client NotificationChannelsClient) DeleteResponder(resp *http.Response) (r // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. -// name - the name of the notificationChannel. +// name - the name of the notification channel. // expand - specify the $expand query. Example: 'properties($select=webHookUrl)' func (client NotificationChannelsClient) Get(ctx context.Context, resourceGroupName string, labName string, name string, expand string) (result NotificationChannel, err error) { if tracing.IsEnabled() { @@ -425,7 +425,7 @@ func (client NotificationChannelsClient) ListComplete(ctx context.Context, resou // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. -// name - the name of the notificationChannel. +// name - the name of the notification channel. // notifyParameters - properties for generating a Notification. func (client NotificationChannelsClient) Notify(ctx context.Context, resourceGroupName string, labName string, name string, notifyParameters NotifyParameters) (result autorest.Response, err error) { if tracing.IsEnabled() { @@ -502,11 +502,11 @@ func (client NotificationChannelsClient) NotifyResponder(resp *http.Response) (r return } -// Update modify properties of notification channels. +// Update allows modifying tags of notification channels. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. -// name - the name of the notificationChannel. +// name - the name of the notification channel. // notificationChannel - a notification. func (client NotificationChannelsClient) Update(ctx context.Context, resourceGroupName string, labName string, name string, notificationChannel NotificationChannelFragment) (result NotificationChannel, err error) { if tracing.IsEnabled() { diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/policies.go b/services/devtestlabs/mgmt/2018-09-15/dtl/policies.go index a5ead71fea79..612f8f7cbdc3 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/policies.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/policies.go @@ -429,7 +429,7 @@ func (client PoliciesClient) ListComplete(ctx context.Context, resourceGroupName return } -// Update modify properties of policies. +// Update allows modifying tags of policies. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/schedules.go b/services/devtestlabs/mgmt/2018-09-15/dtl/schedules.go index 991de3edbb7b..d30391fec48f 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/schedules.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/schedules.go @@ -616,7 +616,7 @@ func (client SchedulesClient) ListApplicableComplete(ctx context.Context, resour return } -// Update modify properties of schedules. +// Update allows modifying tags of schedules. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/secrets.go b/services/devtestlabs/mgmt/2018-09-15/dtl/secrets.go index a61cc94e4d01..dc8202c91a15 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/secrets.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/secrets.go @@ -429,7 +429,7 @@ func (client SecretsClient) ListComplete(ctx context.Context, resourceGroupName return } -// Update modify properties of secrets. +// Update allows modifying tags of secrets. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabrics.go b/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabrics.go index 7f0ca8ed5561..f71f6a5143b9 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabrics.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabrics.go @@ -41,12 +41,12 @@ func NewServiceFabricsClientWithBaseURI(baseURI string, subscriptionID string) S return ServiceFabricsClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate create or replace an existing Service Fabric. This operation can take a while to complete. +// CreateOrUpdate create or replace an existing service fabric. This operation can take a while to complete. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. // serviceFabric - a Service Fabric. func (client ServiceFabricsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labName string, userName string, name string, serviceFabric ServiceFabric) (result ServiceFabricsCreateOrUpdateFuture, err error) { if tracing.IsEnabled() { @@ -145,7 +145,7 @@ func (client ServiceFabricsClient) CreateOrUpdateResponder(resp *http.Response) // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. func (client ServiceFabricsClient) Delete(ctx context.Context, resourceGroupName string, labName string, userName string, name string) (result ServiceFabricsDeleteFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ServiceFabricsClient.Delete") @@ -225,7 +225,7 @@ func (client ServiceFabricsClient) DeleteResponder(resp *http.Response) (result // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. // expand - specify the $expand query. Example: 'properties($expand=applicableSchedule)' func (client ServiceFabricsClient) Get(ctx context.Context, resourceGroupName string, labName string, userName string, name string, expand string) (result ServiceFabric, err error) { if tracing.IsEnabled() { @@ -443,7 +443,7 @@ func (client ServiceFabricsClient) ListComplete(ctx context.Context, resourceGro // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. func (client ServiceFabricsClient) ListApplicableSchedules(ctx context.Context, resourceGroupName string, labName string, userName string, name string) (result ApplicableSchedule, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ServiceFabricsClient.ListApplicableSchedules") @@ -524,7 +524,7 @@ func (client ServiceFabricsClient) ListApplicableSchedulesResponder(resp *http.R // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. func (client ServiceFabricsClient) Start(ctx context.Context, resourceGroupName string, labName string, userName string, name string) (result ServiceFabricsStartFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ServiceFabricsClient.Start") @@ -604,7 +604,7 @@ func (client ServiceFabricsClient) StartResponder(resp *http.Response) (result a // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. func (client ServiceFabricsClient) Stop(ctx context.Context, resourceGroupName string, labName string, userName string, name string) (result ServiceFabricsStopFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/ServiceFabricsClient.Stop") @@ -679,12 +679,12 @@ func (client ServiceFabricsClient) StopResponder(resp *http.Response) (result au return } -// Update modify properties of service fabrics. +// Update allows modifying tags of service fabrics. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// name - the name of the service Fabric. +// name - the name of the service fabric. // serviceFabric - a Service Fabric. func (client ServiceFabricsClient) Update(ctx context.Context, resourceGroupName string, labName string, userName string, name string, serviceFabric ServiceFabricFragment) (result ServiceFabric, err error) { if tracing.IsEnabled() { diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabricschedules.go b/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabricschedules.go index 3a7de27b170d..88ca2e609489 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabricschedules.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/servicefabricschedules.go @@ -46,7 +46,7 @@ func NewServiceFabricSchedulesClientWithBaseURI(baseURI string, subscriptionID s // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// serviceFabricName - the name of the service Fabric. +// serviceFabricName - the name of the service fabric. // name - the name of the schedule. // schedule - a schedule. func (client ServiceFabricSchedulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, schedule Schedule) (result Schedule, err error) { @@ -138,7 +138,7 @@ func (client ServiceFabricSchedulesClient) CreateOrUpdateResponder(resp *http.Re // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// serviceFabricName - the name of the service Fabric. +// serviceFabricName - the name of the service fabric. // name - the name of the schedule. func (client ServiceFabricSchedulesClient) Delete(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string) (result autorest.Response, err error) { if tracing.IsEnabled() { @@ -220,7 +220,7 @@ func (client ServiceFabricSchedulesClient) DeleteResponder(resp *http.Response) // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// serviceFabricName - the name of the service Fabric. +// serviceFabricName - the name of the service fabric. // name - the name of the schedule. func (client ServiceFabricSchedulesClient) Execute(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string) (result ServiceFabricSchedulesExecuteFuture, err error) { if tracing.IsEnabled() { @@ -302,7 +302,7 @@ func (client ServiceFabricSchedulesClient) ExecuteResponder(resp *http.Response) // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// serviceFabricName - the name of the service Fabric. +// serviceFabricName - the name of the service fabric. // name - the name of the schedule. // expand - specify the $expand query. Example: 'properties($select=status)' func (client ServiceFabricSchedulesClient) Get(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, expand string) (result Schedule, err error) { @@ -389,7 +389,7 @@ func (client ServiceFabricSchedulesClient) GetResponder(resp *http.Response) (re // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// serviceFabricName - the name of the service Fabric. +// serviceFabricName - the name of the service fabric. // expand - specify the $expand query. Example: 'properties($select=status)' // filter - the filter to apply to the operation. Example: '$filter=contains(name,'myName') // top - the maximum number of resources to return from the operation. Example: '$top=10' @@ -519,12 +519,12 @@ func (client ServiceFabricSchedulesClient) ListComplete(ctx context.Context, res return } -// Update modify properties of schedules. +// Update allows modifying tags of schedules. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. // userName - the name of the user profile. -// serviceFabricName - the name of the service Fabric. +// serviceFabricName - the name of the service fabric. // name - the name of the schedule. // schedule - a schedule. func (client ServiceFabricSchedulesClient) Update(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, schedule ScheduleFragment) (result Schedule, err error) { diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/servicerunners.go b/services/devtestlabs/mgmt/2018-09-15/dtl/servicerunners.go index 51ffe03546ee..9fffb31a78c9 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/servicerunners.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/servicerunners.go @@ -40,7 +40,7 @@ func NewServiceRunnersClientWithBaseURI(baseURI string, subscriptionID string) S return ServiceRunnersClient{NewWithBaseURI(baseURI, subscriptionID)} } -// CreateOrUpdate create or replace an existing Service runner. +// CreateOrUpdate create or replace an existing service runner. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. @@ -278,130 +278,3 @@ func (client ServiceRunnersClient) GetResponder(resp *http.Response) (result Ser result.Response = autorest.Response{Response: resp} return } - -// List list service runners in a given lab. -// Parameters: -// resourceGroupName - the name of the resource group. -// labName - the name of the lab. -// filter - the filter to apply to the operation. Example: '$filter=contains(name,'myName') -// top - the maximum number of resources to return from the operation. Example: '$top=10' -// orderby - the ordering expression for the results, using OData notation. Example: '$orderby=name desc' -func (client ServiceRunnersClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderby string) (result ServiceRunnerListPage, err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ServiceRunnersClient.List") - defer func() { - sc := -1 - if result.srl.Response.Response != nil { - sc = result.srl.Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - result.fn = client.listNextResults - req, err := client.ListPreparer(ctx, resourceGroupName, labName, filter, top, orderby) - if err != nil { - err = autorest.NewErrorWithError(err, "dtl.ServiceRunnersClient", "List", nil, "Failure preparing request") - return - } - - resp, err := client.ListSender(req) - if err != nil { - result.srl.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "dtl.ServiceRunnersClient", "List", resp, "Failure sending request") - return - } - - result.srl, err = client.ListResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "dtl.ServiceRunnersClient", "List", resp, "Failure responding to request") - } - - return -} - -// ListPreparer prepares the List request. -func (client ServiceRunnersClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderby string) (*http.Request, error) { - pathParameters := map[string]interface{}{ - "labName": autorest.Encode("path", labName), - "resourceGroupName": autorest.Encode("path", resourceGroupName), - "subscriptionId": autorest.Encode("path", client.SubscriptionID), - } - - const APIVersion = "2018-09-15" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - if len(filter) > 0 { - queryParameters["$filter"] = autorest.Encode("query", filter) - } - if top != nil { - queryParameters["$top"] = autorest.Encode("query", *top) - } - if len(orderby) > 0 { - queryParameters["$orderby"] = autorest.Encode("query", orderby) - } - - preparer := autorest.CreatePreparer( - autorest.AsGet(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners", pathParameters), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// ListSender sends the List request. The method will close the -// http.Response Body if it receives an error. -func (client ServiceRunnersClient) ListSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) -} - -// ListResponder handles the response to the List request. The method always -// closes the http.Response Body. -func (client ServiceRunnersClient) ListResponder(resp *http.Response) (result ServiceRunnerList, err error) { - err = autorest.Respond( - resp, - client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// listNextResults retrieves the next set of results, if any. -func (client ServiceRunnersClient) listNextResults(ctx context.Context, lastResults ServiceRunnerList) (result ServiceRunnerList, err error) { - req, err := lastResults.serviceRunnerListPreparer(ctx) - if err != nil { - return result, autorest.NewErrorWithError(err, "dtl.ServiceRunnersClient", "listNextResults", nil, "Failure preparing next results request") - } - if req == nil { - return - } - resp, err := client.ListSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - return result, autorest.NewErrorWithError(err, "dtl.ServiceRunnersClient", "listNextResults", resp, "Failure sending next results request") - } - result, err = client.ListResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "dtl.ServiceRunnersClient", "listNextResults", resp, "Failure responding to next results request") - } - return -} - -// ListComplete enumerates all values, automatically crossing page boundaries as required. -func (client ServiceRunnersClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderby string) (result ServiceRunnerListIterator, err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/ServiceRunnersClient.List") - defer func() { - sc := -1 - if result.Response().Response.Response != nil { - sc = result.page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - result.page, err = client.List(ctx, resourceGroupName, labName, filter, top, orderby) - return -} diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/users.go b/services/devtestlabs/mgmt/2018-09-15/dtl/users.go index d314f5fa2f1a..80d9a6d0b7ff 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/users.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/users.go @@ -414,7 +414,7 @@ func (client UsersClient) ListComplete(ctx context.Context, resourceGroupName st return } -// Update modify properties of user profiles. +// Update allows modifying tags of user profiles. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachines.go b/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachines.go index 7776f5e028cc..c60a9f6ea88d 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachines.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachines.go @@ -281,7 +281,7 @@ func (client VirtualMachinesClient) ClaimResponder(resp *http.Response) (result return } -// CreateOrUpdate create or replace an existing Virtual machine. This operation can take a while to complete. +// CreateOrUpdate create or replace an existing virtual machine. This operation can take a while to complete. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. @@ -1461,7 +1461,7 @@ func (client VirtualMachinesClient) UnClaimResponder(resp *http.Response) (resul return } -// Update modify properties of virtual machines. +// Update allows modifying tags of virtual machines. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachineschedules.go b/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachineschedules.go index ba679dd8811b..1487bd7b5b57 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachineschedules.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/virtualmachineschedules.go @@ -509,7 +509,7 @@ func (client VirtualMachineSchedulesClient) ListComplete(ctx context.Context, re return } -// Update modify properties of schedules. +// Update allows modifying tags of schedules. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab. diff --git a/services/devtestlabs/mgmt/2018-09-15/dtl/virtualnetworks.go b/services/devtestlabs/mgmt/2018-09-15/dtl/virtualnetworks.go index 49bddcc6df98..e0c7c51ed5ba 100644 --- a/services/devtestlabs/mgmt/2018-09-15/dtl/virtualnetworks.go +++ b/services/devtestlabs/mgmt/2018-09-15/dtl/virtualnetworks.go @@ -414,7 +414,7 @@ func (client VirtualNetworksClient) ListComplete(ctx context.Context, resourceGr return } -// Update modify properties of virtual networks. +// Update allows modifying tags of virtual networks. All other properties will be ignored. // Parameters: // resourceGroupName - the name of the resource group. // labName - the name of the lab.