azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/resourcemover/mgmt/2019-10-01-preview/resourcemover Index | Files | Directories

package resourcemover

import "github.com/Azure/azure-sdk-for-go/services/preview/resourcemover/mgmt/2019-10-01-preview/resourcemover"

Package resourcemover implements the Azure ARM Resourcemover service API version 2019-10-01-preview.

A first party Azure service orchestrating the move of Azure resources from one Azure region to another or between zones within a region.

Index

Package Files

client.go enums.go models.go movecollections.go moveresources.go operationsdiscovery.go unresolveddependencies.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Resourcemover
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AffectedMoveResource Uses

type AffectedMoveResource struct {
    // ID - READ-ONLY; The affected move resource id.
    ID  *string `json:"id,omitempty"`
    // SourceID - READ-ONLY; The affected move resource source id.
    SourceID *string `json:"sourceId,omitempty"`
    // MoveResources - READ-ONLY; The affected move resources.
    MoveResources *[]AffectedMoveResource `json:"moveResources,omitempty"`
}

AffectedMoveResource the RP custom operation error info.

type AutomaticResolutionProperties Uses

type AutomaticResolutionProperties struct {
    // MoveResourceID - Gets the MoveResource ARM ID of
    // the dependent resource if the resolution type is Automatic.
    MoveResourceID *string `json:"moveResourceId,omitempty"`
}

AutomaticResolutionProperties defines the properties for automatic resolution.

type AvailabilitySetResourceSettings Uses

