azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/web/mgmt/2015-08-01-preview/web Index | Files | Directories

package web

import "github.com/Azure/azure-sdk-for-go/services/preview/web/mgmt/2015-08-01-preview/web"

Package web implements the Azure ARM Web service API version .

WebSite Management Client

Index

Package Files

certificateorders.go certificates.go classicmobileservices.go client.go connections.go domains.go global.go globalcertificateorder.go globaldomainregistration.go globalresourcegroups.go hostingenvironments.go managedapis.go managedhostingenvironments.go models.go provider.go recommendations.go serverfarms.go sites.go topleveldomains.go usage.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type APIDefinitionInfo Uses

type APIDefinitionInfo struct {
    // URL - The URL of the API definition.
    URL *string `json:"url,omitempty"`
}

APIDefinitionInfo information about the formal API definition for the web app.

type APIEntity Uses

type APIEntity struct {
    autorest.Response    `json:"-"`
    *APIEntityProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

APIEntity API Management

func (APIEntity) MarshalJSON Uses

func (ae APIEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIEntity.

func (*APIEntity) UnmarshalJSON Uses

func (ae *APIEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for APIEntity struct.

type APIEntityProperties Uses

type APIEntityProperties struct {
    // Name - Name of the API
    //             the URL path of this API when exposed via APIM
    Name *string `json:"name,omitempty"`
    // GeneralInformation - the URL path of this API when exposed via APIM
    GeneralInformation *GeneralAPIInformation `json:"generalInformation,omitempty"`
    // Path - the URL path of this API when exposed via APIM
    Path *string `json:"path,omitempty"`
    // RuntimeUrls - Read only property returning the runtime endpoints where the API can be called
    RuntimeUrls *[]string `json:"runtimeUrls,omitempty"`
    // Protocols - Protocols supported by the front end - http/https
    Protocols *[]string `json:"protocols,omitempty"`
    // Policies - API policies
    Policies *APIPolicies `json:"policies,omitempty"`
    // BackendService - Backend service definition
    BackendService *BackendServiceDefinition `json:"backendService,omitempty"`
    // APIDefinitionURL - API definition Url - url where the swagger can be downloaded from
    APIDefinitionURL *string `json:"apiDefinitionUrl,omitempty"`
    // Metadata - Free form object for the data caller wants to store
    Metadata interface{} `json:"metadata,omitempty"`
    // Capabilities - Capabilities
    Capabilities *[]string `json:"capabilities,omitempty"`
    // ConnectionParameters - Connection parameters
    ConnectionParameters map[string]*ConnectionParameter `json:"connectionParameters"`
    // CreatedTime - Timestamp of the connection creation
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // ChangedTime - Timestamp of last connection change.
    ChangedTime *date.Time `json:"changedTime,omitempty"`
}

APIEntityProperties ...

func (APIEntityProperties) MarshalJSON Uses

func (ae APIEntityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIEntityProperties.

type APIOAuthSettings Uses

type APIOAuthSettings struct {
    // IdentityProvider - Identity provider
    IdentityProvider *string `json:"identityProvider,omitempty"`
    // ClientID - Resource provider client id
    ClientID *string `json:"clientId,omitempty"`
    // ClientSecret - Client Secret needed for OAuth
    ClientSecret *string `json:"clientSecret,omitempty"`
    // Scopes - OAuth scopes
    Scopes *[]string `json:"scopes,omitempty"`
    // RedirectURL - Url
    RedirectURL *string `json:"redirectUrl,omitempty"`
    // Properties - Read only properties for this oauth setting.
    Properties interface{} `json:"properties,omitempty"`
    // CustomParameters - OAuth parameters key is the name of parameter
    CustomParameters map[string]*APIOAuthSettingsParameter `json:"customParameters"`
}

APIOAuthSettings oAuth settings for the connection provider

func (APIOAuthSettings) MarshalJSON Uses

func (aoas APIOAuthSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIOAuthSettings.

type APIOAuthSettingsParameter Uses

type APIOAuthSettingsParameter struct {
    // Value - Value
    Value *string `json:"value,omitempty"`
    // Options - Read only: Options available to this parameter
    Options interface{} `json:"options,omitempty"`
    // UIDefinition - UI definitions per culture as caller can specify the culture
    UIDefinition interface{} `json:"uiDefinition,omitempty"`
}

APIOAuthSettingsParameter oAuth Settings Parameter

type APIPolicies Uses

type APIPolicies struct {
    *APIPoliciesProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

APIPolicies API policies

func (APIPolicies) MarshalJSON Uses

func (ap APIPolicies) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIPolicies.

func (*APIPolicies) UnmarshalJSON Uses

func (ap *APIPolicies) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for APIPolicies struct.

type APIPoliciesProperties Uses

type APIPoliciesProperties struct {
    // Content - Content of xml policy
    Content *string `json:"content,omitempty"`
}

APIPoliciesProperties ...

type AccessControlEntryAction Uses

type AccessControlEntryAction string

AccessControlEntryAction enumerates the values for access control entry action.

const (
    // Deny ...
    Deny AccessControlEntryAction = "Deny"
    // Permit ...
    Permit AccessControlEntryAction = "Permit"
)

func PossibleAccessControlEntryActionValues Uses

func PossibleAccessControlEntryActionValues() []AccessControlEntryAction

PossibleAccessControlEntryActionValues returns an array of possible values for the AccessControlEntryAction const type.

type Address Uses

type Address struct {
    // Address1 - Address 1
    Address1 *string `json:"address1,omitempty"`
    // Address2 - Address 2
    Address2 *string `json:"address2,omitempty"`
    // City - City
    City *string `json:"city,omitempty"`
    // Country - Country
    Country *string `json:"country,omitempty"`
    // PostalCode - Postal code
    PostalCode *string `json:"postalCode,omitempty"`
    // State - State
    State *string `json:"state,omitempty"`
}

Address address information for domain registration

type AddressResponse Uses

type AddressResponse struct {
    autorest.Response `json:"-"`
    // ServiceIPAddress - Main public vip
    ServiceIPAddress *string `json:"serviceIpAddress,omitempty"`
    // InternalIPAddress - VNET internal ip address of the hostingEnvironment (App Service Environment) if it is in internal load-balancing mode
    InternalIPAddress *string `json:"internalIpAddress,omitempty"`
    // OutboundIPAddresses - IP addresses appearing on outbound connections
    OutboundIPAddresses *[]string `json:"outboundIpAddresses,omitempty"`
    // VipMappings - Additional vips
    VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"`
}

AddressResponse describes main public ip address and any extra vips

type ApisCollection Uses

type ApisCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]APIEntity `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

ApisCollection collection of Apis

func (ApisCollection) IsEmpty Uses

func (ac ApisCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApisCollectionIterator Uses

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

ApisCollectionIterator provides access to a complete listing of APIEntity values.

func NewApisCollectionIterator Uses

func NewApisCollectionIterator(page ApisCollectionPage) ApisCollectionIterator

Creates a new instance of the ApisCollectionIterator type.

func (*ApisCollectionIterator) Next Uses

func (iter *ApisCollectionIterator) Next() error

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

func (*ApisCollectionIterator) NextWithContext Uses

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

func (iter ApisCollectionIterator) NotDone() bool

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

func (ApisCollectionIterator) Response Uses

func (iter ApisCollectionIterator) Response() ApisCollection

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

func (ApisCollectionIterator) Value Uses

func (iter ApisCollectionIterator) Value() APIEntity

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

type ApisCollectionPage Uses

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

ApisCollectionPage contains a page of APIEntity values.

func NewApisCollectionPage Uses

func NewApisCollectionPage(getNextPage func(context.Context, ApisCollection) (ApisCollection, error)) ApisCollectionPage

Creates a new instance of the ApisCollectionPage type.

func (*ApisCollectionPage) Next Uses

func (page *ApisCollectionPage) 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 (*ApisCollectionPage) NextWithContext Uses

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

func (page ApisCollectionPage) NotDone() bool

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

func (ApisCollectionPage) Response Uses

func (page ApisCollectionPage) Response() ApisCollection

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

func (ApisCollectionPage) Values Uses

func (page ApisCollectionPage) Values() []APIEntity

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

type ApplicationLogsConfig Uses

type ApplicationLogsConfig struct {
    // FileSystem - Application logs to file system configuration
    FileSystem *FileSystemApplicationLogsConfig `json:"fileSystem,omitempty"`
    // AzureTableStorage - Application logs to azure table storage configuration
    AzureTableStorage *AzureTableStorageApplicationLogsConfig `json:"azureTableStorage,omitempty"`
    // AzureBlobStorage - Application logs to blob storage configuration
    AzureBlobStorage *AzureBlobStorageApplicationLogsConfig `json:"azureBlobStorage,omitempty"`
}

ApplicationLogsConfig application logs configuration

type ArmPlan Uses

type ArmPlan struct {
    // Name - The name
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher
    Publisher *string `json:"publisher,omitempty"`
    // Product - The product
    Product *string `json:"product,omitempty"`
    // PromotionCode - The promotion code
    PromotionCode *string `json:"promotionCode,omitempty"`
    // Version - Version of product
    Version *string `json:"version,omitempty"`
}

ArmPlan the plan object in an ARM, represents a marketplace plan

type AutoHealActionType Uses

type AutoHealActionType string

AutoHealActionType enumerates the values for auto heal action type.

const (
    // CustomAction ...
    CustomAction AutoHealActionType = "CustomAction"
    // LogEvent ...
    LogEvent AutoHealActionType = "LogEvent"
    // Recycle ...
    Recycle AutoHealActionType = "Recycle"
)

func PossibleAutoHealActionTypeValues Uses

func PossibleAutoHealActionTypeValues() []AutoHealActionType

PossibleAutoHealActionTypeValues returns an array of possible values for the AutoHealActionType const type.

type AutoHealActions Uses

type AutoHealActions struct {
    // ActionType - ActionType - predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'
    ActionType AutoHealActionType `json:"actionType,omitempty"`
    // CustomAction - CustomAction - custom action to be taken
    CustomAction *AutoHealCustomAction `json:"customAction,omitempty"`
    // MinProcessExecutionTime - MinProcessExecutionTime - minimum time the process must execute
    //             before taking the action
    MinProcessExecutionTime *string `json:"minProcessExecutionTime,omitempty"`
}

AutoHealActions autoHealActions - Describes the actions which can be taken by the auto-heal module when a rule is triggered.

type AutoHealCustomAction Uses

type AutoHealCustomAction struct {
    // Exe - Executable to be run
    Exe *string `json:"exe,omitempty"`
    // Parameters - Parameters for the executable
    Parameters *string `json:"parameters,omitempty"`
}

AutoHealCustomAction autoHealCustomAction - Describes the custom action to be executed when an auto heal rule is triggered.

type AutoHealRules Uses

type AutoHealRules struct {
    // Triggers - Triggers - Conditions that describe when to execute the auto-heal actions
    Triggers *AutoHealTriggers `json:"triggers,omitempty"`
    // Actions - Actions - Actions to be executed when a rule is triggered
    Actions *AutoHealActions `json:"actions,omitempty"`
}

AutoHealRules autoHealRules - describes the rules which can be defined for auto-heal

type AutoHealTriggers Uses

type AutoHealTriggers struct {
    // Requests - Requests - Defines a rule based on total requests
    Requests *RequestsBasedTrigger `json:"requests,omitempty"`
    // PrivateBytesInKB - PrivateBytesInKB - Defines a rule based on private bytes
    PrivateBytesInKB *int32 `json:"privateBytesInKB,omitempty"`
    // StatusCodes - StatusCodes - Defines a rule based on status codes
    StatusCodes *[]StatusCodesBasedTrigger `json:"statusCodes,omitempty"`
    // SlowRequests - SlowRequests - Defines a rule based on request execution time
    SlowRequests *SlowRequestsBasedTrigger `json:"slowRequests,omitempty"`
}

AutoHealTriggers autoHealTriggers - describes the triggers for auto-heal.

type AzureBlobStorageApplicationLogsConfig Uses

type AzureBlobStorageApplicationLogsConfig struct {
    // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError'
    Level LogLevel `json:"level,omitempty"`
    // SasURL - SAS url to a azure blob container with read/write/list/delete permissions
    SasURL *string `json:"sasUrl,omitempty"`
    // RetentionInDays - Retention in days.
    //             Remove blobs older than X days.
    //             0 or lower means no retention.
    RetentionInDays *int32 `json:"retentionInDays,omitempty"`
}

AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration

type AzureBlobStorageHTTPLogsConfig Uses

type AzureBlobStorageHTTPLogsConfig struct {
    // SasURL - SAS url to a azure blob container with read/write/list/delete permissions
    SasURL *string `json:"sasUrl,omitempty"`
    // RetentionInDays - Retention in days.
    //             Remove blobs older than X days.
    //             0 or lower means no retention.
    RetentionInDays *int32 `json:"retentionInDays,omitempty"`
    // Enabled - Enabled
    Enabled *bool `json:"enabled,omitempty"`
}

AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration

type AzureResourceType Uses

type AzureResourceType string

AzureResourceType enumerates the values for azure resource type.

const (
    // TrafficManager ...
    TrafficManager AzureResourceType = "TrafficManager"
    // Website ...
    Website AzureResourceType = "Website"
)

func PossibleAzureResourceTypeValues Uses

func PossibleAzureResourceTypeValues() []AzureResourceType

PossibleAzureResourceTypeValues returns an array of possible values for the AzureResourceType const type.

type AzureTableStorageApplicationLogsConfig Uses

type AzureTableStorageApplicationLogsConfig struct {
    // Level - Log level. Possible values include: 'LogLevelOff', 'LogLevelVerbose', 'LogLevelInformation', 'LogLevelWarning', 'LogLevelError'
    Level LogLevel `json:"level,omitempty"`
    // SasURL - SAS url to an azure table with add/query/delete permissions
    SasURL *string `json:"sasUrl,omitempty"`
}

AzureTableStorageApplicationLogsConfig application logs to azure table storage configuration

type BackendServiceDefinition Uses

type BackendServiceDefinition struct {
    *BackendServiceDefinitionProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

BackendServiceDefinition API definitions with backend urls

func (BackendServiceDefinition) MarshalJSON Uses

func (bsd BackendServiceDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackendServiceDefinition.

func (*BackendServiceDefinition) UnmarshalJSON Uses

func (bsd *BackendServiceDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackendServiceDefinition struct.

type BackendServiceDefinitionProperties Uses

type BackendServiceDefinitionProperties struct {
    // ServiceURL - Url from which the swagger payload will be fetched
    ServiceURL *string `json:"serviceUrl,omitempty"`
    // HostingEnvironmentServiceUrls - Service Urls per Hosting environment
    HostingEnvironmentServiceUrls *[]HostingEnvironmentServiceDescriptions `json:"hostingEnvironmentServiceUrls,omitempty"`
}

BackendServiceDefinitionProperties ...

type BackupItem Uses

type BackupItem struct {
    autorest.Response     `json:"-"`
    *BackupItemProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

BackupItem backup description

func (BackupItem) MarshalJSON Uses

func (bi BackupItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupItem.

func (*BackupItem) UnmarshalJSON Uses

func (bi *BackupItem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupItem struct.

type BackupItemCollection Uses

type BackupItemCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]BackupItem `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

BackupItemCollection collection of Backup Items

func (BackupItemCollection) IsEmpty Uses

func (bic BackupItemCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BackupItemCollectionIterator Uses

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

BackupItemCollectionIterator provides access to a complete listing of BackupItem values.

func NewBackupItemCollectionIterator Uses

func NewBackupItemCollectionIterator(page BackupItemCollectionPage) BackupItemCollectionIterator

Creates a new instance of the BackupItemCollectionIterator type.

func (*BackupItemCollectionIterator) Next Uses

func (iter *BackupItemCollectionIterator) Next() error

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

func (*BackupItemCollectionIterator) NextWithContext Uses

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

func (iter BackupItemCollectionIterator) NotDone() bool

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

func (BackupItemCollectionIterator) Response Uses

func (iter BackupItemCollectionIterator) Response() BackupItemCollection

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

func (BackupItemCollectionIterator) Value Uses

func (iter BackupItemCollectionIterator) Value() BackupItem

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

type BackupItemCollectionPage Uses

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

BackupItemCollectionPage contains a page of BackupItem values.

func NewBackupItemCollectionPage Uses

func NewBackupItemCollectionPage(getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage

Creates a new instance of the BackupItemCollectionPage type.

func (*BackupItemCollectionPage) Next Uses

func (page *BackupItemCollectionPage) 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 (*BackupItemCollectionPage) NextWithContext Uses

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

func (page BackupItemCollectionPage) NotDone() bool

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

func (BackupItemCollectionPage) Response Uses

func (page BackupItemCollectionPage) Response() BackupItemCollection

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

func (BackupItemCollectionPage) Values Uses

func (page BackupItemCollectionPage) Values() []BackupItem

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

type BackupItemProperties Uses

type BackupItemProperties struct {
    // ID - Id of the backup.
    ID  *int32 `json:"id,omitempty"`
    // StorageAccountURL - SAS URL for the storage account container which contains this backup
    StorageAccountURL *string `json:"storageAccountUrl,omitempty"`
    // BlobName - Name of the blob which contains data for this backup
    BlobName *string `json:"blobName,omitempty"`
    // Name - Name of this backup
    Name *string `json:"name,omitempty"`
    // Status - Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted'
    Status BackupItemStatus `json:"status,omitempty"`
    // SizeInBytes - Size of the backup in bytes
    SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
    // Created - Timestamp of the backup creation
    Created *date.Time `json:"created,omitempty"`
    // Log - Details regarding this backup. Might contain an error message.
    Log *string `json:"log,omitempty"`
    // Databases - List of databases included in the backup
    Databases *[]DatabaseBackupSetting `json:"databases,omitempty"`
    // Scheduled - True if this backup has been created due to a schedule being triggered.
    Scheduled *bool `json:"scheduled,omitempty"`
    // LastRestoreTimeStamp - Timestamp of a last restore operation which used this backup.
    LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"`
    // FinishedTimeStamp - Timestamp when this backup finished.
    FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"`
    // CorrelationID - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
    CorrelationID *string `json:"correlationId,omitempty"`
    // WebsiteSizeInBytes - Size of the original web app which has been backed up
    WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty"`
}

BackupItemProperties ...

type BackupItemStatus Uses

type BackupItemStatus string

BackupItemStatus enumerates the values for backup item status.

const (
    // Created ...
    Created BackupItemStatus = "Created"
    // Deleted ...
    Deleted BackupItemStatus = "Deleted"
    // DeleteFailed ...
    DeleteFailed BackupItemStatus = "DeleteFailed"
    // DeleteInProgress ...
    DeleteInProgress BackupItemStatus = "DeleteInProgress"
    // Failed ...
    Failed BackupItemStatus = "Failed"
    // InProgress ...
    InProgress BackupItemStatus = "InProgress"
    // PartiallySucceeded ...
    PartiallySucceeded BackupItemStatus = "PartiallySucceeded"
    // Skipped ...
    Skipped BackupItemStatus = "Skipped"
    // Succeeded ...
    Succeeded BackupItemStatus = "Succeeded"
    // TimedOut ...
    TimedOut BackupItemStatus = "TimedOut"
)

func PossibleBackupItemStatusValues Uses

func PossibleBackupItemStatusValues() []BackupItemStatus

PossibleBackupItemStatusValues returns an array of possible values for the BackupItemStatus const type.

type BackupRequest Uses

type BackupRequest struct {
    autorest.Response        `json:"-"`
    *BackupRequestProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

BackupRequest description of a backup which will be performed

func (BackupRequest) MarshalJSON Uses

func (br BackupRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupRequest.

func (*BackupRequest) UnmarshalJSON Uses

func (br *BackupRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupRequest struct.

type BackupRequestProperties Uses

type BackupRequestProperties struct {
    // Name - Name of the backup
    Name *string `json:"name,omitempty"`
    // Enabled - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled
    Enabled *bool `json:"enabled,omitempty"`
    // StorageAccountURL - SAS URL to the container
    StorageAccountURL *string `json:"storageAccountUrl,omitempty"`
    // BackupSchedule - Schedule for the backup if it is executed periodically
    BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"`
    // Databases - Databases included in the backup
    Databases *[]DatabaseBackupSetting `json:"databases,omitempty"`
    // Type - Type of the backup. Possible values include: 'Default', 'Clone', 'Relocation'
    Type BackupRestoreOperationType `json:"type,omitempty"`
}

BackupRequestProperties ...

type BackupRestoreOperationType Uses

type BackupRestoreOperationType string

BackupRestoreOperationType enumerates the values for backup restore operation type.

const (
    // Clone ...
    Clone BackupRestoreOperationType = "Clone"
    // Default ...
    Default BackupRestoreOperationType = "Default"
    // Relocation ...
    Relocation BackupRestoreOperationType = "Relocation"
)

func PossibleBackupRestoreOperationTypeValues Uses

func PossibleBackupRestoreOperationTypeValues() []BackupRestoreOperationType

PossibleBackupRestoreOperationTypeValues returns an array of possible values for the BackupRestoreOperationType const type.

type BackupSchedule Uses

type BackupSchedule struct {
    // FrequencyInterval - How often should be the backup executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
    FrequencyInterval *int32 `json:"frequencyInterval,omitempty"`
    // FrequencyUnit - How often should be the backup executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour'
    FrequencyUnit FrequencyUnit `json:"frequencyUnit,omitempty"`
    // KeepAtLeastOneBackup - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
    KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty"`
    // RetentionPeriodInDays - After how many days backups should be deleted
    RetentionPeriodInDays *int32 `json:"retentionPeriodInDays,omitempty"`
    // StartTime - When the schedule should start working
    StartTime *date.Time `json:"startTime,omitempty"`
    // LastExecutionTime - The last time when this schedule was triggered
    LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"`
}

BackupSchedule description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.

type BaseClient Uses

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

BaseClient is the base client for Web.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BuiltInAuthenticationProvider Uses

type BuiltInAuthenticationProvider string

BuiltInAuthenticationProvider enumerates the values for built in authentication provider.

const (
    // AzureActiveDirectory ...
    AzureActiveDirectory BuiltInAuthenticationProvider = "AzureActiveDirectory"
    // Facebook ...
    Facebook BuiltInAuthenticationProvider = "Facebook"
    // Google ...
    Google BuiltInAuthenticationProvider = "Google"
    // MicrosoftAccount ...
    MicrosoftAccount BuiltInAuthenticationProvider = "MicrosoftAccount"
    // Twitter ...
    Twitter BuiltInAuthenticationProvider = "Twitter"
)

func PossibleBuiltInAuthenticationProviderValues Uses

func PossibleBuiltInAuthenticationProviderValues() []BuiltInAuthenticationProvider

PossibleBuiltInAuthenticationProviderValues returns an array of possible values for the BuiltInAuthenticationProvider const type.

type Certificate Uses

type Certificate struct {
    autorest.Response      `json:"-"`
    *CertificateProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

Certificate app certificate

func (Certificate) MarshalJSON Uses

func (c Certificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Certificate.

func (*Certificate) UnmarshalJSON Uses

func (c *Certificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Certificate struct.

type CertificateCollection Uses

type CertificateCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]Certificate `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

CertificateCollection collection of certificates

func (CertificateCollection) IsEmpty Uses

func (cc CertificateCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateCollectionIterator Uses

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

CertificateCollectionIterator provides access to a complete listing of Certificate values.

func NewCertificateCollectionIterator Uses

func NewCertificateCollectionIterator(page CertificateCollectionPage) CertificateCollectionIterator

Creates a new instance of the CertificateCollectionIterator type.

func (*CertificateCollectionIterator) Next Uses

func (iter *CertificateCollectionIterator) Next() error

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

func (*CertificateCollectionIterator) NextWithContext Uses

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

func (iter CertificateCollectionIterator) NotDone() bool

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

func (CertificateCollectionIterator) Response Uses

func (iter CertificateCollectionIterator) Response() CertificateCollection

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

func (CertificateCollectionIterator) Value Uses

func (iter CertificateCollectionIterator) Value() Certificate

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

type CertificateCollectionPage Uses

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

CertificateCollectionPage contains a page of Certificate values.

func NewCertificateCollectionPage Uses

func NewCertificateCollectionPage(getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage

Creates a new instance of the CertificateCollectionPage type.

func (*CertificateCollectionPage) Next Uses

func (page *CertificateCollectionPage) 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 (*CertificateCollectionPage) NextWithContext Uses

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

func (page CertificateCollectionPage) NotDone() bool

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

func (CertificateCollectionPage) Response Uses

func (page CertificateCollectionPage) Response() CertificateCollection

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

func (CertificateCollectionPage) Values Uses

func (page CertificateCollectionPage) Values() []Certificate

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

type CertificateDetails Uses

type CertificateDetails struct {
    *CertificateDetailsProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

CertificateDetails certificate Details

func (CertificateDetails) MarshalJSON Uses

func (cd CertificateDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateDetails.

func (*CertificateDetails) UnmarshalJSON Uses

func (cd *CertificateDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateDetails struct.

type CertificateDetailsProperties Uses

type CertificateDetailsProperties struct {
    // Version - Version
    Version *int32 `json:"version,omitempty"`
    // SerialNumber - Serial Number
    SerialNumber *string `json:"serialNumber,omitempty"`
    // Thumbprint - Thumbprint
    Thumbprint *string `json:"thumbprint,omitempty"`
    // Subject - Subject
    Subject *string `json:"subject,omitempty"`
    // NotBefore - Valid from
    NotBefore *date.Time `json:"notBefore,omitempty"`
    // NotAfter - Valid to
    NotAfter *date.Time `json:"notAfter,omitempty"`
    // SignatureAlgorithm - Signature Algorithm
    SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"`
    // Issuer - Issuer
    Issuer *string `json:"issuer,omitempty"`
    // RawData - Raw certificate data
    RawData *string `json:"rawData,omitempty"`
}

CertificateDetailsProperties ...

type CertificateEmail Uses

type CertificateEmail struct {
    *CertificateEmailProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

CertificateEmail certificate Email

func (CertificateEmail) MarshalJSON Uses

func (ce CertificateEmail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateEmail.

func (*CertificateEmail) UnmarshalJSON Uses

func (ce *CertificateEmail) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateEmail struct.

type CertificateEmailProperties Uses

type CertificateEmailProperties struct {
    // EmailID - Email id
    EmailID *string `json:"emailId,omitempty"`
    // TimeStamp - Time stamp
    TimeStamp *date.Time `json:"timeStamp,omitempty"`
}

CertificateEmailProperties ...

type CertificateOrder Uses

type CertificateOrder struct {
    autorest.Response           `json:"-"`
    *CertificateOrderProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

CertificateOrder certificate purchase order

func (CertificateOrder) MarshalJSON Uses

func (co CertificateOrder) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateOrder.

func (*CertificateOrder) UnmarshalJSON Uses

func (co *CertificateOrder) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateOrder struct.

type CertificateOrderAction Uses

type CertificateOrderAction struct {
    *CertificateOrderActionProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

CertificateOrderAction represents a certificate action

func (CertificateOrderAction) MarshalJSON Uses

func (coa CertificateOrderAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateOrderAction.

func (*CertificateOrderAction) UnmarshalJSON Uses

func (coa *CertificateOrderAction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateOrderAction struct.

type CertificateOrderActionProperties Uses

type CertificateOrderActionProperties struct {
    // Type - Type. Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', 'OrgNameChange', 'OrgValidationComplete', 'SanDrop'
    Type CertificateOrderActionType `json:"type,omitempty"`
    // CreatedAt - Time at which the certificate action was performed
    CreatedAt *date.Time `json:"createdAt,omitempty"`
}

CertificateOrderActionProperties ...

type CertificateOrderActionType Uses

type CertificateOrderActionType string

CertificateOrderActionType enumerates the values for certificate order action type.

const (
    // CertificateIssued ...
    CertificateIssued CertificateOrderActionType = "CertificateIssued"
    // CertificateOrderCanceled ...
    CertificateOrderCanceled CertificateOrderActionType = "CertificateOrderCanceled"
    // CertificateOrderCreated ...
    CertificateOrderCreated CertificateOrderActionType = "CertificateOrderCreated"
    // CertificateRevoked ...
    CertificateRevoked CertificateOrderActionType = "CertificateRevoked"
    // DomainValidationComplete ...
    DomainValidationComplete CertificateOrderActionType = "DomainValidationComplete"
    // FraudDetected ...
    FraudDetected CertificateOrderActionType = "FraudDetected"
    // OrgNameChange ...
    OrgNameChange CertificateOrderActionType = "OrgNameChange"
    // OrgValidationComplete ...
    OrgValidationComplete CertificateOrderActionType = "OrgValidationComplete"
    // SanDrop ...
    SanDrop CertificateOrderActionType = "SanDrop"
)

func PossibleCertificateOrderActionTypeValues Uses

func PossibleCertificateOrderActionTypeValues() []CertificateOrderActionType

PossibleCertificateOrderActionTypeValues returns an array of possible values for the CertificateOrderActionType const type.

type CertificateOrderCertificate Uses

type CertificateOrderCertificate struct {
    autorest.Response                      `json:"-"`
    *CertificateOrderCertificateProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

CertificateOrderCertificate class representing the Key Vault container for certificate purchased through Azure

func (CertificateOrderCertificate) MarshalJSON Uses

func (coc CertificateOrderCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateOrderCertificate.

func (*CertificateOrderCertificate) UnmarshalJSON Uses

func (coc *CertificateOrderCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateOrderCertificate struct.

type CertificateOrderCertificateCollection Uses

type CertificateOrderCertificateCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]CertificateOrderCertificate `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

CertificateOrderCertificateCollection collection of certificate order certificates

func (CertificateOrderCertificateCollection) IsEmpty Uses

func (cocc CertificateOrderCertificateCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateOrderCertificateCollectionIterator Uses

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

CertificateOrderCertificateCollectionIterator provides access to a complete listing of CertificateOrderCertificate values.

func NewCertificateOrderCertificateCollectionIterator Uses

func NewCertificateOrderCertificateCollectionIterator(page CertificateOrderCertificateCollectionPage) CertificateOrderCertificateCollectionIterator

Creates a new instance of the CertificateOrderCertificateCollectionIterator type.

func (*CertificateOrderCertificateCollectionIterator) Next Uses

func (iter *CertificateOrderCertificateCollectionIterator) Next() error

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

func (*CertificateOrderCertificateCollectionIterator) NextWithContext Uses

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

func (iter CertificateOrderCertificateCollectionIterator) NotDone() bool

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

func (CertificateOrderCertificateCollectionIterator) Response Uses

func (iter CertificateOrderCertificateCollectionIterator) Response() CertificateOrderCertificateCollection

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

func (CertificateOrderCertificateCollectionIterator) Value Uses

func (iter CertificateOrderCertificateCollectionIterator) Value() CertificateOrderCertificate

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

type CertificateOrderCertificateCollectionPage Uses

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

CertificateOrderCertificateCollectionPage contains a page of CertificateOrderCertificate values.

func NewCertificateOrderCertificateCollectionPage Uses

func NewCertificateOrderCertificateCollectionPage(getNextPage func(context.Context, CertificateOrderCertificateCollection) (CertificateOrderCertificateCollection, error)) CertificateOrderCertificateCollectionPage

Creates a new instance of the CertificateOrderCertificateCollectionPage type.

func (*CertificateOrderCertificateCollectionPage) Next Uses

func (page *CertificateOrderCertificateCollectionPage) 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 (*CertificateOrderCertificateCollectionPage) NextWithContext Uses

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

func (page CertificateOrderCertificateCollectionPage) NotDone() bool

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

func (CertificateOrderCertificateCollectionPage) Response Uses

func (page CertificateOrderCertificateCollectionPage) Response() CertificateOrderCertificateCollection

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

func (CertificateOrderCertificateCollectionPage) Values Uses

func (page CertificateOrderCertificateCollectionPage) Values() []CertificateOrderCertificate

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

type CertificateOrderCertificateProperties Uses

type CertificateOrderCertificateProperties struct {
    // KeyVaultID - Key Vault Csm resource Id
    KeyVaultID *string `json:"keyVaultId,omitempty"`
    // KeyVaultSecretName - Key Vault secret name
    KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`
    // ProvisioningState - Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusUnknown'
    ProvisioningState KeyVaultSecretStatus `json:"provisioningState,omitempty"`
}

CertificateOrderCertificateProperties ...

type CertificateOrderCollection Uses

type CertificateOrderCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]CertificateOrder `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

CertificateOrderCollection collection of certificate orders

func (CertificateOrderCollection) IsEmpty Uses

func (coc CertificateOrderCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateOrderCollectionIterator Uses

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

CertificateOrderCollectionIterator provides access to a complete listing of CertificateOrder values.

func NewCertificateOrderCollectionIterator Uses

func NewCertificateOrderCollectionIterator(page CertificateOrderCollectionPage) CertificateOrderCollectionIterator

Creates a new instance of the CertificateOrderCollectionIterator type.

func (*CertificateOrderCollectionIterator) Next Uses

func (iter *CertificateOrderCollectionIterator) Next() error

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

func (*CertificateOrderCollectionIterator) NextWithContext Uses

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

func (iter CertificateOrderCollectionIterator) NotDone() bool

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

func (CertificateOrderCollectionIterator) Response Uses

func (iter CertificateOrderCollectionIterator) Response() CertificateOrderCollection

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

func (CertificateOrderCollectionIterator) Value Uses

func (iter CertificateOrderCollectionIterator) Value() CertificateOrder

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

type CertificateOrderCollectionPage Uses

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

CertificateOrderCollectionPage contains a page of CertificateOrder values.

func NewCertificateOrderCollectionPage Uses

func NewCertificateOrderCollectionPage(getNextPage func(context.Context, CertificateOrderCollection) (CertificateOrderCollection, error)) CertificateOrderCollectionPage

Creates a new instance of the CertificateOrderCollectionPage type.

func (*CertificateOrderCollectionPage) Next Uses

func (page *CertificateOrderCollectionPage) 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 (*CertificateOrderCollectionPage) NextWithContext Uses

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

func (page CertificateOrderCollectionPage) NotDone() bool

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

func (CertificateOrderCollectionPage) Response Uses

func (page CertificateOrderCollectionPage) Response() CertificateOrderCollection

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

func (CertificateOrderCollectionPage) Values Uses

func (page CertificateOrderCollectionPage) Values() []CertificateOrder

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

type CertificateOrderProperties Uses

type CertificateOrderProperties struct {
    // Certificates - State of the Key Vault secret
    Certificates map[string]*CertificateOrderCertificate `json:"certificates"`
    // DistinguishedName - Certificate distinguished name
    DistinguishedName *string `json:"distinguishedName,omitempty"`
    // DomainVerificationToken - Domain Verification Token
    DomainVerificationToken *string `json:"domainVerificationToken,omitempty"`
    // ValidityInYears - Duration in years (must be between 1 and 3)
    ValidityInYears *int32 `json:"validityInYears,omitempty"`
    // KeySize - Certificate Key Size
    KeySize *int32 `json:"keySize,omitempty"`
    // ProductType - Certificate product type. Possible values include: 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl'
    ProductType CertificateProductType `json:"productType,omitempty"`
    // AutoRenew - Auto renew
    AutoRenew *bool `json:"autoRenew,omitempty"`
    // ProvisioningState - Status of certificate order. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Status - Current order status. Possible values include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied', 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted'
    Status CertificateOrderStatus `json:"status,omitempty"`
    // SignedCertificate - Signed certificate
    SignedCertificate *CertificateDetails `json:"signedCertificate,omitempty"`
    // Csr - Last CSR that was created for this order
    Csr *string `json:"csr,omitempty"`
    // Intermediate - Intermediate certificate
    Intermediate *CertificateDetails `json:"intermediate,omitempty"`
    // Root - Root certificate
    Root *CertificateDetails `json:"root,omitempty"`
    // SerialNumber - Current serial number of the certificate
    SerialNumber *string `json:"serialNumber,omitempty"`
    // LastCertificateIssuanceTime - Certificate last issuance time
    LastCertificateIssuanceTime *date.Time `json:"lastCertificateIssuanceTime,omitempty"`
    // ExpirationTime - Certificate expiration time
    ExpirationTime *date.Time `json:"expirationTime,omitempty"`
}

CertificateOrderProperties ...

func (CertificateOrderProperties) MarshalJSON Uses

func (co CertificateOrderProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateOrderProperties.

type CertificateOrderStatus Uses

type CertificateOrderStatus string

CertificateOrderStatus enumerates the values for certificate order status.

const (
    // Canceled ...
    Canceled CertificateOrderStatus = "Canceled"
    // Denied ...
    Denied CertificateOrderStatus = "Denied"
    // Expired ...
    Expired CertificateOrderStatus = "Expired"
    // Issued ...
    Issued CertificateOrderStatus = "Issued"
    // NotSubmitted ...
    NotSubmitted CertificateOrderStatus = "NotSubmitted"
    // Pendingissuance ...
    Pendingissuance CertificateOrderStatus = "Pendingissuance"
    // PendingRekey ...
    PendingRekey CertificateOrderStatus = "PendingRekey"
    // Pendingrevocation ...
    Pendingrevocation CertificateOrderStatus = "Pendingrevocation"
    // Revoked ...
    Revoked CertificateOrderStatus = "Revoked"
    // Unused ...
    Unused CertificateOrderStatus = "Unused"
)

func PossibleCertificateOrderStatusValues Uses

func PossibleCertificateOrderStatusValues() []CertificateOrderStatus

PossibleCertificateOrderStatusValues returns an array of possible values for the CertificateOrderStatus const type.

type CertificateOrdersClient Uses

type CertificateOrdersClient struct {
    BaseClient
}

CertificateOrdersClient is the webSite Management Client

func NewCertificateOrdersClient Uses

func NewCertificateOrdersClient(subscriptionID string) CertificateOrdersClient

NewCertificateOrdersClient creates an instance of the CertificateOrdersClient client.

func NewCertificateOrdersClientWithBaseURI Uses

func NewCertificateOrdersClientWithBaseURI(baseURI string, subscriptionID string) CertificateOrdersClient

NewCertificateOrdersClientWithBaseURI creates an instance of the CertificateOrdersClient client.

func (CertificateOrdersClient) CreateOrUpdateCertificate Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificateOrderCertificate) (result CertificateOrderCertificate, err error)

CreateOrUpdateCertificate sends the create or update certificate request. Parameters: resourceGroupName - azure resource group name certificateOrderName - certificate name name - certificate name keyVaultCertificate - key Vault secret csm Id

func (CertificateOrdersClient) CreateOrUpdateCertificateOrder Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificateOrder(ctx context.Context, resourceGroupName string, name string, certificateDistinguishedName CertificateOrder) (result CertificateOrder, err error)

CreateOrUpdateCertificateOrder sends the create or update certificate order request. Parameters: resourceGroupName - azure resource group name name - certificate name certificateDistinguishedName - distinguished name to be used for purchasing certificate

func (CertificateOrdersClient) CreateOrUpdateCertificateOrderPreparer Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificateOrderPreparer(ctx context.Context, resourceGroupName string, name string, certificateDistinguishedName CertificateOrder) (*http.Request, error)

CreateOrUpdateCertificateOrderPreparer prepares the CreateOrUpdateCertificateOrder request.

func (CertificateOrdersClient) CreateOrUpdateCertificateOrderResponder Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificateOrderResponder(resp *http.Response) (result CertificateOrder, err error)

CreateOrUpdateCertificateOrderResponder handles the response to the CreateOrUpdateCertificateOrder request. The method always closes the http.Response Body.

func (CertificateOrdersClient) CreateOrUpdateCertificateOrderSender Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificateOrderSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) CreateOrUpdateCertificatePreparer Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificateOrderCertificate) (*http.Request, error)

CreateOrUpdateCertificatePreparer prepares the CreateOrUpdateCertificate request.

func (CertificateOrdersClient) CreateOrUpdateCertificateResponder Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificateResponder(resp *http.Response) (result CertificateOrderCertificate, err error)

CreateOrUpdateCertificateResponder handles the response to the CreateOrUpdateCertificate request. The method always closes the http.Response Body.

func (CertificateOrdersClient) CreateOrUpdateCertificateSender Uses

func (client CertificateOrdersClient) CreateOrUpdateCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) DeleteCertificate Uses

func (client CertificateOrdersClient) DeleteCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (result SetObject, err error)

DeleteCertificate sends the delete certificate request. Parameters: resourceGroupName - azure resource group name certificateOrderName - certificate name name - certificate name

func (CertificateOrdersClient) DeleteCertificateOrder Uses

func (client CertificateOrdersClient) DeleteCertificateOrder(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)

DeleteCertificateOrder sends the delete certificate order request. Parameters: resourceGroupName - azure resource group name name - certificate name

func (CertificateOrdersClient) DeleteCertificateOrderPreparer Uses

func (client CertificateOrdersClient) DeleteCertificateOrderPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeleteCertificateOrderPreparer prepares the DeleteCertificateOrder request.

func (CertificateOrdersClient) DeleteCertificateOrderResponder Uses

func (client CertificateOrdersClient) DeleteCertificateOrderResponder(resp *http.Response) (result SetObject, err error)

DeleteCertificateOrderResponder handles the response to the DeleteCertificateOrder request. The method always closes the http.Response Body.

func (CertificateOrdersClient) DeleteCertificateOrderSender Uses

func (client CertificateOrdersClient) DeleteCertificateOrderSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) DeleteCertificatePreparer Uses

func (client CertificateOrdersClient) DeleteCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (*http.Request, error)

DeleteCertificatePreparer prepares the DeleteCertificate request.

func (CertificateOrdersClient) DeleteCertificateResponder Uses

func (client CertificateOrdersClient) DeleteCertificateResponder(resp *http.Response) (result SetObject, err error)

DeleteCertificateResponder handles the response to the DeleteCertificate request. The method always closes the http.Response Body.

func (CertificateOrdersClient) DeleteCertificateSender Uses

func (client CertificateOrdersClient) DeleteCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) GetCertificate Uses

func (client CertificateOrdersClient) GetCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (result CertificateOrderCertificate, err error)

GetCertificate sends the get certificate request. Parameters: resourceGroupName - azure resource group name certificateOrderName - certificate name name - certificate name

func (CertificateOrdersClient) GetCertificateOrder Uses

func (client CertificateOrdersClient) GetCertificateOrder(ctx context.Context, resourceGroupName string, name string) (result CertificateOrder, err error)

GetCertificateOrder sends the get certificate order request. Parameters: resourceGroupName - azure resource group name name - certificate name

func (CertificateOrdersClient) GetCertificateOrderPreparer Uses

func (client CertificateOrdersClient) GetCertificateOrderPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

GetCertificateOrderPreparer prepares the GetCertificateOrder request.

func (CertificateOrdersClient) GetCertificateOrderResponder Uses

func (client CertificateOrdersClient) GetCertificateOrderResponder(resp *http.Response) (result CertificateOrder, err error)

GetCertificateOrderResponder handles the response to the GetCertificateOrder request. The method always closes the http.Response Body.

func (CertificateOrdersClient) GetCertificateOrderSender Uses

func (client CertificateOrdersClient) GetCertificateOrderSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) GetCertificateOrders Uses

func (client CertificateOrdersClient) GetCertificateOrders(ctx context.Context, resourceGroupName string) (result CertificateOrderCollectionPage, err error)

GetCertificateOrders sends the get certificate orders request. Parameters: resourceGroupName - azure resource group name

func (CertificateOrdersClient) GetCertificateOrdersComplete Uses

func (client CertificateOrdersClient) GetCertificateOrdersComplete(ctx context.Context, resourceGroupName string) (result CertificateOrderCollectionIterator, err error)

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

func (CertificateOrdersClient) GetCertificateOrdersPreparer Uses

func (client CertificateOrdersClient) GetCertificateOrdersPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

GetCertificateOrdersPreparer prepares the GetCertificateOrders request.

func (CertificateOrdersClient) GetCertificateOrdersResponder Uses

func (client CertificateOrdersClient) GetCertificateOrdersResponder(resp *http.Response) (result CertificateOrderCollection, err error)

GetCertificateOrdersResponder handles the response to the GetCertificateOrders request. The method always closes the http.Response Body.

func (CertificateOrdersClient) GetCertificateOrdersSender Uses

func (client CertificateOrdersClient) GetCertificateOrdersSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) GetCertificatePreparer Uses

func (client CertificateOrdersClient) GetCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (*http.Request, error)

GetCertificatePreparer prepares the GetCertificate request.

func (CertificateOrdersClient) GetCertificateResponder Uses

func (client CertificateOrdersClient) GetCertificateResponder(resp *http.Response) (result CertificateOrderCertificate, err error)

GetCertificateResponder handles the response to the GetCertificate request. The method always closes the http.Response Body.

func (CertificateOrdersClient) GetCertificateSender Uses

func (client CertificateOrdersClient) GetCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) GetCertificates Uses

func (client CertificateOrdersClient) GetCertificates(ctx context.Context, resourceGroupName string, certificateOrderName string) (result CertificateOrderCertificateCollectionPage, err error)

GetCertificates sends the get certificates request. Parameters: resourceGroupName - azure resource group name certificateOrderName - certificate name

func (CertificateOrdersClient) GetCertificatesComplete Uses

func (client CertificateOrdersClient) GetCertificatesComplete(ctx context.Context, resourceGroupName string, certificateOrderName string) (result CertificateOrderCertificateCollectionIterator, err error)

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

func (CertificateOrdersClient) GetCertificatesPreparer Uses

func (client CertificateOrdersClient) GetCertificatesPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string) (*http.Request, error)

GetCertificatesPreparer prepares the GetCertificates request.

func (CertificateOrdersClient) GetCertificatesResponder Uses

func (client CertificateOrdersClient) GetCertificatesResponder(resp *http.Response) (result CertificateOrderCertificateCollection, err error)

GetCertificatesResponder handles the response to the GetCertificates request. The method always closes the http.Response Body.

func (CertificateOrdersClient) GetCertificatesSender Uses

func (client CertificateOrdersClient) GetCertificatesSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) ReissueCertificateOrder Uses

func (client CertificateOrdersClient) ReissueCertificateOrder(ctx context.Context, resourceGroupName string, name string, reissueCertificateOrderRequest ReissueCertificateOrderRequest) (result SetObject, err error)

ReissueCertificateOrder sends the reissue certificate order request. Parameters: resourceGroupName - azure resource group name name - certificate name reissueCertificateOrderRequest - reissue parameters

func (CertificateOrdersClient) ReissueCertificateOrderPreparer Uses

func (client CertificateOrdersClient) ReissueCertificateOrderPreparer(ctx context.Context, resourceGroupName string, name string, reissueCertificateOrderRequest ReissueCertificateOrderRequest) (*http.Request, error)

ReissueCertificateOrderPreparer prepares the ReissueCertificateOrder request.

func (CertificateOrdersClient) ReissueCertificateOrderResponder Uses

func (client CertificateOrdersClient) ReissueCertificateOrderResponder(resp *http.Response) (result SetObject, err error)

ReissueCertificateOrderResponder handles the response to the ReissueCertificateOrder request. The method always closes the http.Response Body.

func (CertificateOrdersClient) ReissueCertificateOrderSender Uses

func (client CertificateOrdersClient) ReissueCertificateOrderSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) RenewCertificateOrder Uses

func (client CertificateOrdersClient) RenewCertificateOrder(ctx context.Context, resourceGroupName string, name string, renewCertificateOrderRequest RenewCertificateOrderRequest) (result SetObject, err error)

RenewCertificateOrder sends the renew certificate order request. Parameters: resourceGroupName - azure resource group name name - certificate name renewCertificateOrderRequest - renew parameters

func (CertificateOrdersClient) RenewCertificateOrderPreparer Uses

func (client CertificateOrdersClient) RenewCertificateOrderPreparer(ctx context.Context, resourceGroupName string, name string, renewCertificateOrderRequest RenewCertificateOrderRequest) (*http.Request, error)

RenewCertificateOrderPreparer prepares the RenewCertificateOrder request.

func (CertificateOrdersClient) RenewCertificateOrderResponder Uses

func (client CertificateOrdersClient) RenewCertificateOrderResponder(resp *http.Response) (result SetObject, err error)

RenewCertificateOrderResponder handles the response to the RenewCertificateOrder request. The method always closes the http.Response Body.

func (CertificateOrdersClient) RenewCertificateOrderSender Uses

func (client CertificateOrdersClient) RenewCertificateOrderSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) ResendCertificateEmail Uses

func (client CertificateOrdersClient) ResendCertificateEmail(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)

ResendCertificateEmail sends the resend certificate email request. Parameters: resourceGroupName - azure resource group name name - certificate order name

func (CertificateOrdersClient) ResendCertificateEmailPreparer Uses

func (client CertificateOrdersClient) ResendCertificateEmailPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

ResendCertificateEmailPreparer prepares the ResendCertificateEmail request.

func (CertificateOrdersClient) ResendCertificateEmailResponder Uses

func (client CertificateOrdersClient) ResendCertificateEmailResponder(resp *http.Response) (result SetObject, err error)

ResendCertificateEmailResponder handles the response to the ResendCertificateEmail request. The method always closes the http.Response Body.

func (CertificateOrdersClient) ResendCertificateEmailSender Uses

func (client CertificateOrdersClient) ResendCertificateEmailSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) RetrieveCertificateActions Uses

func (client CertificateOrdersClient) RetrieveCertificateActions(ctx context.Context, resourceGroupName string, name string) (result ListCertificateOrderAction, err error)

RetrieveCertificateActions sends the retrieve certificate actions request. Parameters: resourceGroupName - azure resource group name name - certificate order name

func (CertificateOrdersClient) RetrieveCertificateActionsPreparer Uses

func (client CertificateOrdersClient) RetrieveCertificateActionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

RetrieveCertificateActionsPreparer prepares the RetrieveCertificateActions request.

func (CertificateOrdersClient) RetrieveCertificateActionsResponder Uses

func (client CertificateOrdersClient) RetrieveCertificateActionsResponder(resp *http.Response) (result ListCertificateOrderAction, err error)

RetrieveCertificateActionsResponder handles the response to the RetrieveCertificateActions request. The method always closes the http.Response Body.

func (CertificateOrdersClient) RetrieveCertificateActionsSender Uses

func (client CertificateOrdersClient) RetrieveCertificateActionsSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) RetrieveCertificateEmailHistory Uses

func (client CertificateOrdersClient) RetrieveCertificateEmailHistory(ctx context.Context, resourceGroupName string, name string) (result ListCertificateEmail, err error)

RetrieveCertificateEmailHistory sends the retrieve certificate email history request. Parameters: resourceGroupName - azure resource group name name - certificate order name

func (CertificateOrdersClient) RetrieveCertificateEmailHistoryPreparer Uses

func (client CertificateOrdersClient) RetrieveCertificateEmailHistoryPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

RetrieveCertificateEmailHistoryPreparer prepares the RetrieveCertificateEmailHistory request.

func (CertificateOrdersClient) RetrieveCertificateEmailHistoryResponder Uses

func (client CertificateOrdersClient) RetrieveCertificateEmailHistoryResponder(resp *http.Response) (result ListCertificateEmail, err error)

RetrieveCertificateEmailHistoryResponder handles the response to the RetrieveCertificateEmailHistory request. The method always closes the http.Response Body.

func (CertificateOrdersClient) RetrieveCertificateEmailHistorySender Uses

func (client CertificateOrdersClient) RetrieveCertificateEmailHistorySender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) UpdateCertificate Uses

func (client CertificateOrdersClient) UpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificateOrderCertificate) (result CertificateOrderCertificate, err error)

UpdateCertificate sends the update certificate request. Parameters: resourceGroupName - azure resource group name certificateOrderName - certificate name name - certificate name keyVaultCertificate - key Vault secret csm Id

func (CertificateOrdersClient) UpdateCertificateOrder Uses

func (client CertificateOrdersClient) UpdateCertificateOrder(ctx context.Context, resourceGroupName string, name string, certificateDistinguishedName CertificateOrder) (result CertificateOrder, err error)

UpdateCertificateOrder sends the update certificate order request. Parameters: resourceGroupName - azure resource group name name - certificate name certificateDistinguishedName - distinguished name to be used for purchasing certificate

func (CertificateOrdersClient) UpdateCertificateOrderPreparer Uses

func (client CertificateOrdersClient) UpdateCertificateOrderPreparer(ctx context.Context, resourceGroupName string, name string, certificateDistinguishedName CertificateOrder) (*http.Request, error)

UpdateCertificateOrderPreparer prepares the UpdateCertificateOrder request.

func (CertificateOrdersClient) UpdateCertificateOrderResponder Uses

func (client CertificateOrdersClient) UpdateCertificateOrderResponder(resp *http.Response) (result CertificateOrder, err error)

UpdateCertificateOrderResponder handles the response to the UpdateCertificateOrder request. The method always closes the http.Response Body.

func (CertificateOrdersClient) UpdateCertificateOrderSender Uses

func (client CertificateOrdersClient) UpdateCertificateOrderSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) UpdateCertificatePreparer Uses

func (client CertificateOrdersClient) UpdateCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificateOrderCertificate) (*http.Request, error)

UpdateCertificatePreparer prepares the UpdateCertificate request.

func (CertificateOrdersClient) UpdateCertificateResponder Uses

func (client CertificateOrdersClient) UpdateCertificateResponder(resp *http.Response) (result CertificateOrderCertificate, err error)

UpdateCertificateResponder handles the response to the UpdateCertificate request. The method always closes the http.Response Body.

func (CertificateOrdersClient) UpdateCertificateSender Uses

func (client CertificateOrdersClient) UpdateCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificateOrdersClient) VerifyDomainOwnership Uses

func (client CertificateOrdersClient) VerifyDomainOwnership(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)

VerifyDomainOwnership sends the verify domain ownership request. Parameters: resourceGroupName - azure resource group name name - certificate order name

func (CertificateOrdersClient) VerifyDomainOwnershipPreparer Uses

func (client CertificateOrdersClient) VerifyDomainOwnershipPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

VerifyDomainOwnershipPreparer prepares the VerifyDomainOwnership request.

func (CertificateOrdersClient) VerifyDomainOwnershipResponder Uses

func (client CertificateOrdersClient) VerifyDomainOwnershipResponder(resp *http.Response) (result SetObject, err error)

VerifyDomainOwnershipResponder handles the response to the VerifyDomainOwnership request. The method always closes the http.Response Body.

func (CertificateOrdersClient) VerifyDomainOwnershipSender Uses

func (client CertificateOrdersClient) VerifyDomainOwnershipSender(req *http.Request) (*http.Response, error)

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

type CertificateProductType Uses

type CertificateProductType string

CertificateProductType enumerates the values for certificate product type.

const (
    // StandardDomainValidatedSsl ...
    StandardDomainValidatedSsl CertificateProductType = "StandardDomainValidatedSsl"
    // StandardDomainValidatedWildCardSsl ...
    StandardDomainValidatedWildCardSsl CertificateProductType = "StandardDomainValidatedWildCardSsl"
)

func PossibleCertificateProductTypeValues Uses

func PossibleCertificateProductTypeValues() []CertificateProductType

PossibleCertificateProductTypeValues returns an array of possible values for the CertificateProductType const type.

type CertificateProperties Uses

type CertificateProperties struct {
    // FriendlyName - Friendly name of the certificate
    FriendlyName *string `json:"friendlyName,omitempty"`
    // SubjectName - Subject name of the certificate
    SubjectName *string `json:"subjectName,omitempty"`
    // HostNames - Host names the certificate applies to
    HostNames *[]string `json:"hostNames,omitempty"`
    // PfxBlob - Pfx blob
    PfxBlob *string `json:"pfxBlob,omitempty"`
    // SiteName - App name
    SiteName *string `json:"siteName,omitempty"`
    // SelfLink - Self link
    SelfLink *string `json:"selfLink,omitempty"`
    // Issuer - Certificate issuer
    Issuer *string `json:"issuer,omitempty"`
    // IssueDate - Certificate issue Date
    IssueDate *date.Time `json:"issueDate,omitempty"`
    // ExpirationDate - Certificate expiration date
    ExpirationDate *date.Time `json:"expirationDate,omitempty"`
    // Password - Certificate password
    Password *string `json:"password,omitempty"`
    // Thumbprint - Certificate thumbprint
    Thumbprint *string `json:"thumbprint,omitempty"`
    // Valid - Is the certificate valid?
    Valid *bool `json:"valid,omitempty"`
    // CerBlob - Raw bytes of .cer file
    CerBlob *string `json:"cerBlob,omitempty"`
    // PublicKeyHash - Public key hash
    PublicKeyHash *string `json:"publicKeyHash,omitempty"`
    // HostingEnvironmentProfile - Specification for the hosting environment (App Service Environment) to use for the certificate
    HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
}

CertificateProperties ...

type CertificatesClient Uses

type CertificatesClient struct {
    BaseClient
}

CertificatesClient is the webSite Management Client

func NewCertificatesClient Uses

func NewCertificatesClient(subscriptionID string) CertificatesClient

NewCertificatesClient creates an instance of the CertificatesClient client.

func NewCertificatesClientWithBaseURI Uses

func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient

NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client.

func (CertificatesClient) CreateOrUpdateCertificate Uses

func (client CertificatesClient) CreateOrUpdateCertificate(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (result Certificate, err error)

CreateOrUpdateCertificate sends the create or update certificate request. Parameters: resourceGroupName - name of the resource group name - name of the certificate. certificateEnvelope - details of certificate if it exists already.

func (CertificatesClient) CreateOrUpdateCertificatePreparer Uses

func (client CertificatesClient) CreateOrUpdateCertificatePreparer(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (*http.Request, error)

CreateOrUpdateCertificatePreparer prepares the CreateOrUpdateCertificate request.

func (CertificatesClient) CreateOrUpdateCertificateResponder Uses

func (client CertificatesClient) CreateOrUpdateCertificateResponder(resp *http.Response) (result Certificate, err error)

CreateOrUpdateCertificateResponder handles the response to the CreateOrUpdateCertificate request. The method always closes the http.Response Body.

func (CertificatesClient) CreateOrUpdateCertificateSender Uses

func (client CertificatesClient) CreateOrUpdateCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) CreateOrUpdateCsr Uses

func (client CertificatesClient) CreateOrUpdateCsr(ctx context.Context, resourceGroupName string, name string, csrEnvelope Csr) (result Csr, err error)

CreateOrUpdateCsr sends the create or update csr request. Parameters: resourceGroupName - name of the resource group name - name of the certificate. csrEnvelope - details of certificate signing request if it exists already.

func (CertificatesClient) CreateOrUpdateCsrPreparer Uses

func (client CertificatesClient) CreateOrUpdateCsrPreparer(ctx context.Context, resourceGroupName string, name string, csrEnvelope Csr) (*http.Request, error)

CreateOrUpdateCsrPreparer prepares the CreateOrUpdateCsr request.

func (CertificatesClient) CreateOrUpdateCsrResponder Uses

func (client CertificatesClient) CreateOrUpdateCsrResponder(resp *http.Response) (result Csr, err error)

CreateOrUpdateCsrResponder handles the response to the CreateOrUpdateCsr request. The method always closes the http.Response Body.

func (CertificatesClient) CreateOrUpdateCsrSender Uses

func (client CertificatesClient) CreateOrUpdateCsrSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) DeleteCertificate Uses

func (client CertificatesClient) DeleteCertificate(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)

DeleteCertificate sends the delete certificate request. Parameters: resourceGroupName - name of the resource group name - name of the certificate to be deleted.

func (CertificatesClient) DeleteCertificatePreparer Uses

func (client CertificatesClient) DeleteCertificatePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeleteCertificatePreparer prepares the DeleteCertificate request.

func (CertificatesClient) DeleteCertificateResponder Uses

func (client CertificatesClient) DeleteCertificateResponder(resp *http.Response) (result SetObject, err error)

DeleteCertificateResponder handles the response to the DeleteCertificate request. The method always closes the http.Response Body.

func (CertificatesClient) DeleteCertificateSender Uses

func (client CertificatesClient) DeleteCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) DeleteCsr Uses

func (client CertificatesClient) DeleteCsr(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)

DeleteCsr sends the delete csr request. Parameters: resourceGroupName - name of the resource group name - name of the certificate signing request.

func (CertificatesClient) DeleteCsrPreparer Uses

func (client CertificatesClient) DeleteCsrPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeleteCsrPreparer prepares the DeleteCsr request.

func (CertificatesClient) DeleteCsrResponder Uses

func (client CertificatesClient) DeleteCsrResponder(resp *http.Response) (result SetObject, err error)

DeleteCsrResponder handles the response to the DeleteCsr request. The method always closes the http.Response Body.

func (CertificatesClient) DeleteCsrSender Uses

func (client CertificatesClient) DeleteCsrSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) GetCertificate Uses

func (client CertificatesClient) GetCertificate(ctx context.Context, resourceGroupName string, name string) (result Certificate, err error)

GetCertificate sends the get certificate request. Parameters: resourceGroupName - name of the resource group name - name of the certificate.

func (CertificatesClient) GetCertificatePreparer Uses

func (client CertificatesClient) GetCertificatePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

GetCertificatePreparer prepares the GetCertificate request.

func (CertificatesClient) GetCertificateResponder Uses

func (client CertificatesClient) GetCertificateResponder(resp *http.Response) (result Certificate, err error)

GetCertificateResponder handles the response to the GetCertificate request. The method always closes the http.Response Body.

func (CertificatesClient) GetCertificateSender Uses

func (client CertificatesClient) GetCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) GetCertificates Uses

func (client CertificatesClient) GetCertificates(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error)

GetCertificates sends the get certificates request. Parameters: resourceGroupName - name of the resource group

func (CertificatesClient) GetCertificatesComplete Uses

func (client CertificatesClient) GetCertificatesComplete(ctx context.Context, resourceGroupName string) (result CertificateCollectionIterator, err error)

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

func (CertificatesClient) GetCertificatesPreparer Uses

func (client CertificatesClient) GetCertificatesPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

GetCertificatesPreparer prepares the GetCertificates request.

func (CertificatesClient) GetCertificatesResponder Uses

func (client CertificatesClient) GetCertificatesResponder(resp *http.Response) (result CertificateCollection, err error)

GetCertificatesResponder handles the response to the GetCertificates request. The method always closes the http.Response Body.

func (CertificatesClient) GetCertificatesSender Uses

func (client CertificatesClient) GetCertificatesSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) GetCsr Uses

func (client CertificatesClient) GetCsr(ctx context.Context, resourceGroupName string, name string) (result Csr, err error)

GetCsr sends the get csr request. Parameters: resourceGroupName - name of the resource group name - name of the certificate.

func (CertificatesClient) GetCsrPreparer Uses

func (client CertificatesClient) GetCsrPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

GetCsrPreparer prepares the GetCsr request.

func (CertificatesClient) GetCsrResponder Uses

func (client CertificatesClient) GetCsrResponder(resp *http.Response) (result Csr, err error)

GetCsrResponder handles the response to the GetCsr request. The method always closes the http.Response Body.

func (CertificatesClient) GetCsrSender Uses

func (client CertificatesClient) GetCsrSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) GetCsrs Uses

func (client CertificatesClient) GetCsrs(ctx context.Context, resourceGroupName string) (result ListCsr, err error)

GetCsrs sends the get csrs request. Parameters: resourceGroupName - name of the resource group

func (CertificatesClient) GetCsrsPreparer Uses

func (client CertificatesClient) GetCsrsPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

GetCsrsPreparer prepares the GetCsrs request.

func (CertificatesClient) GetCsrsResponder Uses

func (client CertificatesClient) GetCsrsResponder(resp *http.Response) (result ListCsr, err error)

GetCsrsResponder handles the response to the GetCsrs request. The method always closes the http.Response Body.

func (CertificatesClient) GetCsrsSender Uses

func (client CertificatesClient) GetCsrsSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) UpdateCertificate Uses

func (client CertificatesClient) UpdateCertificate(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (result Certificate, err error)

UpdateCertificate sends the update certificate request. Parameters: resourceGroupName - name of the resource group name - name of the certificate. certificateEnvelope - details of certificate if it exists already.

func (CertificatesClient) UpdateCertificatePreparer Uses

func (client CertificatesClient) UpdateCertificatePreparer(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (*http.Request, error)

UpdateCertificatePreparer prepares the UpdateCertificate request.

func (CertificatesClient) UpdateCertificateResponder Uses

func (client CertificatesClient) UpdateCertificateResponder(resp *http.Response) (result Certificate, err error)

UpdateCertificateResponder handles the response to the UpdateCertificate request. The method always closes the http.Response Body.

func (CertificatesClient) UpdateCertificateSender Uses

func (client CertificatesClient) UpdateCertificateSender(req *http.Request) (*http.Response, error)

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

func (CertificatesClient) UpdateCsr Uses

func (client CertificatesClient) UpdateCsr(ctx context.Context, resourceGroupName string, name string, csrEnvelope Csr) (result Csr, err error)

UpdateCsr sends the update csr request. Parameters: resourceGroupName - name of the resource group name - name of the certificate. csrEnvelope - details of certificate signing request if it exists already.

func (CertificatesClient) UpdateCsrPreparer Uses

func (client CertificatesClient) UpdateCsrPreparer(ctx context.Context, resourceGroupName string, name string, csrEnvelope Csr) (*http.Request, error)

UpdateCsrPreparer prepares the UpdateCsr request.

func (CertificatesClient) UpdateCsrResponder Uses

func (client CertificatesClient) UpdateCsrResponder(resp *http.Response) (result Csr, err error)

UpdateCsrResponder handles the response to the UpdateCsr request. The method always closes the http.Response Body.

func (CertificatesClient) UpdateCsrSender Uses

func (client CertificatesClient) UpdateCsrSender(req *http.Request) (*http.Response, error)

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

type Channels Uses

type Channels string

Channels enumerates the values for channels.

const (
    // All ...
    All Channels = "All"
    // API ...
    API Channels = "Api"
    // Email ...
    Email Channels = "Email"
    // Notification ...
    Notification Channels = "Notification"
)

func PossibleChannelsValues Uses

func PossibleChannelsValues() []Channels

PossibleChannelsValues returns an array of possible values for the Channels const type.

type ClassicMobileService Uses

type ClassicMobileService struct {
    autorest.Response               `json:"-"`
    *ClassicMobileServiceProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ClassicMobileService a mobile service

func (ClassicMobileService) MarshalJSON Uses

func (cms ClassicMobileService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClassicMobileService.

func (*ClassicMobileService) UnmarshalJSON Uses

func (cms *ClassicMobileService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClassicMobileService struct.

type ClassicMobileServiceCollection Uses

type ClassicMobileServiceCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]ClassicMobileService `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

ClassicMobileServiceCollection collection of Classic Mobile Services

func (ClassicMobileServiceCollection) IsEmpty Uses

func (cmsc ClassicMobileServiceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClassicMobileServiceCollectionIterator Uses

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

ClassicMobileServiceCollectionIterator provides access to a complete listing of ClassicMobileService values.

func NewClassicMobileServiceCollectionIterator Uses

func NewClassicMobileServiceCollectionIterator(page ClassicMobileServiceCollectionPage) ClassicMobileServiceCollectionIterator

Creates a new instance of the ClassicMobileServiceCollectionIterator type.

func (*ClassicMobileServiceCollectionIterator) Next Uses

func (iter *ClassicMobileServiceCollectionIterator) Next() error

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

func (*ClassicMobileServiceCollectionIterator) NextWithContext Uses

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

func (iter ClassicMobileServiceCollectionIterator) NotDone() bool

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

func (ClassicMobileServiceCollectionIterator) Response Uses

func (iter ClassicMobileServiceCollectionIterator) Response() ClassicMobileServiceCollection

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

func (ClassicMobileServiceCollectionIterator) Value Uses

func (iter ClassicMobileServiceCollectionIterator) Value() ClassicMobileService

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

type ClassicMobileServiceCollectionPage Uses

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

ClassicMobileServiceCollectionPage contains a page of ClassicMobileService values.

func NewClassicMobileServiceCollectionPage Uses

func NewClassicMobileServiceCollectionPage(getNextPage func(context.Context, ClassicMobileServiceCollection) (ClassicMobileServiceCollection, error)) ClassicMobileServiceCollectionPage

Creates a new instance of the ClassicMobileServiceCollectionPage type.

func (*ClassicMobileServiceCollectionPage) Next Uses

func (page *ClassicMobileServiceCollectionPage) 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 (*ClassicMobileServiceCollectionPage) NextWithContext Uses

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

func (page ClassicMobileServiceCollectionPage) NotDone() bool

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

func (ClassicMobileServiceCollectionPage) Response Uses

func (page ClassicMobileServiceCollectionPage) Response() ClassicMobileServiceCollection

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

func (ClassicMobileServiceCollectionPage) Values Uses

func (page ClassicMobileServiceCollectionPage) Values() []ClassicMobileService

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

type ClassicMobileServiceProperties Uses

type ClassicMobileServiceProperties struct {
    // Name - Name of the mobile service
    Name *string `json:"name,omitempty"`
}

ClassicMobileServiceProperties ...

type ClassicMobileServicesClient Uses

type ClassicMobileServicesClient struct {
    BaseClient
}

ClassicMobileServicesClient is the webSite Management Client

func NewClassicMobileServicesClient Uses

func NewClassicMobileServicesClient(subscriptionID string) ClassicMobileServicesClient

NewClassicMobileServicesClient creates an instance of the ClassicMobileServicesClient client.

func NewClassicMobileServicesClientWithBaseURI Uses

func NewClassicMobileServicesClientWithBaseURI(baseURI string, subscriptionID string) ClassicMobileServicesClient

NewClassicMobileServicesClientWithBaseURI creates an instance of the ClassicMobileServicesClient client.

func (ClassicMobileServicesClient) DeleteClassicMobileService Uses

func (client ClassicMobileServicesClient) DeleteClassicMobileService(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)

DeleteClassicMobileService sends the delete classic mobile service request. Parameters: resourceGroupName - name of resource group name - name of mobile service

func (ClassicMobileServicesClient) DeleteClassicMobileServicePreparer Uses

func (client ClassicMobileServicesClient) DeleteClassicMobileServicePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeleteClassicMobileServicePreparer prepares the DeleteClassicMobileService request.

func (ClassicMobileServicesClient) DeleteClassicMobileServiceResponder Uses

func (client ClassicMobileServicesClient) DeleteClassicMobileServiceResponder(resp *http.Response) (result SetObject, err error)

DeleteClassicMobileServiceResponder handles the response to the DeleteClassicMobileService request. The method always closes the http.Response Body.

func (ClassicMobileServicesClient) DeleteClassicMobileServiceSender Uses

func (client ClassicMobileServicesClient) DeleteClassicMobileServiceSender(req *http.Request) (*http.Response, error)

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

func (ClassicMobileServicesClient) GetClassicMobileService Uses

func (client ClassicMobileServicesClient) GetClassicMobileService(ctx context.Context, resourceGroupName string, name string) (result ClassicMobileService, err error)

GetClassicMobileService sends the get classic mobile service request. Parameters: resourceGroupName - name of resource group name - name of mobile service

func (ClassicMobileServicesClient) GetClassicMobileServicePreparer Uses

func (client ClassicMobileServicesClient) GetClassicMobileServicePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

GetClassicMobileServicePreparer prepares the GetClassicMobileService request.

func (ClassicMobileServicesClient) GetClassicMobileServiceResponder Uses

func (client ClassicMobileServicesClient) GetClassicMobileServiceResponder(resp *http.Response) (result ClassicMobileService, err error)

GetClassicMobileServiceResponder handles the response to the GetClassicMobileService request. The method always closes the http.Response Body.

func (ClassicMobileServicesClient) GetClassicMobileServiceSender Uses

func (client ClassicMobileServicesClient) GetClassicMobileServiceSender(req *http.Request) (*http.Response, error)

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

func (ClassicMobileServicesClient) GetClassicMobileServices Uses

func (client ClassicMobileServicesClient) GetClassicMobileServices(ctx context.Context, resourceGroupName string) (result ClassicMobileServiceCollectionPage, err error)

GetClassicMobileServices sends the get classic mobile services request. Parameters: resourceGroupName - name of resource group

func (ClassicMobileServicesClient) GetClassicMobileServicesComplete Uses

func (client ClassicMobileServicesClient) GetClassicMobileServicesComplete(ctx context.Context, resourceGroupName string) (result ClassicMobileServiceCollectionIterator, err error)

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

func (ClassicMobileServicesClient) GetClassicMobileServicesPreparer Uses

func (client ClassicMobileServicesClient) GetClassicMobileServicesPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

GetClassicMobileServicesPreparer prepares the GetClassicMobileServices request.

func (ClassicMobileServicesClient) GetClassicMobileServicesResponder Uses

func (client ClassicMobileServicesClient) GetClassicMobileServicesResponder(resp *http.Response) (result ClassicMobileServiceCollection, err error)

GetClassicMobileServicesResponder handles the response to the GetClassicMobileServices request. The method always closes the http.Response Body.

func (ClassicMobileServicesClient) GetClassicMobileServicesSender Uses

func (client ClassicMobileServicesClient) GetClassicMobileServicesSender(req *http.Request) (*http.Response, error)

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

type CloneAbilityResult Uses

type CloneAbilityResult string

CloneAbilityResult enumerates the values for clone ability result.

const (
    // Cloneable ...
    Cloneable CloneAbilityResult = "Cloneable"
    // NotCloneable ...
    NotCloneable CloneAbilityResult = "NotCloneable"
    // PartiallyCloneable ...
    PartiallyCloneable CloneAbilityResult = "PartiallyCloneable"
)

func PossibleCloneAbilityResultValues Uses

func PossibleCloneAbilityResultValues() []CloneAbilityResult

PossibleCloneAbilityResultValues returns an array of possible values for the CloneAbilityResult const type.

type CloningInfo Uses

type CloningInfo struct {
    // CorrelationID - Correlation Id of cloning operation. This id ties multiple cloning operations
    //             together to use the same snapshot
    CorrelationID *string `json:"correlationId,omitempty"`
    // Overwrite - Overwrite destination web app
    Overwrite *bool `json:"overwrite,omitempty"`
    // CloneCustomHostNames - If true, clone custom hostnames from source web app
    CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"`
    // CloneSourceControl - Clone source control from source web app
    CloneSourceControl *bool `json:"cloneSourceControl,omitempty"`
    // SourceWebAppID - ARM resource id of the source web app. Web app resource id is of the form
    //             /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and
    //             /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots
    SourceWebAppID *string `json:"sourceWebAppId,omitempty"`
    // HostingEnvironment - Hosting environment
    HostingEnvironment *string `json:"hostingEnvironment,omitempty"`
    // AppSettingsOverrides - Application settings overrides for cloned web app. If specified these settings will override the settings cloned
    //             from source web app. If not specified, application settings from source web app are retained.
    AppSettingsOverrides map[string]*string `json:"appSettingsOverrides"`
    // ConfigureLoadBalancing - If specified configure load balancing for source and clone site
    ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"`
    // TrafficManagerProfileID - ARM resource id of the traffic manager profile to use if it exists. Traffic manager resource id is of the form
    //             /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}
    TrafficManagerProfileID *string `json:"trafficManagerProfileId,omitempty"`
    // TrafficManagerProfileName - Name of traffic manager profile to create. This is only needed if traffic manager profile does not already exist
    TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"`
}

CloningInfo represents information needed for cloning operation

func (CloningInfo) MarshalJSON Uses

func (ci CloningInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloningInfo.

type ComputeModeOptions Uses

type ComputeModeOptions string

ComputeModeOptions enumerates the values for compute mode options.

const (
    // Dedicated ...
    Dedicated ComputeModeOptions = "Dedicated"
    // Dynamic ...
    Dynamic ComputeModeOptions = "Dynamic"
    // Shared ...
    Shared ComputeModeOptions = "Shared"
)

func PossibleComputeModeOptionsValues Uses

func PossibleComputeModeOptionsValues() []ComputeModeOptions

PossibleComputeModeOptionsValues returns an array of possible values for the ComputeModeOptions const type.

type ConfirmConsentCodeInput Uses

type ConfirmConsentCodeInput struct {
    *ConfirmConsentCodeInputProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ConfirmConsentCodeInput confirm Consent Code Input payload

func (ConfirmConsentCodeInput) MarshalJSON Uses

func (ccci ConfirmConsentCodeInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfirmConsentCodeInput.

func (*ConfirmConsentCodeInput) UnmarshalJSON Uses

func (ccci *ConfirmConsentCodeInput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConfirmConsentCodeInput struct.

type ConfirmConsentCodeInputProperties Uses

type ConfirmConsentCodeInputProperties struct {
    // PrincipalType - Principal type. Possible values include: 'PrincipalTypeActiveDirectory', 'PrincipalTypeConnection', 'PrincipalTypeMicrosoftAccount'
    PrincipalType PrincipalType `json:"principalType,omitempty"`
    // TenantID - Tenant Id
    TenantID *string `json:"tenantId,omitempty"`
    // ObjectID - AAD object ID. This is userId
    ObjectID *string `json:"objectId,omitempty"`
    // Code - Code that was returned during consent flow
    Code *string `json:"code,omitempty"`
}

ConfirmConsentCodeInputProperties ...

type ConnStringInfo Uses

type ConnStringInfo struct {
    // Name - Name of connection string
    Name *string `json:"name,omitempty"`
    // ConnectionString - Connection string value
    ConnectionString *string `json:"connectionString,omitempty"`
    // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom'
    Type DatabaseServerType `json:"type,omitempty"`
}

ConnStringInfo represents database connection string information

type ConnStringValueTypePair Uses

type ConnStringValueTypePair struct {
    // Value - Value of pair
    Value *string `json:"value,omitempty"`
    // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom'
    Type DatabaseServerType `json:"type,omitempty"`
}

ConnStringValueTypePair database connection string value to type pair

type Connection Uses

type Connection struct {
    autorest.Response     `json:"-"`
    *ConnectionProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

Connection API Connection

func (Connection) MarshalJSON Uses

func (c Connection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Connection.

func (*Connection) UnmarshalJSON Uses

func (c *Connection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Connection struct.

type ConnectionCollection Uses

type ConnectionCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]Connection `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

ConnectionCollection collection of connections

func (ConnectionCollection) IsEmpty Uses

func (cc ConnectionCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionCollectionIterator Uses

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

ConnectionCollectionIterator provides access to a complete listing of Connection values.

func NewConnectionCollectionIterator Uses

func NewConnectionCollectionIterator(page ConnectionCollectionPage) ConnectionCollectionIterator

Creates a new instance of the ConnectionCollectionIterator type.

func (*ConnectionCollectionIterator) Next Uses

func (iter *ConnectionCollectionIterator) Next() error

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

func (*ConnectionCollectionIterator) NextWithContext Uses

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

func (iter ConnectionCollectionIterator) NotDone() bool

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

func (ConnectionCollectionIterator) Response Uses

func (iter ConnectionCollectionIterator) Response() ConnectionCollection

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

func (ConnectionCollectionIterator) Value Uses

func (iter ConnectionCollectionIterator) Value() Connection

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

type ConnectionCollectionPage Uses

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

ConnectionCollectionPage contains a page of Connection values.

func NewConnectionCollectionPage Uses

func NewConnectionCollectionPage(getNextPage func(context.Context, ConnectionCollection) (ConnectionCollection, error)) ConnectionCollectionPage

Creates a new instance of the ConnectionCollectionPage type.

func (*ConnectionCollectionPage) Next Uses

func (page *ConnectionCollectionPage) 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 (*ConnectionCollectionPage) NextWithContext Uses

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

func (page ConnectionCollectionPage) NotDone() bool

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

func (ConnectionCollectionPage) Response Uses

func (page ConnectionCollectionPage) Response() ConnectionCollection

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

func (ConnectionCollectionPage) Values Uses

func (page ConnectionCollectionPage) Values() []Connection

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

type ConnectionError Uses

type ConnectionError struct {
    *ConnectionErrorProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ConnectionError connection error

func (ConnectionError) MarshalJSON Uses

func (ce ConnectionError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionError.

func (*ConnectionError) UnmarshalJSON Uses

func (ce *ConnectionError) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionError struct.

type ConnectionErrorProperties Uses

type ConnectionErrorProperties struct {
    // Code - code of the status
    Code *string `json:"code,omitempty"`
    // Message - Description of the status
    Message *string `json:"message,omitempty"`
}

ConnectionErrorProperties ...

type ConnectionParameter Uses

type ConnectionParameter struct {
    // Type - Type of the parameter. Possible values include: 'ConnectionParameterTypeString', 'ConnectionParameterTypeSecurestring', 'ConnectionParameterTypeSecureobject', 'ConnectionParameterTypeInt', 'ConnectionParameterTypeBool', 'ConnectionParameterTypeObject', 'ConnectionParameterTypeArray', 'ConnectionParameterTypeOauthSetting', 'ConnectionParameterTypeConnection'
    Type ConnectionParameterType `json:"type,omitempty"`
    // DefaultValue - Default parameter value
    DefaultValue interface{} `json:"defaultValue,omitempty"`
    // OAuthSettings - Settings defining OAuth flow for the back end provider
    OAuthSettings *APIOAuthSettings `json:"oAuthSettings,omitempty"`
    // UIDefinition - UI definitions
    UIDefinition interface{} `json:"uiDefinition,omitempty"`
}

ConnectionParameter connection provider parameters

type ConnectionParameterType Uses

type ConnectionParameterType string

ConnectionParameterType enumerates the values for connection parameter type.

const (
    // ConnectionParameterTypeArray ...
    ConnectionParameterTypeArray ConnectionParameterType = "array"
    // ConnectionParameterTypeBool ...
    ConnectionParameterTypeBool ConnectionParameterType = "bool"
    // ConnectionParameterTypeConnection ...
    ConnectionParameterTypeConnection ConnectionParameterType = "connection"
    // ConnectionParameterTypeInt ...
    ConnectionParameterTypeInt ConnectionParameterType = "int"
    // ConnectionParameterTypeOauthSetting ...
    ConnectionParameterTypeOauthSetting ConnectionParameterType = "oauthSetting"
    // ConnectionParameterTypeObject ...
    ConnectionParameterTypeObject ConnectionParameterType = "object"
    // ConnectionParameterTypeSecureobject ...
    ConnectionParameterTypeSecureobject ConnectionParameterType = "secureobject"
    // ConnectionParameterTypeSecurestring ...
    ConnectionParameterTypeSecurestring ConnectionParameterType = "securestring"
    // ConnectionParameterTypeString ...
    ConnectionParameterTypeString ConnectionParameterType = "string"
)

func PossibleConnectionParameterTypeValues Uses

func PossibleConnectionParameterTypeValues() []ConnectionParameterType

PossibleConnectionParameterTypeValues returns an array of possible values for the ConnectionParameterType const type.

type ConnectionProperties Uses

type ConnectionProperties struct {
    // Name - connection name
    Name *string `json:"name,omitempty"`
    // DisplayName - display name
    DisplayName *string `json:"displayName,omitempty"`
    // Statuses - Status of the connection
    Statuses *[]ConnectionStatus `json:"statuses,omitempty"`
    // CustomParameterValues - Custom login setting values.
    CustomParameterValues map[string]*ParameterCustomLoginSettingValues `json:"customParameterValues"`
    TenantID              *string                                       `json:"tenantId,omitempty"`
    // ParameterValues - Tokens/Claim
    ParameterValues map[string]interface{} `json:"parameterValues"`
    // NonSecretParameterValues - Tokens/Claim
    NonSecretParameterValues map[string]interface{} `json:"nonSecretParameterValues"`
    Metadata                 interface{}            `json:"metadata,omitempty"`
    // FirstExpirationTime - Time in UTC when the first expiration of OAuth tokens
    FirstExpirationTime *date.Time `json:"firstExpirationTime,omitempty"`
    // Keywords - List of Keywords that tag the acl
    Keywords *[]string `json:"keywords,omitempty"`
    // CreatedTime - Timestamp of the connection creation
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // ChangedTime - Timestamp of last connection change.
    ChangedTime *date.Time `json:"changedTime,omitempty"`
    // API - expanded connection provider name
    API *ExpandedParentAPIEntity `json:"api,omitempty"`
}

ConnectionProperties ...

func (ConnectionProperties) MarshalJSON Uses

func (c ConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionProperties.

type ConnectionSecrets Uses

type ConnectionSecrets struct {
    autorest.Response `json:"-"`
    // ParameterValues - Tokens/Claim
    ParameterValues map[string]interface{} `json:"parameterValues"`
    // ConnectionKey - Connection Key
    ConnectionKey *string `json:"connectionKey,omitempty"`
}

ConnectionSecrets ...

func (ConnectionSecrets) MarshalJSON Uses

func (cs ConnectionSecrets) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionSecrets.

type ConnectionStatus Uses

type ConnectionStatus struct {
    *ConnectionStatusProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ConnectionStatus connection status

func (ConnectionStatus) MarshalJSON Uses

func (cs ConnectionStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionStatus.

func (*ConnectionStatus) UnmarshalJSON Uses

func (cs *ConnectionStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionStatus struct.

type ConnectionStatusProperties Uses

type ConnectionStatusProperties struct {
    // Status - Status
    Status *string `json:"status,omitempty"`
    // Target - Target of the error
    Target *string `json:"target,omitempty"`
    // Error - Error details
    Error *ConnectionError `json:"error,omitempty"`
}

ConnectionStatusProperties ...

type ConnectionStringDictionary Uses

type ConnectionStringDictionary struct {
    autorest.Response `json:"-"`
    // Properties - Connection strings
    Properties map[string]*ConnStringValueTypePair `json:"properties"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ConnectionStringDictionary string dictionary resource

func (ConnectionStringDictionary) MarshalJSON Uses

func (csd ConnectionStringDictionary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionStringDictionary.

type ConnectionsClient Uses

type ConnectionsClient struct {
    BaseClient
}

ConnectionsClient is the webSite Management Client

func NewConnectionsClient Uses

func NewConnectionsClient(subscriptionID string) ConnectionsClient

NewConnectionsClient creates an instance of the ConnectionsClient client.

func NewConnectionsClientWithBaseURI Uses

func NewConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ConnectionsClient

NewConnectionsClientWithBaseURI creates an instance of the ConnectionsClient client.

func (ConnectionsClient) ConfirmConsentCode Uses

func (client ConnectionsClient) ConfirmConsentCode(ctx context.Context, resourceGroupName string, connectionName string, content ConfirmConsentCodeInput) (result Connection, err error)

ConfirmConsentCode confirms consent code of a connection. Parameters: resourceGroupName - the resource group name. connectionName - the connection name. content - the content.

func (ConnectionsClient) ConfirmConsentCodePreparer Uses

func (client ConnectionsClient) ConfirmConsentCodePreparer(ctx context.Context, resourceGroupName string, connectionName string, content ConfirmConsentCodeInput) (*http.Request, error)

ConfirmConsentCodePreparer prepares the ConfirmConsentCode request.

func (ConnectionsClient) ConfirmConsentCodeResponder Uses

func (client ConnectionsClient) ConfirmConsentCodeResponder(resp *http.Response) (result Connection, err error)

ConfirmConsentCodeResponder handles the response to the ConfirmConsentCode request. The method always closes the http.Response Body.

func (ConnectionsClient) ConfirmConsentCodeSender Uses

func (client ConnectionsClient) ConfirmConsentCodeSender(req *http.Request) (*http.Response, error)

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

func (ConnectionsClient) CreateOrUpdate Uses

func (client ConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, connectionName string, connection Connection) (result Connection, err error)

CreateOrUpdate creates or updates a connection. Parameters: resourceGroupName - the resource group name. connectionName - the connection name. connection - the connection.

func (ConnectionsClient) CreateOrUpdatePreparer Uses

func (client ConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, connectionName string, connection Connection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectionsClient) CreateOrUpdateResponder Uses

func (client ConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result Connection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConnectionsClient) CreateOrUpdateSender Uses

func (client ConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ConnectionsClient) Delete Uses

func (client ConnectionsClient) Delete(ctx context.Context, resourceGroupName string, connectionName string) (result autorest.Response, err error)

Delete deletes a connection. Parameters: resourceGroupName - the resource group name. connectionName - the connection name.

func (ConnectionsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ConnectionsClient) DeleteResponder Uses

func (client ConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

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

func (ConnectionsClient) DeleteSender Uses

func (client ConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ConnectionsClient) Get Uses

func (client ConnectionsClient) Get(ctx context.Context, resourceGroupName string, connectionName string) (result Connection, err error)

Get gets a connection. Parameters: resourceGroupName - the resource group name. connectionName - the connection name.

func (ConnectionsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ConnectionsClient) GetResponder Uses

func (client ConnectionsClient) GetResponder(resp *http.Response) (result Connection, err error)

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

func (ConnectionsClient) GetSender Uses

func (client ConnectionsClient) 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 (ConnectionsClient) List Uses

func (client ConnectionsClient) List(ctx context.Context, resourceGroupName string, top *int32, filter string) (result ConnectionCollectionPage, err error)

List gets a list of connections. Parameters: resourceGroupName - resource Group Name top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (ConnectionsClient) ListComplete Uses

func (client ConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, top *int32, filter string) (result ConnectionCollectionIterator, err error)

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

func (ConnectionsClient) ListConnectionKeys Uses

func (client ConnectionsClient) ListConnectionKeys(ctx context.Context, resourceGroupName string, connectionName string, content ListConnectionKeysInput) (result ConnectionSecrets, err error)

ListConnectionKeys lists connection keys. Parameters: resourceGroupName - the resource group name. connectionName - the connection name. content - the content.

func (ConnectionsClient) ListConnectionKeysPreparer Uses

func (client ConnectionsClient) ListConnectionKeysPreparer(ctx context.Context, resourceGroupName string, connectionName string, content ListConnectionKeysInput) (*http.Request, error)

ListConnectionKeysPreparer prepares the ListConnectionKeys request.

func (ConnectionsClient) ListConnectionKeysResponder Uses

func (client ConnectionsClient) ListConnectionKeysResponder(resp *http.Response) (result ConnectionSecrets, err error)

ListConnectionKeysResponder handles the response to the ListConnectionKeys request. The method always closes the http.Response Body.

func (ConnectionsClient) ListConnectionKeysSender Uses

func (client ConnectionsClient) ListConnectionKeysSender(req *http.Request) (*http.Response, error)

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

func (client ConnectionsClient) ListConsentLinks(ctx context.Context, resourceGroupName string, connectionName string, content ConsentLinkInput) (result ConsentLinkPayload, err error)

ListConsentLinks lists consent links of a connection. Parameters: resourceGroupName - the resource group name. connectionName - the connection name. content - the content.

func (ConnectionsClient) ListConsentLinksPreparer Uses

func (client ConnectionsClient) ListConsentLinksPreparer(ctx context.Context, resourceGroupName string, connectionName string, content ConsentLinkInput) (*http.Request, error)

ListConsentLinksPreparer prepares the ListConsentLinks request.

func (ConnectionsClient) ListConsentLinksResponder Uses

func (client ConnectionsClient) ListConsentLinksResponder(resp *http.Response) (result ConsentLinkPayload, err error)

ListConsentLinksResponder handles the response to the ListConsentLinks request. The method always closes the http.Response Body.

func (ConnectionsClient) ListConsentLinksSender Uses

func (client ConnectionsClient) ListConsentLinksSender(req *http.Request) (*http.Response, error)

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

func (ConnectionsClient) ListPreparer Uses

func (client ConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectionsClient) ListResponder Uses

func (client ConnectionsClient) ListResponder(resp *http.Response) (result ConnectionCollection, err error)

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

func (ConnectionsClient) ListSender Uses

func (client ConnectionsClient) 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 ConsentLink struct {
    // Link - Uri for the consent link
    Link *string `json:"link,omitempty"`
    // FirstPartyLoginURI - Uri for first party login
    FirstPartyLoginURI *string `json:"firstPartyLoginUri,omitempty"`
    // DisplayName - Display Name of the parameter in the connection provider's oauthSettings
    DisplayName *string `json:"displayName,omitempty"`
    // Status - Status of the link. Possible values include: 'Unauthenticated', 'Authenticated', 'Error'
    Status LinkState `json:"status,omitempty"`
}

ConsentLink ...

type ConsentLinkInput Uses

type ConsentLinkInput struct {
    *ConsentLinkInputProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ConsentLinkInput connection Consent Link payload

func (ConsentLinkInput) MarshalJSON Uses

func (cli ConsentLinkInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConsentLinkInput.

func (*ConsentLinkInput) UnmarshalJSON Uses

func (cli *ConsentLinkInput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConsentLinkInput struct.

type ConsentLinkInputParameter Uses

type ConsentLinkInputParameter struct {
    // PrincipalType - Principal type. Possible values include: 'PrincipalTypeActiveDirectory', 'PrincipalTypeConnection', 'PrincipalTypeMicrosoftAccount'
    PrincipalType PrincipalType `json:"principalType,omitempty"`
    // TenantID - Tenant Id
    TenantID *string `json:"tenantId,omitempty"`
    // ObjectID - AAD OID (user or group) if the principal type is ActiveDirectory.
    //             MSA PUID if the principal type is MicrosoftAccount.
    ObjectID *string `json:"objectId,omitempty"`
    // ParameterName - Name of the parameter in the connection provider's oauthSettings
    ParameterName *string `json:"parameterName,omitempty"`
    // RedirectURL - Name of the parameter in the connection provider's oauthSettings
    RedirectURL *string `json:"redirectUrl,omitempty"`
}

ConsentLinkInputParameter ...

type ConsentLinkInputProperties Uses

type ConsentLinkInputProperties struct {
    // Parameters - Array of links
    Parameters *[]ConsentLinkInputParameter `json:"parameters,omitempty"`
}

ConsentLinkInputProperties ...

type ConsentLinkPayload Uses

type ConsentLinkPayload struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]ConsentLink `json:"value,omitempty"`
}

ConsentLinkPayload collection of consent links

type Contact Uses

type Contact struct {
    // AddressMailing - Mailing address
    AddressMailing *Address `json:"addressMailing,omitempty"`
    // Email - Email address
    Email *string `json:"email,omitempty"`
    // Fax - Fax number
    Fax *string `json:"fax,omitempty"`
    // JobTitle - Job title
    JobTitle *string `json:"jobTitle,omitempty"`
    // NameFirst - First name
    NameFirst *string `json:"nameFirst,omitempty"`
    // NameLast - Last name
    NameLast *string `json:"nameLast,omitempty"`
    // NameMiddle - Middle name
    NameMiddle *string `json:"nameMiddle,omitempty"`
    // Organization - Organization
    Organization *string `json:"organization,omitempty"`
    // Phone - Phone number
    Phone *string `json:"phone,omitempty"`
}

Contact contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information will be made publicly available through the Whois directories as per ICANN requirements.

type CorsSettings Uses

type CorsSettings struct {
    // AllowedOrigins - Gets or sets the list of origins that should be allowed to make cross-origin
    //             calls (for example: http://example.com:12345). Use "*" to allow all.
    AllowedOrigins *[]string `json:"allowedOrigins,omitempty"`
}

CorsSettings cross-Origin Resource Sharing (CORS) settings for the web app.

type CsmMoveResourceEnvelope Uses

type CsmMoveResourceEnvelope struct {
    TargetResourceGroup *string   `json:"targetResourceGroup,omitempty"`
    Resources           *[]string `json:"resources,omitempty"`
}

CsmMoveResourceEnvelope class containing a list of the resources that need to be moved and the resource group they should be moved to

type CsmPublishingProfileOptions Uses

type CsmPublishingProfileOptions struct {
    // Format - Name of the format. Valid values are:
    //             FileZilla3
    //             WebDeploy -- default
    //             Ftp
    Format *string `json:"format,omitempty"`
}

CsmPublishingProfileOptions publishing options for requested profile

type CsmSiteRecoveryEntity Uses

type CsmSiteRecoveryEntity struct {
    // SnapshotTime - Point in time in which the site recover should be attempted.
    SnapshotTime *date.Time `json:"snapshotTime,omitempty"`
    // RecoverConfig - If true, then the website's configuration will be reverted to its state at SnapshotTime
    RecoverConfig *bool `json:"recoverConfig,omitempty"`
    // SiteName - [Optional] Destination web app name into which web app should be recovered. This is case when new web app should be created instead.
    SiteName *string `json:"siteName,omitempty"`
    // SlotName - [Optional] Destination web app slot name into which web app should be recovered
    SlotName *string `json:"slotName,omitempty"`
}

CsmSiteRecoveryEntity class containing details about site recovery operation.

type CsmSlotEntity Uses

type CsmSlotEntity struct {
    // TargetSlot - Set the destination deployment slot during swap operation
    TargetSlot *string `json:"targetSlot,omitempty"`
    // PreserveVnet - Get or set the flag indicating it should preserve VNet to the slot during swap
    PreserveVnet *bool `json:"preserveVnet,omitempty"`
}

CsmSlotEntity class containing deployment slot parameters

type CsmUsageQuota Uses

type CsmUsageQuota struct {
    // Unit - Units of measurement for the quota resource
    Unit *string `json:"unit,omitempty"`
    // NextResetTime - Next reset time for the resource counter
    NextResetTime *date.Time `json:"nextResetTime,omitempty"`
    // CurrentValue - The current value of the resource counter
    CurrentValue *int64 `json:"currentValue,omitempty"`
    // Limit - The resource limit
    Limit *int64 `json:"limit,omitempty"`
    // Name - Quota name
    Name *LocalizableString `json:"name,omitempty"`
}

CsmUsageQuota usage of the quota resource

type CsmUsageQuotaCollection Uses

type CsmUsageQuotaCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of resources
    Value *[]CsmUsageQuota `json:"value,omitempty"`
    // NextLink - Link to next page of resources
    NextLink *string `json:"nextLink,omitempty"`
}

CsmUsageQuotaCollection collection of csm usage quotas

func (CsmUsageQuotaCollection) IsEmpty Uses

func (cuqc CsmUsageQuotaCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CsmUsageQuotaCollectionIterator Uses

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

CsmUsageQuotaCollectionIterator provides access to a complete listing of CsmUsageQuota values.

func NewCsmUsageQuotaCollectionIterator Uses

func NewCsmUsageQuotaCollectionIterator(page CsmUsageQuotaCollectionPage) CsmUsageQuotaCollectionIterator

Creates a new instance of the CsmUsageQuotaCollectionIterator type.

func (*CsmUsageQuotaCollectionIterator) Next Uses

func (iter *CsmUsageQuotaCollectionIterator) Next() error

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

func (*CsmUsageQuotaCollectionIterator) NextWithContext Uses

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

func (iter CsmUsageQuotaCollectionIterator) NotDone() bool

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

func (CsmUsageQuotaCollectionIterator) Response Uses

func (iter CsmUsageQuotaCollectionIterator) Response() CsmUsageQuotaCollection

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

func (CsmUsageQuotaCollectionIterator) Value Uses

func (iter CsmUsageQuotaCollectionIterator) Value() CsmUsageQuota

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

type CsmUsageQuotaCollectionPage Uses

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

CsmUsageQuotaCollectionPage contains a page of CsmUsageQuota values.

func NewCsmUsageQuotaCollectionPage Uses

func NewCsmUsageQuotaCollectionPage(getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage

Creates a new instance of the CsmUsageQuotaCollectionPage type.

func (*CsmUsageQuotaCollectionPage) Next Uses

func (page *CsmUsageQuotaCollectionPage) 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 (*CsmUsageQuotaCollectionPage) NextWithContext Uses

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

func (page CsmUsageQuotaCollectionPage) NotDone() bool

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

func (CsmUsageQuotaCollectionPage) Response Uses

func (page CsmUsageQuotaCollectionPage) Response() CsmUsageQuotaCollection

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

func (CsmUsageQuotaCollectionPage) Values Uses

func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota

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

type Csr Uses

type Csr struct {
    autorest.Response `json:"-"`
    *CsrProperties    `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

Csr certificate signing request object

func (Csr) MarshalJSON Uses

func (c Csr) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Csr.

func (*Csr) UnmarshalJSON Uses

func (c *Csr) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Csr struct.

type CsrProperties Uses

type CsrProperties struct {
    // Name - Name used to locate CSR object
    Name *string `json:"name,omitempty"`
    // DistinguishedName - Distinguished name of certificate to be created
    DistinguishedName *string `json:"distinguishedName,omitempty"`
    // CsrString - Actual CSR string created
    CsrString *string `json:"csrString,omitempty"`
    // PfxBlob - PFX certificate of created certificate
    PfxBlob *string `json:"pfxBlob,omitempty"`
    // Password - PFX password
    Password *string `json:"password,omitempty"`
    // PublicKeyHash - Hash of the certificates public key
    PublicKeyHash *string `json:"publicKeyHash,omitempty"`
    // HostingEnvironment - Hosting environment
    HostingEnvironment *string `json:"hostingEnvironment,omitempty"`
}

CsrProperties ...

type CustomHostNameDNSRecordType Uses

type CustomHostNameDNSRecordType string

CustomHostNameDNSRecordType enumerates the values for custom host name dns record type.

const (
    // A ...
    A   CustomHostNameDNSRecordType = "A"
    // CName ...
    CName CustomHostNameDNSRecordType = "CName"
)

func PossibleCustomHostNameDNSRecordTypeValues Uses

func PossibleCustomHostNameDNSRecordTypeValues() []CustomHostNameDNSRecordType

PossibleCustomHostNameDNSRecordTypeValues returns an array of possible values for the CustomHostNameDNSRecordType const type.

type CustomLoginSettingValue Uses

type CustomLoginSettingValue struct {
    *CustomLoginSettingValueProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource Name
    Name *string `json:"name,omitempty"`
    // Kind - Kind of resource
    Kind *string `json:"kind,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

CustomLoginSettingValue custom logging setting value

func (CustomLoginSettingValue) MarshalJSON Uses

func (clsv CustomLoginSettingValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomLoginSettingValue.

func (*CustomLoginSettingValue) UnmarshalJSON Uses

func (clsv *CustomLoginSettingValue) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomLoginSettingValue struct.

type CustomLoginSettingValueProperties Uses

type CustomLoginSettingValueProperties struct {
    // Option - Option selected for this custom login setting value
    Option *string `json:"option,omitempty"`
}

CustomLoginSettingValueProperties ...

type DatabaseBackupSetting Uses

type DatabaseBackupSetting struct {
    // DatabaseType - SqlAzure / MySql
    DatabaseType *string `json:"databaseType,omitempty"`
    Name         *string `json:"name,omitempty"`
    // ConnectionStringName - Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.
    //             This is used during restore with overwrite connection strings options.
    ConnectionStringName *string `json:"connectionStringName,omitempty"`
    // ConnectionString - Contains a connection string to a database which is being backed up/restored. If the restore should happen to a new database, the database name inside is the new one.
    ConnectionString *string `json:"connectionString,omitempty"`
}

DatabaseBackupSetting note: properties are serialized in JSON format and stored in DB. if new properties are added they might not be in the previous data rows so please handle nulls

type DatabaseServerType Uses

type DatabaseServerType string

DatabaseServerType enumerates the values for database server type.

const (
    // Custom ...
    Custom DatabaseServerType = "Custom"
    // MySQL ...
    MySQL DatabaseServerType = "MySql"
    // SQLAzure ...
    SQLAzure DatabaseServerType = "SQLAzure"
    // SQLServer ...
    SQLServer DatabaseServerType = "SQLServer"
)

func PossibleDatabaseServerTypeValues Uses

func Possibl