azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/classic/management/hostedservice Index | Files

package hostedservice

import "github.com/Azure/azure-sdk-for-go/services/classic/management/hostedservice"

Package hostedservice provides a client for Hosted Services.

Index

Package Files

client.go entities.go

Constants

const (
    CertificateFormatPfx = CertificateFormat("pfx")
    CertificateFormatCer = CertificateFormat("cer")
)

type AvailabilityResponse Uses

type AvailabilityResponse struct {
    Xmlns  string `xml:"xmlns,attr"`
    Result bool
    Reason string
}

type CertificateFile Uses

type CertificateFile struct {
    Xmlns             string `xml:"xmlns,attr"`
    Data              string
    CertificateFormat CertificateFormat
    Password          string `xml:",omitempty"`
}

type CertificateFormat Uses

type CertificateFormat string

type CreateHostedServiceParameters Uses

type CreateHostedServiceParameters struct {
    XMLName        xml.Name `xml:"http://schemas.microsoft.com/windowsazure CreateHostedService"`
    ServiceName    string
    Label          string
    Description    string
    Location       string
    ReverseDNSFqdn string `xml:"ReverseDnsFqdn,omitempty"`
}

type HostedService Uses

type HostedService struct {
    URL                               string `xml:"Url"`
    ServiceName                       string
    Description                       string `xml:"HostedServiceProperties>Description"`
    AffinityGroup                     string `xml:"HostedServiceProperties>AffinityGroup"`
    Location                          string `xml:"HostedServiceProperties>Location"`
    LabelBase64                       string `xml:"HostedServiceProperties>Label"`
    Label                             string
    Status                            string `xml:"HostedServiceProperties>Status"`
    ReverseDNSFqdn                    string `xml:"HostedServiceProperties>ReverseDnsFqdn"`
    DefaultWinRmCertificateThumbprint string
}

type HostedServiceClient Uses

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

HostedServiceClient is used to perform operations on Azure Hosted Services

func NewClient Uses

func NewClient(client management.Client) HostedServiceClient

NewClient is used to return a handle to the HostedService API

func (HostedServiceClient) AddCertificate Uses

func (h HostedServiceClient) AddCertificate(dnsName string, certData []byte, certificateFormat CertificateFormat, password string) (management.OperationID, error)

func (HostedServiceClient) CheckHostedServiceNameAvailability Uses

func (h HostedServiceClient) CheckHostedServiceNameAvailability(dnsName string) (AvailabilityResponse, error)

func (HostedServiceClient) CreateHostedService Uses

func (h HostedServiceClient) CreateHostedService(params CreateHostedServiceParameters) error

func (HostedServiceClient) DeleteHostedService Uses

func (h HostedServiceClient) DeleteHostedService(dnsName string, deleteDisksAndBlobs bool) (management.OperationID, error)

func (HostedServiceClient) GetHostedService Uses

func (h HostedServiceClient) GetHostedService(name string) (HostedService, error)

func (HostedServiceClient) ListHostedServices Uses

func (h HostedServiceClient) ListHostedServices() (ListHostedServicesResponse, error)

type ListHostedServicesResponse Uses

type ListHostedServicesResponse struct {
    HostedServices []HostedService `xml:"HostedService"`
}

Package hostedservice imports 4 packages (graph). Updated 2019-10-11. Refresh now. Tools for package owners.