type AvailabilitySetResourceSettings struct {
    // FaultDomain - Gets or sets the target fault domain.
    FaultDomain *int32 `json:"faultDomain,omitempty"`
    // UpdateDomain - Gets or sets the target update domain.
    UpdateDomain *int32 `json:"updateDomain,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

AvailabilitySetResourceSettings gets or sets the availability set resource settings.

func (AvailabilitySetResourceSettings) AsAvailabilitySetResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsBasicResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsLoadBalancerResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsPublicIPAddressResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsResourceGroupResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsSQLDatabaseResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsSQLServerResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsVirtualMachineResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsVirtualNetworkResourceSettings Uses

func (asrs AvailabilitySetResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) MarshalJSON Uses

func (asrs AvailabilitySetResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailabilitySetResourceSettings.

type AzureResourceReference Uses

type AzureResourceReference struct {
    // SourceArmResourceID - Gets the ARM resource ID of the tracked resource being referenced.
    SourceArmResourceID *string `json:"sourceArmResourceId,omitempty"`
}

AzureResourceReference defines reference to an Azure resource.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Resourcemover.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicResourceSettings Uses

type BasicResourceSettings interface {
    AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)
    AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)
    AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)
    AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)
    AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)
    AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)
    AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)
    AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)
    AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)
    AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)
    AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)
    AsResourceSettings() (*ResourceSettings, bool)
}

BasicResourceSettings gets or sets the resource settings.

type BulkRemoveRequest Uses

type BulkRemoveRequest struct {
    // ValidateOnly - Gets or sets a value indicating whether the operation needs to only run pre-requisite.
    ValidateOnly *bool `json:"validateOnly,omitempty"`
    // MoveResources - Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.
    MoveResources *[]string `json:"moveResources,omitempty"`
    // MoveResourceInputType - Possible values include: 'MoveResourceID', 'MoveResourceSourceID'
    MoveResourceInputType MoveResourceInputType `json:"moveResourceInputType,omitempty"`
}

BulkRemoveRequest defines the request body for bulk remove of move resources operation.

type CloudError Uses

type CloudError struct {
    // Error - Cloud error body.
    Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from the service.

type CloudErrorBody Uses

type CloudErrorBody struct {
    // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - A message describing the error, intended to be suitable for display in a user interface.
    Message *string `json:"message,omitempty"`
    // Target - The target of the particular error. For example, the name of the property in error.
    Target *string `json:"target,omitempty"`
    // Details - A list of additional details about the error.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from the service.

type CommitRequest Uses

type CommitRequest struct {
    // ValidateOnly - Gets or sets a value indicating whether the operation needs to only run pre-requisite.
    ValidateOnly *bool `json:"validateOnly,omitempty"`
    // MoveResources - Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.
    MoveResources *[]string `json:"moveResources,omitempty"`
    // MoveResourceInputType - Possible values include: 'MoveResourceID', 'MoveResourceSourceID'
    MoveResourceInputType MoveResourceInputType `json:"moveResourceInputType,omitempty"`
}

CommitRequest defines the request body for commit operation.

type DependencyType Uses

type DependencyType string

DependencyType enumerates the values for dependency type.

const (
    // RequiredForMove ...
    RequiredForMove DependencyType = "RequiredForMove"
    // RequiredForPrepare ...
    RequiredForPrepare DependencyType = "RequiredForPrepare"
)

func PossibleDependencyTypeValues Uses

func PossibleDependencyTypeValues() []DependencyType

PossibleDependencyTypeValues returns an array of possible values for the DependencyType const type.

type DiscardRequest Uses

type DiscardRequest struct {
    // ValidateOnly - Gets or sets a value indicating whether the operation needs to only run pre-requisite.
    ValidateOnly *bool `json:"validateOnly,omitempty"`
    // MoveResources - Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.
    MoveResources *[]string `json:"moveResources,omitempty"`
    // MoveResourceInputType - Possible values include: 'MoveResourceID', 'MoveResourceSourceID'
    MoveResourceInputType MoveResourceInputType `json:"moveResourceInputType,omitempty"`
}

DiscardRequest defines the request body for discard operation.

type Display Uses

type Display struct {
    // Provider - Gets or sets 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"`
    // Resource - Gets or sets the resource.
    // The localized friendly form of the resource related to this action/operation – it
    // should match the public documentation for the resource provider.
    // It should use Title Casing.
    // This value should be unique for a particular URL type (e.g. nested types should *not*
    // reuse their parent’s display.resource field)
    // e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes"
    // or "Scheduler Jobs".
    Resource *string `json:"resource,omitempty"`
    // Operation - Gets or sets the operation.
    // The localized friendly name for the operation, as it should be shown to the user.
    // It should be concise (to fit in drop downs) but clear (i.e. self-documenting).
    // It should use Title Casing.
    // Prescriptive guidance: Read Create or Update Delete 'ActionName'.
    Operation *string `json:"operation,omitempty"`
    // Description - Gets or sets the description.
    // The localized friendly description for the operation, as it should be shown to the
    // user.
    // It should be thorough, yet concise – it will be used in tool tips and detailed views.
    // Prescriptive guidance for namespace:
    // Read any 'display.provider'  resource
    // Create or Update any  'display.provider'  resource
    // Delete any  'display.provider'  resource
    // Perform any other action on any  'display.provider'  resource
    // Prescriptive guidance for namespace:
    // Read any 'display.resource' Create or Update any  'display.resource' Delete any
    //  'display.resource' 'ActionName' any 'display.resources'.
    Description *string `json:"description,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.

type Identity Uses

type Identity struct {
    // Type - Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
    Type ResourceIdentityType `json:"type,omitempty"`
    // PrincipalID - Gets or sets the principal id.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - Gets or sets the tenant id.
    TenantID *string `json:"tenantId,omitempty"`
}

Identity defines the MSI properties of the Move Collection.

type JobName Uses

type JobName string

JobName enumerates the values for job name.

const (
    // InitialSync ...
    InitialSync JobName = "InitialSync"
)

func PossibleJobNameValues Uses

func PossibleJobNameValues() []JobName

PossibleJobNameValues returns an array of possible values for the JobName const type.

type JobStatus Uses

type JobStatus struct {
    // JobName - Possible values include: 'InitialSync'
    JobName JobName `json:"jobName,omitempty"`
    // JobProgress - READ-ONLY; Gets or sets the monitoring job percentage.
    JobProgress *string `json:"jobProgress,omitempty"`
}

JobStatus defines the job status.

func (JobStatus) MarshalJSON Uses

func (js JobStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobStatus.

type LBBackendAddressPoolResourceSettings Uses

type LBBackendAddressPoolResourceSettings struct {
    // Name - Gets or sets the backend address pool name.
    Name *string `json:"name,omitempty"`
}

LBBackendAddressPoolResourceSettings defines load balancer backend address pool properties.

type LBFrontendIPConfigurationResourceSettings Uses

type LBFrontendIPConfigurationResourceSettings struct {
    // Name - Gets or sets the frontend IP configuration name.
    Name *string `json:"name,omitempty"`
    // PrivateIPAddress - Gets or sets the IP address of the Load Balancer.This is only specified if a specific
    // private IP address shall be allocated from the subnet specified in subnetRef.
    PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
    // PrivateIPAllocationMethod - Gets or sets PrivateIP allocation method (Static/Dynamic).
    PrivateIPAllocationMethod *string          `json:"privateIpAllocationMethod,omitempty"`
    Subnet                    *SubnetReference `json:"subnet,omitempty"`
    // Zones - Gets or sets the csv list of zones.
    Zones *string `json:"zones,omitempty"`
}

LBFrontendIPConfigurationResourceSettings defines load balancer frontend IP configuration properties.

type LoadBalancerBackendAddressPoolReference Uses

type LoadBalancerBackendAddressPoolReference struct {
    // Name - Gets the name of the proxy resource on the target side.
    Name *string `json:"name,omitempty"`
    // SourceArmResourceID - Gets the ARM resource ID of the tracked resource being referenced.
    SourceArmResourceID *string `json:"sourceArmResourceId,omitempty"`
}

LoadBalancerBackendAddressPoolReference defines reference to load balancer backend address pools.

type LoadBalancerNatRuleReference Uses

type LoadBalancerNatRuleReference struct {
    // Name - Gets the name of the proxy resource on the target side.
    Name *string `json:"name,omitempty"`
    // SourceArmResourceID - Gets the ARM resource ID of the tracked resource being referenced.
    SourceArmResourceID *string `json:"sourceArmResourceId,omitempty"`
}

LoadBalancerNatRuleReference defines reference to load balancer NAT rules.

type LoadBalancerResourceSettings Uses

type LoadBalancerResourceSettings struct {
    // Sku - Gets or sets load balancer sku (Basic/Standard).
    Sku *string `json:"sku,omitempty"`
    // FrontendIPConfigurations - Gets or sets the frontend IP configurations of the load balancer.
    FrontendIPConfigurations *[]LBFrontendIPConfigurationResourceSettings `json:"frontendIPConfigurations,omitempty"`
    // BackendAddressPools - Gets or sets the backend address pools of the load balancer.
    BackendAddressPools *[]LBBackendAddressPoolResourceSettings `json:"backendAddressPools,omitempty"`
    // Zones - Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given
    //  precedence only if frontend IP configurations settings are not present.
    Zones *string `json:"zones,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

LoadBalancerResourceSettings defines the load balancer resource settings.

func (LoadBalancerResourceSettings) AsAvailabilitySetResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsBasicResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsLoadBalancerResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsPublicIPAddressResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsResourceGroupResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsSQLDatabaseResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsSQLServerResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsVirtualMachineResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsVirtualNetworkResourceSettings Uses

func (lbrs LoadBalancerResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) MarshalJSON Uses

func (lbrs LoadBalancerResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancerResourceSettings.

type ManualResolutionProperties Uses

type ManualResolutionProperties struct {
    // TargetID - Gets or sets the target resource ARM ID of the dependent resource if the resource type is Manual.
    TargetID *string `json:"targetId,omitempty"`
}

ManualResolutionProperties defines the properties for manual resolution.

type MoveCollection Uses

type MoveCollection struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives.
    Location   *string                   `json:"location,omitempty"`
    Identity   *Identity                 `json:"identity,omitempty"`
    Properties *MoveCollectionProperties `json:"properties,omitempty"`
}

MoveCollection define the move collection.

func (MoveCollection) MarshalJSON Uses

func (mc MoveCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveCollection.

type MoveCollectionProperties Uses

type MoveCollectionProperties struct {
    // SourceRegion - Gets or sets the source region.
    SourceRegion *string `json:"sourceRegion,omitempty"`
    // TargetRegion - Gets or sets the target region.
    TargetRegion *string `json:"targetRegion,omitempty"`
    // ProvisioningState - Possible values include: 'Succeeded', 'Updating', 'Creating', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

MoveCollectionProperties defines the move collection properties.

type MoveCollectionResultList Uses

type MoveCollectionResultList struct {
    autorest.Response `json:"-"`
    // Value - Gets the list of move collections.
    Value *[]MoveCollection `json:"value,omitempty"`
    // NextLink - Gets the value of  next link.
    NextLink *string `json:"nextLink,omitempty"`
}

MoveCollectionResultList defines the collection of move collections.

func (MoveCollectionResultList) IsEmpty Uses

func (mcrl MoveCollectionResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MoveCollectionResultListIterator Uses

type MoveCollectionResultListIterator struct {
    // contains filtered or unexported fields
}

MoveCollectionResultListIterator provides access to a complete listing of MoveCollection values.

func NewMoveCollectionResultListIterator Uses

func NewMoveCollectionResultListIterator(page MoveCollectionResultListPage) MoveCollectionResultListIterator

Creates a new instance of the MoveCollectionResultListIterator type.

func (*MoveCollectionResultListIterator) Next Uses

func (iter *MoveCollectionResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MoveCollectionResultListIterator) NextWithContext Uses

func (iter *MoveCollectionResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MoveCollectionResultListIterator) NotDone Uses

func (iter MoveCollectionResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MoveCollectionResultListIterator) Response Uses

func (iter MoveCollectionResultListIterator) Response() MoveCollectionResultList

Response returns the raw server response from the last page request.

func (MoveCollectionResultListIterator) Value Uses

func (iter MoveCollectionResultListIterator) Value() MoveCollection

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MoveCollectionResultListPage Uses

type MoveCollectionResultListPage struct {
    // contains filtered or unexported fields
}

MoveCollectionResultListPage contains a page of MoveCollection values.

func NewMoveCollectionResultListPage Uses

func NewMoveCollectionResultListPage(cur MoveCollectionResultList, getNextPage func(context.Context, MoveCollectionResultList) (MoveCollectionResultList, error)) MoveCollectionResultListPage

Creates a new instance of the MoveCollectionResultListPage type.

func (*MoveCollectionResultListPage) Next Uses

func (page *MoveCollectionResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MoveCollectionResultListPage) NextWithContext Uses

func (page *MoveCollectionResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MoveCollectionResultListPage) NotDone Uses

func (page MoveCollectionResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MoveCollectionResultListPage) Response Uses

func (page MoveCollectionResultListPage) Response() MoveCollectionResultList

Response returns the raw server response from the last page request.

func (MoveCollectionResultListPage) Values Uses

func (page MoveCollectionResultListPage) Values() []MoveCollection

Values returns the slice of values for the current page or nil if there are no values.

type MoveCollectionsBulkRemoveFuture Uses

type MoveCollectionsBulkRemoveFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsBulkRemoveFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveCollectionsClient Uses

type MoveCollectionsClient struct {
    BaseClient
}

MoveCollectionsClient is the a first party Azure service orchestrating the move of Azure resources from one Azure region to another or between zones within a region.

func NewMoveCollectionsClient Uses

func NewMoveCollectionsClient(subscriptionID string) MoveCollectionsClient

NewMoveCollectionsClient creates an instance of the MoveCollectionsClient client.

func NewMoveCollectionsClientWithBaseURI Uses

func NewMoveCollectionsClientWithBaseURI(baseURI string, subscriptionID string) MoveCollectionsClient

NewMoveCollectionsClientWithBaseURI creates an instance of the MoveCollectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MoveCollectionsClient) BulkRemove Uses

func (client MoveCollectionsClient) BulkRemove(ctx context.Context, resourceGroupName string, moveCollectionName string, body *BulkRemoveRequest) (result MoveCollectionsBulkRemoveFuture, err error)

BulkRemove removes the set of move resources included in the request body from move collection. The orchestration is done by service. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.

func (MoveCollectionsClient) BulkRemovePreparer Uses

func (client MoveCollectionsClient) BulkRemovePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *BulkRemoveRequest) (*http.Request, error)

BulkRemovePreparer prepares the BulkRemove request.

func (MoveCollectionsClient) BulkRemoveResponder Uses

func (client MoveCollectionsClient) BulkRemoveResponder(resp *http.Response) (result OperationStatus, err error)

BulkRemoveResponder handles the response to the BulkRemove request. The method always closes the http.Response Body.

func (MoveCollectionsClient) BulkRemoveSender Uses

func (client MoveCollectionsClient) BulkRemoveSender(req *http.Request) (future MoveCollectionsBulkRemoveFuture, err error)

BulkRemoveSender sends the BulkRemove request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Commit Uses

func (client MoveCollectionsClient) Commit(ctx context.Context, resourceGroupName string, moveCollectionName string, body *CommitRequest) (result MoveCollectionsCommitFuture, err error)

Commit commits the set of resources included in the request body. The commit operation is triggered on the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) CommitPreparer Uses

func (client MoveCollectionsClient) CommitPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *CommitRequest) (*http.Request, error)

