resourcemover

package
v57.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package resourcemover implements the Azure ARM Resourcemover service API version 2021-01-01.

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

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AffectedMoveResource

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.

func (AffectedMoveResource) MarshalJSON

func (amr AffectedMoveResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AffectedMoveResource.

type AutomaticResolutionProperties

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

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

AvailabilitySetResourceSettings gets or sets the availability set resource settings.

func (AvailabilitySetResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsDiskEncryptionSetResourceSettings

func (asrs AvailabilitySetResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsKeyVaultResourceSettings

func (asrs AvailabilitySetResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for AvailabilitySetResourceSettings.

func (AvailabilitySetResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for AvailabilitySetResourceSettings.

type AzureResourceReference

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

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

BaseClient is the base client for Resourcemover.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

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

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)
	AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)
	AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)
	AsResourceSettings() (*ResourceSettings, bool)
}

BasicResourceSettings gets or sets the resource settings.

type BulkRemoveRequest

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

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

CloudError an error response from the service.

type CloudErrorBody

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

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 DependencyLevel

type DependencyLevel string

DependencyLevel enumerates the values for dependency level.

const (
	// Descendant ...
	Descendant DependencyLevel = "Descendant"
	// Direct ...
	Direct DependencyLevel = "Direct"
)

func PossibleDependencyLevelValues

func PossibleDependencyLevelValues() []DependencyLevel

PossibleDependencyLevelValues returns an array of possible values for the DependencyLevel const type.

type DependencyType

type DependencyType string

DependencyType enumerates the values for dependency type.

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

func PossibleDependencyTypeValues

func PossibleDependencyTypeValues() []DependencyType

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

type DiscardRequest

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 DiskEncryptionSetResourceSettings

type DiskEncryptionSetResourceSettings 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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

DiskEncryptionSetResourceSettings defines the disk encryption set resource settings.

func (DiskEncryptionSetResourceSettings) AsAvailabilitySetResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsBasicResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsDiskEncryptionSetResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsKeyVaultResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsLoadBalancerResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsNetworkInterfaceResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsNetworkSecurityGroupResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsPublicIPAddressResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsResourceGroupResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsSQLDatabaseResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsSQLElasticPoolResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsSQLServerResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsVirtualMachineResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) AsVirtualNetworkResourceSettings

