diff --git a/services/recoveryservices/mgmt/2016-08-10/siterecovery/models.go b/services/recoveryservices/mgmt/2016-08-10/siterecovery/models.go index 6870d50468a8..1d08acac01e7 100644 --- a/services/recoveryservices/mgmt/2016-08-10/siterecovery/models.go +++ b/services/recoveryservices/mgmt/2016-08-10/siterecovery/models.go @@ -1194,8 +1194,11 @@ func (page AlertCollectionPage) Values() []Alert { } // Creates a new instance of the AlertCollectionPage type. -func NewAlertCollectionPage(getNextPage func(context.Context, AlertCollection) (AlertCollection, error)) AlertCollectionPage { - return AlertCollectionPage{fn: getNextPage} +func NewAlertCollectionPage(cur AlertCollection, getNextPage func(context.Context, AlertCollection) (AlertCollection, error)) AlertCollectionPage { + return AlertCollectionPage{ + fn: getNextPage, + ac: cur, + } } // AlertProperties the properties of an alert. @@ -1832,8 +1835,8 @@ func (afsd AzureFabricSpecificDetails) AsBasicFabricSpecificDetails() (BasicFabr return &afsd, true } -// AzureToAzureCreateNetworkMappingInput create network mappings input properties/behavior specific to Azure to -// Azure Network mapping. +// AzureToAzureCreateNetworkMappingInput create network mappings input properties/behavior specific to +// Azure to Azure Network mapping. type AzureToAzureCreateNetworkMappingInput struct { // PrimaryNetworkID - The primary azure vnet Id. PrimaryNetworkID *string `json:"primaryNetworkId,omitempty"` @@ -2542,9 +2545,9 @@ type DiskVolumeDetails struct { Name *string `json:"name,omitempty"` } -// Display contains the localized display information for this particular operation / action. These value will -// be used by several clients for (1) custom role definitions for RBAC; (2) complex query filters for the event -// service; and (3) audit history / records for management operations. +// Display contains the localized display information for this particular operation / action. These value +// will be used by several clients for (1) custom role definitions for RBAC; (2) complex query filters for +// the event service; and (3) audit history / records for management operations. type Display struct { // Provider - The provider. The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with "Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights" or "Microsoft Compute." Provider *string `json:"provider,omitempty"` @@ -2916,8 +2919,11 @@ func (page EventCollectionPage) Values() []Event { } // Creates a new instance of the EventCollectionPage type. -func NewEventCollectionPage(getNextPage func(context.Context, EventCollection) (EventCollection, error)) EventCollectionPage { - return EventCollectionPage{fn: getNextPage} +func NewEventCollectionPage(cur EventCollection, getNextPage func(context.Context, EventCollection) (EventCollection, error)) EventCollectionPage { + return EventCollectionPage{ + fn: getNextPage, + ec: cur, + } } // EventProperties the properties of a monitoring event. @@ -3508,8 +3514,11 @@ func (page FabricCollectionPage) Values() []Fabric { } // Creates a new instance of the FabricCollectionPage type. -func NewFabricCollectionPage(getNextPage func(context.Context, FabricCollection) (FabricCollection, error)) FabricCollectionPage { - return FabricCollectionPage{fn: getNextPage} +func NewFabricCollectionPage(cur FabricCollection, getNextPage func(context.Context, FabricCollection) (FabricCollection, error)) FabricCollectionPage { + return FabricCollectionPage{ + fn: getNextPage, + fc: cur, + } } // FabricCreationInput site details provided during the time of site creation @@ -4520,7 +4529,8 @@ func (hvr2ed HyperVReplica2012R2EventDetails) AsBasicEventProviderSpecificDetail return &hvr2ed, true } -// HyperVReplicaAzureApplyRecoveryPointInput applyRecoveryPoint input specific to HyperVReplicaAzure provider. +// HyperVReplicaAzureApplyRecoveryPointInput applyRecoveryPoint input specific to HyperVReplicaAzure +// provider. type HyperVReplicaAzureApplyRecoveryPointInput struct { // VaultLocation - The vault location where the recovery Vm resides. VaultLocation *string `json:"vaultLocation,omitempty"` @@ -7528,7 +7538,8 @@ func (imavri InMageAzureV2ReprotectInput) AsBasicReverseReplicationProviderSpeci return &imavri, true } -// InMageAzureV2UpdateReplicationProtectedItemInput inMage Azure V2 input to update replication protected item. +// InMageAzureV2UpdateReplicationProtectedItemInput inMage Azure V2 input to update replication protected +// item. type InMageAzureV2UpdateReplicationProtectedItemInput struct { // RecoveryAzureV1ResourceGroupID - The recovery Azure resource group Id for classic deployment. RecoveryAzureV1ResourceGroupID *string `json:"recoveryAzureV1ResourceGroupId,omitempty"` @@ -8453,8 +8464,8 @@ func (imri InMageReprotectInput) AsBasicReverseReplicationProviderSpecificInput( return &imri, true } -// InMageVolumeExclusionOptions guest disk signature based disk exclusion option when doing enable protection -// of virtual machine in InMage provider. +// InMageVolumeExclusionOptions guest disk signature based disk exclusion option when doing enable +// protection of virtual machine in InMage provider. type InMageVolumeExclusionOptions struct { // VolumeLabel - The volume label. The disk having any volume with this label will be excluded from replication. VolumeLabel *string `json:"volumeLabel,omitempty"` @@ -8673,8 +8684,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, + } } // BasicJobDetails job details based on specific job type. @@ -9314,8 +9328,11 @@ func (page LogicalNetworkCollectionPage) Values() []LogicalNetwork { } // Creates a new instance of the LogicalNetworkCollectionPage type. -func NewLogicalNetworkCollectionPage(getNextPage func(context.Context, LogicalNetworkCollection) (LogicalNetworkCollection, error)) LogicalNetworkCollectionPage { - return LogicalNetworkCollectionPage{fn: getNextPage} +func NewLogicalNetworkCollectionPage(cur LogicalNetworkCollection, getNextPage func(context.Context, LogicalNetworkCollection) (LogicalNetworkCollection, error)) LogicalNetworkCollectionPage { + return LogicalNetworkCollectionPage{ + fn: getNextPage, + lnc: cur, + } } // LogicalNetworkProperties logical Network Properties. @@ -9638,15 +9655,18 @@ func (page NetworkCollectionPage) Values() []Network { } // Creates a new instance of the NetworkCollectionPage type. -func NewNetworkCollectionPage(getNextPage func(context.Context, NetworkCollection) (NetworkCollection, error)) NetworkCollectionPage { - return NetworkCollectionPage{fn: getNextPage} +func NewNetworkCollectionPage(cur NetworkCollection, getNextPage func(context.Context, NetworkCollection) (NetworkCollection, error)) NetworkCollectionPage { + return NetworkCollectionPage{ + fn: getNextPage, + nc: cur, + } } -// NetworkMapping network Mapping model. Ideally it should have been possible to inherit this class from prev -// version in InheritedModels as long as there is no difference in structure or method signature. Since there -// were no base Models for certain fields and methods viz NetworkMappingProperties and Load with required -// return type, the class has been introduced in its entirety with references to base models to facilitate -// extensions in subsequent versions. +// NetworkMapping network Mapping model. Ideally it should have been possible to inherit this class from +// prev version in InheritedModels as long as there is no difference in structure or method signature. +// Since there were no base Models for certain fields and methods viz NetworkMappingProperties and Load +// with required return type, the class has been introduced in its entirety with references to base models +// to facilitate extensions in subsequent versions. type NetworkMapping struct { autorest.Response `json:"-"` // Properties - The Network Mapping Properties. @@ -9673,10 +9693,10 @@ func (nm NetworkMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// NetworkMappingCollection list of network mappings. As with NetworkMapping, it should be possible to reuse a -// prev version of this class. It doesn't seem likely this class could be anything more than a slightly bespoke -// collection of NetworkMapping. Hence it makes sense to override Load with Base.NetworkMapping instead of -// existing CurrentVersion.NetworkMapping. +// NetworkMappingCollection list of network mappings. As with NetworkMapping, it should be possible to +// reuse a prev version of this class. It doesn't seem likely this class could be anything more than a +// slightly bespoke collection of NetworkMapping. Hence it makes sense to override Load with +// Base.NetworkMapping instead of existing CurrentVersion.NetworkMapping. type NetworkMappingCollection struct { autorest.Response `json:"-"` // Value - The Network Mappings list. @@ -9828,8 +9848,11 @@ func (page NetworkMappingCollectionPage) Values() []NetworkMapping { } // Creates a new instance of the NetworkMappingCollectionPage type. -func NewNetworkMappingCollectionPage(getNextPage func(context.Context, NetworkMappingCollection) (NetworkMappingCollection, error)) NetworkMappingCollectionPage { - return NetworkMappingCollectionPage{fn: getNextPage} +func NewNetworkMappingCollectionPage(cur NetworkMappingCollection, getNextPage func(context.Context, NetworkMappingCollection) (NetworkMappingCollection, error)) NetworkMappingCollectionPage { + return NetworkMappingCollectionPage{ + fn: getNextPage, + nmc: cur, + } } // BasicNetworkMappingFabricSpecificSettings network Mapping fabric specific settings. @@ -10076,7 +10099,8 @@ type OperationsDiscoveryCollection struct { NextLink *string `json:"nextLink,omitempty"` } -// OperationsDiscoveryCollectionIterator provides access to a complete listing of OperationsDiscovery values. +// OperationsDiscoveryCollectionIterator provides access to a complete listing of OperationsDiscovery +// values. type OperationsDiscoveryCollectionIterator struct { i int page OperationsDiscoveryCollectionPage @@ -10219,8 +10243,11 @@ func (page OperationsDiscoveryCollectionPage) Values() []OperationsDiscovery { } // Creates a new instance of the OperationsDiscoveryCollectionPage type. -func NewOperationsDiscoveryCollectionPage(getNextPage func(context.Context, OperationsDiscoveryCollection) (OperationsDiscoveryCollection, error)) OperationsDiscoveryCollectionPage { - return OperationsDiscoveryCollectionPage{fn: getNextPage} +func NewOperationsDiscoveryCollectionPage(cur OperationsDiscoveryCollection, getNextPage func(context.Context, OperationsDiscoveryCollection) (OperationsDiscoveryCollection, error)) OperationsDiscoveryCollectionPage { + return OperationsDiscoveryCollectionPage{ + fn: getNextPage, + odc: cur, + } } // OSDetails disk Details. @@ -10474,8 +10501,11 @@ func (page PolicyCollectionPage) Values() []Policy { } // Creates a new instance of the PolicyCollectionPage type. -func NewPolicyCollectionPage(getNextPage func(context.Context, PolicyCollection) (PolicyCollection, error)) PolicyCollectionPage { - return PolicyCollectionPage{fn: getNextPage} +func NewPolicyCollectionPage(cur PolicyCollection, getNextPage func(context.Context, PolicyCollection) (PolicyCollection, error)) PolicyCollectionPage { + return PolicyCollectionPage{ + fn: getNextPage, + pc: cur, + } } // PolicyProperties protection profile custom data details. @@ -11049,8 +11079,11 @@ func (page ProtectableItemCollectionPage) Values() []ProtectableItem { } // Creates a new instance of the ProtectableItemCollectionPage type. -func NewProtectableItemCollectionPage(getNextPage func(context.Context, ProtectableItemCollection) (ProtectableItemCollection, error)) ProtectableItemCollectionPage { - return ProtectableItemCollectionPage{fn: getNextPage} +func NewProtectableItemCollectionPage(cur ProtectableItemCollection, getNextPage func(context.Context, ProtectableItemCollection) (ProtectableItemCollection, error)) ProtectableItemCollectionPage { + return ProtectableItemCollectionPage{ + fn: getNextPage, + pic: cur, + } } // ProtectableItemProperties replication protected item custom data details. @@ -11194,7 +11227,8 @@ type ProtectionContainerCollection struct { NextLink *string `json:"nextLink,omitempty"` } -// ProtectionContainerCollectionIterator provides access to a complete listing of ProtectionContainer values. +// ProtectionContainerCollectionIterator provides access to a complete listing of ProtectionContainer +// values. type ProtectionContainerCollectionIterator struct { i int page ProtectionContainerCollectionPage @@ -11337,8 +11371,11 @@ func (page ProtectionContainerCollectionPage) Values() []ProtectionContainer { } // Creates a new instance of the ProtectionContainerCollectionPage type. -func NewProtectionContainerCollectionPage(getNextPage func(context.Context, ProtectionContainerCollection) (ProtectionContainerCollection, error)) ProtectionContainerCollectionPage { - return ProtectionContainerCollectionPage{fn: getNextPage} +func NewProtectionContainerCollectionPage(cur ProtectionContainerCollection, getNextPage func(context.Context, ProtectionContainerCollection) (ProtectionContainerCollection, error)) ProtectionContainerCollectionPage { + return ProtectionContainerCollectionPage{ + fn: getNextPage, + pcc: cur, + } } // ProtectionContainerFabricSpecificDetails base class for fabric specific details of container. @@ -11527,8 +11564,11 @@ func (page ProtectionContainerMappingCollectionPage) Values() []ProtectionContai } // Creates a new instance of the ProtectionContainerMappingCollectionPage type. -func NewProtectionContainerMappingCollectionPage(getNextPage func(context.Context, ProtectionContainerMappingCollection) (ProtectionContainerMappingCollection, error)) ProtectionContainerMappingCollectionPage { - return ProtectionContainerMappingCollectionPage{fn: getNextPage} +func NewProtectionContainerMappingCollectionPage(cur ProtectionContainerMappingCollection, getNextPage func(context.Context, ProtectionContainerMappingCollection) (ProtectionContainerMappingCollection, error)) ProtectionContainerMappingCollectionPage { + return ProtectionContainerMappingCollectionPage{ + fn: getNextPage, + pcmc: cur, + } } // ProtectionContainerMappingProperties protection container mapping properties. @@ -12268,8 +12308,11 @@ func (page RecoveryPlanCollectionPage) Values() []RecoveryPlan { } // Creates a new instance of the RecoveryPlanCollectionPage type. -func NewRecoveryPlanCollectionPage(getNextPage func(context.Context, RecoveryPlanCollection) (RecoveryPlanCollection, error)) RecoveryPlanCollectionPage { - return RecoveryPlanCollectionPage{fn: getNextPage} +func NewRecoveryPlanCollectionPage(cur RecoveryPlanCollection, getNextPage func(context.Context, RecoveryPlanCollection) (RecoveryPlanCollection, error)) RecoveryPlanCollectionPage { + return RecoveryPlanCollectionPage{ + fn: getNextPage, + RPCVar: cur, + } } // RecoveryPlanGroup recovery plan group details. @@ -12903,7 +12946,8 @@ func (rpsad RecoveryPlanScriptActionDetails) AsBasicRecoveryPlanActionDetails() return &rpsad, true } -// RecoveryPlanShutdownGroupTaskDetails this class represents the recovery plan shutdown group task details. +// RecoveryPlanShutdownGroupTaskDetails this class represents the recovery plan shutdown group task +// details. type RecoveryPlanShutdownGroupTaskDetails struct { // Name - The name. Name *string `json:"name,omitempty"` @@ -13291,8 +13335,11 @@ func (page RecoveryPointCollectionPage) Values() []RecoveryPoint { } // Creates a new instance of the RecoveryPointCollectionPage type. -func NewRecoveryPointCollectionPage(getNextPage func(context.Context, RecoveryPointCollection) (RecoveryPointCollection, error)) RecoveryPointCollectionPage { - return RecoveryPointCollectionPage{fn: getNextPage} +func NewRecoveryPointCollectionPage(cur RecoveryPointCollection, getNextPage func(context.Context, RecoveryPointCollection) (RecoveryPointCollection, error)) RecoveryPointCollectionPage { + return RecoveryPointCollectionPage{ + fn: getNextPage, + RPCVar: cur, + } } // RecoveryPointProperties recovery point properties. @@ -13341,8 +13388,8 @@ type RecoveryServicesProviderCollection struct { NextLink *string `json:"nextLink,omitempty"` } -// RecoveryServicesProviderCollectionIterator provides access to a complete listing of RecoveryServicesProvider -// values. +// RecoveryServicesProviderCollectionIterator provides access to a complete listing of +// RecoveryServicesProvider values. type RecoveryServicesProviderCollectionIterator struct { i int page RecoveryServicesProviderCollectionPage @@ -13485,8 +13532,11 @@ func (page RecoveryServicesProviderCollectionPage) Values() []RecoveryServicesPr } // Creates a new instance of the RecoveryServicesProviderCollectionPage type. -func NewRecoveryServicesProviderCollectionPage(getNextPage func(context.Context, RecoveryServicesProviderCollection) (RecoveryServicesProviderCollection, error)) RecoveryServicesProviderCollectionPage { - return RecoveryServicesProviderCollectionPage{fn: getNextPage} +func NewRecoveryServicesProviderCollectionPage(cur RecoveryServicesProviderCollection, getNextPage func(context.Context, RecoveryServicesProviderCollection) (RecoveryServicesProviderCollection, error)) RecoveryServicesProviderCollectionPage { + return RecoveryServicesProviderCollectionPage{ + fn: getNextPage, + rspc: cur, + } } // RecoveryServicesProviderProperties recovery services provider properties. @@ -13574,8 +13624,8 @@ func (future *ReplicationFabricsCheckConsistencyFuture) Result(client Replicatio return } -// ReplicationFabricsCreateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationFabricsCreateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationFabricsCreateFuture struct { azure.Future } @@ -13603,8 +13653,8 @@ func (future *ReplicationFabricsCreateFuture) Result(client ReplicationFabricsCl return } -// ReplicationFabricsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationFabricsDeleteFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationFabricsDeleteFuture struct { azure.Future } @@ -13968,8 +14018,8 @@ func (future *ReplicationNetworkMappingsUpdateFuture) Result(client ReplicationN return } -// ReplicationPoliciesCreateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationPoliciesCreateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationPoliciesCreateFuture struct { azure.Future } @@ -13997,8 +14047,8 @@ func (future *ReplicationPoliciesCreateFuture) Result(client ReplicationPolicies return } -// ReplicationPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationPoliciesDeleteFuture struct { azure.Future } @@ -14020,8 +14070,8 @@ func (future *ReplicationPoliciesDeleteFuture) Result(client ReplicationPolicies return } -// ReplicationPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationPoliciesUpdateFuture struct { azure.Future } @@ -14085,8 +14135,8 @@ type ReplicationProtectedItemCollection struct { NextLink *string `json:"nextLink,omitempty"` } -// ReplicationProtectedItemCollectionIterator provides access to a complete listing of ReplicationProtectedItem -// values. +// ReplicationProtectedItemCollectionIterator provides access to a complete listing of +// ReplicationProtectedItem values. type ReplicationProtectedItemCollectionIterator struct { i int page ReplicationProtectedItemCollectionPage @@ -14229,8 +14279,11 @@ func (page ReplicationProtectedItemCollectionPage) Values() []ReplicationProtect } // Creates a new instance of the ReplicationProtectedItemCollectionPage type. -func NewReplicationProtectedItemCollectionPage(getNextPage func(context.Context, ReplicationProtectedItemCollection) (ReplicationProtectedItemCollection, error)) ReplicationProtectedItemCollectionPage { - return ReplicationProtectedItemCollectionPage{fn: getNextPage} +func NewReplicationProtectedItemCollectionPage(cur ReplicationProtectedItemCollection, getNextPage func(context.Context, ReplicationProtectedItemCollection) (ReplicationProtectedItemCollection, error)) ReplicationProtectedItemCollectionPage { + return ReplicationProtectedItemCollectionPage{ + fn: getNextPage, + rpic: cur, + } } // ReplicationProtectedItemProperties replication protected item custom data details. @@ -14548,8 +14601,8 @@ func (rpip *ReplicationProtectedItemProperties) UnmarshalJSON(body []byte) error return nil } -// ReplicationProtectedItemsApplyRecoveryPointFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// ReplicationProtectedItemsApplyRecoveryPointFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectedItemsApplyRecoveryPointFuture struct { azure.Future } @@ -14629,8 +14682,8 @@ func (future *ReplicationProtectedItemsDeleteFuture) Result(client ReplicationPr return } -// ReplicationProtectedItemsFailoverCommitFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationProtectedItemsFailoverCommitFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ReplicationProtectedItemsFailoverCommitFuture struct { azure.Future } @@ -14658,8 +14711,8 @@ func (future *ReplicationProtectedItemsFailoverCommitFuture) Result(client Repli return } -// ReplicationProtectedItemsPlannedFailoverFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationProtectedItemsPlannedFailoverFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ReplicationProtectedItemsPlannedFailoverFuture struct { azure.Future } @@ -14710,8 +14763,8 @@ func (future *ReplicationProtectedItemsPurgeFuture) Result(client ReplicationPro return } -// ReplicationProtectedItemsRepairReplicationFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// ReplicationProtectedItemsRepairReplicationFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectedItemsRepairReplicationFuture struct { azure.Future } @@ -14768,8 +14821,8 @@ func (future *ReplicationProtectedItemsReprotectFuture) Result(client Replicatio return } -// ReplicationProtectedItemsTestFailoverCleanupFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// ReplicationProtectedItemsTestFailoverCleanupFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectedItemsTestFailoverCleanupFuture struct { azure.Future } @@ -14797,8 +14850,8 @@ func (future *ReplicationProtectedItemsTestFailoverCleanupFuture) Result(client return } -// ReplicationProtectedItemsTestFailoverFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationProtectedItemsTestFailoverFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type ReplicationProtectedItemsTestFailoverFuture struct { azure.Future } @@ -14826,8 +14879,8 @@ func (future *ReplicationProtectedItemsTestFailoverFuture) Result(client Replica return } -// ReplicationProtectedItemsUnplannedFailoverFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// ReplicationProtectedItemsUnplannedFailoverFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectedItemsUnplannedFailoverFuture struct { azure.Future } @@ -14913,8 +14966,8 @@ func (future *ReplicationProtectedItemsUpdateMobilityServiceFuture) Result(clien return } -// ReplicationProtectionContainerMappingsCreateFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// ReplicationProtectionContainerMappingsCreateFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectionContainerMappingsCreateFuture struct { azure.Future } @@ -14942,8 +14995,8 @@ func (future *ReplicationProtectionContainerMappingsCreateFuture) Result(client return } -// ReplicationProtectionContainerMappingsDeleteFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// ReplicationProtectionContainerMappingsDeleteFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectionContainerMappingsDeleteFuture struct { azure.Future } @@ -14965,8 +15018,8 @@ func (future *ReplicationProtectionContainerMappingsDeleteFuture) Result(client return } -// ReplicationProtectionContainerMappingsPurgeFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// ReplicationProtectionContainerMappingsPurgeFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationProtectionContainerMappingsPurgeFuture struct { azure.Future } @@ -14988,8 +15041,8 @@ func (future *ReplicationProtectionContainerMappingsPurgeFuture) Result(client R return } -// ReplicationProtectionContainersCreateFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationProtectionContainersCreateFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type ReplicationProtectionContainersCreateFuture struct { azure.Future } @@ -15017,8 +15070,8 @@ func (future *ReplicationProtectionContainersCreateFuture) Result(client Replica return } -// ReplicationProtectionContainersDeleteFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationProtectionContainersDeleteFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type ReplicationProtectionContainersDeleteFuture struct { azure.Future } @@ -15040,8 +15093,8 @@ func (future *ReplicationProtectionContainersDeleteFuture) Result(client Replica return } -// ReplicationProtectionContainersDiscoverProtectableItemFuture an abstraction for monitoring and retrieving -// the results of a long-running operation. +// ReplicationProtectionContainersDiscoverProtectableItemFuture an abstraction for monitoring and +// retrieving the results of a long-running operation. type ReplicationProtectionContainersDiscoverProtectableItemFuture struct { azure.Future } @@ -15370,8 +15423,8 @@ func (future *ReplicationRecoveryPlansDeleteFuture) Result(client ReplicationRec return } -// ReplicationRecoveryPlansFailoverCommitFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationRecoveryPlansFailoverCommitFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type ReplicationRecoveryPlansFailoverCommitFuture struct { azure.Future } @@ -15399,8 +15452,8 @@ func (future *ReplicationRecoveryPlansFailoverCommitFuture) Result(client Replic return } -// ReplicationRecoveryPlansPlannedFailoverFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationRecoveryPlansPlannedFailoverFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ReplicationRecoveryPlansPlannedFailoverFuture struct { azure.Future } @@ -15457,8 +15510,8 @@ func (future *ReplicationRecoveryPlansReprotectFuture) Result(client Replication return } -// ReplicationRecoveryPlansTestFailoverCleanupFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// ReplicationRecoveryPlansTestFailoverCleanupFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationRecoveryPlansTestFailoverCleanupFuture struct { azure.Future } @@ -15515,8 +15568,8 @@ func (future *ReplicationRecoveryPlansTestFailoverFuture) Result(client Replicat return } -// ReplicationRecoveryPlansUnplannedFailoverFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// ReplicationRecoveryPlansUnplannedFailoverFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ReplicationRecoveryPlansUnplannedFailoverFuture struct { azure.Future } @@ -15573,8 +15626,8 @@ func (future *ReplicationRecoveryPlansUpdateFuture) Result(client ReplicationRec return } -// ReplicationRecoveryServicesProvidersDeleteFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// ReplicationRecoveryServicesProvidersDeleteFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type ReplicationRecoveryServicesProvidersDeleteFuture struct { azure.Future } @@ -15596,8 +15649,8 @@ func (future *ReplicationRecoveryServicesProvidersDeleteFuture) Result(client Re return } -// ReplicationRecoveryServicesProvidersPurgeFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// ReplicationRecoveryServicesProvidersPurgeFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ReplicationRecoveryServicesProvidersPurgeFuture struct { azure.Future } @@ -15619,8 +15672,8 @@ func (future *ReplicationRecoveryServicesProvidersPurgeFuture) Result(client Rep return } -// ReplicationRecoveryServicesProvidersRefreshProviderFuture an abstraction for monitoring and retrieving the -// results of a long-running operation. +// ReplicationRecoveryServicesProvidersRefreshProviderFuture an abstraction for monitoring and retrieving +// the results of a long-running operation. type ReplicationRecoveryServicesProvidersRefreshProviderFuture struct { azure.Future } @@ -15700,8 +15753,8 @@ func (future *ReplicationStorageClassificationMappingsDeleteFuture) Result(clien return } -// ReplicationvCentersCreateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationvCentersCreateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationvCentersCreateFuture struct { azure.Future } @@ -15729,8 +15782,8 @@ func (future *ReplicationvCentersCreateFuture) Result(client ReplicationvCenters return } -// ReplicationvCentersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationvCentersDeleteFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationvCentersDeleteFuture struct { azure.Future } @@ -15752,8 +15805,8 @@ func (future *ReplicationvCentersDeleteFuture) Result(client ReplicationvCenters return } -// ReplicationvCentersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationvCentersUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationvCentersUpdateFuture struct { azure.Future } @@ -16338,8 +16391,11 @@ func (page StorageClassificationCollectionPage) Values() []StorageClassification } // Creates a new instance of the StorageClassificationCollectionPage type. -func NewStorageClassificationCollectionPage(getNextPage func(context.Context, StorageClassificationCollection) (StorageClassificationCollection, error)) StorageClassificationCollectionPage { - return StorageClassificationCollectionPage{fn: getNextPage} +func NewStorageClassificationCollectionPage(cur StorageClassificationCollection, getNextPage func(context.Context, StorageClassificationCollection) (StorageClassificationCollection, error)) StorageClassificationCollectionPage { + return StorageClassificationCollectionPage{ + fn: getNextPage, + scc: cur, + } } // StorageClassificationMapping storage mapping object. @@ -16522,8 +16578,11 @@ func (page StorageClassificationMappingCollectionPage) Values() []StorageClassif } // Creates a new instance of the StorageClassificationMappingCollectionPage type. -func NewStorageClassificationMappingCollectionPage(getNextPage func(context.Context, StorageClassificationMappingCollection) (StorageClassificationMappingCollection, error)) StorageClassificationMappingCollectionPage { - return StorageClassificationMappingCollectionPage{fn: getNextPage} +func NewStorageClassificationMappingCollectionPage(cur StorageClassificationMappingCollection, getNextPage func(context.Context, StorageClassificationMappingCollection) (StorageClassificationMappingCollection, error)) StorageClassificationMappingCollectionPage { + return StorageClassificationMappingCollectionPage{ + fn: getNextPage, + scmc: cur, + } } // StorageClassificationMappingInput storage mapping input. @@ -17677,8 +17736,11 @@ func (page VCenterCollectionPage) Values() []VCenter { } // Creates a new instance of the VCenterCollectionPage type. -func NewVCenterCollectionPage(getNextPage func(context.Context, VCenterCollection) (VCenterCollection, error)) VCenterCollectionPage { - return VCenterCollectionPage{fn: getNextPage} +func NewVCenterCollectionPage(cur VCenterCollection, getNextPage func(context.Context, VCenterCollection) (VCenterCollection, error)) VCenterCollectionPage { + return VCenterCollectionPage{ + fn: getNextPage, + vcc: cur, + } } // VCenterProperties vCenter properties. @@ -17962,8 +18024,8 @@ func (vtaunmi VmmToAzureUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNe return &vtaunmi, true } -// VmmToVmmCreateNetworkMappingInput create network mappings input properties/behavior specific to vmm to vmm -// Network mapping. +// VmmToVmmCreateNetworkMappingInput create network mappings input properties/behavior specific to vmm to +// vmm Network mapping. type VmmToVmmCreateNetworkMappingInput struct { // InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreateNetworkMappingInput', 'InstanceTypeAzureToAzure', 'InstanceTypeVmmToAzure', 'InstanceTypeVmmToVmm' InstanceType InstanceTypeBasicFabricSpecificCreateNetworkMappingInput `json:"instanceType,omitempty"` @@ -18045,7 +18107,8 @@ func (vtvnms VmmToVmmNetworkMappingSettings) AsBasicNetworkMappingFabricSpecific return &vtvnms, true } -// VmmToVmmUpdateNetworkMappingInput update network mappings input properties/behavior specific to vmm to vmm. +// VmmToVmmUpdateNetworkMappingInput update network mappings input properties/behavior specific to vmm to +// vmm. type VmmToVmmUpdateNetworkMappingInput struct { // InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm' InstanceType InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput `json:"instanceType,omitempty"`