CommitPreparer prepares the Commit request.

func (MoveCollectionsClient) CommitResponder Uses

func (client MoveCollectionsClient) CommitResponder(resp *http.Response) (result OperationStatus, err error)

CommitResponder handles the response to the Commit request. The method always closes the http.Response Body.

func (MoveCollectionsClient) CommitSender Uses

func (client MoveCollectionsClient) CommitSender(req *http.Request) (future MoveCollectionsCommitFuture, err error)

CommitSender sends the Commit request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Create Uses

func (client MoveCollectionsClient) Create(ctx context.Context, resourceGroupName string, moveCollectionName string, body *MoveCollection) (result MoveCollection, err error)

Create creates or updates a move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) CreatePreparer Uses

func (client MoveCollectionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *MoveCollection) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MoveCollectionsClient) CreateResponder Uses

func (client MoveCollectionsClient) CreateResponder(resp *http.Response) (result MoveCollection, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MoveCollectionsClient) CreateSender Uses

func (client MoveCollectionsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Delete Uses

func (client MoveCollectionsClient) Delete(ctx context.Context, resourceGroupName string, moveCollectionName string) (result MoveCollectionsDeleteFuture, err error)

Delete deletes a move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) DeletePreparer Uses

func (client MoveCollectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MoveCollectionsClient) DeleteResponder Uses

func (client MoveCollectionsClient) DeleteResponder(resp *http.Response) (result OperationStatus, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MoveCollectionsClient) DeleteSender Uses

func (client MoveCollectionsClient) DeleteSender(req *http.Request) (future MoveCollectionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Discard Uses

func (client MoveCollectionsClient) Discard(ctx context.Context, resourceGroupName string, moveCollectionName string, body *DiscardRequest) (result MoveCollectionsDiscardFuture, err error)

Discard discards the set of resources included in the request body. The discard operation is triggered on the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) DiscardPreparer Uses

func (client MoveCollectionsClient) DiscardPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *DiscardRequest) (*http.Request, error)

DiscardPreparer prepares the Discard request.

func (MoveCollectionsClient) DiscardResponder Uses

func (client MoveCollectionsClient) DiscardResponder(resp *http.Response) (result OperationStatus, err error)

DiscardResponder handles the response to the Discard request. The method always closes the http.Response Body.

func (MoveCollectionsClient) DiscardSender Uses

func (client MoveCollectionsClient) DiscardSender(req *http.Request) (future MoveCollectionsDiscardFuture, err error)

DiscardSender sends the Discard request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Get Uses

func (client MoveCollectionsClient) Get(ctx context.Context, resourceGroupName string, moveCollectionName string) (result MoveCollection, err error)

Get gets the move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) GetPreparer Uses

func (client MoveCollectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MoveCollectionsClient) GetResponder Uses

func (client MoveCollectionsClient) GetResponder(resp *http.Response) (result MoveCollection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MoveCollectionsClient) GetSender Uses

func (client MoveCollectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) InitiateMove Uses

func (client MoveCollectionsClient) InitiateMove(ctx context.Context, resourceGroupName string, moveCollectionName string, body *ResourceMoveRequestType) (result MoveCollectionsInitiateMoveFuture, err error)

InitiateMove moves the set of resources included in the request body. The move operation is triggered after the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) InitiateMovePreparer Uses

func (client MoveCollectionsClient) InitiateMovePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *ResourceMoveRequestType) (*http.Request, error)

InitiateMovePreparer prepares the InitiateMove request.

func (MoveCollectionsClient) InitiateMoveResponder Uses

func (client MoveCollectionsClient) InitiateMoveResponder(resp *http.Response) (result OperationStatus, err error)

InitiateMoveResponder handles the response to the InitiateMove request. The method always closes the http.Response Body.

func (MoveCollectionsClient) InitiateMoveSender Uses

func (client MoveCollectionsClient) InitiateMoveSender(req *http.Request) (future MoveCollectionsInitiateMoveFuture, err error)

InitiateMoveSender sends the InitiateMove request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) ListMoveCollectionsByResourceGroup Uses

func (client MoveCollectionsClient) ListMoveCollectionsByResourceGroup(ctx context.Context, resourceGroupName string) (result MoveCollectionResultListPage, err error)

ListMoveCollectionsByResourceGroup get all the Move Collections in the resource group. Parameters: resourceGroupName - the Resource Group Name.

func (MoveCollectionsClient) ListMoveCollectionsByResourceGroupComplete Uses

func (client MoveCollectionsClient) ListMoveCollectionsByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MoveCollectionResultListIterator, err error)

ListMoveCollectionsByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (MoveCollectionsClient) ListMoveCollectionsByResourceGroupPreparer Uses

func (client MoveCollectionsClient) ListMoveCollectionsByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListMoveCollectionsByResourceGroupPreparer prepares the ListMoveCollectionsByResourceGroup request.

func (MoveCollectionsClient) ListMoveCollectionsByResourceGroupResponder Uses

func (client MoveCollectionsClient) ListMoveCollectionsByResourceGroupResponder(resp *http.Response) (result MoveCollectionResultList, err error)

ListMoveCollectionsByResourceGroupResponder handles the response to the ListMoveCollectionsByResourceGroup request. The method always closes the http.Response Body.

func (MoveCollectionsClient) ListMoveCollectionsByResourceGroupSender Uses

func (client MoveCollectionsClient) ListMoveCollectionsByResourceGroupSender(req *http.Request) (*http.Response, error)

ListMoveCollectionsByResourceGroupSender sends the ListMoveCollectionsByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) ListMoveCollectionsBySubscription Uses

func (client MoveCollectionsClient) ListMoveCollectionsBySubscription(ctx context.Context) (result MoveCollectionResultListPage, err error)

ListMoveCollectionsBySubscription get all the Move Collections in the subscription.

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionComplete Uses

func (client MoveCollectionsClient) ListMoveCollectionsBySubscriptionComplete(ctx context.Context) (result MoveCollectionResultListIterator, err error)

ListMoveCollectionsBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionPreparer Uses

func (client MoveCollectionsClient) ListMoveCollectionsBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListMoveCollectionsBySubscriptionPreparer prepares the ListMoveCollectionsBySubscription request.

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionResponder Uses

func (client MoveCollectionsClient) ListMoveCollectionsBySubscriptionResponder(resp *http.Response) (result MoveCollectionResultList, err error)

ListMoveCollectionsBySubscriptionResponder handles the response to the ListMoveCollectionsBySubscription request. The method always closes the http.Response Body.

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionSender Uses

func (client MoveCollectionsClient) ListMoveCollectionsBySubscriptionSender(req *http.Request) (*http.Response, error)

ListMoveCollectionsBySubscriptionSender sends the ListMoveCollectionsBySubscription request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Prepare Uses

func (client MoveCollectionsClient) Prepare(ctx context.Context, resourceGroupName string, moveCollectionName string, body *PrepareRequest) (result MoveCollectionsPrepareFuture, err error)

Prepare initiates prepare for the set of resources included in the request body. The prepare operation is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) PreparePreparer Uses

func (client MoveCollectionsClient) PreparePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *PrepareRequest) (*http.Request, error)

PreparePreparer prepares the Prepare request.

func (MoveCollectionsClient) PrepareResponder Uses

func (client MoveCollectionsClient) PrepareResponder(resp *http.Response) (result OperationStatus, err error)

PrepareResponder handles the response to the Prepare request. The method always closes the http.Response Body.

func (MoveCollectionsClient) PrepareSender Uses

func (client MoveCollectionsClient) PrepareSender(req *http.Request) (future MoveCollectionsPrepareFuture, err error)

PrepareSender sends the Prepare request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) ResolveDependencies Uses

func (client MoveCollectionsClient) ResolveDependencies(ctx context.Context, resourceGroupName string, moveCollectionName string) (result MoveCollectionsResolveDependenciesFuture, err error)

ResolveDependencies computes, resolves and validate the dependencies of the moveResources in the move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) ResolveDependenciesPreparer Uses

func (client MoveCollectionsClient) ResolveDependenciesPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string) (*http.Request, error)

ResolveDependenciesPreparer prepares the ResolveDependencies request.

func (MoveCollectionsClient) ResolveDependenciesResponder Uses

func (client MoveCollectionsClient) ResolveDependenciesResponder(resp *http.Response) (result OperationStatus, err error)