func (desrs DiskEncryptionSetResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for DiskEncryptionSetResourceSettings.

func (DiskEncryptionSetResourceSettings) MarshalJSON

func (desrs DiskEncryptionSetResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskEncryptionSetResourceSettings.

type Display

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

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

type JobName string

JobName enumerates the values for job name.

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

func PossibleJobNameValues

func PossibleJobNameValues() []JobName

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

type JobStatus

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

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

MarshalJSON is the custom marshaler for JobStatus.

type KeyVaultResourceSettings

type KeyVaultResourceSettings 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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

KeyVaultResourceSettings defines the key vault resource settings.

func (KeyVaultResourceSettings) AsAvailabilitySetResourceSettings

func (kvrs KeyVaultResourceSettings) AsAvailabilitySetResourceSettings() (*AvailabilitySetResourceSettings, bool)

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsBasicResourceSettings

func (kvrs KeyVaultResourceSettings) AsBasicResourceSettings() (BasicResourceSettings, bool)

AsBasicResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsDiskEncryptionSetResourceSettings

func (kvrs KeyVaultResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsKeyVaultResourceSettings

func (kvrs KeyVaultResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsLoadBalancerResourceSettings

func (kvrs KeyVaultResourceSettings) AsLoadBalancerResourceSettings() (*LoadBalancerResourceSettings, bool)

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsNetworkInterfaceResourceSettings

func (kvrs KeyVaultResourceSettings) AsNetworkInterfaceResourceSettings() (*NetworkInterfaceResourceSettings, bool)

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsNetworkSecurityGroupResourceSettings

func (kvrs KeyVaultResourceSettings) AsNetworkSecurityGroupResourceSettings() (*NetworkSecurityGroupResourceSettings, bool)

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsPublicIPAddressResourceSettings

func (kvrs KeyVaultResourceSettings) AsPublicIPAddressResourceSettings() (*PublicIPAddressResourceSettings, bool)

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsResourceGroupResourceSettings

func (kvrs KeyVaultResourceSettings) AsResourceGroupResourceSettings() (*ResourceGroupResourceSettings, bool)

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsResourceSettings

func (kvrs KeyVaultResourceSettings) AsResourceSettings() (*ResourceSettings, bool)

AsResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsSQLDatabaseResourceSettings

func (kvrs KeyVaultResourceSettings) AsSQLDatabaseResourceSettings() (*SQLDatabaseResourceSettings, bool)

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsSQLElasticPoolResourceSettings

func (kvrs KeyVaultResourceSettings) AsSQLElasticPoolResourceSettings() (*SQLElasticPoolResourceSettings, bool)

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsSQLServerResourceSettings

func (kvrs KeyVaultResourceSettings) AsSQLServerResourceSettings() (*SQLServerResourceSettings, bool)

AsSQLServerResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsVirtualMachineResourceSettings

func (kvrs KeyVaultResourceSettings) AsVirtualMachineResourceSettings() (*VirtualMachineResourceSettings, bool)

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) AsVirtualNetworkResourceSettings

func (kvrs KeyVaultResourceSettings) AsVirtualNetworkResourceSettings() (*VirtualNetworkResourceSettings, bool)

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for KeyVaultResourceSettings.

func (KeyVaultResourceSettings) MarshalJSON

func (kvrs KeyVaultResourceSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyVaultResourceSettings.

type LBBackendAddressPoolResourceSettings

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

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

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

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

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

LoadBalancerResourceSettings defines the load balancer resource settings.

func (LoadBalancerResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsDiskEncryptionSetResourceSettings

func (lbrs LoadBalancerResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsKeyVaultResourceSettings

func (lbrs LoadBalancerResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for LoadBalancerResourceSettings.

func (LoadBalancerResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for LoadBalancerResourceSettings.

type ManualResolutionProperties

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

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"`
	// Etag - READ-ONLY; The etag of the resource.
	Etag *string `json:"etag,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

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

MarshalJSON is the custom marshaler for MoveCollection.

type MoveCollectionProperties

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"`
	// Errors - READ-ONLY; Defines the move collection errors.
	Errors *MoveCollectionPropertiesErrors `json:"errors,omitempty"`
}

MoveCollectionProperties defines the move collection properties.

func (MoveCollectionProperties) MarshalJSON

func (mcp MoveCollectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveCollectionProperties.

type MoveCollectionPropertiesErrors

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

MoveCollectionPropertiesErrors defines the move collection errors.

type MoveCollectionResultList

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

func (mcrl MoveCollectionResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MoveCollectionResultListIterator

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

MoveCollectionResultListIterator provides access to a complete listing of MoveCollection values.

func NewMoveCollectionResultListIterator

func NewMoveCollectionResultListIterator(page MoveCollectionResultListPage) MoveCollectionResultListIterator

Creates a new instance of the MoveCollectionResultListIterator type.

func (*MoveCollectionResultListIterator) Next

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

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

func (iter MoveCollectionResultListIterator) NotDone() bool

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

func (MoveCollectionResultListIterator) Response

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

func (MoveCollectionResultListIterator) Value

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

type MoveCollectionResultListPage

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

MoveCollectionResultListPage contains a page of MoveCollection values.

func NewMoveCollectionResultListPage

Creates a new instance of the MoveCollectionResultListPage type.

func (*MoveCollectionResultListPage) Next

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

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

func (page MoveCollectionResultListPage) NotDone() bool

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

func (MoveCollectionResultListPage) Response

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

func (MoveCollectionResultListPage) Values

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

type MoveCollectionsBulkRemoveFuture

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.

func (*MoveCollectionsBulkRemoveFuture) UnmarshalJSON

func (future *MoveCollectionsBulkRemoveFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveCollectionsClient

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

func NewMoveCollectionsClient(subscriptionID string) MoveCollectionsClient

NewMoveCollectionsClient creates an instance of the MoveCollectionsClient client.

func NewMoveCollectionsClientWithBaseURI

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

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

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

BulkRemovePreparer prepares the BulkRemove request.

func (MoveCollectionsClient) BulkRemoveResponder

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

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

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

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

CommitPreparer prepares the Commit request.

func (MoveCollectionsClient) CommitResponder

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

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

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

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

CreatePreparer prepares the Create request.

func (MoveCollectionsClient) CreateResponder

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

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

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

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

DeletePreparer prepares the Delete request.

func (MoveCollectionsClient) DeleteResponder

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

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

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

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

DiscardPreparer prepares the Discard request.

func (MoveCollectionsClient) DiscardResponder

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

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

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

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

GetPreparer prepares the Get request.

func (MoveCollectionsClient) GetResponder

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

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

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

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

InitiateMovePreparer prepares the InitiateMove request.

func (MoveCollectionsClient) InitiateMoveResponder

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

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

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

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

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

ListMoveCollectionsByResourceGroupPreparer prepares the ListMoveCollectionsByResourceGroup request.

func (MoveCollectionsClient) ListMoveCollectionsByResourceGroupResponder

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

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

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

ListMoveCollectionsBySubscription get all the Move Collections in the subscription.

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionComplete

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

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

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionPreparer

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

ListMoveCollectionsBySubscriptionPreparer prepares the ListMoveCollectionsBySubscription request.

func (MoveCollectionsClient) ListMoveCollectionsBySubscriptionResponder

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

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) ListRequiredFor

func (client MoveCollectionsClient) ListRequiredFor(ctx context.Context, resourceGroupName string, moveCollectionName string, sourceID string) (result RequiredForResourcesCollection, err error)

ListRequiredFor list of the move resources for which an arm resource is required for. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name. sourceID - the sourceId for which the api is invoked.

func (MoveCollectionsClient) ListRequiredForPreparer

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

ListRequiredForPreparer prepares the ListRequiredFor request.

func (MoveCollectionsClient) ListRequiredForResponder

func (client MoveCollectionsClient) ListRequiredForResponder(resp *http.Response) (result RequiredForResourcesCollection, err error)

ListRequiredForResponder handles the response to the ListRequiredFor request. The method always closes the http.Response Body.

func (MoveCollectionsClient) ListRequiredForSender

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

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

func (MoveCollectionsClient) Prepare

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

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

PreparePreparer prepares the Prepare request.

func (MoveCollectionsClient) PrepareResponder

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

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

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

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

ResolveDependenciesPreparer prepares the ResolveDependencies request.

func (MoveCollectionsClient) ResolveDependenciesResponder

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

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

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

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

UpdatePreparer prepares the Update request.

func (MoveCollectionsClient) UpdateResponder

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

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

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.

func (*MoveCollectionsCommitFuture) UnmarshalJSON

func (future *MoveCollectionsCommitFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveCollectionsDeleteFuture

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.

func (*MoveCollectionsDeleteFuture) UnmarshalJSON

func (future *MoveCollectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveCollectionsDiscardFuture

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.

func (*MoveCollectionsDiscardFuture) UnmarshalJSON

func (future *MoveCollectionsDiscardFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveCollectionsInitiateMoveFuture

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.

func (*MoveCollectionsInitiateMoveFuture) UnmarshalJSON

func (future *MoveCollectionsInitiateMoveFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveCollectionsPrepareFuture

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.

func (*MoveCollectionsPrepareFuture) UnmarshalJSON

func (future *MoveCollectionsPrepareFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveCollectionsResolveDependenciesFuture

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.

func (*MoveCollectionsResolveDependenciesFuture) UnmarshalJSON

func (future *MoveCollectionsResolveDependenciesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveErrorInfo

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

MoveErrorInfo the move custom error info.

func (MoveErrorInfo) MarshalJSON

func (mei MoveErrorInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveErrorInfo.

type MoveResource

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

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

MarshalJSON is the custom marshaler for MoveResource.

type MoveResourceCollection

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"`
	// SummaryCollection - Gets or sets the list of summary items and the field on which summary is done.
	SummaryCollection *SummaryCollection `json:"summaryCollection,omitempty"`
	// TotalCount - READ-ONLY; Gets the total count.
	TotalCount *int64 `json:"totalCount,omitempty"`
}

MoveResourceCollection defines the collection of move resources.

func (MoveResourceCollection) IsEmpty

func (mrc MoveResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (MoveResourceCollection) MarshalJSON

func (mrc MoveResourceCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveResourceCollection.

type MoveResourceCollectionIterator

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

MoveResourceCollectionIterator provides access to a complete listing of MoveResource values.

func NewMoveResourceCollectionIterator

func NewMoveResourceCollectionIterator(page MoveResourceCollectionPage) MoveResourceCollectionIterator

Creates a new instance of the MoveResourceCollectionIterator type.

func (*MoveResourceCollectionIterator) Next

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

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

func (iter MoveResourceCollectionIterator) NotDone() bool

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

func (MoveResourceCollectionIterator) Response

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

func (MoveResourceCollectionIterator) Value

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

type MoveResourceCollectionPage

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

MoveResourceCollectionPage contains a page of MoveResource values.

func NewMoveResourceCollectionPage

Creates a new instance of the MoveResourceCollectionPage type.

func (*MoveResourceCollectionPage) Next

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

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

func (page MoveResourceCollectionPage) NotDone() bool

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

func (MoveResourceCollectionPage) Response

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

func (MoveResourceCollectionPage) Values

func (page MoveResourceCollectionPage) Values() []MoveResource

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

type MoveResourceDependency

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

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

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

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.

func (MoveResourceErrorBody) MarshalJSON

func (mreb MoveResourceErrorBody) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MoveResourceErrorBody.

type MoveResourceFilter

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

MoveResourceFilter move resource filter.

type MoveResourceFilterProperties

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

MoveResourceFilterProperties ...

type MoveResourceInputType

type MoveResourceInputType string

MoveResourceInputType enumerates the values for move resource input type.

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

func PossibleMoveResourceInputTypeValues

func PossibleMoveResourceInputTypeValues() []MoveResourceInputType

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

type MoveResourceProperties

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"`
	// IsResolveRequired - READ-ONLY; Gets a value indicating whether the resolve action is required over the move collection.
	IsResolveRequired *bool `json:"isResolveRequired,omitempty"`
	// Errors - READ-ONLY; Defines the move resource errors.
	Errors *MoveResourcePropertiesErrors `json:"errors,omitempty"`
}

MoveResourceProperties defines the move resource properties.

func (MoveResourceProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for MoveResourceProperties.

func (*MoveResourceProperties) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for MoveResourceProperties struct.

type MoveResourcePropertiesErrors

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

MoveResourcePropertiesErrors defines the move resource errors.

type MoveResourcePropertiesMoveStatus

type MoveResourcePropertiesMoveStatus struct {
	// MoveState - Possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed', 'DeleteSourcePending', 'ResourceMoveCompleted'
	MoveState MoveState          `json:"moveState,omitempty"`
	JobStatus *JobStatus         `json:"jobStatus,omitempty"`
	Errors    *MoveResourceError `json:"errors,omitempty"`
}

MoveResourcePropertiesMoveStatus defines the move resource status.

type MoveResourceStatus

type MoveResourceStatus struct {
	// MoveState - Possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed', 'DeleteSourcePending', 'ResourceMoveCompleted'
	MoveState MoveState          `json:"moveState,omitempty"`
	JobStatus *JobStatus         `json:"jobStatus,omitempty"`
	Errors    *MoveResourceError `json:"errors,omitempty"`
}

MoveResourceStatus defines the move resource status.

type MoveResourcesClient

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

func NewMoveResourcesClient(subscriptionID string) MoveResourcesClient

NewMoveResourcesClient creates an instance of the MoveResourcesClient client.

func NewMoveResourcesClientWithBaseURI

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

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

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

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

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

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

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

DeletePreparer prepares the Delete request.

func (MoveResourcesClient) DeleteResponder

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

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

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

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

GetPreparer prepares the Get request.

func (MoveResourcesClient) GetResponder

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

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

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

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

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

ListPreparer prepares the List request.

func (MoveResourcesClient) ListResponder

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

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

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.

func (*MoveResourcesCreateFuture) UnmarshalJSON

func (future *MoveResourcesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveResourcesDeleteFuture

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.

func (*MoveResourcesDeleteFuture) UnmarshalJSON

func (future *MoveResourcesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MoveState

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"
	// DeleteSourcePending ...
	DeleteSourcePending MoveState = "DeleteSourcePending"
	// 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"
	// ResourceMoveCompleted ...
	ResourceMoveCompleted MoveState = "ResourceMoveCompleted"
)

func PossibleMoveStateValues

func PossibleMoveStateValues() []MoveState

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

type NetworkInterfaceResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

NetworkInterfaceResourceSettings defines the network interface resource settings.

func (NetworkInterfaceResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsDiskEncryptionSetResourceSettings

func (nirs NetworkInterfaceResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsKeyVaultResourceSettings

func (nirs NetworkInterfaceResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for NetworkInterfaceResourceSettings.

func (NetworkInterfaceResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for NetworkInterfaceResourceSettings.

type NetworkSecurityGroupResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

NetworkSecurityGroupResourceSettings defines the NSG resource settings.

func (NetworkSecurityGroupResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsDiskEncryptionSetResourceSettings

func (nsgrs NetworkSecurityGroupResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsKeyVaultResourceSettings

func (nsgrs NetworkSecurityGroupResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for NetworkSecurityGroupResourceSettings.

func (NetworkSecurityGroupResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for NetworkSecurityGroupResourceSettings.

type NicIPConfigurationResourceSettings

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"`
	// LoadBalancerNatRules - Gets or sets the references of the load balancer NAT rules.
	LoadBalancerNatRules *[]LoadBalancerNatRuleReference `json:"loadBalancerNatRules,omitempty"`
	PublicIP             *PublicIPReference              `json:"publicIp,omitempty"`
}

NicIPConfigurationResourceSettings defines NIC IP configuration properties.

type NsgReference

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

NsgReference defines reference to NSG.

type NsgSecurityRule

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

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.

func (OperationErrorAdditionalInfo) MarshalJSON

func (oeai OperationErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationErrorAdditionalInfo.

type OperationStatus

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.

func (OperationStatus) MarshalJSON

func (osVar OperationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatus.

type OperationStatusError

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.

func (OperationStatusError) MarshalJSON

func (ose OperationStatusError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusError.

type OperationsDiscovery

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

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

func NewOperationsDiscoveryClient(subscriptionID string) OperationsDiscoveryClient

NewOperationsDiscoveryClient creates an instance of the OperationsDiscoveryClient client.

func NewOperationsDiscoveryClientWithBaseURI

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

Get sends the get request.

func (OperationsDiscoveryClient) GetPreparer

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

GetPreparer prepares the Get request.

func (OperationsDiscoveryClient) GetResponder

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

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

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

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

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

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyResourceReference

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

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

PublicIPAddressResourceSettings defines the public IP address resource settings.

func (PublicIPAddressResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsDiskEncryptionSetResourceSettings

func (piars PublicIPAddressResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsKeyVaultResourceSettings

func (piars PublicIPAddressResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for PublicIPAddressResourceSettings.

func (PublicIPAddressResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for PublicIPAddressResourceSettings.

type PublicIPReference

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

PublicIPReference defines reference to a public IP.

type RequiredForResourcesCollection

type RequiredForResourcesCollection struct {
	autorest.Response `json:"-"`
	// SourceIds - Gets or sets the list of source Ids for which the input resource is required.
	SourceIds *[]string `json:"sourceIds,omitempty"`
}

RequiredForResourcesCollection required for resources collection.

type ResolutionType

type ResolutionType string

ResolutionType enumerates the values for resolution type.

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

func PossibleResolutionTypeValues

func PossibleResolutionTypeValues() []ResolutionType

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

type ResourceGroupResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

ResourceGroupResourceSettings defines the resource group resource settings.

func (ResourceGroupResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsDiskEncryptionSetResourceSettings

func (rgrs ResourceGroupResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsKeyVaultResourceSettings

func (rgrs ResourceGroupResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for ResourceGroupResourceSettings.

func (ResourceGroupResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for ResourceGroupResourceSettings.

type ResourceIdentityType

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

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

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

type ResourceMoveRequestType

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

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

ResourceSettings gets or sets the resource settings.

func (ResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsDiskEncryptionSetResourceSettings

func (rs ResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsKeyVaultResourceSettings

func (rs ResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for ResourceSettings.

func (ResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for ResourceSettings.

type ResourceType

type ResourceType string

ResourceType enumerates the values for resource type.

const (
	// ResourceTypeMicrosoftComputeavailabilitySets ...
	ResourceTypeMicrosoftComputeavailabilitySets ResourceType = "Microsoft.Compute/availabilitySets"
	// ResourceTypeMicrosoftComputediskEncryptionSets ...
	ResourceTypeMicrosoftComputediskEncryptionSets ResourceType = "Microsoft.Compute/diskEncryptionSets"
	// ResourceTypeMicrosoftComputevirtualMachines ...
	ResourceTypeMicrosoftComputevirtualMachines ResourceType = "Microsoft.Compute/virtualMachines"
	// ResourceTypeMicrosoftKeyVaultvaults ...
	ResourceTypeMicrosoftKeyVaultvaults ResourceType = "Microsoft.KeyVault/vaults"
	// 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

func PossibleResourceTypeValues() []ResourceType

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

type SQLDatabaseResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

SQLDatabaseResourceSettings defines the Sql Database resource settings.

func (SQLDatabaseResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsDiskEncryptionSetResourceSettings

func (sdrs SQLDatabaseResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsKeyVaultResourceSettings

func (sdrs SQLDatabaseResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for SQLDatabaseResourceSettings.

func (SQLDatabaseResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for SQLDatabaseResourceSettings.

type SQLElasticPoolResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

SQLElasticPoolResourceSettings defines the Sql ElasticPool resource settings.

func (SQLElasticPoolResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsDiskEncryptionSetResourceSettings

func (seprs SQLElasticPoolResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsKeyVaultResourceSettings

func (seprs SQLElasticPoolResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for SQLElasticPoolResourceSettings.

func (SQLElasticPoolResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for SQLElasticPoolResourceSettings.

type SQLServerResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

SQLServerResourceSettings defines the SQL Server resource settings.

func (SQLServerResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsDiskEncryptionSetResourceSettings

func (ssrs SQLServerResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsKeyVaultResourceSettings

func (ssrs SQLServerResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for SQLServerResourceSettings.

func (SQLServerResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for SQLServerResourceSettings.

type SubnetReference

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

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"`
	NetworkSecurityGroup *NsgReference `json:"networkSecurityGroup,omitempty"`
}

SubnetResourceSettings defines the virtual network subnets resource settings.

type Summary

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

Summary summary item.

type SummaryCollection

type SummaryCollection struct {
	// FieldName - Gets or sets the field name on which summary is done.
	FieldName *string `json:"fieldName,omitempty"`
	// Summary - Gets or sets the list of summary items.
	Summary *[]Summary `json:"summary,omitempty"`
}

SummaryCollection summary Collection.

type TargetAvailabilityZone

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

func PossibleTargetAvailabilityZoneValues() []TargetAvailabilityZone

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

type UnresolvedDependenciesClient

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

func NewUnresolvedDependenciesClient(subscriptionID string) UnresolvedDependenciesClient

NewUnresolvedDependenciesClient creates an instance of the UnresolvedDependenciesClient client.

func NewUnresolvedDependenciesClientWithBaseURI

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

func (client UnresolvedDependenciesClient) Get(ctx context.Context, resourceGroupName string, moveCollectionName string, dependencyLevel DependencyLevel, orderby string, filter string) (result UnresolvedDependencyCollectionPage, err error)

Get gets a list of unresolved dependencies. Parameters: resourceGroupName - the Resource Group Name. moveCollectionName - the Move Collection Name. dependencyLevel - defines the dependency level. orderby - oData order by query option. For example, you can use $orderby=Count desc. filter - the filter to apply on the operation. For example, $apply=filter(count eq 2).

func (UnresolvedDependenciesClient) GetComplete

func (client UnresolvedDependenciesClient) GetComplete(ctx context.Context, resourceGroupName string, moveCollectionName string, dependencyLevel DependencyLevel, orderby string, filter string) (result UnresolvedDependencyCollectionIterator, err error)

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

func (UnresolvedDependenciesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (UnresolvedDependenciesClient) GetResponder

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

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 UnresolvedDependenciesFilter

type UnresolvedDependenciesFilter struct {
	Properties *UnresolvedDependenciesFilterProperties `json:"properties,omitempty"`
}

UnresolvedDependenciesFilter unresolved dependencies contract.

type UnresolvedDependenciesFilterProperties

type UnresolvedDependenciesFilterProperties struct {
	// Count - The count of the resource.
	Count *int32 `json:"count,omitempty"`
}

UnresolvedDependenciesFilterProperties ...

type UnresolvedDependency

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

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"`
	// SummaryCollection - READ-ONLY; Gets or sets the list of summary items and the field on which summary is done.
	SummaryCollection *SummaryCollection `json:"summaryCollection,omitempty"`
	// TotalCount - READ-ONLY; Gets the total count.
	TotalCount *int64 `json:"totalCount,omitempty"`
}

UnresolvedDependencyCollection unresolved dependency collection.

func (UnresolvedDependencyCollection) IsEmpty

func (udc UnresolvedDependencyCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (UnresolvedDependencyCollection) MarshalJSON

func (udc UnresolvedDependencyCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UnresolvedDependencyCollection.

type UnresolvedDependencyCollectionIterator

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

UnresolvedDependencyCollectionIterator provides access to a complete listing of UnresolvedDependency values.

func NewUnresolvedDependencyCollectionIterator

func NewUnresolvedDependencyCollectionIterator(page UnresolvedDependencyCollectionPage) UnresolvedDependencyCollectionIterator

Creates a new instance of the UnresolvedDependencyCollectionIterator type.

func (*UnresolvedDependencyCollectionIterator) Next

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 (*UnresolvedDependencyCollectionIterator) NextWithContext

func (iter *UnresolvedDependencyCollectionIterator) 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 (UnresolvedDependencyCollectionIterator) NotDone

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

func (UnresolvedDependencyCollectionIterator) Response

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

func (UnresolvedDependencyCollectionIterator) Value

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

type UnresolvedDependencyCollectionPage

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

UnresolvedDependencyCollectionPage contains a page of UnresolvedDependency values.

func NewUnresolvedDependencyCollectionPage

Creates a new instance of the UnresolvedDependencyCollectionPage type.

func (*UnresolvedDependencyCollectionPage) Next

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 (*UnresolvedDependencyCollectionPage) NextWithContext

func (page *UnresolvedDependencyCollectionPage) 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 (UnresolvedDependencyCollectionPage) NotDone

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

func (UnresolvedDependencyCollectionPage) Response

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

func (UnresolvedDependencyCollectionPage) Values

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

type UpdateMoveCollectionRequest

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

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

MarshalJSON is the custom marshaler for UpdateMoveCollectionRequest.

type VirtualMachineResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

VirtualMachineResourceSettings gets or sets the virtual machine resource settings.

func (VirtualMachineResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsDiskEncryptionSetResourceSettings

func (vmrs VirtualMachineResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsKeyVaultResourceSettings

func (vmrs VirtualMachineResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for VirtualMachineResourceSettings.

func (VirtualMachineResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for VirtualMachineResourceSettings.

type VirtualNetworkResourceSettings

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', 'ResourceTypeMicrosoftKeyVaultvaults', 'ResourceTypeMicrosoftComputediskEncryptionSets'
	ResourceType ResourceType `json:"resourceType,omitempty"`
}

VirtualNetworkResourceSettings defines the virtual network resource settings.

func (VirtualNetworkResourceSettings) AsAvailabilitySetResourceSettings

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

AsAvailabilitySetResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsBasicResourceSettings

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

AsBasicResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsDiskEncryptionSetResourceSettings

func (vnrs VirtualNetworkResourceSettings) AsDiskEncryptionSetResourceSettings() (*DiskEncryptionSetResourceSettings, bool)

AsDiskEncryptionSetResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsKeyVaultResourceSettings

func (vnrs VirtualNetworkResourceSettings) AsKeyVaultResourceSettings() (*KeyVaultResourceSettings, bool)

AsKeyVaultResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsLoadBalancerResourceSettings

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

AsLoadBalancerResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsNetworkInterfaceResourceSettings

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

AsNetworkInterfaceResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsNetworkSecurityGroupResourceSettings

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

AsNetworkSecurityGroupResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsPublicIPAddressResourceSettings

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

AsPublicIPAddressResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsResourceGroupResourceSettings

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

AsResourceGroupResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsResourceSettings

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

AsResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsSQLDatabaseResourceSettings

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

AsSQLDatabaseResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsSQLElasticPoolResourceSettings

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

AsSQLElasticPoolResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsSQLServerResourceSettings

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

AsSQLServerResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsVirtualMachineResourceSettings

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

AsVirtualMachineResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) AsVirtualNetworkResourceSettings

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

AsVirtualNetworkResourceSettings is the BasicResourceSettings implementation for VirtualNetworkResourceSettings.

func (VirtualNetworkResourceSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for VirtualNetworkResourceSettings.

type ZoneRedundant

type ZoneRedundant string

ZoneRedundant enumerates the values for zone redundant.

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

func PossibleZoneRedundantValues

func PossibleZoneRedundantValues() []ZoneRedundant

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL