diff --git a/services/web/mgmt/2016-09-01/web/CHANGELOG.md b/services/web/mgmt/2016-09-01/web/CHANGELOG.md new file mode 100644 index 000000000000..37a092f8331e --- /dev/null +++ b/services/web/mgmt/2016-09-01/web/CHANGELOG.md @@ -0,0 +1,59 @@ +Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82 + +Code generator @microsoft.azure/autorest.go@~2.1.161 + +## Breaking Changes + +- Function `NewGeoRegionCollectionPage` parameter(s) have been changed from `(func(context.Context, GeoRegionCollection) (GeoRegionCollection, error))` to `(GeoRegionCollection, func(context.Context, GeoRegionCollection) (GeoRegionCollection, error))` +- Function `NewJobCollectionPage` parameter(s) have been changed from `(func(context.Context, JobCollection) (JobCollection, error))` to `(JobCollection, func(context.Context, JobCollection) (JobCollection, error))` +- Function `NewNameIdentifierCollectionPage` parameter(s) have been changed from `(func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error))` to `(NameIdentifierCollection, func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error))` +- Function `NewSkuInfoCollectionPage` parameter(s) have been changed from `(func(context.Context, SkuInfoCollection) (SkuInfoCollection, error))` to `(SkuInfoCollection, func(context.Context, SkuInfoCollection) (SkuInfoCollection, error))` +- Function `NewHostNameBindingCollectionPage` parameter(s) have been changed from `(func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error))` to `(HostNameBindingCollection, func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error))` +- Function `NewCsmOperationCollectionPage` parameter(s) have been changed from `(func(context.Context, CsmOperationCollection) (CsmOperationCollection, error))` to `(CsmOperationCollection, func(context.Context, CsmOperationCollection) (CsmOperationCollection, error))` +- Function `NewResourceMetricDefinitionCollectionPage` parameter(s) have been changed from `(func(context.Context, ResourceMetricDefinitionCollection) (ResourceMetricDefinitionCollection, error))` to `(ResourceMetricDefinitionCollection, func(context.Context, ResourceMetricDefinitionCollection) (ResourceMetricDefinitionCollection, error))` +- Function `NewTriggeredWebJobCollectionPage` parameter(s) have been changed from `(func(context.Context, TriggeredWebJobCollection) (TriggeredWebJobCollection, error))` to `(TriggeredWebJobCollection, func(context.Context, TriggeredWebJobCollection) (TriggeredWebJobCollection, error))` +- Function `NewHybridConnectionCollectionPage` parameter(s) have been changed from `(func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error))` to `(HybridConnectionCollection, func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error))` +- Function `NewResourceMetricCollectionPage` parameter(s) have been changed from `(func(context.Context, ResourceMetricCollection) (ResourceMetricCollection, error))` to `(ResourceMetricCollection, func(context.Context, ResourceMetricCollection) (ResourceMetricCollection, error))` +- Function `NewDiagnosticAnalysisCollectionPage` parameter(s) have been changed from `(func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error))` to `(DiagnosticAnalysisCollection, func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error))` +- Function `NewDomainOwnershipIdentifierCollectionPage` parameter(s) have been changed from `(func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error))` to `(DomainOwnershipIdentifierCollection, func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error))` +- Function `NewIdentifierCollectionPage` parameter(s) have been changed from `(func(context.Context, IdentifierCollection) (IdentifierCollection, error))` to `(IdentifierCollection, func(context.Context, IdentifierCollection) (IdentifierCollection, error))` +- Function `NewBillingMeterCollectionPage` parameter(s) have been changed from `(func(context.Context, BillingMeterCollection) (BillingMeterCollection, error))` to `(BillingMeterCollection, func(context.Context, BillingMeterCollection) (BillingMeterCollection, error))` +- Function `NewSlotDifferenceCollectionPage` parameter(s) have been changed from `(func(context.Context, SlotDifferenceCollection) (SlotDifferenceCollection, error))` to `(SlotDifferenceCollection, func(context.Context, SlotDifferenceCollection) (SlotDifferenceCollection, error))` +- Function `NewTldLegalAgreementCollectionPage` parameter(s) have been changed from `(func(context.Context, TldLegalAgreementCollection) (TldLegalAgreementCollection, error))` to `(TldLegalAgreementCollection, func(context.Context, TldLegalAgreementCollection) (TldLegalAgreementCollection, error))` +- Function `NewContinuousWebJobCollectionPage` parameter(s) have been changed from `(func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error))` to `(ContinuousWebJobCollection, func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error))` +- Function `NewFunctionEnvelopeCollectionPage` parameter(s) have been changed from `(func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error))` to `(FunctionEnvelopeCollection, func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error))` +- Function `NewBackupItemCollectionPage` parameter(s) have been changed from `(func(context.Context, BackupItemCollection) (BackupItemCollection, error))` to `(BackupItemCollection, func(context.Context, BackupItemCollection) (BackupItemCollection, error))` +- Function `NewCsmUsageQuotaCollectionPage` parameter(s) have been changed from `(func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error))` to `(CsmUsageQuotaCollection, func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error))` +- Function `NewPremierAddOnOfferCollectionPage` parameter(s) have been changed from `(func(context.Context, PremierAddOnOfferCollection) (PremierAddOnOfferCollection, error))` to `(PremierAddOnOfferCollection, func(context.Context, PremierAddOnOfferCollection) (PremierAddOnOfferCollection, error))` +- Function `NewSourceControlCollectionPage` parameter(s) have been changed from `(func(context.Context, SourceControlCollection) (SourceControlCollection, error))` to `(SourceControlCollection, func(context.Context, SourceControlCollection) (SourceControlCollection, error))` +- Function `NewTriggeredJobHistoryCollectionPage` parameter(s) have been changed from `(func(context.Context, TriggeredJobHistoryCollection) (TriggeredJobHistoryCollection, error))` to `(TriggeredJobHistoryCollection, func(context.Context, TriggeredJobHistoryCollection) (TriggeredJobHistoryCollection, error))` +- Function `NewSiteConfigurationSnapshotInfoCollectionPage` parameter(s) have been changed from `(func(context.Context, SiteConfigurationSnapshotInfoCollection) (SiteConfigurationSnapshotInfoCollection, error))` to `(SiteConfigurationSnapshotInfoCollection, func(context.Context, SiteConfigurationSnapshotInfoCollection) (SiteConfigurationSnapshotInfoCollection, error))` +- Function `NewCertificateCollectionPage` parameter(s) have been changed from `(func(context.Context, CertificateCollection) (CertificateCollection, error))` to `(CertificateCollection, func(context.Context, CertificateCollection) (CertificateCollection, error))` +- Function `NewProcessModuleInfoCollectionPage` parameter(s) have been changed from `(func(context.Context, ProcessModuleInfoCollection) (ProcessModuleInfoCollection, error))` to `(ProcessModuleInfoCollection, func(context.Context, ProcessModuleInfoCollection) (ProcessModuleInfoCollection, error))` +- Function `NewPerfMonCounterCollectionPage` parameter(s) have been changed from `(func(context.Context, PerfMonCounterCollection) (PerfMonCounterCollection, error))` to `(PerfMonCounterCollection, func(context.Context, PerfMonCounterCollection) (PerfMonCounterCollection, error))` +- Function `NewProcessInfoCollectionPage` parameter(s) have been changed from `(func(context.Context, ProcessInfoCollection) (ProcessInfoCollection, error))` to `(ProcessInfoCollection, func(context.Context, ProcessInfoCollection) (ProcessInfoCollection, error))` +- Function `NewPublicCertificateCollectionPage` parameter(s) have been changed from `(func(context.Context, PublicCertificateCollection) (PublicCertificateCollection, error))` to `(PublicCertificateCollection, func(context.Context, PublicCertificateCollection) (PublicCertificateCollection, error))` +- Function `NewSnapshotCollectionPage` parameter(s) have been changed from `(func(context.Context, SnapshotCollection) (SnapshotCollection, error))` to `(SnapshotCollection, func(context.Context, SnapshotCollection) (SnapshotCollection, error))` +- Function `NewUsageCollectionPage` parameter(s) have been changed from `(func(context.Context, UsageCollection) (UsageCollection, error))` to `(UsageCollection, func(context.Context, UsageCollection) (UsageCollection, error))` +- Function `NewAppCollectionPage` parameter(s) have been changed from `(func(context.Context, AppCollection) (AppCollection, error))` to `(AppCollection, func(context.Context, AppCollection) (AppCollection, error))` +- Function `NewAppServicePlanCollectionPage` parameter(s) have been changed from `(func(context.Context, AppServicePlanCollection) (AppServicePlanCollection, error))` to `(AppServicePlanCollection, func(context.Context, AppServicePlanCollection) (AppServicePlanCollection, error))` +- Function `NewSiteExtensionInfoCollectionPage` parameter(s) have been changed from `(func(context.Context, SiteExtensionInfoCollection) (SiteExtensionInfoCollection, error))` to `(SiteExtensionInfoCollection, func(context.Context, SiteExtensionInfoCollection) (SiteExtensionInfoCollection, error))` +- Function `NewProcessThreadInfoCollectionPage` parameter(s) have been changed from `(func(context.Context, ProcessThreadInfoCollection) (ProcessThreadInfoCollection, error))` to `(ProcessThreadInfoCollection, func(context.Context, ProcessThreadInfoCollection) (ProcessThreadInfoCollection, error))` +- Function `NewDomainCollectionPage` parameter(s) have been changed from `(func(context.Context, DomainCollection) (DomainCollection, error))` to `(DomainCollection, func(context.Context, DomainCollection) (DomainCollection, error))` +- Function `NewDiagnosticDetectorCollectionPage` parameter(s) have been changed from `(func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error))` to `(DiagnosticDetectorCollection, func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error))` +- Function `NewApplicationStackCollectionPage` parameter(s) have been changed from `(func(context.Context, ApplicationStackCollection) (ApplicationStackCollection, error))` to `(ApplicationStackCollection, func(context.Context, ApplicationStackCollection) (ApplicationStackCollection, error))` +- Function `NewDetectorResponseCollectionPage` parameter(s) have been changed from `(func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error))` to `(DetectorResponseCollection, func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error))` +- Function `NewAppServiceCertificateOrderCollectionPage` parameter(s) have been changed from `(func(context.Context, AppServiceCertificateOrderCollection) (AppServiceCertificateOrderCollection, error))` to `(AppServiceCertificateOrderCollection, func(context.Context, AppServiceCertificateOrderCollection) (AppServiceCertificateOrderCollection, error))` +- Function `NewSiteConfigResourceCollectionPage` parameter(s) have been changed from `(func(context.Context, SiteConfigResourceCollection) (SiteConfigResourceCollection, error))` to `(SiteConfigResourceCollection, func(context.Context, SiteConfigResourceCollection) (SiteConfigResourceCollection, error))` +- Function `NewRecommendationCollectionPage` parameter(s) have been changed from `(func(context.Context, RecommendationCollection) (RecommendationCollection, error))` to `(RecommendationCollection, func(context.Context, RecommendationCollection) (RecommendationCollection, error))` +- Function `NewAppServiceCertificateCollectionPage` parameter(s) have been changed from `(func(context.Context, AppServiceCertificateCollection) (AppServiceCertificateCollection, error))` to `(AppServiceCertificateCollection, func(context.Context, AppServiceCertificateCollection) (AppServiceCertificateCollection, error))` +- Function `NewAppInstanceCollectionPage` parameter(s) have been changed from `(func(context.Context, AppInstanceCollection) (AppInstanceCollection, error))` to `(AppInstanceCollection, func(context.Context, AppInstanceCollection) (AppInstanceCollection, error))` +- Function `NewDeletedWebAppCollectionPage` parameter(s) have been changed from `(func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error))` to `(DeletedWebAppCollection, func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error))` +- Function `NewStampCapacityCollectionPage` parameter(s) have been changed from `(func(context.Context, StampCapacityCollection) (StampCapacityCollection, error))` to `(StampCapacityCollection, func(context.Context, StampCapacityCollection) (StampCapacityCollection, error))` +- Function `NewDiagnosticCategoryCollectionPage` parameter(s) have been changed from `(func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error))` to `(DiagnosticCategoryCollection, func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error))` +- Function `NewResourceHealthMetadataCollectionPage` parameter(s) have been changed from `(func(context.Context, ResourceHealthMetadataCollection) (ResourceHealthMetadataCollection, error))` to `(ResourceHealthMetadataCollection, func(context.Context, ResourceHealthMetadataCollection) (ResourceHealthMetadataCollection, error))` +- Function `NewTopLevelDomainCollectionPage` parameter(s) have been changed from `(func(context.Context, TopLevelDomainCollection) (TopLevelDomainCollection, error))` to `(TopLevelDomainCollection, func(context.Context, TopLevelDomainCollection) (TopLevelDomainCollection, error))` +- Function `NewWorkerPoolCollectionPage` parameter(s) have been changed from `(func(context.Context, WorkerPoolCollection) (WorkerPoolCollection, error))` to `(WorkerPoolCollection, func(context.Context, WorkerPoolCollection) (WorkerPoolCollection, error))` +- Function `NewAppServiceEnvironmentCollectionPage` parameter(s) have been changed from `(func(context.Context, AppServiceEnvironmentCollection) (AppServiceEnvironmentCollection, error))` to `(AppServiceEnvironmentCollection, func(context.Context, AppServiceEnvironmentCollection) (AppServiceEnvironmentCollection, error))` +- Function `NewResourceCollectionPage` parameter(s) have been changed from `(func(context.Context, ResourceCollection) (ResourceCollection, error))` to `(ResourceCollection, func(context.Context, ResourceCollection) (ResourceCollection, error))` +- Function `NewDeploymentCollectionPage` parameter(s) have been changed from `(func(context.Context, DeploymentCollection) (DeploymentCollection, error))` to `(DeploymentCollection, func(context.Context, DeploymentCollection) (DeploymentCollection, error))` diff --git a/services/web/mgmt/2016-09-01/web/models.go b/services/web/mgmt/2016-09-01/web/models.go index 835c26ba2acc..e14d49ec532f 100644 --- a/services/web/mgmt/2016-09-01/web/models.go +++ b/services/web/mgmt/2016-09-01/web/models.go @@ -347,8 +347,11 @@ func (page AppCollectionPage) Values() []Site { } // Creates a new instance of the AppCollectionPage type. -func NewAppCollectionPage(getNextPage func(context.Context, AppCollection) (AppCollection, error)) AppCollectionPage { - return AppCollectionPage{fn: getNextPage} +func NewAppCollectionPage(cur AppCollection, getNextPage func(context.Context, AppCollection) (AppCollection, error)) AppCollectionPage { + return AppCollectionPage{ + fn: getNextPage, + ac: cur, + } } // AppInstanceCollection collection of app instances. @@ -512,8 +515,11 @@ func (page AppInstanceCollectionPage) Values() []SiteInstance { } // Creates a new instance of the AppInstanceCollectionPage type. -func NewAppInstanceCollectionPage(getNextPage func(context.Context, AppInstanceCollection) (AppInstanceCollection, error)) AppInstanceCollectionPage { - return AppInstanceCollectionPage{fn: getNextPage} +func NewAppInstanceCollectionPage(cur AppInstanceCollection, getNextPage func(context.Context, AppInstanceCollection) (AppInstanceCollection, error)) AppInstanceCollectionPage { + return AppInstanceCollectionPage{ + fn: getNextPage, + aic: cur, + } } // ApplicationLogsConfig application logs configuration. @@ -701,8 +707,11 @@ func (page ApplicationStackCollectionPage) Values() []ApplicationStack { } // Creates a new instance of the ApplicationStackCollectionPage type. -func NewApplicationStackCollectionPage(getNextPage func(context.Context, ApplicationStackCollection) (ApplicationStackCollection, error)) ApplicationStackCollectionPage { - return ApplicationStackCollectionPage{fn: getNextPage} +func NewApplicationStackCollectionPage(cur ApplicationStackCollection, getNextPage func(context.Context, ApplicationStackCollection) (ApplicationStackCollection, error)) ApplicationStackCollectionPage { + return ApplicationStackCollectionPage{ + fn: getNextPage, + asc: cur, + } } // AppsCreateFunctionFuture an abstraction for monitoring and retrieving the results of a long-running @@ -792,8 +801,8 @@ func (future *AppsCreateInstanceMSDeployOperationFuture) Result(client AppsClien return } -// AppsCreateInstanceMSDeployOperationSlotFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// AppsCreateInstanceMSDeployOperationSlotFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type AppsCreateInstanceMSDeployOperationSlotFuture struct { azure.Future } @@ -821,8 +830,8 @@ func (future *AppsCreateInstanceMSDeployOperationSlotFuture) Result(client AppsC return } -// AppsCreateMSDeployOperationFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// AppsCreateMSDeployOperationFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type AppsCreateMSDeployOperationFuture struct { azure.Future } @@ -1179,8 +1188,11 @@ func (page AppServiceCertificateCollectionPage) Values() []AppServiceCertificate } // Creates a new instance of the AppServiceCertificateCollectionPage type. -func NewAppServiceCertificateCollectionPage(getNextPage func(context.Context, AppServiceCertificateCollection) (AppServiceCertificateCollection, error)) AppServiceCertificateCollectionPage { - return AppServiceCertificateCollectionPage{fn: getNextPage} +func NewAppServiceCertificateCollectionPage(cur AppServiceCertificateCollection, getNextPage func(context.Context, AppServiceCertificateCollection) (AppServiceCertificateCollection, error)) AppServiceCertificateCollectionPage { + return AppServiceCertificateCollectionPage{ + fn: getNextPage, + ascc: cur, + } } // AppServiceCertificateOrder SSL certificate purchase order. @@ -1460,8 +1472,11 @@ func (page AppServiceCertificateOrderCollectionPage) Values() []AppServiceCertif } // Creates a new instance of the AppServiceCertificateOrderCollectionPage type. -func NewAppServiceCertificateOrderCollectionPage(getNextPage func(context.Context, AppServiceCertificateOrderCollection) (AppServiceCertificateOrderCollection, error)) AppServiceCertificateOrderCollectionPage { - return AppServiceCertificateOrderCollectionPage{fn: getNextPage} +func NewAppServiceCertificateOrderCollectionPage(cur AppServiceCertificateOrderCollection, getNextPage func(context.Context, AppServiceCertificateOrderCollection) (AppServiceCertificateOrderCollection, error)) AppServiceCertificateOrderCollectionPage { + return AppServiceCertificateOrderCollectionPage{ + fn: getNextPage, + ascoc: cur, + } } // AppServiceCertificateOrderPatchResource ARM resource for a certificate order that is purchased through @@ -1551,8 +1566,8 @@ func (ascopr *AppServiceCertificateOrderPatchResource) UnmarshalJSON(body []byte return nil } -// AppServiceCertificateOrderPatchResourceProperties appServiceCertificateOrderPatchResource resource specific -// properties +// AppServiceCertificateOrderPatchResourceProperties appServiceCertificateOrderPatchResource resource +// specific properties type AppServiceCertificateOrderPatchResourceProperties struct { // Certificates - State of the Key Vault secret. Certificates map[string]*AppServiceCertificate `json:"certificates"` @@ -1690,8 +1705,8 @@ func (asco AppServiceCertificateOrderProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AppServiceCertificateOrdersCreateOrUpdateCertificateFuture an abstraction for monitoring and retrieving the -// results of a long-running operation. +// AppServiceCertificateOrdersCreateOrUpdateCertificateFuture an abstraction for monitoring and retrieving +// the results of a long-running operation. type AppServiceCertificateOrdersCreateOrUpdateCertificateFuture struct { azure.Future } @@ -1719,8 +1734,8 @@ func (future *AppServiceCertificateOrdersCreateOrUpdateCertificateFuture) Result return } -// AppServiceCertificateOrdersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// AppServiceCertificateOrdersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type AppServiceCertificateOrdersCreateOrUpdateFuture struct { azure.Future } @@ -1835,8 +1850,8 @@ func (ascpr *AppServiceCertificatePatchResource) UnmarshalJSON(body []byte) erro return nil } -// AppServiceCertificateResource key Vault container ARM resource for a certificate that is purchased through -// Azure. +// AppServiceCertificateResource key Vault container ARM resource for a certificate that is purchased +// through Azure. type AppServiceCertificateResource struct { autorest.Response `json:"-"` // AppServiceCertificate - Core resource properties @@ -2254,8 +2269,11 @@ func (page AppServiceEnvironmentCollectionPage) Values() []AppServiceEnvironment } // Creates a new instance of the AppServiceEnvironmentCollectionPage type. -func NewAppServiceEnvironmentCollectionPage(getNextPage func(context.Context, AppServiceEnvironmentCollection) (AppServiceEnvironmentCollection, error)) AppServiceEnvironmentCollectionPage { - return AppServiceEnvironmentCollectionPage{fn: getNextPage} +func NewAppServiceEnvironmentCollectionPage(cur AppServiceEnvironmentCollection, getNextPage func(context.Context, AppServiceEnvironmentCollection) (AppServiceEnvironmentCollection, error)) AppServiceEnvironmentCollectionPage { + return AppServiceEnvironmentCollectionPage{ + fn: getNextPage, + asec: cur, + } } // AppServiceEnvironmentPatchResource ARM resource for a app service environment. @@ -2965,8 +2983,11 @@ func (page AppServicePlanCollectionPage) Values() []AppServicePlan { } // Creates a new instance of the AppServicePlanCollectionPage type. -func NewAppServicePlanCollectionPage(getNextPage func(context.Context, AppServicePlanCollection) (AppServicePlanCollection, error)) AppServicePlanCollectionPage { - return AppServicePlanCollectionPage{fn: getNextPage} +func NewAppServicePlanCollectionPage(cur AppServicePlanCollection, getNextPage func(context.Context, AppServicePlanCollection) (AppServicePlanCollection, error)) AppServicePlanCollectionPage { + return AppServicePlanCollectionPage{ + fn: getNextPage, + aspc: cur, + } } // AppServicePlanPatchResource ARM resource for a app service plan. @@ -3234,8 +3255,8 @@ func (future *AppServicePlansCreateOrUpdateFuture) Result(client AppServicePlans return } -// AppsInstallSiteExtensionFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// AppsInstallSiteExtensionFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type AppsInstallSiteExtensionFuture struct { azure.Future } @@ -3350,7 +3371,8 @@ func (future *AppsListPublishingCredentialsSlotFuture) Result(client AppsClient) return } -// AppsMigrateMySQLFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AppsMigrateMySQLFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AppsMigrateMySQLFuture struct { azure.Future } @@ -3429,7 +3451,8 @@ func (future *AppsRecoverFuture) Result(client AppsClient) (ar autorest.Response return } -// AppsRecoverSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AppsRecoverSlotFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AppsRecoverSlotFuture struct { azure.Future } @@ -3479,7 +3502,8 @@ func (future *AppsRestoreFuture) Result(client AppsClient) (rr RestoreResponse, return } -// AppsRestoreSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AppsRestoreSlotFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AppsRestoreSlotFuture struct { azure.Future } @@ -3507,7 +3531,8 @@ func (future *AppsRestoreSlotFuture) Result(client AppsClient) (rr RestoreRespon return } -// AppsSwapSlotSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AppsSwapSlotSlotFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AppsSwapSlotSlotFuture struct { azure.Future } @@ -3529,8 +3554,8 @@ func (future *AppsSwapSlotSlotFuture) Result(client AppsClient) (ar autorest.Res return } -// AppsSwapSlotWithProductionFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// AppsSwapSlotWithProductionFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type AppsSwapSlotWithProductionFuture struct { azure.Future } @@ -3872,8 +3897,11 @@ func (page BackupItemCollectionPage) Values() []BackupItem { } // Creates a new instance of the BackupItemCollectionPage type. -func NewBackupItemCollectionPage(getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage { - return BackupItemCollectionPage{fn: getNextPage} +func NewBackupItemCollectionPage(cur BackupItemCollection, getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage { + return BackupItemCollectionPage{ + fn: getNextPage, + bic: cur, + } } // BackupItemProperties backupItem resource specific properties @@ -4011,8 +4039,8 @@ type BackupRequestProperties struct { Type BackupRestoreOperationType `json:"type,omitempty"` } -// BackupSchedule description of a backup schedule. Describes how often should be the backup performed and what -// should be the retention policy. +// BackupSchedule description of a backup schedule. Describes how often should be the backup performed and +// what should be the retention policy. type BackupSchedule struct { // FrequencyInterval - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) FrequencyInterval *int32 `json:"frequencyInterval,omitempty"` @@ -4049,8 +4077,8 @@ func (bs BackupSchedule) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// BillingMeter app Service billing entity that contains information about meter which the Azure billing system -// utilizes to charge users for services. +// BillingMeter app Service billing entity that contains information about meter which the Azure billing +// system utilizes to charge users for services. type BillingMeter struct { // BillingMeterProperties - BillingMeter resource specific properties *BillingMeterProperties `json:"properties,omitempty"` @@ -4297,8 +4325,11 @@ func (page BillingMeterCollectionPage) Values() []BillingMeter { } // Creates a new instance of the BillingMeterCollectionPage type. -func NewBillingMeterCollectionPage(getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage { - return BillingMeterCollectionPage{fn: getNextPage} +func NewBillingMeterCollectionPage(cur BillingMeterCollection, getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage { + return BillingMeterCollectionPage{ + fn: getNextPage, + bmc: cur, + } } // BillingMeterProperties billingMeter resource specific properties @@ -4601,8 +4632,11 @@ func (page CertificateCollectionPage) Values() []Certificate { } // Creates a new instance of the CertificateCollectionPage type. -func NewCertificateCollectionPage(getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage { - return CertificateCollectionPage{fn: getNextPage} +func NewCertificateCollectionPage(cur CertificateCollection, getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage { + return CertificateCollectionPage{ + fn: getNextPage, + cc: cur, + } } // CertificateDetails SSL certificate details. @@ -5415,8 +5449,11 @@ func (page ContinuousWebJobCollectionPage) Values() []ContinuousWebJob { } // Creates a new instance of the ContinuousWebJobCollectionPage type. -func NewContinuousWebJobCollectionPage(getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage { - return ContinuousWebJobCollectionPage{fn: getNextPage} +func NewContinuousWebJobCollectionPage(cur ContinuousWebJobCollection, getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage { + return ContinuousWebJobCollectionPage{ + fn: getNextPage, + cwjc: cur, + } } // ContinuousWebJobProperties continuousWebJob resource specific properties @@ -5656,8 +5693,11 @@ func (page CsmOperationCollectionPage) Values() []CsmOperationDescription { } // Creates a new instance of the CsmOperationCollectionPage type. -func NewCsmOperationCollectionPage(getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage { - return CsmOperationCollectionPage{fn: getNextPage} +func NewCsmOperationCollectionPage(cur CsmOperationCollection, getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage { + return CsmOperationCollectionPage{ + fn: getNextPage, + coc: cur, + } } // CsmOperationDescription description of an operation available for Microsoft.Web resource provider. @@ -5873,8 +5913,11 @@ func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota { } // Creates a new instance of the CsmUsageQuotaCollectionPage type. -func NewCsmUsageQuotaCollectionPage(getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage { - return CsmUsageQuotaCollectionPage{fn: getNextPage} +func NewCsmUsageQuotaCollectionPage(cur CsmUsageQuotaCollection, getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage { + return CsmUsageQuotaCollectionPage{ + fn: getNextPage, + cuqc: cur, + } } // CustomHostnameAnalysisResult custom domain analysis. @@ -6275,8 +6318,11 @@ func (page DeletedWebAppCollectionPage) Values() []DeletedSite { } // Creates a new instance of the DeletedWebAppCollectionPage type. -func NewDeletedWebAppCollectionPage(getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage { - return DeletedWebAppCollectionPage{fn: getNextPage} +func NewDeletedWebAppCollectionPage(cur DeletedWebAppCollection, getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage { + return DeletedWebAppCollectionPage{ + fn: getNextPage, + dwac: cur, + } } // Deployment user credentials used for publishing activity. @@ -6527,8 +6573,11 @@ func (page DeploymentCollectionPage) Values() []Deployment { } // Creates a new instance of the DeploymentCollectionPage type. -func NewDeploymentCollectionPage(getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage { - return DeploymentCollectionPage{fn: getNextPage} +func NewDeploymentCollectionPage(cur DeploymentCollection, getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage { + return DeploymentCollectionPage{ + fn: getNextPage, + dc: cur, + } } // DeploymentLocations list of available locations (regions or App Service Environments) for @@ -6945,8 +6994,11 @@ func (page DetectorResponseCollectionPage) Values() []DetectorResponse { } // Creates a new instance of the DetectorResponseCollectionPage type. -func NewDetectorResponseCollectionPage(getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage { - return DetectorResponseCollectionPage{fn: getNextPage} +func NewDetectorResponseCollectionPage(cur DetectorResponseCollection, getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage { + return DetectorResponseCollectionPage{ + fn: getNextPage, + drc: cur, + } } // DetectorResponseProperties detectorResponse resource specific properties @@ -7205,8 +7257,11 @@ func (page DiagnosticAnalysisCollectionPage) Values() []AnalysisDefinition { } // Creates a new instance of the DiagnosticAnalysisCollectionPage type. -func NewDiagnosticAnalysisCollectionPage(getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage { - return DiagnosticAnalysisCollectionPage{fn: getNextPage} +func NewDiagnosticAnalysisCollectionPage(cur DiagnosticAnalysisCollection, getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage { + return DiagnosticAnalysisCollectionPage{ + fn: getNextPage, + dac: cur, + } } // DiagnosticAnalysisProperties diagnosticAnalysis resource specific properties @@ -7471,8 +7526,11 @@ func (page DiagnosticCategoryCollectionPage) Values() []DiagnosticCategory { } // Creates a new instance of the DiagnosticCategoryCollectionPage type. -func NewDiagnosticCategoryCollectionPage(getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage { - return DiagnosticCategoryCollectionPage{fn: getNextPage} +func NewDiagnosticCategoryCollectionPage(cur DiagnosticCategoryCollection, getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage { + return DiagnosticCategoryCollectionPage{ + fn: getNextPage, + dcc: cur, + } } // DiagnosticCategoryProperties diagnosticCategory resource specific properties @@ -7650,8 +7708,11 @@ func (page DiagnosticDetectorCollectionPage) Values() []DetectorDefinition { } // Creates a new instance of the DiagnosticDetectorCollectionPage type. -func NewDiagnosticDetectorCollectionPage(getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage { - return DiagnosticDetectorCollectionPage{fn: getNextPage} +func NewDiagnosticDetectorCollectionPage(cur DiagnosticDetectorCollection, getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage { + return DiagnosticDetectorCollectionPage{ + fn: getNextPage, + ddc: cur, + } } // DiagnosticDetectorResponse class representing Response from Diagnostic Detectors @@ -8092,8 +8153,11 @@ func (page DomainCollectionPage) Values() []Domain { } // Creates a new instance of the DomainCollectionPage type. -func NewDomainCollectionPage(getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage { - return DomainCollectionPage{fn: getNextPage} +func NewDomainCollectionPage(cur DomainCollection, getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage { + return DomainCollectionPage{ + fn: getNextPage, + dc: cur, + } } // DomainControlCenterSsoRequest single sign-on request information for domain management. @@ -8356,8 +8420,11 @@ func (page DomainOwnershipIdentifierCollectionPage) Values() []DomainOwnershipId } // Creates a new instance of the DomainOwnershipIdentifierCollectionPage type. -func NewDomainOwnershipIdentifierCollectionPage(getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage { - return DomainOwnershipIdentifierCollectionPage{fn: getNextPage} +func NewDomainOwnershipIdentifierCollectionPage(cur DomainOwnershipIdentifierCollection, getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage { + return DomainOwnershipIdentifierCollectionPage{ + fn: getNextPage, + doic: cur, + } } // DomainOwnershipIdentifierProperties domainOwnershipIdentifier resource specific properties @@ -8970,8 +9037,11 @@ func (page FunctionEnvelopeCollectionPage) Values() []FunctionEnvelope { } // Creates a new instance of the FunctionEnvelopeCollectionPage type. -func NewFunctionEnvelopeCollectionPage(getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage { - return FunctionEnvelopeCollectionPage{fn: getNextPage} +func NewFunctionEnvelopeCollectionPage(cur FunctionEnvelopeCollection, getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage { + return FunctionEnvelopeCollectionPage{ + fn: getNextPage, + fec: cur, + } } // FunctionEnvelopeProperties functionEnvelope resource specific properties @@ -9370,8 +9440,11 @@ func (page GeoRegionCollectionPage) Values() []GeoRegion { } // Creates a new instance of the GeoRegionCollectionPage type. -func NewGeoRegionCollectionPage(getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage { - return GeoRegionCollectionPage{fn: getNextPage} +func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage { + return GeoRegionCollectionPage{ + fn: getNextPage, + grc: cur, + } } // GeoRegionProperties geoRegion resource specific properties @@ -9402,9 +9475,10 @@ type GlobalCsmSkuDescription struct { Capabilities *[]Capability `json:"capabilities,omitempty"` } -// HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with certain +// HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with +// certain extension. +// For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php // extension. -// For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension. type HandlerMapping struct { // Extension - Requests with this extension will be handled using the specified FastCGI application. Extension *string `json:"extension,omitempty"` @@ -9714,8 +9788,11 @@ func (page HostNameBindingCollectionPage) Values() []HostNameBinding { } // Creates a new instance of the HostNameBindingCollectionPage type. -func NewHostNameBindingCollectionPage(getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage { - return HostNameBindingCollectionPage{fn: getNextPage} +func NewHostNameBindingCollectionPage(cur HostNameBindingCollection, getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage { + return HostNameBindingCollectionPage{ + fn: getNextPage, + hnbc: cur, + } } // HostNameBindingProperties hostNameBinding resource specific properties @@ -10042,8 +10119,11 @@ func (page HybridConnectionCollectionPage) Values() []HybridConnection { } // Creates a new instance of the HybridConnectionCollectionPage type. -func NewHybridConnectionCollectionPage(getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage { - return HybridConnectionCollectionPage{fn: getNextPage} +func NewHybridConnectionCollectionPage(cur HybridConnectionCollection, getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage { + return HybridConnectionCollectionPage{ + fn: getNextPage, + hcc: cur, + } } // HybridConnectionKey hybrid Connection key contract. This has the send key name and value for a Hybrid @@ -10142,8 +10222,8 @@ type HybridConnectionKeyProperties struct { SendKeyValue *string `json:"sendKeyValue,omitempty"` } -// HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of Hybrid -// Connections. +// HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of +// Hybrid Connections. type HybridConnectionLimits struct { autorest.Response `json:"-"` // HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties @@ -10507,8 +10587,11 @@ func (page IdentifierCollectionPage) Values() []Identifier { } // Creates a new instance of the IdentifierCollectionPage type. -func NewIdentifierCollectionPage(getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage { - return IdentifierCollectionPage{fn: getNextPage} +func NewIdentifierCollectionPage(cur IdentifierCollection, getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage { + return IdentifierCollectionPage{ + fn: getNextPage, + ic: cur, + } } // IdentifierProperties identifier resource specific properties @@ -10773,8 +10856,11 @@ func (page JobCollectionPage) Values() []Job { } // Creates a new instance of the JobCollectionPage type. -func NewJobCollectionPage(getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage { - return JobCollectionPage{fn: getNextPage} +func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage { + return JobCollectionPage{ + fn: getNextPage, + jc: cur, + } } // JobProperties webJob resource specific properties @@ -11724,8 +11810,11 @@ func (page NameIdentifierCollectionPage) Values() []NameIdentifier { } // Creates a new instance of the NameIdentifierCollectionPage type. -func NewNameIdentifierCollectionPage(getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage { - return NameIdentifierCollectionPage{fn: getNextPage} +func NewNameIdentifierCollectionPage(cur NameIdentifierCollection, getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage { + return NameIdentifierCollectionPage{ + fn: getNextPage, + nic: cur, + } } // NameValuePair name value pair. @@ -12030,8 +12119,11 @@ func (page PerfMonCounterCollectionPage) Values() []PerfMonResponse { } // Creates a new instance of the PerfMonCounterCollectionPage type. -func NewPerfMonCounterCollectionPage(getNextPage func(context.Context, PerfMonCounterCollection) (PerfMonCounterCollection, error)) PerfMonCounterCollectionPage { - return PerfMonCounterCollectionPage{fn: getNextPage} +func NewPerfMonCounterCollectionPage(cur PerfMonCounterCollection, getNextPage func(context.Context, PerfMonCounterCollection) (PerfMonCounterCollection, error)) PerfMonCounterCollectionPage { + return PerfMonCounterCollectionPage{ + fn: getNextPage, + pmcc: cur, + } } // PerfMonResponse performance monitor API response. @@ -12432,8 +12524,11 @@ func (page PremierAddOnOfferCollectionPage) Values() []PremierAddOnOffer { } // Creates a new instance of the PremierAddOnOfferCollectionPage type. -func NewPremierAddOnOfferCollectionPage(getNextPage func(context.Context, PremierAddOnOfferCollection) (PremierAddOnOfferCollection, error)) PremierAddOnOfferCollectionPage { - return PremierAddOnOfferCollectionPage{fn: getNextPage} +func NewPremierAddOnOfferCollectionPage(cur PremierAddOnOfferCollection, getNextPage func(context.Context, PremierAddOnOfferCollection) (PremierAddOnOfferCollection, error)) PremierAddOnOfferCollectionPage { + return PremierAddOnOfferCollectionPage{ + fn: getNextPage, + paooc: cur, + } } // PremierAddOnOfferProperties premierAddOnOffer resource specific properties @@ -12760,8 +12855,11 @@ func (page ProcessInfoCollectionPage) Values() []ProcessInfo { } // Creates a new instance of the ProcessInfoCollectionPage type. -func NewProcessInfoCollectionPage(getNextPage func(context.Context, ProcessInfoCollection) (ProcessInfoCollection, error)) ProcessInfoCollectionPage { - return ProcessInfoCollectionPage{fn: getNextPage} +func NewProcessInfoCollectionPage(cur ProcessInfoCollection, getNextPage func(context.Context, ProcessInfoCollection) (ProcessInfoCollection, error)) ProcessInfoCollectionPage { + return ProcessInfoCollectionPage{ + fn: getNextPage, + pic: cur, + } } // ProcessInfoProperties processInfo resource specific properties @@ -13202,8 +13300,11 @@ func (page ProcessModuleInfoCollectionPage) Values() []ProcessModuleInfo { } // Creates a new instance of the ProcessModuleInfoCollectionPage type. -func NewProcessModuleInfoCollectionPage(getNextPage func(context.Context, ProcessModuleInfoCollection) (ProcessModuleInfoCollection, error)) ProcessModuleInfoCollectionPage { - return ProcessModuleInfoCollectionPage{fn: getNextPage} +func NewProcessModuleInfoCollectionPage(cur ProcessModuleInfoCollection, getNextPage func(context.Context, ProcessModuleInfoCollection) (ProcessModuleInfoCollection, error)) ProcessModuleInfoCollectionPage { + return ProcessModuleInfoCollectionPage{ + fn: getNextPage, + pmic: cur, + } } // ProcessModuleInfoProperties processModuleInfo resource specific properties @@ -13480,8 +13581,11 @@ func (page ProcessThreadInfoCollectionPage) Values() []ProcessThreadInfo { } // Creates a new instance of the ProcessThreadInfoCollectionPage type. -func NewProcessThreadInfoCollectionPage(getNextPage func(context.Context, ProcessThreadInfoCollection) (ProcessThreadInfoCollection, error)) ProcessThreadInfoCollectionPage { - return ProcessThreadInfoCollectionPage{fn: getNextPage} +func NewProcessThreadInfoCollectionPage(cur ProcessThreadInfoCollection, getNextPage func(context.Context, ProcessThreadInfoCollection) (ProcessThreadInfoCollection, error)) ProcessThreadInfoCollectionPage { + return ProcessThreadInfoCollectionPage{ + fn: getNextPage, + ptic: cur, + } } // ProcessThreadInfoProperties processThreadInfo resource specific properties @@ -13783,8 +13887,11 @@ func (page PublicCertificateCollectionPage) Values() []PublicCertificate { } // Creates a new instance of the PublicCertificateCollectionPage type. -func NewPublicCertificateCollectionPage(getNextPage func(context.Context, PublicCertificateCollection) (PublicCertificateCollection, error)) PublicCertificateCollectionPage { - return PublicCertificateCollectionPage{fn: getNextPage} +func NewPublicCertificateCollectionPage(cur PublicCertificateCollection, getNextPage func(context.Context, PublicCertificateCollection) (PublicCertificateCollection, error)) PublicCertificateCollectionPage { + return PublicCertificateCollectionPage{ + fn: getNextPage, + pcc: cur, + } } // PublicCertificateProperties publicCertificate resource specific properties @@ -13911,8 +14018,8 @@ type PushSettingsProperties struct { DynamicTagsJSON *string `json:"dynamicTagsJson,omitempty"` } -// RampUpRule routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to -// gradually change routing % based on performance. +// RampUpRule routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or +// to gradually change routing % based on performance. type RampUpRule struct { // ActionHostName - Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. ActionHostName *string `json:"actionHostName,omitempty"` @@ -14188,8 +14295,11 @@ func (page RecommendationCollectionPage) Values() []Recommendation { } // Creates a new instance of the RecommendationCollectionPage type. -func NewRecommendationCollectionPage(getNextPage func(context.Context, RecommendationCollection) (RecommendationCollection, error)) RecommendationCollectionPage { - return RecommendationCollectionPage{fn: getNextPage} +func NewRecommendationCollectionPage(cur RecommendationCollection, getNextPage func(context.Context, RecommendationCollection) (RecommendationCollection, error)) RecommendationCollectionPage { + return RecommendationCollectionPage{ + fn: getNextPage, + rc: cur, + } } // RecommendationProperties recommendation resource specific properties @@ -14858,8 +14968,11 @@ func (page ResourceCollectionPage) Values() []string { } // Creates a new instance of the ResourceCollectionPage type. -func NewResourceCollectionPage(getNextPage func(context.Context, ResourceCollection) (ResourceCollection, error)) ResourceCollectionPage { - return ResourceCollectionPage{fn: getNextPage} +func NewResourceCollectionPage(cur ResourceCollection, getNextPage func(context.Context, ResourceCollection) (ResourceCollection, error)) ResourceCollectionPage { + return ResourceCollectionPage{ + fn: getNextPage, + rc: cur, + } } // ResourceHealthMetadata used for getting ResourceHealthCheck settings. @@ -15111,8 +15224,11 @@ func (page ResourceHealthMetadataCollectionPage) Values() []ResourceHealthMetada } // Creates a new instance of the ResourceHealthMetadataCollectionPage type. -func NewResourceHealthMetadataCollectionPage(getNextPage func(context.Context, ResourceHealthMetadataCollection) (ResourceHealthMetadataCollection, error)) ResourceHealthMetadataCollectionPage { - return ResourceHealthMetadataCollectionPage{fn: getNextPage} +func NewResourceHealthMetadataCollectionPage(cur ResourceHealthMetadataCollection, getNextPage func(context.Context, ResourceHealthMetadataCollection) (ResourceHealthMetadataCollection, error)) ResourceHealthMetadataCollectionPage { + return ResourceHealthMetadataCollectionPage{ + fn: getNextPage, + rhmc: cur, + } } // ResourceHealthMetadataProperties resourceHealthMetadata resource specific properties @@ -15314,8 +15430,11 @@ func (page ResourceMetricCollectionPage) Values() []ResourceMetric { } // Creates a new instance of the ResourceMetricCollectionPage type. -func NewResourceMetricCollectionPage(getNextPage func(context.Context, ResourceMetricCollection) (ResourceMetricCollection, error)) ResourceMetricCollectionPage { - return ResourceMetricCollectionPage{fn: getNextPage} +func NewResourceMetricCollectionPage(cur ResourceMetricCollection, getNextPage func(context.Context, ResourceMetricCollection) (ResourceMetricCollection, error)) ResourceMetricCollectionPage { + return ResourceMetricCollectionPage{ + fn: getNextPage, + rmc: cur, + } } // ResourceMetricDefinition metadata for the metrics. @@ -15422,8 +15541,8 @@ func (rmdc ResourceMetricDefinitionCollection) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// ResourceMetricDefinitionCollectionIterator provides access to a complete listing of ResourceMetricDefinition -// values. +// ResourceMetricDefinitionCollectionIterator provides access to a complete listing of +// ResourceMetricDefinition values. type ResourceMetricDefinitionCollectionIterator struct { i int page ResourceMetricDefinitionCollectionPage @@ -15566,8 +15685,11 @@ func (page ResourceMetricDefinitionCollectionPage) Values() []ResourceMetricDefi } // Creates a new instance of the ResourceMetricDefinitionCollectionPage type. -func NewResourceMetricDefinitionCollectionPage(getNextPage func(context.Context, ResourceMetricDefinitionCollection) (ResourceMetricDefinitionCollection, error)) ResourceMetricDefinitionCollectionPage { - return ResourceMetricDefinitionCollectionPage{fn: getNextPage} +func NewResourceMetricDefinitionCollectionPage(cur ResourceMetricDefinitionCollection, getNextPage func(context.Context, ResourceMetricDefinitionCollection) (ResourceMetricDefinitionCollection, error)) ResourceMetricDefinitionCollectionPage { + return ResourceMetricDefinitionCollectionPage{ + fn: getNextPage, + rmdc: cur, + } } // ResourceMetricDefinitionProperties resourceMetricDefinition resource specific properties @@ -16001,7 +16123,8 @@ func (s *Site) UnmarshalJSON(body []byte) error { return nil } -// SiteAuthSettings configuration settings for the Azure App Service Authentication / Authorization feature. +// SiteAuthSettings configuration settings for the Azure App Service Authentication / Authorization +// feature. type SiteAuthSettings struct { autorest.Response `json:"-"` // SiteAuthSettingsProperties - SiteAuthSettings resource specific properties @@ -16681,8 +16804,11 @@ func (page SiteConfigResourceCollectionPage) Values() []SiteConfigResource { } // Creates a new instance of the SiteConfigResourceCollectionPage type. -func NewSiteConfigResourceCollectionPage(getNextPage func(context.Context, SiteConfigResourceCollection) (SiteConfigResourceCollection, error)) SiteConfigResourceCollectionPage { - return SiteConfigResourceCollectionPage{fn: getNextPage} +func NewSiteConfigResourceCollectionPage(cur SiteConfigResourceCollection, getNextPage func(context.Context, SiteConfigResourceCollection) (SiteConfigResourceCollection, error)) SiteConfigResourceCollectionPage { + return SiteConfigResourceCollectionPage{ + fn: getNextPage, + scrc: cur, + } } // SiteConfigurationSnapshotInfo a snapshot of a web app configuration. @@ -16771,8 +16897,8 @@ func (scsi *SiteConfigurationSnapshotInfo) UnmarshalJSON(body []byte) error { return nil } -// SiteConfigurationSnapshotInfoCollection collection of metadata for the app configuration snapshots that can -// be restored. +// SiteConfigurationSnapshotInfoCollection collection of metadata for the app configuration snapshots that +// can be restored. type SiteConfigurationSnapshotInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. @@ -16934,8 +17060,11 @@ func (page SiteConfigurationSnapshotInfoCollectionPage) Values() []SiteConfigura } // Creates a new instance of the SiteConfigurationSnapshotInfoCollectionPage type. -func NewSiteConfigurationSnapshotInfoCollectionPage(getNextPage func(context.Context, SiteConfigurationSnapshotInfoCollection) (SiteConfigurationSnapshotInfoCollection, error)) SiteConfigurationSnapshotInfoCollectionPage { - return SiteConfigurationSnapshotInfoCollectionPage{fn: getNextPage} +func NewSiteConfigurationSnapshotInfoCollectionPage(cur SiteConfigurationSnapshotInfoCollection, getNextPage func(context.Context, SiteConfigurationSnapshotInfoCollection) (SiteConfigurationSnapshotInfoCollection, error)) SiteConfigurationSnapshotInfoCollectionPage { + return SiteConfigurationSnapshotInfoCollectionPage{ + fn: getNextPage, + scsic: cur, + } } // SiteConfigurationSnapshotInfoProperties siteConfigurationSnapshotInfo resource specific properties @@ -17194,8 +17323,11 @@ func (page SiteExtensionInfoCollectionPage) Values() []SiteExtensionInfo { } // Creates a new instance of the SiteExtensionInfoCollectionPage type. -func NewSiteExtensionInfoCollectionPage(getNextPage func(context.Context, SiteExtensionInfoCollection) (SiteExtensionInfoCollection, error)) SiteExtensionInfoCollectionPage { - return SiteExtensionInfoCollectionPage{fn: getNextPage} +func NewSiteExtensionInfoCollectionPage(cur SiteExtensionInfoCollection, getNextPage func(context.Context, SiteExtensionInfoCollection) (SiteExtensionInfoCollection, error)) SiteExtensionInfoCollectionPage { + return SiteExtensionInfoCollectionPage{ + fn: getNextPage, + seic: cur, + } } // SiteExtensionInfoProperties siteExtensionInfo resource specific properties @@ -18205,8 +18337,11 @@ func (page SkuInfoCollectionPage) Values() []SkuInfo { } // Creates a new instance of the SkuInfoCollectionPage type. -func NewSkuInfoCollectionPage(getNextPage func(context.Context, SkuInfoCollection) (SkuInfoCollection, error)) SkuInfoCollectionPage { - return SkuInfoCollectionPage{fn: getNextPage} +func NewSkuInfoCollectionPage(cur SkuInfoCollection, getNextPage func(context.Context, SkuInfoCollection) (SkuInfoCollection, error)) SkuInfoCollectionPage { + return SkuInfoCollectionPage{ + fn: getNextPage, + sic: cur, + } } // SkuInfos collection of SKU information. @@ -18562,8 +18697,11 @@ func (page SlotDifferenceCollectionPage) Values() []SlotDifference { } // Creates a new instance of the SlotDifferenceCollectionPage type. -func NewSlotDifferenceCollectionPage(getNextPage func(context.Context, SlotDifferenceCollection) (SlotDifferenceCollection, error)) SlotDifferenceCollectionPage { - return SlotDifferenceCollectionPage{fn: getNextPage} +func NewSlotDifferenceCollectionPage(cur SlotDifferenceCollection, getNextPage func(context.Context, SlotDifferenceCollection) (SlotDifferenceCollection, error)) SlotDifferenceCollectionPage { + return SlotDifferenceCollectionPage{ + fn: getNextPage, + sdc: cur, + } } // SlotDifferenceProperties slotDifference resource specific properties @@ -18851,8 +18989,11 @@ func (page SnapshotCollectionPage) Values() []Snapshot { } // Creates a new instance of the SnapshotCollectionPage type. -func NewSnapshotCollectionPage(getNextPage func(context.Context, SnapshotCollection) (SnapshotCollection, error)) SnapshotCollectionPage { - return SnapshotCollectionPage{fn: getNextPage} +func NewSnapshotCollectionPage(cur SnapshotCollection, getNextPage func(context.Context, SnapshotCollection) (SnapshotCollection, error)) SnapshotCollectionPage { + return SnapshotCollectionPage{ + fn: getNextPage, + sc: cur, + } } // SnapshotProperties snapshot resource specific properties @@ -19238,8 +19379,11 @@ func (page SourceControlCollectionPage) Values() []SourceControl { } // Creates a new instance of the SourceControlCollectionPage type. -func NewSourceControlCollectionPage(getNextPage func(context.Context, SourceControlCollection) (SourceControlCollection, error)) SourceControlCollectionPage { - return SourceControlCollectionPage{fn: getNextPage} +func NewSourceControlCollectionPage(cur SourceControlCollection, getNextPage func(context.Context, SourceControlCollection) (SourceControlCollection, error)) SourceControlCollectionPage { + return SourceControlCollectionPage{ + fn: getNextPage, + scc: cur, + } } // SourceControlProperties sourceControl resource specific properties @@ -19467,8 +19611,11 @@ func (page StampCapacityCollectionPage) Values() []StampCapacity { } // Creates a new instance of the StampCapacityCollectionPage type. -func NewStampCapacityCollectionPage(getNextPage func(context.Context, StampCapacityCollection) (StampCapacityCollection, error)) StampCapacityCollectionPage { - return StampCapacityCollectionPage{fn: getNextPage} +func NewStampCapacityCollectionPage(cur StampCapacityCollection, getNextPage func(context.Context, StampCapacityCollection) (StampCapacityCollection, error)) StampCapacityCollectionPage { + return StampCapacityCollectionPage{ + fn: getNextPage, + scc: cur, + } } // StatusCodesBasedTrigger trigger based on status code. @@ -19882,8 +20029,11 @@ func (page TldLegalAgreementCollectionPage) Values() []TldLegalAgreement { } // Creates a new instance of the TldLegalAgreementCollectionPage type. -func NewTldLegalAgreementCollectionPage(getNextPage func(context.Context, TldLegalAgreementCollection) (TldLegalAgreementCollection, error)) TldLegalAgreementCollectionPage { - return TldLegalAgreementCollectionPage{fn: getNextPage} +func NewTldLegalAgreementCollectionPage(cur TldLegalAgreementCollection, getNextPage func(context.Context, TldLegalAgreementCollection) (TldLegalAgreementCollection, error)) TldLegalAgreementCollectionPage { + return TldLegalAgreementCollectionPage{ + fn: getNextPage, + tlac: cur, + } } // TopLevelDomain a top level domain object. @@ -20142,8 +20292,11 @@ func (page TopLevelDomainCollectionPage) Values() []TopLevelDomain { } // Creates a new instance of the TopLevelDomainCollectionPage type. -func NewTopLevelDomainCollectionPage(getNextPage func(context.Context, TopLevelDomainCollection) (TopLevelDomainCollection, error)) TopLevelDomainCollectionPage { - return TopLevelDomainCollectionPage{fn: getNextPage} +func NewTopLevelDomainCollectionPage(cur TopLevelDomainCollection, getNextPage func(context.Context, TopLevelDomainCollection) (TopLevelDomainCollection, error)) TopLevelDomainCollectionPage { + return TopLevelDomainCollectionPage{ + fn: getNextPage, + tldc: cur, + } } // TopLevelDomainProperties topLevelDomain resource specific properties @@ -20268,7 +20421,8 @@ func (tjhc TriggeredJobHistoryCollection) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// TriggeredJobHistoryCollectionIterator provides access to a complete listing of TriggeredJobHistory values. +// TriggeredJobHistoryCollectionIterator provides access to a complete listing of TriggeredJobHistory +// values. type TriggeredJobHistoryCollectionIterator struct { i int page TriggeredJobHistoryCollectionPage @@ -20411,8 +20565,11 @@ func (page TriggeredJobHistoryCollectionPage) Values() []TriggeredJobHistory { } // Creates a new instance of the TriggeredJobHistoryCollectionPage type. -func NewTriggeredJobHistoryCollectionPage(getNextPage func(context.Context, TriggeredJobHistoryCollection) (TriggeredJobHistoryCollection, error)) TriggeredJobHistoryCollectionPage { - return TriggeredJobHistoryCollectionPage{fn: getNextPage} +func NewTriggeredJobHistoryCollectionPage(cur TriggeredJobHistoryCollection, getNextPage func(context.Context, TriggeredJobHistoryCollection) (TriggeredJobHistoryCollection, error)) TriggeredJobHistoryCollectionPage { + return TriggeredJobHistoryCollectionPage{ + fn: getNextPage, + tjhc: cur, + } } // TriggeredJobHistoryProperties triggeredJobHistory resource specific properties @@ -20817,8 +20974,11 @@ func (page TriggeredWebJobCollectionPage) Values() []TriggeredWebJob { } // Creates a new instance of the TriggeredWebJobCollectionPage type. -func NewTriggeredWebJobCollectionPage(getNextPage func(context.Context, TriggeredWebJobCollection) (TriggeredWebJobCollection, error)) TriggeredWebJobCollectionPage { - return TriggeredWebJobCollectionPage{fn: getNextPage} +func NewTriggeredWebJobCollectionPage(cur TriggeredWebJobCollection, getNextPage func(context.Context, TriggeredWebJobCollection) (TriggeredWebJobCollection, error)) TriggeredWebJobCollectionPage { + return TriggeredWebJobCollectionPage{ + fn: getNextPage, + twjc: cur, + } } // TriggeredWebJobProperties triggeredWebJob resource specific properties @@ -21130,8 +21290,11 @@ func (page UsageCollectionPage) Values() []Usage { } // Creates a new instance of the UsageCollectionPage type. -func NewUsageCollectionPage(getNextPage func(context.Context, UsageCollection) (UsageCollection, error)) UsageCollectionPage { - return UsageCollectionPage{fn: getNextPage} +func NewUsageCollectionPage(cur UsageCollection, getNextPage func(context.Context, UsageCollection) (UsageCollection, error)) UsageCollectionPage { + return UsageCollectionPage{ + fn: getNextPage, + uc: cur, + } } // UsageProperties usage resource specific properties @@ -21427,8 +21590,8 @@ func (vnp VirtualNetworkProfile) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// VnetGateway the Virtual Network gateway contract. This is used to give the Virtual Network gateway access to -// the VPN package. +// VnetGateway the Virtual Network gateway contract. This is used to give the Virtual Network gateway +// access to the VPN package. type VnetGateway struct { autorest.Response `json:"-"` // VnetGatewayProperties - VnetGateway resource specific properties @@ -22223,8 +22386,11 @@ func (page WorkerPoolCollectionPage) Values() []WorkerPoolResource { } // Creates a new instance of the WorkerPoolCollectionPage type. -func NewWorkerPoolCollectionPage(getNextPage func(context.Context, WorkerPoolCollection) (WorkerPoolCollection, error)) WorkerPoolCollectionPage { - return WorkerPoolCollectionPage{fn: getNextPage} +func NewWorkerPoolCollectionPage(cur WorkerPoolCollection, getNextPage func(context.Context, WorkerPoolCollection) (WorkerPoolCollection, error)) WorkerPoolCollectionPage { + return WorkerPoolCollectionPage{ + fn: getNextPage, + wpc: cur, + } } // WorkerPoolResource worker pool of an App Service Environment ARM resource.