ResolveDependenciesResponder handles the response to the ResolveDependencies request. The method always closes the http.Response Body.

func (MoveCollectionsClient) ResolveDependenciesSender Uses

func (client MoveCollectionsClient) ResolveDependenciesSender(req *http.Request) (future MoveCollectionsResolveDependenciesFuture, err error)

ResolveDependenciesSender sends the ResolveDependencies request. The method will close the http.Response Body if it receives an error.

func (MoveCollectionsClient) Update Uses

func (client MoveCollectionsClient) Update(ctx context.Context, resourceGroupName string, moveCollectionName string, body *UpdateMoveCollectionRequest) (result MoveCollection, err error)

Update updates a move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (MoveCollectionsClient) UpdatePreparer Uses

func (client MoveCollectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, body *UpdateMoveCollectionRequest) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MoveCollectionsClient) UpdateResponder Uses

func (client MoveCollectionsClient) UpdateResponder(resp *http.Response) (result MoveCollection, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MoveCollectionsClient) UpdateSender Uses

func (client MoveCollectionsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MoveCollectionsCommitFuture Uses

type MoveCollectionsCommitFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsCommitFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveCollectionsDeleteFuture Uses

type MoveCollectionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveCollectionsDiscardFuture Uses

type MoveCollectionsDiscardFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsDiscardFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveCollectionsInitiateMoveFuture Uses

type MoveCollectionsInitiateMoveFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsInitiateMoveFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveCollectionsPrepareFuture Uses

type MoveCollectionsPrepareFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsPrepareFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveCollectionsResolveDependenciesFuture Uses

type MoveCollectionsResolveDependenciesFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveCollectionsClient) (OperationStatus, error)
}

MoveCollectionsResolveDependenciesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveErrorInfo Uses

type MoveErrorInfo struct {
    // MoveResources - READ-ONLY; The affected move resources.
    MoveResources *[]AffectedMoveResource `json:"moveResources,omitempty"`
}

MoveErrorInfo the move custom error info.

type MoveResource Uses

type MoveResource struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type       *string                 `json:"type,omitempty"`
    Properties *MoveResourceProperties `json:"properties,omitempty"`
}

MoveResource defines the move resource.

func (MoveResource) MarshalJSON Uses

func (mr MoveResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveResource.

type MoveResourceCollection Uses

type MoveResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - Gets the list of move resources.
    Value *[]MoveResource `json:"value,omitempty"`
    // NextLink - Gets the value of  next link.
    NextLink *string `json:"nextLink,omitempty"`
    // Summary - Gets or the list of summary items.
    Summary *[]SummaryItem `json:"summary,omitempty"`
}

MoveResourceCollection defines the collection of move resources.

func (MoveResourceCollection) IsEmpty Uses

func (mrc MoveResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MoveResourceCollectionIterator Uses

type MoveResourceCollectionIterator struct {
    // contains filtered or unexported fields
}

MoveResourceCollectionIterator provides access to a complete listing of MoveResource values.

func NewMoveResourceCollectionIterator Uses

func NewMoveResourceCollectionIterator(page MoveResourceCollectionPage) MoveResourceCollectionIterator

Creates a new instance of the MoveResourceCollectionIterator type.

func (*MoveResourceCollectionIterator) Next Uses

func (iter *MoveResourceCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MoveResourceCollectionIterator) NextWithContext Uses

func (iter *MoveResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MoveResourceCollectionIterator) NotDone Uses

func (iter MoveResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MoveResourceCollectionIterator) Response Uses

func (iter MoveResourceCollectionIterator) Response() MoveResourceCollection

Response returns the raw server response from the last page request.

func (MoveResourceCollectionIterator) Value Uses

func (iter MoveResourceCollectionIterator) Value() MoveResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MoveResourceCollectionPage Uses

type MoveResourceCollectionPage struct {
    // contains filtered or unexported fields
}

MoveResourceCollectionPage contains a page of MoveResource values.

func NewMoveResourceCollectionPage Uses

func NewMoveResourceCollectionPage(cur MoveResourceCollection, getNextPage func(context.Context, MoveResourceCollection) (MoveResourceCollection, error)) MoveResourceCollectionPage

Creates a new instance of the MoveResourceCollectionPage type.

func (*MoveResourceCollectionPage) Next Uses

func (page *MoveResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MoveResourceCollectionPage) NextWithContext Uses

func (page *MoveResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MoveResourceCollectionPage) NotDone Uses

func (page MoveResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MoveResourceCollectionPage) Response Uses

func (page MoveResourceCollectionPage) Response() MoveResourceCollection

Response returns the raw server response from the last page request.

func (MoveResourceCollectionPage) Values Uses

func (page MoveResourceCollectionPage) Values() []MoveResource

Values returns the slice of values for the current page or nil if there are no values.

type MoveResourceDependency Uses

type MoveResourceDependency struct {
    // ID - Gets the source ARM ID of the dependent resource.
    ID  *string `json:"id,omitempty"`
    // ResolutionStatus - Gets the dependency resolution status.
    ResolutionStatus *string `json:"resolutionStatus,omitempty"`
    // ResolutionType - Possible values include: 'Manual', 'Automatic'
    ResolutionType ResolutionType `json:"resolutionType,omitempty"`
    // DependencyType - Possible values include: 'RequiredForPrepare', 'RequiredForMove'
    DependencyType      DependencyType                 `json:"dependencyType,omitempty"`
    ManualResolution    *ManualResolutionProperties    `json:"manualResolution,omitempty"`
    AutomaticResolution *AutomaticResolutionProperties `json:"automaticResolution,omitempty"`
    // IsOptional - Gets or sets a value indicating whether the dependency is optional.
    IsOptional *string `json:"isOptional,omitempty"`
}

MoveResourceDependency defines the dependency of the move resource.

type MoveResourceDependencyOverride Uses

type MoveResourceDependencyOverride struct {
    // ID - Gets or sets the ARM ID of the dependent resource.
    ID  *string `json:"id,omitempty"`
    // TargetID - Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of
    // the dependent resource.
    TargetID *string `json:"targetId,omitempty"`
}

MoveResourceDependencyOverride defines the dependency override of the move resource.

type MoveResourceError Uses

type MoveResourceError struct {
    // Properties - The move resource error body.
    Properties *MoveResourceErrorBody `json:"properties,omitempty"`
}

MoveResourceError an error response from the azure resource mover service.

type MoveResourceErrorBody Uses

type MoveResourceErrorBody struct {
    // Code - READ-ONLY; An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; A message describing the error, intended to be suitable for display in a user interface.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The target of the particular error. For example, the name of the property in error.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; A list of additional details about the error.
    Details *[]MoveResourceErrorBody `json:"details,omitempty"`
}

MoveResourceErrorBody an error response from the Azure Migrate service.

type MoveResourceFilter Uses

type MoveResourceFilter struct {
    Properties *MoveResourceFilterProperties `json:"properties,omitempty"`
}

MoveResourceFilter move resource filter.

type MoveResourceFilterProperties Uses

type MoveResourceFilterProperties struct {
    // ProvisioningState - The provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

MoveResourceFilterProperties ...

type MoveResourceInputType Uses

type MoveResourceInputType string

MoveResourceInputType enumerates the values for move resource input type.

const (
    // MoveResourceID ...
    MoveResourceID MoveResourceInputType = "MoveResourceId"
    // MoveResourceSourceID ...
    MoveResourceSourceID MoveResourceInputType = "MoveResourceSourceId"
)

func PossibleMoveResourceInputTypeValues Uses

func PossibleMoveResourceInputTypeValues() []MoveResourceInputType

PossibleMoveResourceInputTypeValues returns an array of possible values for the MoveResourceInputType const type.

type MoveResourceProperties Uses

type MoveResourceProperties struct {
    // ProvisioningState - Possible values include: 'Succeeded', 'Updating', 'Creating', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // SourceID - Gets or sets the Source ARM Id of the resource.
    SourceID *string `json:"sourceId,omitempty"`
    // TargetID - READ-ONLY; Gets or sets the Target ARM Id of the resource.
    TargetID *string `json:"targetId,omitempty"`
    // ExistingTargetID - Gets or sets the existing target ARM Id of the resource.
    ExistingTargetID *string `json:"existingTargetId,omitempty"`
    // ResourceSettings - Gets or sets the resource settings.
    ResourceSettings BasicResourceSettings `json:"resourceSettings,omitempty"`
    // SourceResourceSettings - READ-ONLY; Gets or sets the source resource settings.
    SourceResourceSettings BasicResourceSettings `json:"sourceResourceSettings,omitempty"`
    // MoveStatus - READ-ONLY; Defines the move resource status.
    MoveStatus *MoveResourcePropertiesMoveStatus `json:"moveStatus,omitempty"`
    // DependsOn - READ-ONLY; Gets or sets the move resource dependencies.
    DependsOn *[]MoveResourceDependency `json:"dependsOn,omitempty"`
    // DependsOnOverrides - Gets or sets the move resource dependencies overrides.
    DependsOnOverrides *[]MoveResourceDependencyOverride `json:"dependsOnOverrides,omitempty"`
    // Errors - READ-ONLY; Defines the move resource errors.
    Errors *MoveResourcePropertiesErrors `json:"errors,omitempty"`
}

MoveResourceProperties defines the move resource properties.

func (MoveResourceProperties) MarshalJSON Uses

func (mrp MoveResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveResourceProperties.

func (*MoveResourceProperties) UnmarshalJSON Uses

func (mrp *MoveResourceProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MoveResourceProperties struct.

type MoveResourcePropertiesErrors Uses

type MoveResourcePropertiesErrors struct {
    // Properties - The move resource error body.
    Properties *MoveResourceErrorBody `json:"properties,omitempty"`
}

MoveResourcePropertiesErrors defines the move resource errors.

type MoveResourcePropertiesMoveStatus Uses

type MoveResourcePropertiesMoveStatus struct {
    // MoveState - Possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed'
    MoveState MoveState          `json:"moveState,omitempty"`
    JobStatus *JobStatus         `json:"jobStatus,omitempty"`
    Errors    *MoveResourceError `json:"errors,omitempty"`
    // TargetID - READ-ONLY; Gets the Target ARM Id of the resource.
    TargetID *string `json:"targetId,omitempty"`
}

MoveResourcePropertiesMoveStatus defines the move resource status.

func (MoveResourcePropertiesMoveStatus) MarshalJSON Uses

func (mrpS MoveResourcePropertiesMoveStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveResourcePropertiesMoveStatus.

type MoveResourceStatus Uses

type MoveResourceStatus struct {
    // MoveState - Possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed'
    MoveState MoveState          `json:"moveState,omitempty"`
    JobStatus *JobStatus         `json:"jobStatus,omitempty"`
    Errors    *MoveResourceError `json:"errors,omitempty"`
    // TargetID - READ-ONLY; Gets the Target ARM Id of the resource.
    TargetID *string `json:"targetId,omitempty"`
}

MoveResourceStatus defines the move resource status.

func (MoveResourceStatus) MarshalJSON Uses

func (mrs MoveResourceStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveResourceStatus.

type MoveResourcesClient Uses

type MoveResourcesClient struct {
    BaseClient
}

MoveResourcesClient is the a first party Azure service orchestrating the move of Azure resources from one Azure region to another or between zones within a region.

func NewMoveResourcesClient Uses

func NewMoveResourcesClient(subscriptionID string) MoveResourcesClient

NewMoveResourcesClient creates an instance of the MoveResourcesClient client.

func NewMoveResourcesClientWithBaseURI Uses

func NewMoveResourcesClientWithBaseURI(baseURI string, subscriptionID string) MoveResourcesClient

NewMoveResourcesClientWithBaseURI creates an instance of the MoveResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MoveResourcesClient) Create Uses

func (client MoveResourcesClient) Create(ctx context.Context, resourceGroupName string, moveCollectionName string, moveResourceName string, body *MoveResource) (result MoveResourcesCreateFuture, err error)

Create creates or updates a Move Resource in the move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name. moveResourceName - the Move Resource Name.

func (MoveResourcesClient) CreatePreparer Uses

func (client MoveResourcesClient) CreatePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, moveResourceName string, body *MoveResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MoveResourcesClient) CreateResponder Uses

func (client MoveResourcesClient) CreateResponder(resp *http.Response) (result MoveResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MoveResourcesClient) CreateSender Uses

func (client MoveResourcesClient) CreateSender(req *http.Request) (future MoveResourcesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (MoveResourcesClient) Delete Uses

func (client MoveResourcesClient) Delete(ctx context.Context, resourceGroupName string, moveCollectionName string, moveResourceName string) (result MoveResourcesDeleteFuture, err error)

Delete deletes a Move Resource from the move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name. moveResourceName - the Move Resource Name.

func (MoveResourcesClient) DeletePreparer Uses

func (client MoveResourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, moveResourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MoveResourcesClient) DeleteResponder Uses

func (client MoveResourcesClient) DeleteResponder(resp *http.Response) (result OperationStatus, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MoveResourcesClient) DeleteSender Uses

func (client MoveResourcesClient) DeleteSender(req *http.Request) (future MoveResourcesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MoveResourcesClient) Get Uses

func (client MoveResourcesClient) Get(ctx context.Context, resourceGroupName string, moveCollectionName string, moveResourceName string) (result MoveResource, err error)

Get gets the Move Resource. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name. moveResourceName - the Move Resource Name.

func (MoveResourcesClient) GetPreparer Uses

func (client MoveResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, moveResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MoveResourcesClient) GetResponder Uses

func (client MoveResourcesClient) GetResponder(resp *http.Response) (result MoveResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MoveResourcesClient) GetSender Uses

func (client MoveResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MoveResourcesClient) List Uses

func (client MoveResourcesClient) List(ctx context.Context, resourceGroupName string, moveCollectionName string, filter string) (result MoveResourceCollectionPage, err error)

List lists the Move Resources in the move collection. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name. filter - the filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'.

func (MoveResourcesClient) ListComplete Uses

func (client MoveResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, moveCollectionName string, filter string) (result MoveResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MoveResourcesClient) ListPreparer Uses

func (client MoveResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (MoveResourcesClient) ListResponder Uses

func (client MoveResourcesClient) ListResponder(resp *http.Response) (result MoveResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MoveResourcesClient) ListSender Uses

func (client MoveResourcesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MoveResourcesCreateFuture Uses

type MoveResourcesCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveResourcesClient) (MoveResource, error)
}

MoveResourcesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveResourcesDeleteFuture Uses

type MoveResourcesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MoveResourcesClient) (OperationStatus, error)
}

MoveResourcesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MoveState Uses

type MoveState string

MoveState enumerates the values for move state.

const (
    // AssignmentPending ...
    AssignmentPending MoveState = "AssignmentPending"
    // CommitFailed ...
    CommitFailed MoveState = "CommitFailed"
    // CommitInProgress ...
    CommitInProgress MoveState = "CommitInProgress"
    // CommitPending ...
    CommitPending MoveState = "CommitPending"
    // Committed ...
    Committed MoveState = "Committed"
    // DiscardFailed ...
    DiscardFailed MoveState = "DiscardFailed"
    // DiscardInProgress ...
    DiscardInProgress MoveState = "DiscardInProgress"
    // MoveFailed ...
    MoveFailed MoveState = "MoveFailed"
    // MoveInProgress ...
    MoveInProgress MoveState = "MoveInProgress"
    // MovePending ...
    MovePending MoveState = "MovePending"
    // PrepareFailed ...
    PrepareFailed MoveState = "PrepareFailed"
    // PrepareInProgress ...
    PrepareInProgress MoveState = "PrepareInProgress"
    // PreparePending ...
    PreparePending MoveState = "PreparePending"
)

func PossibleMoveStateValues Uses

func PossibleMoveStateValues() []MoveState

PossibleMoveStateValues returns an array of possible values for the MoveState const type.

type NetworkInterfaceResourceSettings Uses

type NetworkInterfaceResourceSettings struct {
    // IPConfigurations - Gets or sets the IP configurations of the NIC.
    IPConfigurations *[]NicIPConfigurationResourceSettings `json:"ipConfigurations,omitempty"`
    // EnableAcceleratedNetworking - Gets or sets a value indicating whether accelerated networking is enabled.
    EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

NetworkInterfaceResourceSettings defines the network interface resource settings.

func (NetworkInterfaceResourceSettings) AsAvailabilitySetResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsBasicResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsLoadBalancerResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsPublicIPAddressResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsResourceGroupResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsSQLDatabaseResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsSQLServerResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsVirtualMachineResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsVirtualNetworkResourceSettings Uses

func (nirs NetworkInterfaceResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) MarshalJSON Uses

func (nirs NetworkInterfaceResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkInterfaceResourceSettings.

type NetworkSecurityGroupResourceSettings Uses

type NetworkSecurityGroupResourceSettings struct {
    // SecurityRules - Gets or sets Security rules of network security group.
    SecurityRules *[]NsgSecurityRule `json:"securityRules,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

NetworkSecurityGroupResourceSettings defines the NSG resource settings.

func (NetworkSecurityGroupResourceSettings) AsAvailabilitySetResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsBasicResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsLoadBalancerResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsPublicIPAddressResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsResourceGroupResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsSQLDatabaseResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsSQLServerResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsVirtualMachineResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsVirtualNetworkResourceSettings Uses

func (nsgrs NetworkSecurityGroupResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) MarshalJSON Uses

func (nsgrs NetworkSecurityGroupResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkSecurityGroupResourceSettings.

type NicIPConfigurationResourceSettings Uses

type NicIPConfigurationResourceSettings struct {
    // Name - Gets or sets the IP configuration name.
    Name *string `json:"name,omitempty"`
    // PrivateIPAddress - Gets or sets the private IP address of the network interface IP Configuration.
    PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
    // PrivateIPAllocationMethod - Gets or sets the private IP address allocation method.
    PrivateIPAllocationMethod *string          `json:"privateIpAllocationMethod,omitempty"`
    Subnet                    *SubnetReference `json:"subnet,omitempty"`
    // Primary - Gets or sets a value indicating whether this IP configuration is the primary.
    Primary *bool `json:"primary,omitempty"`
    // LoadBalancerBackendAddressPools - Gets or sets the references of the load balancer backend address pools.
    LoadBalancerBackendAddressPools *[]LoadBalancerBackendAddressPoolReference `json:"loadBalancerBackendAddressPools,omitempty"`
}

NicIPConfigurationResourceSettings defines NIC IP configuration properties.

type NsgSecurityRule Uses

type NsgSecurityRule struct {
    // Name - Gets or sets the Security rule name.
    Name *string `json:"name,omitempty"`
    // Access - Gets or sets whether network traffic is allowed or denied.
    // Possible values are “Allow” and “Deny”.
    Access *string `json:"access,omitempty"`
    // Description - Gets or sets a description for this rule. Restricted to 140 chars.
    Description *string `json:"description,omitempty"`
    // DestinationAddressPrefix - Gets or sets destination address prefix. CIDR or source IP range.
    //  A “*” can also be used to match all source IPs. Default tags such
    // as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used.
    DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`
    // DestinationPortRange - Gets or sets Destination Port or Range. Integer or range between
    // 0 and 65535. A “*” can also be used to match all ports.
    DestinationPortRange *string `json:"destinationPortRange,omitempty"`
    // Direction - Gets or sets the direction of the rule.InBound or Outbound. The
    // direction specifies if rule will be evaluated on incoming or outgoing traffic.
    Direction *string `json:"direction,omitempty"`
    // Priority - Gets or sets the priority of the rule. The value can be between
    // 100 and 4096. The priority number must be unique for each rule in the collection.
    // The lower the priority number, the higher the priority of the rule.
    Priority *int32 `json:"priority,omitempty"`
    // Protocol - Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).
    Protocol *string `json:"protocol,omitempty"`
    // SourceAddressPrefix - Gets or sets source address prefix. CIDR or source IP range. A
    // “*” can also be used to match all source IPs.  Default tags such as ‘VirtualNetwork’,
    // ‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress
    // rule, specifies where network traffic originates from.
    SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
    // SourcePortRange - Gets or sets Source Port or Range. Integer or range between 0 and
    // 65535. A “*” can also be used to match all ports.
    SourcePortRange *string `json:"sourcePortRange,omitempty"`
}

NsgSecurityRule security Rule data model for Network Security Groups.

type OperationErrorAdditionalInfo Uses

type OperationErrorAdditionalInfo struct {
    // Type - READ-ONLY; The error type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The operation error info.
    Info *MoveErrorInfo `json:"info,omitempty"`
}

OperationErrorAdditionalInfo the operation error info.

type OperationStatus Uses

type OperationStatus struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Operation name.
    Name *string `json:"name,omitempty"`
    // Status - READ-ONLY; Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
    Status *string `json:"status,omitempty"`
    // StartTime - READ-ONLY; Start time.
    StartTime *string `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; End time.
    EndTime *string `json:"endTime,omitempty"`
    // Error - READ-ONLY; Error stating all error details for the operation.
    Error *OperationStatusError `json:"error,omitempty"`
    // Properties - READ-ONLY; Custom data.
    Properties interface{} `json:"properties,omitempty"`
}

OperationStatus operation status REST resource.

type OperationStatusError Uses

type OperationStatusError struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]OperationStatusError `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The additional info.
    AdditionalInfo *[]OperationErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

OperationStatusError class for operation status errors.

type OperationsDiscovery Uses

type OperationsDiscovery struct {
    // Name - Gets or sets Name of the API.
    // The name of the operation being performed on this particular object. It should
    // match the action name that appears in RBAC / the event service.
    // Examples of operations include:
    // * Microsoft.Compute/virtualMachine/capture/action
    // * Microsoft.Compute/virtualMachine/restart/action
    // * Microsoft.Compute/virtualMachine/write
    // * Microsoft.Compute/virtualMachine/read
    // * Microsoft.Compute/virtualMachine/delete
    // Each action should include, in order:
    // (1) Resource Provider Namespace
    // (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL
    // Azure database)
    // (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH
    // on a collection or named value, Write should be used.
    // If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it
    // is a POST, Action should be used.
    // As a note: all resource providers would need to include the "{Resource Provider
    // Namespace}/register/action" operation in their response.
    // This API is used to register for their service, and should include details about the
    // operation (e.g. a localized name for the resource provider + any special
    // considerations like PII release).
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation is a data action
    IsDataAction *bool    `json:"isDataAction,omitempty"`
    Display      *Display `json:"display,omitempty"`
    // Origin - Gets or sets Origin.
    // The intended executor of the operation; governs the display of the operation in the
    // RBAC UX and the audit logs UX.
    // Default value is "user,system".
    Origin     *string     `json:"origin,omitempty"`
    Properties interface{} `json:"properties,omitempty"`
}

OperationsDiscovery operations discovery class.

type OperationsDiscoveryClient Uses

type OperationsDiscoveryClient struct {
    BaseClient
}

OperationsDiscoveryClient is the a first party Azure service orchestrating the move of Azure resources from one Azure region to another or between zones within a region.

func NewOperationsDiscoveryClient Uses

func NewOperationsDiscoveryClient(subscriptionID string) OperationsDiscoveryClient

NewOperationsDiscoveryClient creates an instance of the OperationsDiscoveryClient client.

func NewOperationsDiscoveryClientWithBaseURI Uses

func NewOperationsDiscoveryClientWithBaseURI(baseURI string, subscriptionID string) OperationsDiscoveryClient

NewOperationsDiscoveryClientWithBaseURI creates an instance of the OperationsDiscoveryClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsDiscoveryClient) Get Uses

func (client OperationsDiscoveryClient) Get(ctx context.Context) (result OperationsDiscoveryCollection, err error)

Get sends the get request.

func (OperationsDiscoveryClient) GetPreparer Uses

func (client OperationsDiscoveryClient) GetPreparer(ctx context.Context) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationsDiscoveryClient) GetResponder Uses

func (client OperationsDiscoveryClient) GetResponder(resp *http.Response) (result OperationsDiscoveryCollection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationsDiscoveryClient) GetSender Uses

func (client OperationsDiscoveryClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationsDiscoveryCollection Uses

type OperationsDiscoveryCollection struct {
    autorest.Response `json:"-"`
    // Value - Gets or sets the ClientDiscovery details.
    Value *[]OperationsDiscovery `json:"value,omitempty"`
    // NextLink - Gets or sets the value of next link.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationsDiscoveryCollection collection of ClientDiscovery details.

type PrepareRequest Uses

type PrepareRequest struct {
    // ValidateOnly - Gets or sets a value indicating whether the operation needs to only run pre-requisite.
    ValidateOnly *bool `json:"validateOnly,omitempty"`
    // MoveResources - Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.
    MoveResources *[]string `json:"moveResources,omitempty"`
    // MoveResourceInputType - Possible values include: 'MoveResourceID', 'MoveResourceSourceID'
    MoveResourceInputType MoveResourceInputType `json:"moveResourceInputType,omitempty"`
}

PrepareRequest defines the request body for initiate prepare operation.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResourceReference Uses

type ProxyResourceReference struct {
    // Name - Gets the name of the proxy resource on the target side.
    Name *string `json:"name,omitempty"`
    // SourceArmResourceID - Gets the ARM resource ID of the tracked resource being referenced.
    SourceArmResourceID *string `json:"sourceArmResourceId,omitempty"`
}

ProxyResourceReference defines reference to a proxy resource.

type PublicIPAddressResourceSettings Uses

type PublicIPAddressResourceSettings struct {
    // DomainNameLabel - Gets or sets the domain name label.
    DomainNameLabel *string `json:"domainNameLabel,omitempty"`
    // FQDN - Gets or sets the fully qualified domain name.
    FQDN *string `json:"fQDN,omitempty"`
    // PublicIPAllocationMethod - Gets or sets public IP allocation method.
    PublicIPAllocationMethod *string `json:"publicIpAllocationMethod,omitempty"`
    // Sku - Gets or sets public IP sku.
    Sku *string `json:"sku,omitempty"`
    // Zones - Gets or sets public IP zones.
    Zones *string `json:"zones,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

PublicIPAddressResourceSettings defines the public IP address resource settings.

func (PublicIPAddressResourceSettings) AsAvailabilitySetResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsBasicResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsLoadBalancerResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsPublicIPAddressResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsResourceGroupResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsSQLDatabaseResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsSQLServerResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsVirtualMachineResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsVirtualNetworkResourceSettings Uses

func (piars PublicIPAddressResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) MarshalJSON Uses

func (piars PublicIPAddressResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PublicIPAddressResourceSettings.

type ResolutionType Uses

type ResolutionType string

ResolutionType enumerates the values for resolution type.

const (
    // Automatic ...
    Automatic ResolutionType = "Automatic"
    // Manual ...
    Manual ResolutionType = "Manual"
)

func PossibleResolutionTypeValues Uses

func PossibleResolutionTypeValues() []ResolutionType

PossibleResolutionTypeValues returns an array of possible values for the ResolutionType const type.

type ResourceGroupResourceSettings Uses

type ResourceGroupResourceSettings struct {
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

ResourceGroupResourceSettings defines the resource group resource settings.

func (ResourceGroupResourceSettings) AsAvailabilitySetResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsBasicResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsLoadBalancerResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsPublicIPAddressResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsResourceGroupResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsSQLDatabaseResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsSQLServerResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsVirtualMachineResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsVirtualNetworkResourceSettings Uses

func (rgrs ResourceGroupResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) MarshalJSON Uses

func (rgrs ResourceGroupResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceGroupResourceSettings.

type ResourceIdentityType Uses

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
    // None ...
    None ResourceIdentityType = "None"
    // SystemAssigned ...
    SystemAssigned ResourceIdentityType = "SystemAssigned"
    // UserAssigned ...
    UserAssigned ResourceIdentityType = "UserAssigned"
)

func PossibleResourceIdentityTypeValues Uses

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceMoveRequestType Uses

type ResourceMoveRequestType struct {
    // ValidateOnly - Gets or sets a value indicating whether the operation needs to only run pre-requisite.
    ValidateOnly *bool `json:"validateOnly,omitempty"`
    // MoveResources - Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.
    MoveResources *[]string `json:"moveResources,omitempty"`
    // MoveResourceInputType - Possible values include: 'MoveResourceID', 'MoveResourceSourceID'
    MoveResourceInputType MoveResourceInputType `json:"moveResourceInputType,omitempty"`
}

ResourceMoveRequestType defines the request body for resource move operation.

type ResourceSettings Uses

type ResourceSettings struct {
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

ResourceSettings gets or sets the resource settings.

func (ResourceSettings) AsAvailabilitySetResourceSettings Uses

func (rs ResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsBasicResourceSettings Uses

func (rs ResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsLoadBalancerResourceSettings Uses

func (rs ResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (rs ResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (rs ResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsPublicIPAddressResourceSettings Uses

func (rs ResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsResourceGroupResourceSettings Uses

func (rs ResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsResourceSettings Uses

func (rs ResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsSQLDatabaseResourceSettings Uses

func (rs ResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (rs ResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsSQLServerResourceSettings Uses

func (rs ResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsVirtualMachineResourceSettings Uses

func (rs ResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsVirtualNetworkResourceSettings Uses

func (rs ResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) MarshalJSON Uses

func (rs ResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSettings.

type ResourceType Uses

type ResourceType string

ResourceType enumerates the values for resource type.

const (
    // ResourceTypeMicrosoftComputeavailabilitySets ...
    ResourceTypeMicrosoftComputeavailabilitySets ResourceType = "Microsoft.Compute/availabilitySets"
    // ResourceTypeMicrosoftComputevirtualMachines ...
    ResourceTypeMicrosoftComputevirtualMachines ResourceType = "Microsoft.Compute/virtualMachines"
    // ResourceTypeMicrosoftNetworkloadBalancers ...
    ResourceTypeMicrosoftNetworkloadBalancers ResourceType = "Microsoft.Network/loadBalancers"
    // ResourceTypeMicrosoftNetworknetworkInterfaces ...
    ResourceTypeMicrosoftNetworknetworkInterfaces ResourceType = "Microsoft.Network/networkInterfaces"
    // ResourceTypeMicrosoftNetworknetworkSecurityGroups ...
    ResourceTypeMicrosoftNetworknetworkSecurityGroups ResourceType = "Microsoft.Network/networkSecurityGroups"
    // ResourceTypeMicrosoftNetworkpublicIPAddresses ...
    ResourceTypeMicrosoftNetworkpublicIPAddresses ResourceType = "Microsoft.Network/publicIPAddresses"
    // ResourceTypeMicrosoftNetworkvirtualNetworks ...
    ResourceTypeMicrosoftNetworkvirtualNetworks ResourceType = "Microsoft.Network/virtualNetworks"
    // ResourceTypeMicrosoftSqlservers ...
    ResourceTypeMicrosoftSqlservers ResourceType = "Microsoft.Sql/servers"
    // ResourceTypeMicrosoftSqlserversdatabases ...
    ResourceTypeMicrosoftSqlserversdatabases ResourceType = "Microsoft.Sql/servers/databases"
    // ResourceTypeMicrosoftSqlserverselasticPools ...
    ResourceTypeMicrosoftSqlserverselasticPools ResourceType = "Microsoft.Sql/servers/elasticPools"
    // ResourceTypeResourceGroups ...
    ResourceTypeResourceGroups ResourceType = "resourceGroups"
    // ResourceTypeResourceSettings ...
    ResourceTypeResourceSettings ResourceType = "ResourceSettings"
)

func PossibleResourceTypeValues Uses

func PossibleResourceTypeValues() []ResourceType

PossibleResourceTypeValues returns an array of possible values for the ResourceType const type.

type SQLDatabaseResourceSettings Uses

type SQLDatabaseResourceSettings struct {
    // ZoneRedundant - Possible values include: 'Enable', 'Disable'
    ZoneRedundant ZoneRedundant `json:"zoneRedundant,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

SQLDatabaseResourceSettings defines the Sql Database resource settings.

func (SQLDatabaseResourceSettings) AsAvailabilitySetResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsBasicResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsLoadBalancerResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsPublicIPAddressResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsResourceGroupResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsSQLDatabaseResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsSQLServerResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsVirtualMachineResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsVirtualNetworkResourceSettings Uses

func (sdrs SQLDatabaseResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) MarshalJSON Uses

func (sdrs SQLDatabaseResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLDatabaseResourceSettings.

type SQLElasticPoolResourceSettings Uses

type SQLElasticPoolResourceSettings struct {
    // ZoneRedundant - Possible values include: 'Enable', 'Disable'
    ZoneRedundant ZoneRedundant `json:"zoneRedundant,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

SQLElasticPoolResourceSettings defines the Sql ElasticPool resource settings.

func (SQLElasticPoolResourceSettings) AsAvailabilitySetResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsBasicResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsLoadBalancerResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsPublicIPAddressResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsResourceGroupResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsSQLDatabaseResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsSQLServerResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsVirtualMachineResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsVirtualNetworkResourceSettings Uses

func (seprs SQLElasticPoolResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) MarshalJSON Uses

func (seprs SQLElasticPoolResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLElasticPoolResourceSettings.

type SQLServerResourceSettings Uses

type SQLServerResourceSettings struct {
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

SQLServerResourceSettings defines the SQL Server resource settings.

func (SQLServerResourceSettings) AsAvailabilitySetResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsBasicResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsLoadBalancerResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsPublicIPAddressResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsResourceGroupResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsSQLDatabaseResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsSQLServerResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsVirtualMachineResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsVirtualNetworkResourceSettings Uses

func (ssrs SQLServerResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) MarshalJSON Uses

func (ssrs SQLServerResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerResourceSettings.

type SubnetReference Uses

type SubnetReference struct {
    // Name - Gets the name of the proxy resource on the target side.
    Name *string `json:"name,omitempty"`
    // SourceArmResourceID - Gets the ARM resource ID of the tracked resource being referenced.
    SourceArmResourceID *string `json:"sourceArmResourceId,omitempty"`
}

SubnetReference defines reference to subnet.

type SubnetResourceSettings Uses

type SubnetResourceSettings struct {
    // Name - Gets or sets the Subnet name.
    Name *string `json:"name,omitempty"`
    // AddressPrefix - Gets or sets address prefix for the subnet.
    AddressPrefix *string `json:"addressPrefix,omitempty"`
}

SubnetResourceSettings defines the virtual network subnets resource settings.

type SummaryItem Uses

type SummaryItem struct {
    // Count - Gets the count.
    Count *int32 `json:"count,omitempty"`
    // Item - Gets the item.
    Item *string `json:"item,omitempty"`
}

SummaryItem summary item.

type TargetAvailabilityZone Uses

type TargetAvailabilityZone string

TargetAvailabilityZone enumerates the values for target availability zone.

const (
    // NA ...
    NA  TargetAvailabilityZone = "NA"
    // One ...
    One TargetAvailabilityZone = "1"
    // Three ...
    Three TargetAvailabilityZone = "3"
    // Two ...
    Two TargetAvailabilityZone = "2"
)

func PossibleTargetAvailabilityZoneValues Uses

func PossibleTargetAvailabilityZoneValues() []TargetAvailabilityZone

PossibleTargetAvailabilityZoneValues returns an array of possible values for the TargetAvailabilityZone const type.

type UnresolvedDependenciesClient Uses

type UnresolvedDependenciesClient struct {
    BaseClient
}

UnresolvedDependenciesClient is the a first party Azure service orchestrating the move of Azure resources from one Azure region to another or between zones within a region.

func NewUnresolvedDependenciesClient Uses

func NewUnresolvedDependenciesClient(subscriptionID string) UnresolvedDependenciesClient

NewUnresolvedDependenciesClient creates an instance of the UnresolvedDependenciesClient client.

func NewUnresolvedDependenciesClientWithBaseURI Uses

func NewUnresolvedDependenciesClientWithBaseURI(baseURI string, subscriptionID string) UnresolvedDependenciesClient

NewUnresolvedDependenciesClientWithBaseURI creates an instance of the UnresolvedDependenciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (UnresolvedDependenciesClient) Get Uses

func (client UnresolvedDependenciesClient) Get(ctx context.Context, resourceGroupName string, moveCollectionName string) (result UnresolvedDependencyCollection, err error)

Get gets a list of unresolved dependencies. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name.

func (UnresolvedDependenciesClient) GetPreparer Uses

func (client UnresolvedDependenciesClient) GetPreparer(ctx context.Context, resourceGroupName string, moveCollectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (UnresolvedDependenciesClient) GetResponder Uses

func (client UnresolvedDependenciesClient) GetResponder(resp *http.Response) (result UnresolvedDependencyCollection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (UnresolvedDependenciesClient) GetSender Uses

func (client UnresolvedDependenciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type UnresolvedDependency Uses

type UnresolvedDependency struct {
    // Count - Gets or sets the count.
    Count *int32 `json:"count,omitempty"`
    // ID - Gets or sets the arm id of the dependency.
    ID  *string `json:"id,omitempty"`
}

UnresolvedDependency unresolved dependency.

type UnresolvedDependencyCollection Uses

type UnresolvedDependencyCollection struct {
    autorest.Response `json:"-"`
    // Value - Gets or sets the list of unresolved dependencies.
    Value *[]UnresolvedDependency `json:"value,omitempty"`
    // NextLink - Gets or sets the value of  next link.
    NextLink *string `json:"nextLink,omitempty"`
}

UnresolvedDependencyCollection unresolved dependency collection.

type UpdateMoveCollectionRequest Uses

type UpdateMoveCollectionRequest struct {
    // Tags - Gets or sets the Resource tags.
    Tags     map[string]*string `json:"tags"`
    Identity *Identity          `json:"identity,omitempty"`
}

UpdateMoveCollectionRequest defines the request body for updating move collection.

func (UpdateMoveCollectionRequest) MarshalJSON Uses

func (umcr UpdateMoveCollectionRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateMoveCollectionRequest.

type VirtualMachineResourceSettings Uses

type VirtualMachineResourceSettings struct {
    // TargetAvailabilityZone - Gets or sets the target availability zone. Possible values include: 'One', 'Two', 'Three', 'NA'
    TargetAvailabilityZone TargetAvailabilityZone `json:"targetAvailabilityZone,omitempty"`
    // TargetVMSize - Gets or sets the target virtual machine size.
    TargetVMSize *string `json:"targetVmSize,omitempty"`
    // TargetAvailabilitySetID - Gets or sets the target availability set id for virtual machines not in an availability set at source.
    TargetAvailabilitySetID *string `json:"targetAvailabilitySetId,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

VirtualMachineResourceSettings gets or sets the virtual machine resource settings.

func (VirtualMachineResourceSettings) AsAvailabilitySetResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsBasicResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsLoadBalancerResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsPublicIPAddressResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsResourceGroupResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsSQLDatabaseResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsSQLServerResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsVirtualMachineResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsVirtualNetworkResourceSettings Uses

func (vmrs VirtualMachineResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) MarshalJSON Uses

func (vmrs VirtualMachineResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineResourceSettings.

type VirtualNetworkResourceSettings Uses

type VirtualNetworkResourceSettings struct {
    // EnableDdosProtection - Gets or sets a value indicating whether gets or sets whether the
    // DDOS protection should be switched on.
    EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"`
    // AddressSpace - Gets or sets the address prefixes for the virtual network.
    AddressSpace *[]string `json:"addressSpace,omitempty"`
    // DNSServers - Gets or sets DHCPOptions that contains an array of DNS servers available to VMs
    // deployed in the virtual network.
    DNSServers *[]string `json:"dnsServers,omitempty"`
    // Subnets - Gets or sets List of subnets in a VirtualNetwork.
    Subnets *[]SubnetResourceSettings `json:"subnets,omitempty"`
    // TargetResourceName - Gets or sets the target Resource name.
    TargetResourceName *string `json:"targetResourceName,omitempty"`
    // ResourceType - Possible values include: 'ResourceTypeResourceSettings', 'ResourceTypeMicrosoftComputevirtualMachines', 'ResourceTypeMicrosoftComputeavailabilitySets', 'ResourceTypeMicrosoftNetworkvirtualNetworks', 'ResourceTypeMicrosoftNetworknetworkInterfaces', 'ResourceTypeMicrosoftNetworknetworkSecurityGroups', 'ResourceTypeMicrosoftNetworkloadBalancers', 'ResourceTypeMicrosoftSqlservers', 'ResourceTypeMicrosoftSqlserverselasticPools', 'ResourceTypeMicrosoftSqlserversdatabases', 'ResourceTypeResourceGroups', 'ResourceTypeMicrosoftNetworkpublicIPAddresses'
    ResourceType ResourceType `json:"resourceType,omitempty"`
}

VirtualNetworkResourceSettings defines the virtual network resource settings.

func (VirtualNetworkResourceSettings) AsAvailabilitySetResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsBasicResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsLoadBalancerResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsNetworkInterfaceResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsNetworkSecurityGroupResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsPublicIPAddressResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsResourceGroupResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsSQLDatabaseResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsSQLElasticPoolResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsSQLServerResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsVirtualMachineResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsVirtualNetworkResourceSettings Uses

func (vnrs VirtualNetworkResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) MarshalJSON Uses

func (vnrs VirtualNetworkResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkResourceSettings.

type ZoneRedundant Uses

type ZoneRedundant string

ZoneRedundant enumerates the values for zone redundant.

const (
    // Disable ...
    Disable ZoneRedundant = "Disable"
    // Enable ...
    Enable ZoneRedundant = "Enable"
)

func PossibleZoneRedundantValues Uses

func PossibleZoneRedundantValues() []ZoneRedundant

PossibleZoneRedundantValues returns an array of possible values for the ZoneRedundant const type.

Directories

PathSynopsis
resourcemoverapi

Package resourcemover imports 9 packages (graph) and is imported by 1 packages. Updated 2021-01-24. Refresh now. Tools for package owners.