Documentation ¶
Index ¶
- func CheckHostedServiceNameAvailability(dnsName string) (bool, string, error)
- func CreateAzureVM(azureVMConfiguration *Role, dnsName, location string) error
- func CreateHostedService(dnsName, location string) (string, error)
- func DeleteHostedService(dnsName string) error
- func DeleteRole(cloudserviceName, deploymentName, roleName string) error
- func DeleteVMDeployment(cloudserviceName, deploymentName string) error
- func ResolveRoleSize(roleSizeName string) error
- func RestartRole(cloudserviceName, deploymentName, roleName string) error
- func ShutdownRole(cloudserviceName, deploymentName, roleName string) error
- func StartRole(cloudserviceName, deploymentName, roleName string) error
- type AvailabilityResponse
- type ConfigurationSet
- type ConfigurationSets
- type HostedServiceDeployment
- type InputEndpoint
- type InputEndpoints
- type OSVirtualHardDisk
- type PublicKey
- type PublicKeyList
- type ResourceExtensionParameter
- type ResourceExtensionParameterValues
- type ResourceExtensionReference
- type ResourceExtensionReferences
- type RestartRoleOperation
- type Role
- func AddAzureLinuxProvisioningConfig(azureVMConfiguration *Role, userName, password, certPath string, sshPort int) (*Role, error)
- func CreateAzureVMConfiguration(dnsName, instanceSize, imageName, location string) (*Role, error)
- func GetRole(cloudserviceName, deploymentName, roleName string) (*Role, error)
- func SetAzureDockerVMExtension(azureVMConfiguration *Role, dockerPort int, version string) (*Role, error)
- func SetAzureVMExtension(azureVMConfiguration *Role, name string, publisher string, version string, ...) (*Role, error)
- type RoleInstance
- type RoleInstanceList
- type RoleList
- type RoleSize
- type RoleSizeList
- type SSH
- type ServiceCertificate
- type ShutdownRoleOperation
- type StartRoleOperation
- type VMDeployment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAzureVM ¶
func CreateHostedService ¶
func DeleteHostedService ¶
func DeleteRole ¶
func DeleteVMDeployment ¶
func ResolveRoleSize ¶
func RestartRole ¶
func ShutdownRole ¶
Types ¶
type AvailabilityResponse ¶
type ConfigurationSet ¶
type ConfigurationSet struct { ConfigurationSetType string HostName string `xml:",omitempty"` UserName string `xml:",omitempty"` UserPassword string `xml:",omitempty"` DisableSshPasswordAuthentication bool InputEndpoints InputEndpoints `xml:",omitempty"` SSH SSH `xml:",omitempty"` CustomData string `xml:",omitempty"` }
type ConfigurationSets ¶
type ConfigurationSets struct {
ConfigurationSet []ConfigurationSet
}
type HostedServiceDeployment ¶
type InputEndpoint ¶
type InputEndpoints ¶
type InputEndpoints struct {
InputEndpoint []InputEndpoint
}
type OSVirtualHardDisk ¶
type PublicKeyList ¶
type PublicKeyList struct {
PublicKey []PublicKey
}
type ResourceExtensionParameterValues ¶
type ResourceExtensionParameterValues struct {
ResourceExtensionParameterValue []ResourceExtensionParameter
}
type ResourceExtensionReferences ¶
type ResourceExtensionReferences struct {
ResourceExtensionReference []ResourceExtensionReference
}
type RestartRoleOperation ¶
type Role ¶
type Role struct { RoleName string RoleType string ConfigurationSets ConfigurationSets ResourceExtensionReferences ResourceExtensionReferences `xml:",omitempty"` OSVirtualHardDisk OSVirtualHardDisk RoleSize string ProvisionGuestAgent bool UseCertAuth bool `xml:"-"` CertPath string `xml:"-"` }
type RoleInstance ¶
type RoleInstanceList ¶
type RoleInstanceList struct {
RoleInstance []*RoleInstance
}
type RoleSizeList ¶
type RoleSizeList struct { XMLName xml.Name `xml:"RoleSizes"` Xmlns string `xml:"xmlns,attr"` RoleSizes []RoleSize `xml:"RoleSize"` }
func GetRoleSizeList ¶
func GetRoleSizeList() (RoleSizeList, error)
type SSH ¶
type SSH struct {
PublicKeys PublicKeyList
}
type ServiceCertificate ¶
type ShutdownRoleOperation ¶
type StartRoleOperation ¶
type VMDeployment ¶
type VMDeployment struct { XMLName xml.Name `xml:"Deployment"` Xmlns string `xml:"xmlns,attr"` Name string DeploymentSlot string Status string `xml:",omitempty"` Label string Url string `xml:",omitempty"` RoleList RoleList RoleInstanceList RoleInstanceList `xml:",omitempty"` }
func GetVMDeployment ¶
func GetVMDeployment(cloudserviceName, deploymentName string) (*VMDeployment, error)
Click to show internal directories.
Click to hide internal directories.