Versions in this module Expand all Collapse all v35 v35.1.0 Nov 1, 2019 v35.0.0 Oct 30, 2019 Changes in this version + const InstanceStatusBusyRole + const InstanceStatusCreatingRole + const InstanceStatusCreatingVM + const InstanceStatusCyclingRole + const InstanceStatusDeletingVM + const InstanceStatusFailedStartingRole + const InstanceStatusFailedStartingVM + const InstanceStatusPreparing + const InstanceStatusReadyRole + const InstanceStatusRestartingRole + const InstanceStatusStartingRole + const InstanceStatusStartingVM + const InstanceStatusStoppedDeallocated + const InstanceStatusStoppedVM + const InstanceStatusStoppingRole + const InstanceStatusStoppingVM + const InstanceStatusUnknown + const InstanceStatusUnresponsiveRole + type AddExtensionOptions struct + ID string + PrivateConfiguration string + ProviderNameSpace string + PublicConfiguration string + Thumbprint string + ThumbprintAlgorithm string + Type string + Version string + type AddExtensionRequest struct + ID string + PrivateConfiguration string + ProviderNameSpace string + PublicConfiguration string + Thumbprint string + ThumbprintAlgorithm string + Type string + Version string + XMLName xml.Name + type CaptureRoleOperation struct + OperationType string + PostCaptureAction PostCaptureAction + ProvisioningConfiguration *ConfigurationSet + TargetImageLabel string + TargetImageName string + XMLName xml.Name + type CertificateSetting struct + StoreLocation string + StoreName string + Thumbprint string + type ChangeDeploymentConfigurationRequest struct + Configuration string + ExtendedProperties []ExtendedProperty + ExtensionConfiguration ExtensionConfiguration + Mode UpgradeType + TreatWarningsAsError bool + XMLName xml.Name + type ChangeDeploymentConfigurationRequestOptions struct + Configuration string + ExtendedProperties []ExtendedProperty + ExtensionConfiguration ExtensionConfiguration + Mode UpgradeType + TreatWarningsAsError bool + type ConfigurationSet struct + AdditionalUnattendContent string + AdminPassword string + AdminUsername string + ComputerName string + ConfigurationSetType ConfigurationSetType + CustomData string + DisableSSHPasswordAuthentication string + DomainJoin *DomainJoin + EnableAutomaticUpdates bool + HostName string + InputEndpoints []InputEndpoint + NetworkSecurityGroup string + PublicIPs []PublicIP + SSH *SSH + StaticVirtualNetworkIPAddress string + StoredCertificateSettings []CertificateSetting + SubnetNames []string + TimeZone string + UserName string + UserPassword string + WinRMListeners *[]WinRMListener + type ConfigurationSetType string + const ConfigurationSetTypeLinuxProvisioning + const ConfigurationSetTypeNetwork + const ConfigurationSetTypeWindowsProvisioning + type CreateDeploymentFromPackageOptions struct + Configuration string + ExtendedProperties []ExtendedProperty + ExtensionConfiguration ExtensionConfiguration + Label string + Name string + PackageURL string + StartDeployment bool + TreatWarningsAsError bool + type CreateDeploymentOptions struct + DNSServers []DNSServer + LoadBalancers []LoadBalancer + ReservedIPName string + VirtualNetworkName string + type CreateDeploymentRequest struct + Configuration string + ExtendedProperties []ExtendedProperty + ExtensionConfiguration ExtensionConfiguration + Label string + Name string + PackageURL string + StartDeployment bool + TreatWarningsAsError bool + XMLName xml.Name + type Credentials struct + Domain string + Password string + Username string + type CurrentUpgradeDomainState string + const CurrentUpgradeDomainStateBefore + const CurrentUpgradeDomainStateDuring + type DNSServer struct + Address string + Name string + type DataDiskConfiguration struct + Name string + type DataVirtualHardDisk struct + DiskLabel string + DiskName string + HostCaching vmdisk.HostCachingType + LogicalDiskSizeInGB int + Lun int + MediaLink string + SourceMediaLink string + type DeploymentRequest struct + DNSServers []DNSServer + DeploymentSlot string + Label string + LoadBalancers []LoadBalancer + Name string + ReservedIPName string + RoleList []Role + VirtualNetworkName string + XMLName xml.Name + type DeploymentResponse struct + Configuration string + CreatedTime string + DNSServers []DNSServer + DeploymentSlot string + ExtendedProperties []ExtendedProperty + ExtensionConfiguration ExtensionConfiguration + InternalDNSSuffix string + Label string + LastModifiedTime string + LoadBalancers []LoadBalancer + Locked bool + Name string + PersistentVMDowntime PersistentVMDowntime + PrivateID string + ReservedIPName string + RoleInstanceList []RoleInstance + RoleList []Role + RollbackAllowed bool + SdkVersion string + Status DeploymentStatus + URL string + UpgradeDomainCount int + UpgradeStatus UpgradeStatus + VirtualIPs []VirtualIP + VirtualNetworkName string + XMLName xml.Name + type DeploymentSlot string + const DeploymentSlotProduction + const DeploymentSlotStaging + type DeploymentStatus string + const DeploymentStatusDeleting + const DeploymentStatusDeploying + const DeploymentStatusRunning + const DeploymentStatusRunningTransitioning + const DeploymentStatusStarting + const DeploymentStatusSuspended + const DeploymentStatusSuspendedTransitioning + const DeploymentStatusSuspending + type DomainJoin struct + Credentials Credentials + JoinDomain string + MachineObjectOU string + type ExtendedProperty struct + Name string + Value string + type Extension struct + ID string + State string + type ExtensionConfiguration struct + NamedRoles []NamedRole + type ExtensionInfo struct + DisallowMajorVersionUpgrade bool + ID string + IsJSONExtension bool + ProviderNameSpace string + PublicConfigurationSchema string + Thumbprint string + ThumbprintAlgorithm string + Type string + Version string + XMLName xml.Name + type ExtensionSettingState string + const ExtensionSettingStateError + const ExtensionSettingStateSuccess + const ExtensionSettingStateTransitioning + const ExtensionSettingStateWarning + type ExtensionSettingStatus struct + Code string + FormattedMessage FormattedMessage + Name string + Operation string + Status ExtensionSettingState + SubStatusList []SubStatus + Timestamp string + type Extensions struct + Extensions []ExtensionInfo + XMLName xml.Name + type FormattedMessage struct + Language string + Message string + type IPAddressType string + const IPAddressTypePrivate + type InputEndpoint struct + LocalPort int + Name string + Port int + Protocol InputEndpointProtocol + Vip string + type InputEndpointProtocol string + const InputEndpointProtocolTCP + const InputEndpointProtocolUDP + type InstanceEndpoint struct + LocalPort int + Name string + Protocol InputEndpointProtocol + PublicPort int + Vip string + type InstanceStatus string + type KeyPair struct + Fingerprint string + Path string + type LoadBalancer struct + Name string + StaticVirtualNetworkIPAddress string + SubnetName string + Type IPAddressType + type NamedRole struct + Extensions []Extension + RoleName string + type OSDiskConfiguration struct + ResizedSizeInGB int + type OSVirtualHardDisk struct + DiskLabel string + DiskName string + HostCaching vmdisk.HostCachingType + MediaLink string + OS string + RemoteSourceImageLink string + ResizedSizeInGB int + SourceImageName string + type PersistentVMDowntime struct + EndTime string + StartTime string + Status string + type PersistentVMRole struct + XMLName xml.Name + type PostCaptureAction string + const PostCaptureActionDelete + const PostCaptureActionReprovision + type PostShutdownAction string + const PostShutdownActionStopped + const PostShutdownActionStoppedDeallocated + type PowerState string + const PowerStateStarted + const PowerStateStarting + const PowerStateStopped + const PowerStateStopping + const PowerStateUnknown + type PublicIP struct + Address string + IdleTimeoutInMinutes int + Name string + type PublicKey struct + Fingerprint string + Path string + type ResourceExtension struct + CompanyName string + Description string + DisallowMajorVersionUpgrade bool + Eula string + HomepageURI string + IsInternalExtension bool + IsJSONExtension bool + Label string + Name string + PrivacyURI string + PrivateConfigurationSchema string + PublicConfigurationSchema string + PublishedDate string + Publisher string + ReplicationCompleted string + SampleConfig string + SupportedOS string + Version string + type ResourceExtensionParameter struct + Key string + Type ResourceExtensionParameterType + Value string + type ResourceExtensionParameterType string + const ResourceExtensionParameterTypePrivate + const ResourceExtensionParameterTypePublic + type ResourceExtensionReference struct + Name string + ParameterValues []ResourceExtensionParameter + Publisher string + ReferenceName string + State string + Version string + type ResourceExtensionState string + const ResourceExtensionStateInstalling + const ResourceExtensionStateNotReady + const ResourceExtensionStateReady + const ResourceExtensionStateUnresponsive + type ResourceExtensionStatus struct + Code string + ExtensionSettingStatus ExtensionSettingStatus + FormattedMessage FormattedMessage + HandlerName string + Status ResourceExtensionState + Version string + type ResourceExtensions struct + List []ResourceExtension + type RestartRoleOperation struct + OperationType string + XMLName xml.Name + type Role struct + AvailabilitySetName string + CertPath string + ConfigurationSets []ConfigurationSet + DataVirtualHardDisks []DataVirtualHardDisk + MediaLocation string + OSVirtualHardDisk *OSVirtualHardDisk + ProvisionGuestAgent bool + ResourceExtensionReferences *[]ResourceExtensionReference + RoleName string + RoleSize string + RoleType string + UseCertAuth bool + VMImageInput *VMImageInput + VMImageName string + type RoleInstance struct + ExtendedInstanceStatus string + GuestAgentStatus string + HostName string + IPAddress string + InstanceEndpoints []InstanceEndpoint + InstanceErrorCode string + InstanceFaultDomain int + InstanceName string + InstanceSize string + InstanceStateDetails string + InstanceStatus InstanceStatus + InstanceUpgradeDomain int + PowerState PowerState + PublicIPs []PublicIP + RemoteAccessCertificateThumbprint string + ResourceExtensionStatusList []ResourceExtensionStatus + RoleName string + type RoleSize struct + Cores int + Label string + MaxDataDiskCount int + MemoryInMb int + Name string + SupportedByVirtualMachines bool + SupportedByWebWorkerRoles bool + VirtualMachineResourceDiskSizeInMb int + WebWorkerResourceDiskSizeInMb int + type RoleSizeList struct + RoleSizes []RoleSize + XMLName xml.Name + type SSH struct + KeyPairs []KeyPair + PublicKeys []PublicKey + type ServiceCertificate struct + CertificateFormat string + Data string + Password string + XMLName xml.Name + type ShutdownRoleOperation struct + OperationType string + PostShutdownAction PostShutdownAction + XMLName xml.Name + type StartRoleOperation struct + OperationType string + XMLName xml.Name + type SubStatus struct + FormattedMessage FormattedMessage + Name string + Status ExtensionSettingState + type SwapDeploymentRequest struct + Production string + SourceDeployment string + XMLName xml.Name + type UpdateDeploymentStatusRequest struct + Status string + XMLName xml.Name + type UpgradeStatus struct + CurrentUpgradeDomain int + CurrentUpgradeDomainState CurrentUpgradeDomainState + UpgradeType UpgradeType + type UpgradeType string + const UpgradeTypeAuto + const UpgradeTypeManual + const UpgradeTypeSimultaneous + type VMImageInput struct + DataDiskConfigurations []DataDiskConfiguration + OSDiskConfiguration *OSDiskConfiguration + type VirtualIP struct + Address string + IsReserved bool + ReservedIPName string + Type IPAddressType + type VirtualMachineClient struct + func NewClient(client management.Client) VirtualMachineClient + func (c VirtualMachineClient) AddExtension(cloudServiceName string, options AddExtensionOptions) (management.OperationID, error) + func (c VirtualMachineClient) DeleteExtension(cloudServiceName string, extensionID string) (management.OperationID, error) + func (c VirtualMachineClient) GetExtension(cloudServiceName string, extensionID string) (extension ExtensionInfo, err error) + func (c VirtualMachineClient) GetResourceExtensions() (extensions []ResourceExtension, err error) + func (c VirtualMachineClient) ListExtensions(cloudServiceName string) (extensions []ExtensionInfo, err error) + func (vm VirtualMachineClient) AddRole(cloudServiceName string, deploymentName string, role Role) (management.OperationID, error) + func (vm VirtualMachineClient) CaptureRole(cloudServiceName, deploymentName, roleName, imageName, imageLabel string, ...) (management.OperationID, error) + func (vm VirtualMachineClient) ChangeDeploymentConfiguration(cloudServiceName string, deploymentSlot DeploymentSlot, ...) (management.OperationID, error) + func (vm VirtualMachineClient) CreateDeployment(role Role, cloudServiceName string, options CreateDeploymentOptions) (management.OperationID, error) + func (vm VirtualMachineClient) CreateDeploymentFromPackage(cloudServiceName string, deploymentSlot DeploymentSlot, ...) (management.OperationID, error) + func (vm VirtualMachineClient) DeleteDeployment(cloudServiceName, deploymentName string) (management.OperationID, error) + func (vm VirtualMachineClient) DeleteDeploymentBySlot(cloudServiceName string, deploymentSlot DeploymentSlot) (management.OperationID, error) + func (vm VirtualMachineClient) DeleteRole(cloudServiceName, deploymentName, roleName string, deleteVHD bool) (management.OperationID, error) + func (vm VirtualMachineClient) GetDeployment(cloudServiceName, deploymentName string) (DeploymentResponse, error) + func (vm VirtualMachineClient) GetDeploymentBySlot(cloudServiceName string, deploymentSlot DeploymentSlot) (DeploymentResponse, error) + func (vm VirtualMachineClient) GetDeploymentName(cloudServiceName string) (string, error) + func (vm VirtualMachineClient) GetDeploymentNameForSlot(cloudServiceName string, deploymentSlot DeploymentSlot) (string, error) + func (vm VirtualMachineClient) GetRole(cloudServiceName, deploymentName, roleName string) (*Role, error) + func (vm VirtualMachineClient) GetRoleSizeList() (RoleSizeList, error) + func (vm VirtualMachineClient) RestartRole(cloudServiceName, deploymentName, roleName string) (management.OperationID, error) + func (vm VirtualMachineClient) ShutdownRole(cloudServiceName, deploymentName, roleName string, ...) (management.OperationID, error) + func (vm VirtualMachineClient) StartRole(cloudServiceName, deploymentName, roleName string) (management.OperationID, error) + func (vm VirtualMachineClient) SwapDeployment(cloudServiceName string) (management.OperationID, error) + func (vm VirtualMachineClient) UpdateDeploymentStatus(cloudServiceName string, deploymentSlot DeploymentSlot, status string) (management.OperationID, error) + func (vm VirtualMachineClient) UpdateDeploymentStatusByName(cloudServiceName string, deploymentName string, status string) (management.OperationID, error) + func (vm VirtualMachineClient) UpdateRole(cloudServiceName, deploymentName, roleName string, role Role) (management.OperationID, error) + type WinRMListener struct + CertificateThumbprint string + Protocol WinRMProtocol + type WinRMProtocol string + const WinRMProtocolHTTP + const WinRMProtocolHTTPS Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v15 gopkg.in/Azure/azure-sdk-for-go.v16 gopkg.in/Azure/azure-sdk-for-go.v17 gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v20 gopkg.in/Azure/azure-sdk-for-go.v21 gopkg.in/Azure/azure-sdk-for-go.v22 gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v24 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v28 gopkg.in/Azure/azure-sdk-for-go.v29 gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v36 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48