const ( // DefaultBaseURI is the default URI used for the service Web DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
APIDefinitionInfo information about the formal API definition for the app.
type APIDefinitionInfo struct { // URL - The URL of the API definition. URL *string `json:"url,omitempty"` }
AbnormalTimePeriod class representing Abnormal Time Period identified in diagnosis
type AbnormalTimePeriod struct { // StartTime - Start time of the downtime StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the downtime EndTime *date.Time `json:"endTime,omitempty"` // Events - List of Possible Cause of downtime Events *[]DetectorAbnormalTimePeriod `json:"events,omitempty"` // Solutions - List of proposed solutions Solutions *[]Solution `json:"solutions,omitempty"` }
AccessControlEntryAction enumerates the values for access control entry action.
type AccessControlEntryAction string
const ( // Deny ... Deny AccessControlEntryAction = "Deny" // Permit ... Permit AccessControlEntryAction = "Permit" )
func PossibleAccessControlEntryActionValues() []AccessControlEntryAction
PossibleAccessControlEntryActionValues returns an array of possible values for the AccessControlEntryAction const type.
Address address information for domain registration.
type Address struct { // Address1 - First line of an Address. Address1 *string `json:"address1,omitempty"` // Address2 - The second line of the Address. Optional. Address2 *string `json:"address2,omitempty"` // City - The city for the address. City *string `json:"city,omitempty"` // Country - The country for the address. Country *string `json:"country,omitempty"` // PostalCode - The postal code for the address. PostalCode *string `json:"postalCode,omitempty"` // State - The state or province for the address. State *string `json:"state,omitempty"` }
AddressResponse describes main public IP address and any extra virtual IPs.
type AddressResponse struct { autorest.Response `json:"-"` // ServiceIPAddress - Main public virtual IP. ServiceIPAddress *string `json:"serviceIpAddress,omitempty"` // InternalIPAddress - Virtual Network internal IP address of the 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 virtual IPs. VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"` }
AnalysisData class Representing Detector Evidence used for analysis
type AnalysisData struct { // Source - Name of the Detector Source *string `json:"source,omitempty"` // DetectorDefinition - Detector Definition DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"` // Metrics - Source Metrics Metrics *[]DiagnosticMetricSet `json:"metrics,omitempty"` // Data - Additional Source Data Data *[][]NameValuePair `json:"data,omitempty"` // DetectorMetaData - Detector Meta Data DetectorMetaData *ResponseMetaData `json:"detectorMetaData,omitempty"` }
AnalysisDefinition definition of Analysis
type AnalysisDefinition struct { // AnalysisDefinitionProperties - AnalysisDefinition resource specific properties *AnalysisDefinitionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ad AnalysisDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AnalysisDefinition.
func (ad *AnalysisDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AnalysisDefinition struct.
AnalysisDefinitionProperties analysisDefinition resource specific properties
type AnalysisDefinitionProperties struct { // Description - READ-ONLY; Description of the Analysis Description *string `json:"description,omitempty"` }
func (ad AnalysisDefinitionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AnalysisDefinitionProperties.
AppCollection collection of App Service apps.
type AppCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Site `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (ac AppCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ac AppCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppCollection.
AppCollectionIterator provides access to a complete listing of Site values.
type AppCollectionIterator struct {
// contains filtered or unexported fields
}
func NewAppCollectionIterator(page AppCollectionPage) AppCollectionIterator
Creates a new instance of the AppCollectionIterator type.
func (iter *AppCollectionIterator) 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 (iter *AppCollectionIterator) 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 (iter AppCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AppCollectionIterator) Response() AppCollection
Response returns the raw server response from the last page request.
func (iter AppCollectionIterator) Value() Site
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AppCollectionPage contains a page of Site values.
type AppCollectionPage struct {
// contains filtered or unexported fields
}
func NewAppCollectionPage(cur AppCollection, getNextPage func(context.Context, AppCollection) (AppCollection, error)) AppCollectionPage
Creates a new instance of the AppCollectionPage type.
func (page *AppCollectionPage) 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 (page *AppCollectionPage) 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 (page AppCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AppCollectionPage) Response() AppCollection
Response returns the raw server response from the last page request.
func (page AppCollectionPage) Values() []Site
Values returns the slice of values for the current page or nil if there are no values.
AppInstanceCollection collection of app instances.
type AppInstanceCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SiteInstance `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (aic AppInstanceCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (aic AppInstanceCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppInstanceCollection.
AppInstanceCollectionIterator provides access to a complete listing of SiteInstance values.
type AppInstanceCollectionIterator struct {
// contains filtered or unexported fields
}
func NewAppInstanceCollectionIterator(page AppInstanceCollectionPage) AppInstanceCollectionIterator
Creates a new instance of the AppInstanceCollectionIterator type.
func (iter *AppInstanceCollectionIterator) 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 (iter *AppInstanceCollectionIterator) 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 (iter AppInstanceCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AppInstanceCollectionIterator) Response() AppInstanceCollection
Response returns the raw server response from the last page request.
func (iter AppInstanceCollectionIterator) Value() SiteInstance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AppInstanceCollectionPage contains a page of SiteInstance values.
type AppInstanceCollectionPage struct {
// contains filtered or unexported fields
}
func NewAppInstanceCollectionPage(cur AppInstanceCollection, getNextPage func(context.Context, AppInstanceCollection) (AppInstanceCollection, error)) AppInstanceCollectionPage
Creates a new instance of the AppInstanceCollectionPage type.
func (page *AppInstanceCollectionPage) 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 (page *AppInstanceCollectionPage) 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 (page AppInstanceCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AppInstanceCollectionPage) Response() AppInstanceCollection
Response returns the raw server response from the last page request.
func (page AppInstanceCollectionPage) Values() []SiteInstance
Values returns the slice of values for the current page or nil if there are no values.
AppServiceCertificate key Vault container for a certificate that is purchased through Azure.
type AppServiceCertificate struct { // KeyVaultID - Key Vault resource Id. KeyVaultID *string `json:"keyVaultId,omitempty"` // KeyVaultSecretName - Key Vault secret name. KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` // ProvisioningState - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' ProvisioningState KeyVaultSecretStatus `json:"provisioningState,omitempty"` }
func (asc AppServiceCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificate.
AppServiceCertificateCollection collection of certificate order certificates.
type AppServiceCertificateCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]AppServiceCertificateResource `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (ascc AppServiceCertificateCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ascc AppServiceCertificateCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateCollection.
AppServiceCertificateCollectionIterator provides access to a complete listing of AppServiceCertificateResource values.
type AppServiceCertificateCollectionIterator struct {
// contains filtered or unexported fields
}
func NewAppServiceCertificateCollectionIterator(page AppServiceCertificateCollectionPage) AppServiceCertificateCollectionIterator
Creates a new instance of the AppServiceCertificateCollectionIterator type.
func (iter *AppServiceCertificateCollectionIterator) 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 (iter *AppServiceCertificateCollectionIterator) 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 (iter AppServiceCertificateCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AppServiceCertificateCollectionIterator) Response() AppServiceCertificateCollection
Response returns the raw server response from the last page request.
func (iter AppServiceCertificateCollectionIterator) Value() AppServiceCertificateResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AppServiceCertificateCollectionPage contains a page of AppServiceCertificateResource values.
type AppServiceCertificateCollectionPage struct {
// contains filtered or unexported fields
}
func NewAppServiceCertificateCollectionPage(cur AppServiceCertificateCollection, getNextPage func(context.Context, AppServiceCertificateCollection) (AppServiceCertificateCollection, error)) AppServiceCertificateCollectionPage
Creates a new instance of the AppServiceCertificateCollectionPage type.
func (page *AppServiceCertificateCollectionPage) 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 (page *AppServiceCertificateCollectionPage) 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 (page AppServiceCertificateCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AppServiceCertificateCollectionPage) Response() AppServiceCertificateCollection
Response returns the raw server response from the last page request.
func (page AppServiceCertificateCollectionPage) Values() []AppServiceCertificateResource
Values returns the slice of values for the current page or nil if there are no values.
AppServiceCertificateOrder SSL certificate purchase order.
type AppServiceCertificateOrder struct { autorest.Response `json:"-"` // AppServiceCertificateOrderProperties - AppServiceCertificateOrder resource specific properties *AppServiceCertificateOrderProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (asco AppServiceCertificateOrder) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateOrder.
func (asco *AppServiceCertificateOrder) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServiceCertificateOrder struct.
AppServiceCertificateOrderCollection collection of certificate orders.
type AppServiceCertificateOrderCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]AppServiceCertificateOrder `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (ascoc AppServiceCertificateOrderCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ascoc AppServiceCertificateOrderCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateOrderCollection.
AppServiceCertificateOrderCollectionIterator provides access to a complete listing of AppServiceCertificateOrder values.
type AppServiceCertificateOrderCollectionIterator struct {
// contains filtered or unexported fields
}
func NewAppServiceCertificateOrderCollectionIterator(page AppServiceCertificateOrderCollectionPage) AppServiceCertificateOrderCollectionIterator
Creates a new instance of the AppServiceCertificateOrderCollectionIterator type.
func (iter *AppServiceCertificateOrderCollectionIterator) 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 (iter *AppServiceCertificateOrderCollectionIterator) 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 (iter AppServiceCertificateOrderCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AppServiceCertificateOrderCollectionIterator) Response() AppServiceCertificateOrderCollection
Response returns the raw server response from the last page request.
func (iter AppServiceCertificateOrderCollectionIterator) Value() AppServiceCertificateOrder
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AppServiceCertificateOrderCollectionPage contains a page of AppServiceCertificateOrder values.
type AppServiceCertificateOrderCollectionPage struct {
// contains filtered or unexported fields
}
func NewAppServiceCertificateOrderCollectionPage(cur AppServiceCertificateOrderCollection, getNextPage func(context.Context, AppServiceCertificateOrderCollection) (AppServiceCertificateOrderCollection, error)) AppServiceCertificateOrderCollectionPage
Creates a new instance of the AppServiceCertificateOrderCollectionPage type.
func (page *AppServiceCertificateOrderCollectionPage) 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 (page *AppServiceCertificateOrderCollectionPage) 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 (page AppServiceCertificateOrderCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AppServiceCertificateOrderCollectionPage) Response() AppServiceCertificateOrderCollection
Response returns the raw server response from the last page request.
func (page AppServiceCertificateOrderCollectionPage) Values() []AppServiceCertificateOrder
Values returns the slice of values for the current page or nil if there are no values.
AppServiceCertificateOrderPatchResource ARM resource for a certificate order that is purchased through Azure.
type AppServiceCertificateOrderPatchResource struct { // AppServiceCertificateOrderPatchResourceProperties - AppServiceCertificateOrderPatchResource resource specific properties *AppServiceCertificateOrderPatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ascopr AppServiceCertificateOrderPatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateOrderPatchResource.
func (ascopr *AppServiceCertificateOrderPatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServiceCertificateOrderPatchResource struct.
AppServiceCertificateOrderPatchResourceProperties appServiceCertificateOrderPatchResource resource specific properties
type AppServiceCertificateOrderPatchResourceProperties struct { // Certificates - State of the Key Vault secret. Certificates map[string]*AppServiceCertificate `json:"certificates"` // DistinguishedName - Certificate distinguished name. DistinguishedName *string `json:"distinguishedName,omitempty"` // DomainVerificationToken - READ-ONLY; 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 - <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>. AutoRenew *bool `json:"autoRenew,omitempty"` // ProvisioningState - READ-ONLY; Status of certificate order. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Status - READ-ONLY; Current order status. Possible values include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied', 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted' Status CertificateOrderStatus `json:"status,omitempty"` // SignedCertificate - READ-ONLY; Signed certificate. SignedCertificate *CertificateDetails `json:"signedCertificate,omitempty"` // Csr - Last CSR that was created for this order. Csr *string `json:"csr,omitempty"` // Intermediate - READ-ONLY; Intermediate certificate. Intermediate *CertificateDetails `json:"intermediate,omitempty"` // Root - READ-ONLY; Root certificate. Root *CertificateDetails `json:"root,omitempty"` // SerialNumber - READ-ONLY; Current serial number of the certificate. SerialNumber *string `json:"serialNumber,omitempty"` // LastCertificateIssuanceTime - READ-ONLY; Certificate last issuance time. LastCertificateIssuanceTime *date.Time `json:"lastCertificateIssuanceTime,omitempty"` // ExpirationTime - READ-ONLY; Certificate expiration time. ExpirationTime *date.Time `json:"expirationTime,omitempty"` // IsPrivateKeyExternal - READ-ONLY; <code>true</code> if private key is external; otherwise, <code>false</code>. IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"` // AppServiceCertificateNotRenewableReasons - READ-ONLY; Reasons why App Service Certificate is not renewable at the current moment. AppServiceCertificateNotRenewableReasons *[]string `json:"appServiceCertificateNotRenewableReasons,omitempty"` // NextAutoRenewalTimeStamp - READ-ONLY; Time stamp when the certificate would be auto renewed next NextAutoRenewalTimeStamp *date.Time `json:"nextAutoRenewalTimeStamp,omitempty"` }
func (ascopr AppServiceCertificateOrderPatchResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateOrderPatchResourceProperties.
AppServiceCertificateOrderProperties appServiceCertificateOrder resource specific properties
type AppServiceCertificateOrderProperties struct { // Certificates - State of the Key Vault secret. Certificates map[string]*AppServiceCertificate `json:"certificates"` // DistinguishedName - Certificate distinguished name. DistinguishedName *string `json:"distinguishedName,omitempty"` // DomainVerificationToken - READ-ONLY; 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 - <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>. AutoRenew *bool `json:"autoRenew,omitempty"` // ProvisioningState - READ-ONLY; Status of certificate order. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Status - READ-ONLY; Current order status. Possible values include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied', 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted' Status CertificateOrderStatus `json:"status,omitempty"` // SignedCertificate - READ-ONLY; Signed certificate. SignedCertificate *CertificateDetails `json:"signedCertificate,omitempty"` // Csr - Last CSR that was created for this order. Csr *string `json:"csr,omitempty"` // Intermediate - READ-ONLY; Intermediate certificate. Intermediate *CertificateDetails `json:"intermediate,omitempty"` // Root - READ-ONLY; Root certificate. Root *CertificateDetails `json:"root,omitempty"` // SerialNumber - READ-ONLY; Current serial number of the certificate. SerialNumber *string `json:"serialNumber,omitempty"` // LastCertificateIssuanceTime - READ-ONLY; Certificate last issuance time. LastCertificateIssuanceTime *date.Time `json:"lastCertificateIssuanceTime,omitempty"` // ExpirationTime - READ-ONLY; Certificate expiration time. ExpirationTime *date.Time `json:"expirationTime,omitempty"` // IsPrivateKeyExternal - READ-ONLY; <code>true</code> if private key is external; otherwise, <code>false</code>. IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"` // AppServiceCertificateNotRenewableReasons - READ-ONLY; Reasons why App Service Certificate is not renewable at the current moment. AppServiceCertificateNotRenewableReasons *[]string `json:"appServiceCertificateNotRenewableReasons,omitempty"` // NextAutoRenewalTimeStamp - READ-ONLY; Time stamp when the certificate would be auto renewed next NextAutoRenewalTimeStamp *date.Time `json:"nextAutoRenewalTimeStamp,omitempty"` }
func (asco AppServiceCertificateOrderProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateOrderProperties.
AppServiceCertificateOrdersClient is the webSite Management Client
type AppServiceCertificateOrdersClient struct { BaseClient }
func NewAppServiceCertificateOrdersClient(subscriptionID string) AppServiceCertificateOrdersClient
NewAppServiceCertificateOrdersClient creates an instance of the AppServiceCertificateOrdersClient client.
func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptionID string) AppServiceCertificateOrdersClient
NewAppServiceCertificateOrdersClientWithBaseURI creates an instance of the AppServiceCertificateOrdersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AppServiceCertificateOrdersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName AppServiceCertificateOrder) (result AppServiceCertificateOrdersCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a certificate purchase order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. certificateDistinguishedName - distinguished name to use for the certificate order.
func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate AppServiceCertificateResource) (result AppServiceCertificateOrdersCreateOrUpdateCertificateFuture, err error)
CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. name - name of the certificate. keyVaultCertificate - key vault certificate resource Id.
func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate AppServiceCertificateResource) (*http.Request, error)
CreateOrUpdateCertificatePreparer prepares the CreateOrUpdateCertificate request.
func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateResponder(resp *http.Response) (result AppServiceCertificateResource, err error)
CreateOrUpdateCertificateResponder handles the response to the CreateOrUpdateCertificate request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateSender(req *http.Request) (future AppServiceCertificateOrdersCreateOrUpdateCertificateFuture, err error)
CreateOrUpdateCertificateSender sends the CreateOrUpdateCertificate request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName AppServiceCertificateOrder) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *http.Response) (result AppServiceCertificateOrder, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) CreateOrUpdateSender(req *http.Request) (future AppServiceCertificateOrdersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) Delete(ctx context.Context, resourceGroupName string, certificateOrderName string) (result autorest.Response, err error)
Delete delete an existing certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order.
func (client AppServiceCertificateOrdersClient) DeleteCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (result autorest.Response, err error)
DeleteCertificate delete the certificate associated with a certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. name - name of the certificate.
func (client AppServiceCertificateOrdersClient) DeleteCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (*http.Request, error)
DeleteCertificatePreparer prepares the DeleteCertificate request.
func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp *http.Response) (result autorest.Response, err error)
DeleteCertificateResponder handles the response to the DeleteCertificate request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) DeletePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) Get(ctx context.Context, resourceGroupName string, certificateOrderName string) (result AppServiceCertificateOrder, err error)
Get get a certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order..
func (client AppServiceCertificateOrdersClient) GetCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (result AppServiceCertificateResource, err error)
GetCertificate get the certificate associated with a certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. name - name of the certificate.
func (client AppServiceCertificateOrdersClient) GetCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (*http.Request, error)
GetCertificatePreparer prepares the GetCertificate request.
func (client AppServiceCertificateOrdersClient) GetCertificateResponder(resp *http.Response) (result AppServiceCertificateResource, err error)
GetCertificateResponder handles the response to the GetCertificate request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) GetPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response) (result AppServiceCertificateOrder, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) List(ctx context.Context) (result AppServiceCertificateOrderCollectionPage, err error)
List list all certificate orders in a subscription.
func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error)
ListByResourceGroup get certificate orders in a resource group. Parameters: resourceGroupName - name of the resource group to which the resource belongs.
func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceCertificateOrdersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AppServiceCertificateOrdersClient) ListByResourceGroupResponder(resp *http.Response) (result AppServiceCertificateOrderCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) ListCertificates(ctx context.Context, resourceGroupName string, certificateOrderName string) (result AppServiceCertificateCollectionPage, err error)
ListCertificates list all certificates associated with a certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order.
func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx context.Context, resourceGroupName string, certificateOrderName string) (result AppServiceCertificateCollectionIterator, err error)
ListCertificatesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceCertificateOrdersClient) ListCertificatesPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string) (*http.Request, error)
ListCertificatesPreparer prepares the ListCertificates request.
func (client AppServiceCertificateOrdersClient) ListCertificatesResponder(resp *http.Response) (result AppServiceCertificateCollection, err error)
ListCertificatesResponder handles the response to the ListCertificates request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) ListCertificatesSender(req *http.Request) (*http.Response, error)
ListCertificatesSender sends the ListCertificates request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context) (result AppServiceCertificateOrderCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceCertificateOrdersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client AppServiceCertificateOrdersClient) ListResponder(resp *http.Response) (result AppServiceCertificateOrderCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) 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.
func (client AppServiceCertificateOrdersClient) Reissue(ctx context.Context, resourceGroupName string, certificateOrderName string, reissueCertificateOrderRequest ReissueCertificateOrderRequest) (result autorest.Response, err error)
Reissue reissue an existing certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. reissueCertificateOrderRequest - parameters for the reissue.
func (client AppServiceCertificateOrdersClient) ReissuePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, reissueCertificateOrderRequest ReissueCertificateOrderRequest) (*http.Request, error)
ReissuePreparer prepares the Reissue request.
func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Response) (result autorest.Response, err error)
ReissueResponder handles the response to the Reissue request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) ReissueSender(req *http.Request) (*http.Response, error)
ReissueSender sends the Reissue request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) Renew(ctx context.Context, resourceGroupName string, certificateOrderName string, renewCertificateOrderRequest RenewCertificateOrderRequest) (result autorest.Response, err error)
Renew renew an existing certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. renewCertificateOrderRequest - renew parameters
func (client AppServiceCertificateOrdersClient) RenewPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, renewCertificateOrderRequest RenewCertificateOrderRequest) (*http.Request, error)
RenewPreparer prepares the Renew request.
func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Response) (result autorest.Response, err error)
RenewResponder handles the response to the Renew request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) RenewSender(req *http.Request) (*http.Response, error)
RenewSender sends the Renew request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) ResendEmail(ctx context.Context, resourceGroupName string, certificateOrderName string) (result autorest.Response, err error)
ResendEmail resend certificate email. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order.
func (client AppServiceCertificateOrdersClient) ResendEmailPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string) (*http.Request, error)
ResendEmailPreparer prepares the ResendEmail request.
func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http.Response) (result autorest.Response, err error)
ResendEmailResponder handles the response to the ResendEmail request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) ResendEmailSender(req *http.Request) (*http.Response, error)
ResendEmailSender sends the ResendEmail request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) ResendRequestEmails(ctx context.Context, resourceGroupName string, certificateOrderName string, nameIdentifier NameIdentifier) (result autorest.Response, err error)
ResendRequestEmails verify domain ownership for this certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. nameIdentifier - email address
func (client AppServiceCertificateOrdersClient) ResendRequestEmailsPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, nameIdentifier NameIdentifier) (*http.Request, error)
ResendRequestEmailsPreparer prepares the ResendRequestEmails request.
func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(resp *http.Response) (result autorest.Response, err error)
ResendRequestEmailsResponder handles the response to the ResendRequestEmails request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) ResendRequestEmailsSender(req *http.Request) (*http.Response, error)
ResendRequestEmailsSender sends the ResendRequestEmails request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) RetrieveCertificateActions(ctx context.Context, resourceGroupName string, name string) (result ListCertificateOrderAction, err error)
RetrieveCertificateActions retrieve the list of certificate actions. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the certificate order.
func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
RetrieveCertificateActionsPreparer prepares the RetrieveCertificateActions request.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistory(ctx context.Context, resourceGroupName string, name string) (result ListCertificateEmail, err error)
RetrieveCertificateEmailHistory retrieve email history. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the certificate order.
func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
RetrieveCertificateEmailHistoryPreparer prepares the RetrieveCertificateEmailHistory request.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) RetrieveSiteSeal(ctx context.Context, resourceGroupName string, certificateOrderName string, siteSealRequest SiteSealRequest) (result SiteSeal, err error)
RetrieveSiteSeal verify domain ownership for this certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. siteSealRequest - site seal request.
func (client AppServiceCertificateOrdersClient) RetrieveSiteSealPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, siteSealRequest SiteSealRequest) (*http.Request, error)
RetrieveSiteSealPreparer prepares the RetrieveSiteSeal request.
func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp *http.Response) (result SiteSeal, err error)
RetrieveSiteSealResponder handles the response to the RetrieveSiteSeal request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) RetrieveSiteSealSender(req *http.Request) (*http.Response, error)
RetrieveSiteSealSender sends the RetrieveSiteSeal request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) Update(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName AppServiceCertificateOrderPatchResource) (result AppServiceCertificateOrder, err error)
Update create or update a certificate purchase order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. certificateDistinguishedName - distinguished name to use for the certificate order.
func (client AppServiceCertificateOrdersClient) UpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate AppServiceCertificatePatchResource) (result AppServiceCertificateResource, err error)
UpdateCertificate creates or updates a certificate and associates with key vault secret. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order. name - name of the certificate. keyVaultCertificate - key vault certificate resource Id.
func (client AppServiceCertificateOrdersClient) UpdateCertificatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate AppServiceCertificatePatchResource) (*http.Request, error)
UpdateCertificatePreparer prepares the UpdateCertificate request.
func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp *http.Response) (result AppServiceCertificateResource, err error)
UpdateCertificateResponder handles the response to the UpdateCertificate request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) 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 (client AppServiceCertificateOrdersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName AppServiceCertificateOrderPatchResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Response) (result AppServiceCertificateOrder, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error)
ValidatePurchaseInformation validate information for a certificate order. Parameters: appServiceCertificateOrder - information for a certificate order.
func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationPreparer(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (*http.Request, error)
ValidatePurchaseInformationPreparer prepares the ValidatePurchaseInformation request.
func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationResponder(resp *http.Response) (result autorest.Response, err error)
ValidatePurchaseInformationResponder handles the response to the ValidatePurchaseInformation request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationSender(req *http.Request) (*http.Response, error)
ValidatePurchaseInformationSender sends the ValidatePurchaseInformation request. The method will close the http.Response Body if it receives an error.
func (client AppServiceCertificateOrdersClient) VerifyDomainOwnership(ctx context.Context, resourceGroupName string, certificateOrderName string) (result autorest.Response, err error)
VerifyDomainOwnership verify domain ownership for this certificate order. Parameters: resourceGroupName - name of the resource group to which the resource belongs. certificateOrderName - name of the certificate order.
func (client AppServiceCertificateOrdersClient) VerifyDomainOwnershipPreparer(ctx context.Context, resourceGroupName string, certificateOrderName string) (*http.Request, error)
VerifyDomainOwnershipPreparer prepares the VerifyDomainOwnership request.
func (client AppServiceCertificateOrdersClient) VerifyDomainOwnershipResponder(resp *http.Response) (result autorest.Response, err error)
VerifyDomainOwnershipResponder handles the response to the VerifyDomainOwnership request. The method always closes the http.Response Body.
func (client AppServiceCertificateOrdersClient) 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.
AppServiceCertificateOrdersCreateOrUpdateCertificateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceCertificateOrdersCreateOrUpdateCertificateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceCertificateOrdersClient) (AppServiceCertificateResource, error) }
func (future *AppServiceCertificateOrdersCreateOrUpdateCertificateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceCertificateOrdersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceCertificateOrdersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceCertificateOrdersClient) (AppServiceCertificateOrder, error) }
func (future *AppServiceCertificateOrdersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceCertificatePatchResource key Vault container ARM resource for a certificate that is purchased through Azure.
type AppServiceCertificatePatchResource struct { // AppServiceCertificate - Core resource properties *AppServiceCertificate `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ascpr AppServiceCertificatePatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificatePatchResource.
func (ascpr *AppServiceCertificatePatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServiceCertificatePatchResource struct.
AppServiceCertificateResource key Vault container ARM resource for a certificate that is purchased through Azure.
type AppServiceCertificateResource struct { autorest.Response `json:"-"` // AppServiceCertificate - Core resource properties *AppServiceCertificate `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (ascr AppServiceCertificateResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceCertificateResource.
func (ascr *AppServiceCertificateResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServiceCertificateResource struct.
AppServiceEnvironment description of an App Service Environment.
type AppServiceEnvironment struct { // Name - Name of the App Service Environment. Name *string `json:"name,omitempty"` // Location - Location of the App Service Environment, e.g. "West US". Location *string `json:"location,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the App Service Environment. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Status - READ-ONLY; Current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting' Status HostingEnvironmentStatus `json:"status,omitempty"` // VnetName - Name of the Virtual Network for the App Service Environment. VnetName *string `json:"vnetName,omitempty"` // VnetResourceGroupName - Resource group of the Virtual Network. VnetResourceGroupName *string `json:"vnetResourceGroupName,omitempty"` // VnetSubnetName - Subnet of the Virtual Network. VnetSubnetName *string `json:"vnetSubnetName,omitempty"` // VirtualNetwork - Description of the Virtual Network. VirtualNetwork *VirtualNetworkProfile `json:"virtualNetwork,omitempty"` // InternalLoadBalancingMode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'InternalLoadBalancingModeNone', 'InternalLoadBalancingModeWeb', 'InternalLoadBalancingModePublishing' InternalLoadBalancingMode InternalLoadBalancingMode `json:"internalLoadBalancingMode,omitempty"` // MultiSize - Front-end VM size, e.g. "Medium", "Large". MultiSize *string `json:"multiSize,omitempty"` // MultiRoleCount - Number of front-end instances. MultiRoleCount *int32 `json:"multiRoleCount,omitempty"` // WorkerPools - Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. WorkerPools *[]WorkerPool `json:"workerPools,omitempty"` // IpsslAddressCount - Number of IP SSL addresses reserved for the App Service Environment. IpsslAddressCount *int32 `json:"ipsslAddressCount,omitempty"` // DatabaseEdition - READ-ONLY; Edition of the metadata database for the App Service Environment, e.g. "Standard". DatabaseEdition *string `json:"databaseEdition,omitempty"` // DatabaseServiceObjective - READ-ONLY; Service objective of the metadata database for the App Service Environment, e.g. "S0". DatabaseServiceObjective *string `json:"databaseServiceObjective,omitempty"` // UpgradeDomains - READ-ONLY; Number of upgrade domains of the App Service Environment. UpgradeDomains *int32 `json:"upgradeDomains,omitempty"` // SubscriptionID - READ-ONLY; Subscription of the App Service Environment. SubscriptionID *string `json:"subscriptionId,omitempty"` // DNSSuffix - DNS suffix of the App Service Environment. DNSSuffix *string `json:"dnsSuffix,omitempty"` // LastAction - READ-ONLY; Last deployment action on the App Service Environment. LastAction *string `json:"lastAction,omitempty"` // LastActionResult - READ-ONLY; Result of the last deployment action on the App Service Environment. LastActionResult *string `json:"lastActionResult,omitempty"` // AllowedMultiSizes - READ-ONLY; List of comma separated strings describing which VM sizes are allowed for front-ends. AllowedMultiSizes *string `json:"allowedMultiSizes,omitempty"` // AllowedWorkerSizes - READ-ONLY; List of comma separated strings describing which VM sizes are allowed for workers. AllowedWorkerSizes *string `json:"allowedWorkerSizes,omitempty"` // MaximumNumberOfMachines - READ-ONLY; Maximum number of VMs in the App Service Environment. MaximumNumberOfMachines *int32 `json:"maximumNumberOfMachines,omitempty"` // VipMappings - READ-ONLY; Description of IP SSL mapping for the App Service Environment. VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"` // EnvironmentCapacities - READ-ONLY; Current total, used, and available worker capacities. EnvironmentCapacities *[]StampCapacity `json:"environmentCapacities,omitempty"` // NetworkAccessControlList - Access control list for controlling traffic to the App Service Environment. NetworkAccessControlList *[]NetworkAccessControlEntry `json:"networkAccessControlList,omitempty"` // EnvironmentIsHealthy - READ-ONLY; True/false indicating whether the App Service Environment is healthy. EnvironmentIsHealthy *bool `json:"environmentIsHealthy,omitempty"` // EnvironmentStatus - READ-ONLY; Detailed message about with results of the last check of the App Service Environment. EnvironmentStatus *string `json:"environmentStatus,omitempty"` // ResourceGroup - READ-ONLY; Resource group of the App Service Environment. ResourceGroup *string `json:"resourceGroup,omitempty"` // FrontEndScaleFactor - Scale factor for front-ends. FrontEndScaleFactor *int32 `json:"frontEndScaleFactor,omitempty"` // DefaultFrontEndScaleFactor - READ-ONLY; Default Scale Factor for FrontEnds. DefaultFrontEndScaleFactor *int32 `json:"defaultFrontEndScaleFactor,omitempty"` // APIManagementAccountID - API Management Account associated with the App Service Environment. APIManagementAccountID *string `json:"apiManagementAccountId,omitempty"` // Suspended - <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available // (most likely because NSG blocked the incoming traffic). Suspended *bool `json:"suspended,omitempty"` // DynamicCacheEnabled - True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available // (most likely because NSG blocked the incoming traffic). DynamicCacheEnabled *bool `json:"dynamicCacheEnabled,omitempty"` // ClusterSettings - Custom settings for changing the behavior of the App Service Environment. ClusterSettings *[]NameValuePair `json:"clusterSettings,omitempty"` // UserWhitelistedIPRanges - User added ip ranges to whitelist on ASE db UserWhitelistedIPRanges *[]string `json:"userWhitelistedIpRanges,omitempty"` }
func (ase AppServiceEnvironment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceEnvironment.
AppServiceEnvironmentCollection collection of App Service Environments.
type AppServiceEnvironmentCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]AppServiceEnvironmentResource `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (asec AppServiceEnvironmentCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (asec AppServiceEnvironmentCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceEnvironmentCollection.
AppServiceEnvironmentCollectionIterator provides access to a complete listing of AppServiceEnvironmentResource values.
type AppServiceEnvironmentCollectionIterator struct {
// contains filtered or unexported fields
}
func NewAppServiceEnvironmentCollectionIterator(page AppServiceEnvironmentCollectionPage) AppServiceEnvironmentCollectionIterator
Creates a new instance of the AppServiceEnvironmentCollectionIterator type.
func (iter *AppServiceEnvironmentCollectionIterator) 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 (iter *AppServiceEnvironmentCollectionIterator) 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 (iter AppServiceEnvironmentCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AppServiceEnvironmentCollectionIterator) Response() AppServiceEnvironmentCollection
Response returns the raw server response from the last page request.
func (iter AppServiceEnvironmentCollectionIterator) Value() AppServiceEnvironmentResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AppServiceEnvironmentCollectionPage contains a page of AppServiceEnvironmentResource values.
type AppServiceEnvironmentCollectionPage struct {
// contains filtered or unexported fields
}
func NewAppServiceEnvironmentCollectionPage(cur AppServiceEnvironmentCollection, getNextPage func(context.Context, AppServiceEnvironmentCollection) (AppServiceEnvironmentCollection, error)) AppServiceEnvironmentCollectionPage
Creates a new instance of the AppServiceEnvironmentCollectionPage type.
func (page *AppServiceEnvironmentCollectionPage) 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 (page *AppServiceEnvironmentCollectionPage) 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 (page AppServiceEnvironmentCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AppServiceEnvironmentCollectionPage) Response() AppServiceEnvironmentCollection
Response returns the raw server response from the last page request.
func (page AppServiceEnvironmentCollectionPage) Values() []AppServiceEnvironmentResource
Values returns the slice of values for the current page or nil if there are no values.
AppServiceEnvironmentPatchResource ARM resource for a app service environment.
type AppServiceEnvironmentPatchResource struct { // AppServiceEnvironment - Core resource properties *AppServiceEnvironment `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (asepr AppServiceEnvironmentPatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceEnvironmentPatchResource.
func (asepr *AppServiceEnvironmentPatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServiceEnvironmentPatchResource struct.
AppServiceEnvironmentResource app Service Environment ARM resource.
type AppServiceEnvironmentResource struct { autorest.Response `json:"-"` // AppServiceEnvironment - Core resource properties *AppServiceEnvironment `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (aser AppServiceEnvironmentResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServiceEnvironmentResource.
func (aser *AppServiceEnvironmentResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServiceEnvironmentResource struct.
AppServiceEnvironmentsClient is the webSite Management Client
type AppServiceEnvironmentsClient struct { BaseClient }
func NewAppServiceEnvironmentsClient(subscriptionID string) AppServiceEnvironmentsClient
NewAppServiceEnvironmentsClient creates an instance of the AppServiceEnvironmentsClient client.
func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) AppServiceEnvironmentsClient
NewAppServiceEnvironmentsClientWithBaseURI creates an instance of the AppServiceEnvironmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AppServiceEnvironmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope AppServiceEnvironmentResource) (result AppServiceEnvironmentsCreateOrUpdateFuture, err error)
CreateOrUpdate create or update an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. hostingEnvironmentEnvelope - configuration details of the App Service Environment.
func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource) (result AppServiceEnvironmentsCreateOrUpdateMultiRolePoolFuture, err error)
CreateOrUpdateMultiRolePool create or update a multi-role pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. multiRolePoolEnvelope - properties of the multi-role pool.
func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolPreparer(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource) (*http.Request, error)
CreateOrUpdateMultiRolePoolPreparer prepares the CreateOrUpdateMultiRolePool request.
func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder(resp *http.Response) (result WorkerPoolResource, err error)
CreateOrUpdateMultiRolePoolResponder handles the response to the CreateOrUpdateMultiRolePool request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolSender(req *http.Request) (future AppServiceEnvironmentsCreateOrUpdateMultiRolePoolFuture, err error)
CreateOrUpdateMultiRolePoolSender sends the CreateOrUpdateMultiRolePool request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope AppServiceEnvironmentResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Response) (result AppServiceEnvironmentResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) CreateOrUpdateSender(req *http.Request) (future AppServiceEnvironmentsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource) (result AppServiceEnvironmentsCreateOrUpdateWorkerPoolFuture, err error)
CreateOrUpdateWorkerPool create or update a worker pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool. workerPoolEnvelope - properties of the worker pool.
func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource) (*http.Request, error)
CreateOrUpdateWorkerPoolPreparer prepares the CreateOrUpdateWorkerPool request.
func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(resp *http.Response) (result WorkerPoolResource, err error)
CreateOrUpdateWorkerPoolResponder handles the response to the CreateOrUpdateWorkerPool request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolSender(req *http.Request) (future AppServiceEnvironmentsCreateOrUpdateWorkerPoolFuture, err error)
CreateOrUpdateWorkerPoolSender sends the CreateOrUpdateWorkerPool request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) Delete(ctx context.Context, resourceGroupName string, name string, forceDelete *bool) (result AppServiceEnvironmentsDeleteFuture, err error)
Delete delete an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. forceDelete - specify <code>true</code> to force the deletion even if the App Service Environment contains resources. The default is <code>false</code>.
func (client AppServiceEnvironmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string, forceDelete *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AppServiceEnvironmentsClient) 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 (client AppServiceEnvironmentsClient) DeleteSender(req *http.Request) (future AppServiceEnvironmentsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) Get(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentResource, err error)
Get get the properties of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) GetDiagnosticsItem(ctx context.Context, resourceGroupName string, name string, diagnosticsName string) (result HostingEnvironmentDiagnostics, err error)
GetDiagnosticsItem get a diagnostics item for an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. diagnosticsName - name of the diagnostics item.
func (client AppServiceEnvironmentsClient) GetDiagnosticsItemPreparer(ctx context.Context, resourceGroupName string, name string, diagnosticsName string) (*http.Request, error)
GetDiagnosticsItemPreparer prepares the GetDiagnosticsItem request.
func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *http.Response) (result HostingEnvironmentDiagnostics, err error)
GetDiagnosticsItemResponder handles the response to the GetDiagnosticsItem request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) GetDiagnosticsItemSender(req *http.Request) (*http.Response, error)
GetDiagnosticsItemSender sends the GetDiagnosticsItem request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) GetMultiRolePool(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolResource, err error)
GetMultiRolePool get properties of a multi-role pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) GetMultiRolePoolPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetMultiRolePoolPreparer prepares the GetMultiRolePool request.
func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http.Response) (result WorkerPoolResource, err error)
GetMultiRolePoolResponder handles the response to the GetMultiRolePool request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) GetMultiRolePoolSender(req *http.Request) (*http.Response, error)
GetMultiRolePoolSender sends the GetMultiRolePool request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (result AppServiceEnvironmentResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) 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 (client AppServiceEnvironmentsClient) GetWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result WorkerPoolResource, err error)
GetWorkerPool get properties of a worker pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool.
func (client AppServiceEnvironmentsClient) GetWorkerPoolPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (*http.Request, error)
GetWorkerPoolPreparer prepares the GetWorkerPool request.
func (client AppServiceEnvironmentsClient) GetWorkerPoolResponder(resp *http.Response) (result WorkerPoolResource, err error)
GetWorkerPoolResponder handles the response to the GetWorkerPool request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) GetWorkerPoolSender(req *http.Request) (*http.Response, error)
GetWorkerPoolSender sends the GetWorkerPool request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) List(ctx context.Context) (result AppServiceEnvironmentCollectionPage, err error)
List get all App Service Environments for a subscription.
func (client AppServiceEnvironmentsClient) ListAppServicePlans(ctx context.Context, resourceGroupName string, name string) (result AppServicePlanCollectionPage, err error)
ListAppServicePlans get all App Service plans in an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx context.Context, resourceGroupName string, name string) (result AppServicePlanCollectionIterator, err error)
ListAppServicePlansComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListAppServicePlansPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListAppServicePlansPreparer prepares the ListAppServicePlans request.
func (client AppServiceEnvironmentsClient) ListAppServicePlansResponder(resp *http.Response) (result AppServicePlanCollection, err error)
ListAppServicePlansResponder handles the response to the ListAppServicePlans request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListAppServicePlansSender(req *http.Request) (*http.Response, error)
ListAppServicePlansSender sends the ListAppServicePlans request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error)
ListByResourceGroup get all App Service Environments in a resource group. Parameters: resourceGroupName - name of the resource group to which the resource belongs.
func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AppServiceEnvironmentsClient) ListByResourceGroupResponder(resp *http.Response) (result AppServiceEnvironmentCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListCapacities(ctx context.Context, resourceGroupName string, name string) (result StampCapacityCollectionPage, err error)
ListCapacities get the used, available, and total worker capacity an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Context, resourceGroupName string, name string) (result StampCapacityCollectionIterator, err error)
ListCapacitiesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListCapacitiesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListCapacitiesPreparer prepares the ListCapacities request.
func (client AppServiceEnvironmentsClient) ListCapacitiesResponder(resp *http.Response) (result StampCapacityCollection, err error)
ListCapacitiesResponder handles the response to the ListCapacities request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListCapacitiesSender(req *http.Request) (*http.Response, error)
ListCapacitiesSender sends the ListCapacities request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (result AppServiceEnvironmentCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListDiagnostics(ctx context.Context, resourceGroupName string, name string) (result ListHostingEnvironmentDiagnostics, err error)
ListDiagnostics get diagnostic information for an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListDiagnosticsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListDiagnosticsPreparer prepares the ListDiagnostics request.
func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.Response) (result ListHostingEnvironmentDiagnostics, err error)
ListDiagnosticsResponder handles the response to the ListDiagnostics request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListDiagnosticsSender(req *http.Request) (*http.Response, error)
ListDiagnosticsSender sends the ListDiagnostics request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, name string) (result MetricDefinition, err error)
ListMetricDefinitions get global metric definitions of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.
func (client AppServiceEnvironmentsClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinition, err error)
ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMetrics(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListMetrics get global metrics of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. details - specify <code>true</code> to include instance details. The default is <code>false</code>. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppServiceEnvironmentsClient) ListMetricsComplete(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (*http.Request, error)
ListMetricsPreparer prepares the ListMetrics request.
func (client AppServiceEnvironmentsClient) ListMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMetricsSender(req *http.Request) (*http.Response, error)
ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitions(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionPage, err error)
ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplete(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListMultiRoleMetricDefinitionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMultiRoleMetricDefinitionsPreparer prepares the ListMultiRoleMetricDefinitions request.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListMultiRoleMetricDefinitionsResponder handles the response to the ListMultiRoleMetricDefinitions request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListMultiRoleMetricDefinitionsSender sends the ListMultiRoleMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetrics(ctx context.Context, resourceGroupName string, name string, startTime string, endTime string, timeGrain string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListMultiRoleMetrics get metrics for a multi-role pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. startTime - beginning time of the metrics query. endTime - end time of the metrics query. timeGrain - time granularity of the metrics query. details - specify <code>true</code> to include instance details. The default is <code>false</code>. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricsComplete(ctx context.Context, resourceGroupName string, name string, startTime string, endTime string, timeGrain string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListMultiRoleMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricsPreparer(ctx context.Context, resourceGroupName string, name string, startTime string, endTime string, timeGrain string, details *bool, filter string) (*http.Request, error)
ListMultiRoleMetricsPreparer prepares the ListMultiRoleMetrics request.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListMultiRoleMetricsResponder handles the response to the ListMultiRoleMetrics request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRoleMetricsSender(req *http.Request) (*http.Response, error)
ListMultiRoleMetricsSender sends the ListMultiRoleMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefinitions(ctx context.Context, resourceGroupName string, name string, instance string) (result ResourceMetricDefinitionCollectionPage, err error)
ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. instance - name of the instance in the multi-role pool.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefinitionsComplete(ctx context.Context, resourceGroupName string, name string, instance string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListMultiRolePoolInstanceMetricDefinitionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, name string, instance string) (*http.Request, error)
ListMultiRolePoolInstanceMetricDefinitionsPreparer prepares the ListMultiRolePoolInstanceMetricDefinitions request.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefinitionsResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListMultiRolePoolInstanceMetricDefinitionsResponder handles the response to the ListMultiRolePoolInstanceMetricDefinitions request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListMultiRolePoolInstanceMetricDefinitionsSender sends the ListMultiRolePoolInstanceMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetrics(ctx context.Context, resourceGroupName string, name string, instance string, details *bool) (result ResourceMetricCollectionPage, err error)
ListMultiRolePoolInstanceMetrics get metrics for a specific instance of a multi-role pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. instance - name of the instance in the multi-role pool. details - specify <code>true</code> to include instance details. The default is <code>false</code>.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricsComplete(ctx context.Context, resourceGroupName string, name string, instance string, details *bool) (result ResourceMetricCollectionIterator, err error)
ListMultiRolePoolInstanceMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricsPreparer(ctx context.Context, resourceGroupName string, name string, instance string, details *bool) (*http.Request, error)
ListMultiRolePoolInstanceMetricsPreparer prepares the ListMultiRolePoolInstanceMetrics request.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListMultiRolePoolInstanceMetricsResponder handles the response to the ListMultiRolePoolInstanceMetrics request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricsSender(req *http.Request) (*http.Response, error)
ListMultiRolePoolInstanceMetricsSender sends the ListMultiRolePoolInstanceMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkus(ctx context.Context, resourceGroupName string, name string) (result SkuInfoCollectionPage, err error)
ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx context.Context, resourceGroupName string, name string) (result SkuInfoCollectionIterator, err error)
ListMultiRolePoolSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMultiRolePoolSkusPreparer prepares the ListMultiRolePoolSkus request.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusResponder(resp *http.Response) (result SkuInfoCollection, err error)
ListMultiRolePoolSkusResponder handles the response to the ListMultiRolePoolSkus request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusSender(req *http.Request) (*http.Response, error)
ListMultiRolePoolSkusSender sends the ListMultiRolePoolSkus request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRolePools(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolCollectionPage, err error)
ListMultiRolePools get all multi-role pools. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolCollectionIterator, err error)
ListMultiRolePoolsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMultiRolePoolsPreparer prepares the ListMultiRolePools request.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolsResponder(resp *http.Response) (result WorkerPoolCollection, err error)
ListMultiRolePoolsResponder handles the response to the ListMultiRolePools request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRolePoolsSender(req *http.Request) (*http.Response, error)
ListMultiRolePoolsSender sends the ListMultiRolePools request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListMultiRoleUsages(ctx context.Context, resourceGroupName string, name string) (result UsageCollectionPage, err error)
ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx context.Context, resourceGroupName string, name string) (result UsageCollectionIterator, err error)
ListMultiRoleUsagesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMultiRoleUsagesPreparer prepares the ListMultiRoleUsages request.
func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesResponder(resp *http.Response) (result UsageCollection, err error)
ListMultiRoleUsagesResponder handles the response to the ListMultiRoleUsages request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesSender(req *http.Request) (*http.Response, error)
ListMultiRoleUsagesSender sends the ListMultiRoleUsages request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListOperations(ctx context.Context, resourceGroupName string, name string) (result ListOperation, err error)
ListOperations list all currently running operations on the App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListOperationsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListOperationsPreparer prepares the ListOperations request.
func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Response) (result ListOperation, err error)
ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListOperationsSender(req *http.Request) (*http.Response, error)
ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client AppServiceEnvironmentsClient) ListResponder(resp *http.Response) (result AppServiceEnvironmentCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) 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.
func (client AppServiceEnvironmentsClient) ListUsages(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionPage, err error)
ListUsages get global usage metrics of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionIterator, err error)
ListUsagesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, name string, filter string) (*http.Request, error)
ListUsagesPreparer prepares the ListUsages request.
func (client AppServiceEnvironmentsClient) ListUsagesResponder(resp *http.Response) (result CsmUsageQuotaCollection, err error)
ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListUsagesSender(req *http.Request) (*http.Response, error)
ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListVips(ctx context.Context, resourceGroupName string, name string) (result AddressResponse, err error)
ListVips get IP addresses assigned to an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListVipsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListVipsPreparer prepares the ListVips request.
func (client AppServiceEnvironmentsClient) ListVipsResponder(resp *http.Response) (result AddressResponse, err error)
ListVipsResponder handles the response to the ListVips request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListVipsSender(req *http.Request) (*http.Response, error)
ListVipsSender sends the ListVips request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWebApps(ctx context.Context, resourceGroupName string, name string, propertiesToInclude string) (result AppCollectionPage, err error)
ListWebApps get all apps in an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. propertiesToInclude - comma separated list of app properties to include.
func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Context, resourceGroupName string, name string, propertiesToInclude string) (result AppCollectionIterator, err error)
ListWebAppsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWebAppsPreparer(ctx context.Context, resourceGroupName string, name string, propertiesToInclude string) (*http.Request, error)
ListWebAppsPreparer prepares the ListWebApps request.
func (client AppServiceEnvironmentsClient) ListWebAppsResponder(resp *http.Response) (result AppCollection, err error)
ListWebAppsResponder handles the response to the ListWebApps request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWebAppsSender(req *http.Request) (*http.Response, error)
ListWebAppsSender sends the ListWebApps request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitions(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result ResourceMetricDefinitionCollectionPage, err error)
ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplete(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListWebWorkerMetricDefinitionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (*http.Request, error)
ListWebWorkerMetricDefinitionsPreparer prepares the ListWebWorkerMetricDefinitions request.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListWebWorkerMetricDefinitionsResponder handles the response to the ListWebWorkerMetricDefinitions request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListWebWorkerMetricDefinitionsSender sends the ListWebWorkerMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetrics(ctx context.Context, resourceGroupName string, name string, workerPoolName string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListWebWorkerMetrics get metrics for a worker pool of a AppServiceEnvironment (App Service Environment). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of worker pool details - specify <code>true</code> to include instance details. The default is <code>false</code>. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricsComplete(ctx context.Context, resourceGroupName string, name string, workerPoolName string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListWebWorkerMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricsPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string, details *bool, filter string) (*http.Request, error)
ListWebWorkerMetricsPreparer prepares the ListWebWorkerMetrics request.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListWebWorkerMetricsResponder handles the response to the ListWebWorkerMetrics request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWebWorkerMetricsSender(req *http.Request) (*http.Response, error)
ListWebWorkerMetricsSender sends the ListWebWorkerMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWebWorkerUsages(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result UsageCollectionPage, err error)
ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool.
func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result UsageCollectionIterator, err error)
ListWebWorkerUsagesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (*http.Request, error)
ListWebWorkerUsagesPreparer prepares the ListWebWorkerUsages request.
func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesResponder(resp *http.Response) (result UsageCollection, err error)
ListWebWorkerUsagesResponder handles the response to the ListWebWorkerUsages request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesSender(req *http.Request) (*http.Response, error)
ListWebWorkerUsagesSender sends the ListWebWorkerUsages request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitions(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string) (result ResourceMetricDefinitionCollectionPage, err error)
ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool. instance - name of the instance in the worker pool.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitionsComplete(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListWorkerPoolInstanceMetricDefinitionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string) (*http.Request, error)
ListWorkerPoolInstanceMetricDefinitionsPreparer prepares the ListWorkerPoolInstanceMetricDefinitions request.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitionsResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListWorkerPoolInstanceMetricDefinitionsResponder handles the response to the ListWorkerPoolInstanceMetricDefinitions request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListWorkerPoolInstanceMetricDefinitionsSender sends the ListWorkerPoolInstanceMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetrics(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListWorkerPoolInstanceMetrics get metrics for a specific instance of a worker pool of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool. instance - name of the instance in the worker pool. details - specify <code>true</code> to include instance details. The default is <code>false</code>. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricsComplete(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListWorkerPoolInstanceMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricsPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string, details *bool, filter string) (*http.Request, error)
ListWorkerPoolInstanceMetricsPreparer prepares the ListWorkerPoolInstanceMetrics request.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListWorkerPoolInstanceMetricsResponder handles the response to the ListWorkerPoolInstanceMetrics request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricsSender(req *http.Request) (*http.Response, error)
ListWorkerPoolInstanceMetricsSender sends the ListWorkerPoolInstanceMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWorkerPoolSkus(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result SkuInfoCollectionPage, err error)
ListWorkerPoolSkus get available SKUs for scaling a worker pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool.
func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result SkuInfoCollectionIterator, err error)
ListWorkerPoolSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (*http.Request, error)
ListWorkerPoolSkusPreparer prepares the ListWorkerPoolSkus request.
func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusResponder(resp *http.Response) (result SkuInfoCollection, err error)
ListWorkerPoolSkusResponder handles the response to the ListWorkerPoolSkus request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusSender(req *http.Request) (*http.Response, error)
ListWorkerPoolSkusSender sends the ListWorkerPoolSkus request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) ListWorkerPools(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolCollectionPage, err error)
ListWorkerPools get all worker pools of an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolCollectionIterator, err error)
ListWorkerPoolsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ListWorkerPoolsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListWorkerPoolsPreparer prepares the ListWorkerPools request.
func (client AppServiceEnvironmentsClient) ListWorkerPoolsResponder(resp *http.Response) (result WorkerPoolCollection, err error)
ListWorkerPoolsResponder handles the response to the ListWorkerPools request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ListWorkerPoolsSender(req *http.Request) (*http.Response, error)
ListWorkerPoolsSender sends the ListWorkerPools request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) Reboot(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
Reboot reboot all machines in an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) RebootPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
RebootPreparer prepares the Reboot request.
func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) (result autorest.Response, err error)
RebootResponder handles the response to the Reboot request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) RebootSender(req *http.Request) (*http.Response, error)
RebootSender sends the Reboot request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) Resume(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentsResumeFuture, err error)
Resume resume an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentsResumeAllFuture, err error)
ResumeComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) ResumePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ResumePreparer prepares the Resume request.
func (client AppServiceEnvironmentsClient) ResumeResponder(resp *http.Response) (result AppCollectionPage, err error)
ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) ResumeSender(req *http.Request) (future AppServiceEnvironmentsResumeFuture, err error)
ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) Suspend(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentsSuspendFuture, err error)
Suspend suspend an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment.
func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentsSuspendAllFuture, err error)
SuspendComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServiceEnvironmentsClient) SuspendPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
SuspendPreparer prepares the Suspend request.
func (client AppServiceEnvironmentsClient) SuspendResponder(resp *http.Response) (result AppCollectionPage, err error)
SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) SuspendSender(req *http.Request) (future AppServiceEnvironmentsSuspendFuture, err error)
SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) Update(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope AppServiceEnvironmentPatchResource) (result AppServiceEnvironmentResource, err error)
Update create or update an App Service Environment. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. hostingEnvironmentEnvelope - configuration details of the App Service Environment.
func (client AppServiceEnvironmentsClient) UpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource) (result WorkerPoolResource, err error)
UpdateMultiRolePool create or update a multi-role pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. multiRolePoolEnvelope - properties of the multi-role pool.
func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolPreparer(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource) (*http.Request, error)
UpdateMultiRolePoolPreparer prepares the UpdateMultiRolePool request.
func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *http.Response) (result WorkerPoolResource, err error)
UpdateMultiRolePoolResponder handles the response to the UpdateMultiRolePool request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolSender(req *http.Request) (*http.Response, error)
UpdateMultiRolePoolSender sends the UpdateMultiRolePool request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope AppServiceEnvironmentPatchResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) (result AppServiceEnvironmentResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
func (client AppServiceEnvironmentsClient) UpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource) (result WorkerPoolResource, err error)
UpdateWorkerPool create or update a worker pool. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service Environment. workerPoolName - name of the worker pool. workerPoolEnvelope - properties of the worker pool.
func (client AppServiceEnvironmentsClient) UpdateWorkerPoolPreparer(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource) (*http.Request, error)
UpdateWorkerPoolPreparer prepares the UpdateWorkerPool request.
func (client AppServiceEnvironmentsClient) UpdateWorkerPoolResponder(resp *http.Response) (result WorkerPoolResource, err error)
UpdateWorkerPoolResponder handles the response to the UpdateWorkerPool request. The method always closes the http.Response Body.
func (client AppServiceEnvironmentsClient) UpdateWorkerPoolSender(req *http.Request) (*http.Response, error)
UpdateWorkerPoolSender sends the UpdateWorkerPool request. The method will close the http.Response Body if it receives an error.
AppServiceEnvironmentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (AppServiceEnvironmentResource, error) }
func (future *AppServiceEnvironmentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsCreateOrUpdateMultiRolePoolFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsCreateOrUpdateMultiRolePoolFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (WorkerPoolResource, error) }
func (future *AppServiceEnvironmentsCreateOrUpdateMultiRolePoolFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsCreateOrUpdateWorkerPoolFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsCreateOrUpdateWorkerPoolFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (WorkerPoolResource, error) }
func (future *AppServiceEnvironmentsCreateOrUpdateWorkerPoolFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (autorest.Response, error) }
func (future *AppServiceEnvironmentsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsResumeAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsResumeAllFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (AppCollectionPage, error) }
func (future *AppServiceEnvironmentsResumeAllFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsResumeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (AppCollectionPage, error) }
func (future *AppServiceEnvironmentsResumeFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsSuspendAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsSuspendAllFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (AppCollectionPage, error) }
func (future *AppServiceEnvironmentsSuspendAllFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServiceEnvironmentsSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServiceEnvironmentsSuspendFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServiceEnvironmentsClient) (AppCollectionPage, error) }
func (future *AppServiceEnvironmentsSuspendFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppServicePlan app Service plan.
type AppServicePlan struct { autorest.Response `json:"-"` // AppServicePlanProperties - AppServicePlan resource specific properties *AppServicePlanProperties `json:"properties,omitempty"` Sku *SkuDescription `json:"sku,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (asp AppServicePlan) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServicePlan.
func (asp *AppServicePlan) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServicePlan struct.
AppServicePlanCollection collection of App Service plans.
type AppServicePlanCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]AppServicePlan `json:"value,omitempty"` // NextLink - Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (aspc AppServicePlanCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
AppServicePlanCollectionIterator provides access to a complete listing of AppServicePlan values.
type AppServicePlanCollectionIterator struct {
// contains filtered or unexported fields
}
func NewAppServicePlanCollectionIterator(page AppServicePlanCollectionPage) AppServicePlanCollectionIterator
Creates a new instance of the AppServicePlanCollectionIterator type.
func (iter *AppServicePlanCollectionIterator) 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 (iter *AppServicePlanCollectionIterator) 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 (iter AppServicePlanCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AppServicePlanCollectionIterator) Response() AppServicePlanCollection
Response returns the raw server response from the last page request.
func (iter AppServicePlanCollectionIterator) Value() AppServicePlan
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AppServicePlanCollectionPage contains a page of AppServicePlan values.
type AppServicePlanCollectionPage struct {
// contains filtered or unexported fields
}
func NewAppServicePlanCollectionPage(cur AppServicePlanCollection, getNextPage func(context.Context, AppServicePlanCollection) (AppServicePlanCollection, error)) AppServicePlanCollectionPage
Creates a new instance of the AppServicePlanCollectionPage type.
func (page *AppServicePlanCollectionPage) 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 (page *AppServicePlanCollectionPage) 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 (page AppServicePlanCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AppServicePlanCollectionPage) Response() AppServicePlanCollection
Response returns the raw server response from the last page request.
func (page AppServicePlanCollectionPage) Values() []AppServicePlan
Values returns the slice of values for the current page or nil if there are no values.
AppServicePlanPatchResource ARM resource for a app service plan.
type AppServicePlanPatchResource struct { // AppServicePlanPatchResourceProperties - AppServicePlanPatchResource resource specific properties *AppServicePlanPatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (asppr AppServicePlanPatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServicePlanPatchResource.
func (asppr *AppServicePlanPatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppServicePlanPatchResource struct.
AppServicePlanPatchResourceProperties appServicePlanPatchResource resource specific properties
type AppServicePlanPatchResourceProperties struct { // Name - Name for the App Service plan. Name *string `json:"name,omitempty"` // WorkerTierName - Target worker tier assigned to the App Service plan. WorkerTierName *string `json:"workerTierName,omitempty"` // Status - READ-ONLY; App Service plan status. Possible values include: 'StatusOptionsReady', 'StatusOptionsPending', 'StatusOptionsCreating' Status StatusOptions `json:"status,omitempty"` // Subscription - READ-ONLY; App Service plan subscription. Subscription *string `json:"subscription,omitempty"` // AdminSiteName - App Service plan administration site. AdminSiteName *string `json:"adminSiteName,omitempty"` // HostingEnvironmentProfile - Specification for the App Service Environment to use for the App Service plan. HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` // MaximumNumberOfWorkers - READ-ONLY; Maximum number of instances that can be assigned to this App Service plan. MaximumNumberOfWorkers *int32 `json:"maximumNumberOfWorkers,omitempty"` // GeoRegion - READ-ONLY; Geographical location for the App Service plan. GeoRegion *string `json:"geoRegion,omitempty"` // PerSiteScaling - If <code>true</code>, apps assigned to this App Service plan can be scaled independently. // If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. PerSiteScaling *bool `json:"perSiteScaling,omitempty"` // NumberOfSites - READ-ONLY; Number of apps assigned to this App Service plan. NumberOfSites *int32 `json:"numberOfSites,omitempty"` // IsSpot - If <code>true</code>, this App Service Plan owns spot instances. IsSpot *bool `json:"isSpot,omitempty"` // SpotExpirationTime - The time when the server farm expires. Valid only if it is a spot server farm. SpotExpirationTime *date.Time `json:"spotExpirationTime,omitempty"` // ResourceGroup - READ-ONLY; Resource group of the App Service plan. ResourceGroup *string `json:"resourceGroup,omitempty"` // Reserved - If Linux app service plan <code>true</code>, <code>false</code> otherwise. Reserved *bool `json:"reserved,omitempty"` // TargetWorkerCount - Scaling worker count. TargetWorkerCount *int32 `json:"targetWorkerCount,omitempty"` // TargetWorkerSizeID - Scaling worker size ID. TargetWorkerSizeID *int32 `json:"targetWorkerSizeId,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the App Service Environment. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (asppr AppServicePlanPatchResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServicePlanPatchResourceProperties.
AppServicePlanProperties appServicePlan resource specific properties
type AppServicePlanProperties struct { // Name - Name for the App Service plan. Name *string `json:"name,omitempty"` // WorkerTierName - Target worker tier assigned to the App Service plan. WorkerTierName *string `json:"workerTierName,omitempty"` // Status - READ-ONLY; App Service plan status. Possible values include: 'StatusOptionsReady', 'StatusOptionsPending', 'StatusOptionsCreating' Status StatusOptions `json:"status,omitempty"` // Subscription - READ-ONLY; App Service plan subscription. Subscription *string `json:"subscription,omitempty"` // AdminSiteName - App Service plan administration site. AdminSiteName *string `json:"adminSiteName,omitempty"` // HostingEnvironmentProfile - Specification for the App Service Environment to use for the App Service plan. HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` // MaximumNumberOfWorkers - READ-ONLY; Maximum number of instances that can be assigned to this App Service plan. MaximumNumberOfWorkers *int32 `json:"maximumNumberOfWorkers,omitempty"` // GeoRegion - READ-ONLY; Geographical location for the App Service plan. GeoRegion *string `json:"geoRegion,omitempty"` // PerSiteScaling - If <code>true</code>, apps assigned to this App Service plan can be scaled independently. // If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. PerSiteScaling *bool `json:"perSiteScaling,omitempty"` // NumberOfSites - READ-ONLY; Number of apps assigned to this App Service plan. NumberOfSites *int32 `json:"numberOfSites,omitempty"` // IsSpot - If <code>true</code>, this App Service Plan owns spot instances. IsSpot *bool `json:"isSpot,omitempty"` // SpotExpirationTime - The time when the server farm expires. Valid only if it is a spot server farm. SpotExpirationTime *date.Time `json:"spotExpirationTime,omitempty"` // ResourceGroup - READ-ONLY; Resource group of the App Service plan. ResourceGroup *string `json:"resourceGroup,omitempty"` // Reserved - If Linux app service plan <code>true</code>, <code>false</code> otherwise. Reserved *bool `json:"reserved,omitempty"` // TargetWorkerCount - Scaling worker count. TargetWorkerCount *int32 `json:"targetWorkerCount,omitempty"` // TargetWorkerSizeID - Scaling worker size ID. TargetWorkerSizeID *int32 `json:"targetWorkerSizeId,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the App Service Environment. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
func (asp AppServicePlanProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppServicePlanProperties.
AppServicePlanRestrictions enumerates the values for app service plan restrictions.
type AppServicePlanRestrictions string
const ( // Basic ... Basic AppServicePlanRestrictions = "Basic" // Free ... Free AppServicePlanRestrictions = "Free" // None ... None AppServicePlanRestrictions = "None" // Premium ... Premium AppServicePlanRestrictions = "Premium" // Shared ... AppServicePlanRestrictions = "Shared" // Standard ... Standard AppServicePlanRestrictions = "Standard" )
func PossibleAppServicePlanRestrictionsValues() []AppServicePlanRestrictions
PossibleAppServicePlanRestrictionsValues returns an array of possible values for the AppServicePlanRestrictions const type.
AppServicePlansClient is the webSite Management Client
type AppServicePlansClient struct { BaseClient }
func NewAppServicePlansClient(subscriptionID string) AppServicePlansClient
NewAppServicePlansClient creates an instance of the AppServicePlansClient client.
func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) AppServicePlansClient
NewAppServicePlansClientWithBaseURI creates an instance of the AppServicePlansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AppServicePlansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, appServicePlan AppServicePlan) (result AppServicePlansCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an App Service Plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. appServicePlan - details of the App Service plan.
func (client AppServicePlansClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, appServicePlan AppServicePlan) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) (result AppServicePlan, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client AppServicePlansClient) CreateOrUpdateSender(req *http.Request) (future AppServicePlansCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) CreateOrUpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute) (result VnetRoute, err error)
CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network. routeName - name of the Virtual Network route. route - definition of the Virtual Network route.
func (client AppServicePlansClient) CreateOrUpdateVnetRoutePreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute) (*http.Request, error)
CreateOrUpdateVnetRoutePreparer prepares the CreateOrUpdateVnetRoute request.
func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http.Response) (result VnetRoute, err error)
CreateOrUpdateVnetRouteResponder handles the response to the CreateOrUpdateVnetRoute request. The method always closes the http.Response Body.
func (client AppServicePlansClient) CreateOrUpdateVnetRouteSender(req *http.Request) (*http.Response, error)
CreateOrUpdateVnetRouteSender sends the CreateOrUpdateVnetRoute request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
Delete delete an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result autorest.Response, err error)
DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. namespaceName - name of the Service Bus namespace. relayName - name of the Service Bus relay.
func (client AppServicePlansClient) DeleteHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
DeleteHybridConnectionPreparer prepares the DeleteHybridConnection request.
func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.Response) (result autorest.Response, err error)
DeleteHybridConnectionResponder handles the response to the DeleteHybridConnection request. The method always closes the http.Response Body.
func (client AppServicePlansClient) DeleteHybridConnectionSender(req *http.Request) (*http.Response, error)
DeleteHybridConnectionSender sends the DeleteHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AppServicePlansClient) 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 (client AppServicePlansClient) 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 (client AppServicePlansClient) DeleteVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string) (result autorest.Response, err error)
DeleteVnetRoute delete a Virtual Network route in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network. routeName - name of the Virtual Network route.
func (client AppServicePlansClient) DeleteVnetRoutePreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string) (*http.Request, error)
DeleteVnetRoutePreparer prepares the DeleteVnetRoute request.
func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteVnetRouteResponder handles the response to the DeleteVnetRoute request. The method always closes the http.Response Body.
func (client AppServicePlansClient) DeleteVnetRouteSender(req *http.Request) (*http.Response, error)
DeleteVnetRouteSender sends the DeleteVnetRoute request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) Get(ctx context.Context, resourceGroupName string, name string) (result AppServicePlan, err error)
Get get an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnection, err error)
GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. namespaceName - name of the Service Bus namespace. relayName - name of the Service Bus relay.
func (client AppServicePlansClient) GetHybridConnectionPlanLimit(ctx context.Context, resourceGroupName string, name string) (result HybridConnectionLimits, err error)
GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) GetHybridConnectionPlanLimitPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetHybridConnectionPlanLimitPreparer prepares the GetHybridConnectionPlanLimit request.
func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp *http.Response) (result HybridConnectionLimits, err error)
GetHybridConnectionPlanLimitResponder handles the response to the GetHybridConnectionPlanLimit request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetHybridConnectionPlanLimitSender(req *http.Request) (*http.Response, error)
GetHybridConnectionPlanLimitSender sends the GetHybridConnectionPlanLimit request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) GetHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
GetHybridConnectionPreparer prepares the GetHybridConnection request.
func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Response) (result HybridConnection, err error)
GetHybridConnectionResponder handles the response to the GetHybridConnection request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetHybridConnectionSender(req *http.Request) (*http.Response, error)
GetHybridConnectionSender sends the GetHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client AppServicePlansClient) GetResponder(resp *http.Response) (result AppServicePlan, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetRouteForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string) (result ListVnetRoute, err error)
GetRouteForVnet get a Virtual Network route in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network. routeName - name of the Virtual Network route.
func (client AppServicePlansClient) GetRouteForVnetPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string) (*http.Request, error)
GetRouteForVnetPreparer prepares the GetRouteForVnet request.
func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response) (result ListVnetRoute, err error)
GetRouteForVnetResponder handles the response to the GetRouteForVnet request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetRouteForVnetSender(req *http.Request) (*http.Response, error)
GetRouteForVnetSender sends the GetRouteForVnet request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) 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 (client AppServicePlansClient) GetServerFarmSkus(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error)
GetServerFarmSkus gets all selectable SKUs for a given App Service Plan Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of App Service Plan
func (client AppServicePlansClient) GetServerFarmSkusPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetServerFarmSkusPreparer prepares the GetServerFarmSkus request.
func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Response) (result SetObject, err error)
GetServerFarmSkusResponder handles the response to the GetServerFarmSkus request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetServerFarmSkusSender(req *http.Request) (*http.Response, error)
GetServerFarmSkusSender sends the GetServerFarmSkus request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) GetVnetFromServerFarm(ctx context.Context, resourceGroupName string, name string, vnetName string) (result VnetInfo, err error)
GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network.
func (client AppServicePlansClient) GetVnetFromServerFarmPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string) (*http.Request, error)
GetVnetFromServerFarmPreparer prepares the GetVnetFromServerFarm request.
func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Response) (result VnetInfo, err error)
GetVnetFromServerFarmResponder handles the response to the GetVnetFromServerFarm request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetVnetFromServerFarmSender(req *http.Request) (*http.Response, error)
GetVnetFromServerFarmSender sends the GetVnetFromServerFarm request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) GetVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string) (result VnetGateway, err error)
GetVnetGateway get a Virtual Network gateway. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Only the 'primary' gateway is supported.
func (client AppServicePlansClient) GetVnetGatewayPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string) (*http.Request, error)
GetVnetGatewayPreparer prepares the GetVnetGateway request.
func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) (result VnetGateway, err error)
GetVnetGatewayResponder handles the response to the GetVnetGateway request. The method always closes the http.Response Body.
func (client AppServicePlansClient) GetVnetGatewaySender(req *http.Request) (*http.Response, error)
GetVnetGatewaySender sends the GetVnetGateway request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) List(ctx context.Context, detailed *bool) (result AppServicePlanCollectionPage, err error)
List get all App Service plans for a subscription. Parameters: detailed - specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency.
func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error)
ListByResourceGroup get all App Service plans in a resource group. Parameters: resourceGroupName - name of the resource group to which the resource belongs.
func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AppServicePlansClient) ListByResourceGroupResponder(resp *http.Response) (result AppServicePlanCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListCapabilities(ctx context.Context, resourceGroupName string, name string) (result ListCapability, err error)
ListCapabilities list all capabilities of an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) ListCapabilitiesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListCapabilitiesPreparer prepares the ListCapabilities request.
func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Response) (result ListCapability, err error)
ListCapabilitiesResponder handles the response to the ListCapabilities request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListCapabilitiesSender(req *http.Request) (*http.Response, error)
ListCapabilitiesSender sends the ListCapabilities request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed *bool) (result AppServicePlanCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListHybridConnectionKeys(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnectionKey, err error)
ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. namespaceName - the name of the Service Bus namespace. relayName - the name of the Service Bus relay.
func (client AppServicePlansClient) ListHybridConnectionKeysPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
ListHybridConnectionKeysPreparer prepares the ListHybridConnectionKeys request.
func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http.Response) (result HybridConnectionKey, err error)
ListHybridConnectionKeysResponder handles the response to the ListHybridConnectionKeys request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListHybridConnectionKeysSender(req *http.Request) (*http.Response, error)
ListHybridConnectionKeysSender sends the ListHybridConnectionKeys request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListHybridConnections(ctx context.Context, resourceGroupName string, name string) (result HybridConnectionCollectionPage, err error)
ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Context, resourceGroupName string, name string) (result HybridConnectionCollectionIterator, err error)
ListHybridConnectionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListHybridConnectionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListHybridConnectionsPreparer prepares the ListHybridConnections request.
func (client AppServicePlansClient) ListHybridConnectionsResponder(resp *http.Response) (result HybridConnectionCollection, err error)
ListHybridConnectionsResponder handles the response to the ListHybridConnections request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListHybridConnectionsSender(req *http.Request) (*http.Response, error)
ListHybridConnectionsSender sends the ListHybridConnections request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListMetricDefintions(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionPage, err error)
ListMetricDefintions get metrics that can be queried for an App Service plan, and their definitions. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) ListMetricDefintionsComplete(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListMetricDefintionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListMetricDefintionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMetricDefintionsPreparer prepares the ListMetricDefintions request.
func (client AppServicePlansClient) ListMetricDefintionsResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListMetricDefintionsResponder handles the response to the ListMetricDefintions request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListMetricDefintionsSender(req *http.Request) (*http.Response, error)
ListMetricDefintionsSender sends the ListMetricDefintions request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListMetrics(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListMetrics get metrics for an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. details - specify <code>true</code> to include instance details. The default is <code>false</code>. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppServicePlansClient) ListMetricsComplete(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (*http.Request, error)
ListMetricsPreparer prepares the ListMetrics request.
func (client AppServicePlansClient) ListMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListMetricsSender(req *http.Request) (*http.Response, error)
ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListPreparer(ctx context.Context, detailed *bool) (*http.Request, error)
ListPreparer prepares the List request.
func (client AppServicePlansClient) ListResponder(resp *http.Response) (result AppServicePlanCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListRoutesForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string) (result ListVnetRoute, err error)
ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network.
func (client AppServicePlansClient) ListRoutesForVnetPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string) (*http.Request, error)
ListRoutesForVnetPreparer prepares the ListRoutesForVnet request.
func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Response) (result ListVnetRoute, err error)
ListRoutesForVnetResponder handles the response to the ListRoutesForVnet request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListRoutesForVnetSender(req *http.Request) (*http.Response, error)
ListRoutesForVnetSender sends the ListRoutesForVnet request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) 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.
func (client AppServicePlansClient) ListUsages(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionPage, err error)
ListUsages gets server farm usage information Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of App Service Plan filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2').
func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionIterator, err error)
ListUsagesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, name string, filter string) (*http.Request, error)
ListUsagesPreparer prepares the ListUsages request.
func (client AppServicePlansClient) ListUsagesResponder(resp *http.Response) (result CsmUsageQuotaCollection, err error)
ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListUsagesSender(req *http.Request) (*http.Response, error)
ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListVnets(ctx context.Context, resourceGroupName string, name string) (result ListVnetInfo, err error)
ListVnets get all Virtual Networks associated with an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan.
func (client AppServicePlansClient) ListVnetsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListVnetsPreparer prepares the ListVnets request.
func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (result ListVnetInfo, err error)
ListVnetsResponder handles the response to the ListVnets request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListVnetsSender(req *http.Request) (*http.Response, error)
ListVnetsSender sends the ListVnets request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListWebApps(ctx context.Context, resourceGroupName string, name string, skipToken string, filter string, top string) (result AppCollectionPage, err error)
ListWebApps get all apps associated with an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. skipToken - skip to a web app in the list of webapps associated with app service plan. If specified, the resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list contains web apps from the start of the list filter - supported filter: $filter=state eq running. Returns only web apps that are currently running top - list page size. If specified, results are paged.
func (client AppServicePlansClient) ListWebAppsByHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result ResourceCollectionPage, err error)
ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. namespaceName - name of the Hybrid Connection namespace. relayName - name of the Hybrid Connection relay.
func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result ResourceCollectionIterator, err error)
ListWebAppsByHybridConnectionComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListWebAppsByHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
ListWebAppsByHybridConnectionPreparer prepares the ListWebAppsByHybridConnection request.
func (client AppServicePlansClient) ListWebAppsByHybridConnectionResponder(resp *http.Response) (result ResourceCollection, err error)
ListWebAppsByHybridConnectionResponder handles the response to the ListWebAppsByHybridConnection request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListWebAppsByHybridConnectionSender(req *http.Request) (*http.Response, error)
ListWebAppsByHybridConnectionSender sends the ListWebAppsByHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, resourceGroupName string, name string, skipToken string, filter string, top string) (result AppCollectionIterator, err error)
ListWebAppsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppServicePlansClient) ListWebAppsPreparer(ctx context.Context, resourceGroupName string, name string, skipToken string, filter string, top string) (*http.Request, error)
ListWebAppsPreparer prepares the ListWebApps request.
func (client AppServicePlansClient) ListWebAppsResponder(resp *http.Response) (result AppCollection, err error)
ListWebAppsResponder handles the response to the ListWebApps request. The method always closes the http.Response Body.
func (client AppServicePlansClient) ListWebAppsSender(req *http.Request) (*http.Response, error)
ListWebAppsSender sends the ListWebApps request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) RebootWorker(ctx context.Context, resourceGroupName string, name string, workerName string) (result autorest.Response, err error)
RebootWorker reboot a worker machine in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. workerName - name of worker machine, which typically starts with RD.
func (client AppServicePlansClient) RebootWorkerPreparer(ctx context.Context, resourceGroupName string, name string, workerName string) (*http.Request, error)
RebootWorkerPreparer prepares the RebootWorker request.
func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) (result autorest.Response, err error)
RebootWorkerResponder handles the response to the RebootWorker request. The method always closes the http.Response Body.
func (client AppServicePlansClient) RebootWorkerSender(req *http.Request) (*http.Response, error)
RebootWorkerSender sends the RebootWorker request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) RestartWebApps(ctx context.Context, resourceGroupName string, name string, softRestart *bool) (result autorest.Response, err error)
RestartWebApps restart all apps in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. softRestart - specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps
func (client AppServicePlansClient) RestartWebAppsPreparer(ctx context.Context, resourceGroupName string, name string, softRestart *bool) (*http.Request, error)
RestartWebAppsPreparer prepares the RestartWebApps request.
func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) (result autorest.Response, err error)
RestartWebAppsResponder handles the response to the RestartWebApps request. The method always closes the http.Response Body.
func (client AppServicePlansClient) RestartWebAppsSender(req *http.Request) (*http.Response, error)
RestartWebAppsSender sends the RestartWebApps request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) Update(ctx context.Context, resourceGroupName string, name string, appServicePlan AppServicePlanPatchResource) (result AppServicePlan, err error)
Update creates or updates an App Service Plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. appServicePlan - details of the App Service plan.
func (client AppServicePlansClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, appServicePlan AppServicePlanPatchResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result AppServicePlan, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client AppServicePlansClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) UpdateVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (result VnetGateway, err error)
UpdateVnetGateway update a Virtual Network gateway. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Only the 'primary' gateway is supported. connectionEnvelope - definition of the gateway.
func (client AppServicePlansClient) UpdateVnetGatewayPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (*http.Request, error)
UpdateVnetGatewayPreparer prepares the UpdateVnetGateway request.
func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Response) (result VnetGateway, err error)
UpdateVnetGatewayResponder handles the response to the UpdateVnetGateway request. The method always closes the http.Response Body.
func (client AppServicePlansClient) UpdateVnetGatewaySender(req *http.Request) (*http.Response, error)
UpdateVnetGatewaySender sends the UpdateVnetGateway request. The method will close the http.Response Body if it receives an error.
func (client AppServicePlansClient) UpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute) (result VnetRoute, err error)
UpdateVnetRoute create or update a Virtual Network route in an App Service plan. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the App Service plan. vnetName - name of the Virtual Network. routeName - name of the Virtual Network route. route - definition of the Virtual Network route.
func (client AppServicePlansClient) UpdateVnetRoutePreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute) (*http.Request, error)
UpdateVnetRoutePreparer prepares the UpdateVnetRoute request.
func (client AppServicePlansClient) UpdateVnetRouteResponder(resp *http.Response) (result VnetRoute, err error)
UpdateVnetRouteResponder handles the response to the UpdateVnetRoute request. The method always closes the http.Response Body.
func (client AppServicePlansClient) UpdateVnetRouteSender(req *http.Request) (*http.Response, error)
UpdateVnetRouteSender sends the UpdateVnetRoute request. The method will close the http.Response Body if it receives an error.
AppServicePlansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppServicePlansCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppServicePlansClient) (AppServicePlan, error) }
func (future *AppServicePlansCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ApplicationLogsConfig application logs configuration.
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"` }
ApplicationStack application stack.
type ApplicationStack struct { // Name - Application stack name. Name *string `json:"name,omitempty"` // Display - Application stack display name. Display *string `json:"display,omitempty"` // Dependency - Application stack dependency. Dependency *string `json:"dependency,omitempty"` // MajorVersions - List of major versions available. MajorVersions *[]StackMajorVersion `json:"majorVersions,omitempty"` // Frameworks - List of frameworks associated with application stack. Frameworks *[]ApplicationStack `json:"frameworks,omitempty"` }
ApplicationStackCollection collection of Application Stacks
type ApplicationStackCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ApplicationStack `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (asc ApplicationStackCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (asc ApplicationStackCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationStackCollection.
ApplicationStackCollectionIterator provides access to a complete listing of ApplicationStack values.
type ApplicationStackCollectionIterator struct {
// contains filtered or unexported fields
}
func NewApplicationStackCollectionIterator(page ApplicationStackCollectionPage) ApplicationStackCollectionIterator
Creates a new instance of the ApplicationStackCollectionIterator type.
func (iter *ApplicationStackCollectionIterator) 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 (iter *ApplicationStackCollectionIterator) 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 (iter ApplicationStackCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationStackCollectionIterator) Response() ApplicationStackCollection
Response returns the raw server response from the last page request.
func (iter ApplicationStackCollectionIterator) Value() ApplicationStack
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ApplicationStackCollectionPage contains a page of ApplicationStack values.
type ApplicationStackCollectionPage struct {
// contains filtered or unexported fields
}
func NewApplicationStackCollectionPage(cur ApplicationStackCollection, getNextPage func(context.Context, ApplicationStackCollection) (ApplicationStackCollection, error)) ApplicationStackCollectionPage
Creates a new instance of the ApplicationStackCollectionPage type.
func (page *ApplicationStackCollectionPage) 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 (page *ApplicationStackCollectionPage) 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 (page ApplicationStackCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationStackCollectionPage) Response() ApplicationStackCollection
Response returns the raw server response from the last page request.
func (page ApplicationStackCollectionPage) Values() []ApplicationStack
Values returns the slice of values for the current page or nil if there are no values.
AppsClient is the webSite Management Client
type AppsClient struct { BaseClient }
func NewAppsClient(subscriptionID string) AppsClient
NewAppsClient creates an instance of the AppsClient client.
func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient
NewAppsClientWithBaseURI creates an instance of the AppsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AppsClient) AddPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn) (result PremierAddOn, err error)
AddPremierAddOn updates a named add-on of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. premierAddOnName - add-on name. premierAddOn - a JSON representation of the edited premier add-on.
func (client AppsClient) AddPremierAddOnPreparer(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn) (*http.Request, error)
AddPremierAddOnPreparer prepares the AddPremierAddOn request.
func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result PremierAddOn, err error)
AddPremierAddOnResponder handles the response to the AddPremierAddOn request. The method always closes the http.Response Body.
func (client AppsClient) AddPremierAddOnSender(req *http.Request) (*http.Response, error)
AddPremierAddOnSender sends the AddPremierAddOn request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) AddPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn, slot string) (result PremierAddOn, err error)
AddPremierAddOnSlot updates a named add-on of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. premierAddOnName - add-on name. premierAddOn - a JSON representation of the edited premier add-on. slot - name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.
func (client AppsClient) AddPremierAddOnSlotPreparer(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn, slot string) (*http.Request, error)
AddPremierAddOnSlotPreparer prepares the AddPremierAddOnSlot request.
func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (result PremierAddOn, err error)
AddPremierAddOnSlotResponder handles the response to the AddPremierAddOnSlot request. The method always closes the http.Response Body.
func (client AppsClient) AddPremierAddOnSlotSender(req *http.Request) (*http.Response, error)
AddPremierAddOnSlotSender sends the AddPremierAddOnSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) AnalyzeCustomHostname(ctx context.Context, resourceGroupName string, name string, hostName string) (result CustomHostnameAnalysisResult, err error)
AnalyzeCustomHostname analyze a custom hostname. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. hostName - custom hostname.
func (client AppsClient) AnalyzeCustomHostnamePreparer(ctx context.Context, resourceGroupName string, name string, hostName string) (*http.Request, error)
AnalyzeCustomHostnamePreparer prepares the AnalyzeCustomHostname request.
func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (result CustomHostnameAnalysisResult, err error)
AnalyzeCustomHostnameResponder handles the response to the AnalyzeCustomHostname request. The method always closes the http.Response Body.
func (client AppsClient) AnalyzeCustomHostnameSender(req *http.Request) (*http.Response, error)
AnalyzeCustomHostnameSender sends the AnalyzeCustomHostname request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) AnalyzeCustomHostnameSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (result CustomHostnameAnalysisResult, err error)
AnalyzeCustomHostnameSlot analyze a custom hostname. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot. hostName - custom hostname.
func (client AppsClient) AnalyzeCustomHostnameSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (*http.Request, error)
AnalyzeCustomHostnameSlotPreparer prepares the AnalyzeCustomHostnameSlot request.
func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) (result CustomHostnameAnalysisResult, err error)
AnalyzeCustomHostnameSlotResponder handles the response to the AnalyzeCustomHostnameSlot request. The method always closes the http.Response Body.
func (client AppsClient) AnalyzeCustomHostnameSlotSender(req *http.Request) (*http.Response, error)
AnalyzeCustomHostnameSlotSender sends the AnalyzeCustomHostnameSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ApplySlotConfigToProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result autorest.Response, err error)
ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotSwapEntity - JSON object that contains the target slot name. See example.
func (client AppsClient) ApplySlotConfigToProductionPreparer(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (*http.Request, error)
ApplySlotConfigToProductionPreparer prepares the ApplySlotConfigToProduction request.
func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Response) (result autorest.Response, err error)
ApplySlotConfigToProductionResponder handles the response to the ApplySlotConfigToProduction request. The method always closes the http.Response Body.
func (client AppsClient) ApplySlotConfigToProductionSender(req *http.Request) (*http.Response, error)
ApplySlotConfigToProductionSender sends the ApplySlotConfigToProduction request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ApplySlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result autorest.Response, err error)
ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotSwapEntity - JSON object that contains the target slot name. See example. slot - name of the source slot. If a slot is not specified, the production slot is used as the source slot.
func (client AppsClient) ApplySlotConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (*http.Request, error)
ApplySlotConfigurationSlotPreparer prepares the ApplySlotConfigurationSlot request.
func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response) (result autorest.Response, err error)
ApplySlotConfigurationSlotResponder handles the response to the ApplySlotConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) ApplySlotConfigurationSlotSender(req *http.Request) (*http.Response, error)
ApplySlotConfigurationSlotSender sends the ApplySlotConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Backup(ctx context.Context, resourceGroupName string, name string, request BackupRequest) (result BackupItem, err error)
Backup creates a backup of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. request - backup configuration. You can use the JSON response from the POST action as input here.
func (client AppsClient) BackupPreparer(ctx context.Context, resourceGroupName string, name string, request BackupRequest) (*http.Request, error)
BackupPreparer prepares the Backup request.
func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem, err error)
BackupResponder handles the response to the Backup request. The method always closes the http.Response Body.
func (client AppsClient) BackupSender(req *http.Request) (*http.Response, error)
BackupSender sends the Backup request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) BackupSlot(ctx context.Context, resourceGroupName string, name string, request BackupRequest, slot string) (result BackupItem, err error)
BackupSlot creates a backup of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. request - backup configuration. You can use the JSON response from the POST action as input here. slot - name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.
func (client AppsClient) BackupSlotPreparer(ctx context.Context, resourceGroupName string, name string, request BackupRequest, slot string) (*http.Request, error)
BackupSlotPreparer prepares the BackupSlot request.
func (client AppsClient) BackupSlotResponder(resp *http.Response) (result BackupItem, err error)
BackupSlotResponder handles the response to the BackupSlot request. The method always closes the http.Response Body.
func (client AppsClient) BackupSlotSender(req *http.Request) (*http.Response, error)
BackupSlotSender sends the BackupSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateDeployment(ctx context.Context, resourceGroupName string, name string, ID string, deployment Deployment) (result Deployment, err error)
CreateDeployment create a deployment for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - ID of an existing deployment. deployment - deployment details.
func (client AppsClient) CreateDeploymentPreparer(ctx context.Context, resourceGroupName string, name string, ID string, deployment Deployment) (*http.Request, error)
CreateDeploymentPreparer prepares the CreateDeployment request.
func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result Deployment, err error)
CreateDeploymentResponder handles the response to the CreateDeployment request. The method always closes the http.Response Body.
func (client AppsClient) CreateDeploymentSender(req *http.Request) (*http.Response, error)
CreateDeploymentSender sends the CreateDeployment request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateDeploymentSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string, deployment Deployment) (result Deployment, err error)
CreateDeploymentSlot create a deployment for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - ID of an existing deployment. slot - name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. deployment - deployment details.
func (client AppsClient) CreateDeploymentSlotPreparer(ctx context.Context, resourceGroupName string, name string, ID string, slot string, deployment Deployment) (*http.Request, error)
CreateDeploymentSlotPreparer prepares the CreateDeploymentSlot request.
func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (result Deployment, err error)
CreateDeploymentSlotResponder handles the response to the CreateDeploymentSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateDeploymentSlotSender(req *http.Request) (*http.Response, error)
CreateDeploymentSlotSender sends the CreateDeploymentSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateFunction(ctx context.Context, resourceGroupName string, name string, functionName string, functionEnvelope FunctionEnvelope) (result AppsCreateFunctionFuture, err error)
CreateFunction create function for web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name. functionEnvelope - function details.
func (client AppsClient) CreateFunctionPreparer(ctx context.Context, resourceGroupName string, name string, functionName string, functionEnvelope FunctionEnvelope) (*http.Request, error)
CreateFunctionPreparer prepares the CreateFunction request.
func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result FunctionEnvelope, err error)
CreateFunctionResponder handles the response to the CreateFunction request. The method always closes the http.Response Body.
func (client AppsClient) CreateFunctionSender(req *http.Request) (future AppsCreateFunctionFuture, err error)
CreateFunctionSender sends the CreateFunction request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, functionEnvelope FunctionEnvelope) (result AppsCreateInstanceFunctionSlotFuture, err error)
CreateInstanceFunctionSlot create function for web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. functionEnvelope - function details.
func (client AppsClient) CreateInstanceFunctionSlotPreparer(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, functionEnvelope FunctionEnvelope) (*http.Request, error)
CreateInstanceFunctionSlotPreparer prepares the CreateInstanceFunctionSlot request.
func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response) (result FunctionEnvelope, err error)
CreateInstanceFunctionSlotResponder handles the response to the CreateInstanceFunctionSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateInstanceFunctionSlotSender(req *http.Request) (future AppsCreateInstanceFunctionSlotFuture, err error)
CreateInstanceFunctionSlotSender sends the CreateInstanceFunctionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateInstanceMSDeployOperation(ctx context.Context, resourceGroupName string, name string, instanceID string, mSDeploy MSDeploy) (result AppsCreateInstanceMSDeployOperationFuture, err error)
CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. instanceID - ID of web app instance. mSDeploy - details of MSDeploy operation
func (client AppsClient) CreateInstanceMSDeployOperationPreparer(ctx context.Context, resourceGroupName string, name string, instanceID string, mSDeploy MSDeploy) (*http.Request, error)
CreateInstanceMSDeployOperationPreparer prepares the CreateInstanceMSDeployOperation request.
func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Response) (result MSDeployStatus, err error)
CreateInstanceMSDeployOperationResponder handles the response to the CreateInstanceMSDeployOperation request. The method always closes the http.Response Body.
func (client AppsClient) CreateInstanceMSDeployOperationSender(req *http.Request) (future AppsCreateInstanceMSDeployOperationFuture, err error)
CreateInstanceMSDeployOperationSender sends the CreateInstanceMSDeployOperation request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateInstanceMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, mSDeploy MSDeploy) (result AppsCreateInstanceMSDeployOperationSlotFuture, err error)
CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot. instanceID - ID of web app instance. mSDeploy - details of MSDeploy operation
func (client AppsClient) CreateInstanceMSDeployOperationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, mSDeploy MSDeploy) (*http.Request, error)
CreateInstanceMSDeployOperationSlotPreparer prepares the CreateInstanceMSDeployOperationSlot request.
func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http.Response) (result MSDeployStatus, err error)
CreateInstanceMSDeployOperationSlotResponder handles the response to the CreateInstanceMSDeployOperationSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateInstanceMSDeployOperationSlotSender(req *http.Request) (future AppsCreateInstanceMSDeployOperationSlotFuture, err error)
CreateInstanceMSDeployOperationSlotSender sends the CreateInstanceMSDeployOperationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateMSDeployOperation(ctx context.Context, resourceGroupName string, name string, mSDeploy MSDeploy) (result AppsCreateMSDeployOperationFuture, err error)
CreateMSDeployOperation invoke the MSDeploy web app extension. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. mSDeploy - details of MSDeploy operation
func (client AppsClient) CreateMSDeployOperationPreparer(ctx context.Context, resourceGroupName string, name string, mSDeploy MSDeploy) (*http.Request, error)
CreateMSDeployOperationPreparer prepares the CreateMSDeployOperation request.
func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) (result MSDeployStatus, err error)
CreateMSDeployOperationResponder handles the response to the CreateMSDeployOperation request. The method always closes the http.Response Body.
func (client AppsClient) CreateMSDeployOperationSender(req *http.Request) (future AppsCreateMSDeployOperationFuture, err error)
CreateMSDeployOperationSender sends the CreateMSDeployOperation request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, mSDeploy MSDeploy) (result AppsCreateMSDeployOperationSlotFuture, err error)
CreateMSDeployOperationSlot invoke the MSDeploy web app extension. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot. mSDeploy - details of MSDeploy operation
func (client AppsClient) CreateMSDeployOperationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, mSDeploy MSDeploy) (*http.Request, error)
CreateMSDeployOperationSlotPreparer prepares the CreateMSDeployOperationSlot request.
func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Response) (result MSDeployStatus, err error)
CreateMSDeployOperationSlotResponder handles the response to the CreateMSDeployOperationSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateMSDeployOperationSlotSender(req *http.Request) (future AppsCreateMSDeployOperationSlotFuture, err error)
CreateMSDeployOperationSlotSender sends the CreateMSDeployOperationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site) (result AppsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope - a JSON representation of the app properties. See example.
func (client AppsClient) CreateOrUpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource) (result SiteConfigResource, err error)
CreateOrUpdateConfiguration updates the configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteConfig - JSON representation of a SiteConfig object. See example.
func (client AppsClient) CreateOrUpdateConfigurationPreparer(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource) (*http.Request, error)
CreateOrUpdateConfigurationPreparer prepares the CreateOrUpdateConfiguration request.
func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Response) (result SiteConfigResource, err error)
CreateOrUpdateConfigurationResponder handles the response to the CreateOrUpdateConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateConfigurationSender(req *http.Request) (*http.Response, error)
CreateOrUpdateConfigurationSender sends the CreateOrUpdateConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, slot string) (result SiteConfigResource, err error)
CreateOrUpdateConfigurationSlot updates the configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteConfig - JSON representation of a SiteConfig object. See example. slot - name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.
func (client AppsClient) CreateOrUpdateConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, slot string) (*http.Request, error)
CreateOrUpdateConfigurationSlotPreparer prepares the CreateOrUpdateConfigurationSlot request.
func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Response) (result SiteConfigResource, err error)
CreateOrUpdateConfigurationSlotResponder handles the response to the CreateOrUpdateConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateConfigurationSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateConfigurationSlotSender sends the CreateOrUpdateConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier) (result Identifier, err error)
CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership identifier. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier. domainOwnershipIdentifier - a JSON representation of the domain ownership properties.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier) (*http.Request, error)
CreateOrUpdateDomainOwnershipIdentifierPreparer prepares the CreateOrUpdateDomainOwnershipIdentifier request.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp *http.Response) (result Identifier, err error)
CreateOrUpdateDomainOwnershipIdentifierResponder handles the response to the CreateOrUpdateDomainOwnershipIdentifier request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
CreateOrUpdateDomainOwnershipIdentifierSender sends the CreateOrUpdateDomainOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, slot string) (result Identifier, err error)
CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing ownership identifier. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier. domainOwnershipIdentifier - a JSON representation of the domain ownership properties. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, slot string) (*http.Request, error)
CreateOrUpdateDomainOwnershipIdentifierSlotPreparer prepares the CreateOrUpdateDomainOwnershipIdentifierSlot request.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(resp *http.Response) (result Identifier, err error)
CreateOrUpdateDomainOwnershipIdentifierSlotResponder handles the response to the CreateOrUpdateDomainOwnershipIdentifierSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateDomainOwnershipIdentifierSlotSender sends the CreateOrUpdateDomainOwnershipIdentifierSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding) (result HostNameBinding, err error)
CreateOrUpdateHostNameBinding creates a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. hostName - hostname in the hostname binding. hostNameBinding - binding details. This is the JSON representation of a HostNameBinding object.
func (client AppsClient) CreateOrUpdateHostNameBindingPreparer(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding) (*http.Request, error)
CreateOrUpdateHostNameBindingPreparer prepares the CreateOrUpdateHostNameBinding request.
func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Response) (result HostNameBinding, err error)
CreateOrUpdateHostNameBindingResponder handles the response to the CreateOrUpdateHostNameBinding request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateHostNameBindingSender(req *http.Request) (*http.Response, error)
CreateOrUpdateHostNameBindingSender sends the CreateOrUpdateHostNameBinding request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding, slot string) (result HostNameBinding, err error)
CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. hostName - hostname in the hostname binding. hostNameBinding - binding details. This is the JSON representation of a HostNameBinding object. slot - name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
func (client AppsClient) CreateOrUpdateHostNameBindingSlotPreparer(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding, slot string) (*http.Request, error)
CreateOrUpdateHostNameBindingSlotPreparer prepares the CreateOrUpdateHostNameBindingSlot request.
func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.Response) (result HostNameBinding, err error)
CreateOrUpdateHostNameBindingSlotResponder handles the response to the CreateOrUpdateHostNameBindingSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateHostNameBindingSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateHostNameBindingSlotSender sends the CreateOrUpdateHostNameBindingSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection) (result HybridConnection, err error)
CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. connectionEnvelope - the details of the hybrid connection.
func (client AppsClient) CreateOrUpdateHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection) (*http.Request, error)
CreateOrUpdateHybridConnectionPreparer prepares the CreateOrUpdateHybridConnection request.
func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Response) (result HybridConnection, err error)
CreateOrUpdateHybridConnectionResponder handles the response to the CreateOrUpdateHybridConnection request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateHybridConnectionSender(req *http.Request) (*http.Response, error)
CreateOrUpdateHybridConnectionSender sends the CreateOrUpdateHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, slot string) (result HybridConnection, err error)
CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. connectionEnvelope - the details of the hybrid connection. slot - the name of the slot for the web app.
func (client AppsClient) CreateOrUpdateHybridConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, slot string) (*http.Request, error)
CreateOrUpdateHybridConnectionSlotPreparer prepares the CreateOrUpdateHybridConnectionSlot request.
func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http.Response) (result HybridConnection, err error)
CreateOrUpdateHybridConnectionSlotResponder handles the response to the CreateOrUpdateHybridConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateHybridConnectionSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateHybridConnectionSlotSender sends the CreateOrUpdateHybridConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client AppsClient) CreateOrUpdatePublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate) (result PublicCertificate, err error)
CreateOrUpdatePublicCertificate creates a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. publicCertificateName - public certificate name. publicCertificate - public certificate details. This is the JSON representation of a PublicCertificate object.
func (client AppsClient) CreateOrUpdatePublicCertificatePreparer(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate) (*http.Request, error)
CreateOrUpdatePublicCertificatePreparer prepares the CreateOrUpdatePublicCertificate request.
func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Response) (result PublicCertificate, err error)
CreateOrUpdatePublicCertificateResponder handles the response to the CreateOrUpdatePublicCertificate request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdatePublicCertificateSender(req *http.Request) (*http.Response, error)
CreateOrUpdatePublicCertificateSender sends the CreateOrUpdatePublicCertificate request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdatePublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate, slot string) (result PublicCertificate, err error)
CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. publicCertificateName - public certificate name. publicCertificate - public certificate details. This is the JSON representation of a PublicCertificate object. slot - name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
func (client AppsClient) CreateOrUpdatePublicCertificateSlotPreparer(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate, slot string) (*http.Request, error)
CreateOrUpdatePublicCertificateSlotPreparer prepares the CreateOrUpdatePublicCertificateSlot request.
func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http.Response) (result PublicCertificate, err error)
CreateOrUpdatePublicCertificateSlotResponder handles the response to the CreateOrUpdatePublicCertificateSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdatePublicCertificateSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdatePublicCertificateSlotSender sends the CreateOrUpdatePublicCertificateSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity) (result RelayServiceConnectionEntity, err error)
CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection configuration. connectionEnvelope - details of the hybrid connection configuration.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionPreparer(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity) (*http.Request, error)
CreateOrUpdateRelayServiceConnectionPreparer prepares the CreateOrUpdateRelayServiceConnection request.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
CreateOrUpdateRelayServiceConnectionResponder handles the response to the CreateOrUpdateRelayServiceConnection request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionSender(req *http.Request) (*http.Response, error)
CreateOrUpdateRelayServiceConnectionSender sends the CreateOrUpdateRelayServiceConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, slot string) (result RelayServiceConnectionEntity, err error)
CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection configuration. connectionEnvelope - details of the hybrid connection configuration. slot - name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, slot string) (*http.Request, error)
CreateOrUpdateRelayServiceConnectionSlotPreparer prepares the CreateOrUpdateRelayServiceConnectionSlot request.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
CreateOrUpdateRelayServiceConnectionSlotResponder handles the response to the CreateOrUpdateRelayServiceConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateRelayServiceConnectionSlotSender sends the CreateOrUpdateRelayServiceConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Site, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateSender(req *http.Request) (future AppsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string, skipDNSRegistration *bool, skipCustomDomainVerification *bool, forceDNSRegistration *bool, TTLInSeconds string) (result AppsCreateOrUpdateSlotFuture, err error)
CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope - a JSON representation of the app properties. See example. slot - name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. skipDNSRegistration - if true web app hostname is not registered with DNS on creation. This parameter is only used for app creation. skipCustomDomainVerification - if true, custom (non *.azurewebsites.net) domains associated with web app are not verified. forceDNSRegistration - if true, web app hostname is force registered with DNS. TTLInSeconds - time to live in seconds for web app's default domain name.
func (client AppsClient) CreateOrUpdateSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string, skipDNSRegistration *bool, skipCustomDomainVerification *bool, forceDNSRegistration *bool, TTLInSeconds string) (*http.Request, error)
CreateOrUpdateSlotPreparer prepares the CreateOrUpdateSlot request.
func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (result Site, err error)
CreateOrUpdateSlotResponder handles the response to the CreateOrUpdateSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateSlotSender(req *http.Request) (future AppsCreateOrUpdateSlotFuture, err error)
CreateOrUpdateSlotSender sends the CreateOrUpdateSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl) (result AppsCreateOrUpdateSourceControlFuture, err error)
CreateOrUpdateSourceControl updates the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteSourceControl - JSON representation of a SiteSourceControl object. See example.
func (client AppsClient) CreateOrUpdateSourceControlPreparer(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl) (*http.Request, error)
CreateOrUpdateSourceControlPreparer prepares the CreateOrUpdateSourceControl request.
func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Response) (result SiteSourceControl, err error)
CreateOrUpdateSourceControlResponder handles the response to the CreateOrUpdateSourceControl request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateSourceControlSender(req *http.Request) (future AppsCreateOrUpdateSourceControlFuture, err error)
CreateOrUpdateSourceControlSender sends the CreateOrUpdateSourceControl request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, slot string) (result AppsCreateOrUpdateSourceControlSlotFuture, err error)
CreateOrUpdateSourceControlSlot updates the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteSourceControl - JSON representation of a SiteSourceControl object. See example. slot - name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.
func (client AppsClient) CreateOrUpdateSourceControlSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, slot string) (*http.Request, error)
CreateOrUpdateSourceControlSlotPreparer prepares the CreateOrUpdateSourceControlSlot request.
func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Response) (result SiteSourceControl, err error)
CreateOrUpdateSourceControlSlotResponder handles the response to the CreateOrUpdateSourceControlSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateSourceControlSlotSender(req *http.Request) (future AppsCreateOrUpdateSourceControlSlotFuture, err error)
CreateOrUpdateSourceControlSlotSender sends the CreateOrUpdateSourceControlSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo) (result VnetInfo, err error)
CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of an existing Virtual Network. connectionEnvelope - properties of the Virtual Network connection. See example.
func (client AppsClient) CreateOrUpdateVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (result VnetGateway, err error)
CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Currently, the only supported string is "primary". connectionEnvelope - the properties to update this gateway with.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewayPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (*http.Request, error)
CreateOrUpdateVnetConnectionGatewayPreparer prepares the CreateOrUpdateVnetConnectionGateway request.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http.Response) (result VnetGateway, err error)
CreateOrUpdateVnetConnectionGatewayResponder handles the response to the CreateOrUpdateVnetConnectionGateway request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySender(req *http.Request) (*http.Response, error)
CreateOrUpdateVnetConnectionGatewaySender sends the CreateOrUpdateVnetConnectionGateway request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, slot string) (result VnetGateway, err error)
CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Currently, the only supported string is "primary". connectionEnvelope - the properties to update this gateway with. slot - name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, slot string) (*http.Request, error)
CreateOrUpdateVnetConnectionGatewaySlotPreparer prepares the CreateOrUpdateVnetConnectionGatewaySlot request.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp *http.Response) (result VnetGateway, err error)
CreateOrUpdateVnetConnectionGatewaySlotResponder handles the response to the CreateOrUpdateVnetConnectionGatewaySlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateVnetConnectionGatewaySlotSender sends the CreateOrUpdateVnetConnectionGatewaySlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateVnetConnectionPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo) (*http.Request, error)
CreateOrUpdateVnetConnectionPreparer prepares the CreateOrUpdateVnetConnection request.
func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Response) (result VnetInfo, err error)
CreateOrUpdateVnetConnectionResponder handles the response to the CreateOrUpdateVnetConnection request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateVnetConnectionSender(req *http.Request) (*http.Response, error)
CreateOrUpdateVnetConnectionSender sends the CreateOrUpdateVnetConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) CreateOrUpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, slot string) (result VnetInfo, err error)
CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of an existing Virtual Network. connectionEnvelope - properties of the Virtual Network connection. See example. slot - name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.
func (client AppsClient) CreateOrUpdateVnetConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, slot string) (*http.Request, error)
CreateOrUpdateVnetConnectionSlotPreparer prepares the CreateOrUpdateVnetConnectionSlot request.
func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Response) (result VnetInfo, err error)
CreateOrUpdateVnetConnectionSlotResponder handles the response to the CreateOrUpdateVnetConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) CreateOrUpdateVnetConnectionSlotSender(req *http.Request) (*http.Response, error)
CreateOrUpdateVnetConnectionSlotSender sends the CreateOrUpdateVnetConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Delete(ctx context.Context, resourceGroupName string, name string, deleteMetrics *bool, deleteEmptyServerFarm *bool) (result autorest.Response, err error)
Delete deletes a web, mobile, or API app, or one of the deployment slots. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app to delete. deleteMetrics - if true, web app metrics are also deleted. deleteEmptyServerFarm - specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.
func (client AppsClient) DeleteBackup(ctx context.Context, resourceGroupName string, name string, backupID string) (result autorest.Response, err error)
DeleteBackup deletes a backup of an app by its ID. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. backupID - ID of the backup.
func (client AppsClient) DeleteBackupConfiguration(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
DeleteBackupConfiguration deletes the backup configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) DeleteBackupConfigurationPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
DeleteBackupConfigurationPreparer prepares the DeleteBackupConfiguration request.
func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) (result autorest.Response, err error)
DeleteBackupConfigurationResponder handles the response to the DeleteBackupConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) DeleteBackupConfigurationSender(req *http.Request) (*http.Response, error)
DeleteBackupConfigurationSender sends the DeleteBackupConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
DeleteBackupConfigurationSlot deletes the backup configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.
func (client AppsClient) DeleteBackupConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
DeleteBackupConfigurationSlotPreparer prepares the DeleteBackupConfigurationSlot request.
func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteBackupConfigurationSlotResponder handles the response to the DeleteBackupConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteBackupConfigurationSlotSender(req *http.Request) (*http.Response, error)
DeleteBackupConfigurationSlotSender sends the DeleteBackupConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteBackupPreparer(ctx context.Context, resourceGroupName string, name string, backupID string) (*http.Request, error)
DeleteBackupPreparer prepares the DeleteBackup request.
func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result autorest.Response, err error)
DeleteBackupResponder handles the response to the DeleteBackup request. The method always closes the http.Response Body.
func (client AppsClient) DeleteBackupSender(req *http.Request) (*http.Response, error)
DeleteBackupSender sends the DeleteBackup request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteBackupSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string) (result autorest.Response, err error)
DeleteBackupSlot deletes a backup of an app by its ID. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. backupID - ID of the backup. slot - name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.
func (client AppsClient) DeleteBackupSlotPreparer(ctx context.Context, resourceGroupName string, name string, backupID string, slot string) (*http.Request, error)
DeleteBackupSlotPreparer prepares the DeleteBackupSlot request.
func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteBackupSlotResponder handles the response to the DeleteBackupSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteBackupSlotSender(req *http.Request) (*http.Response, error)
DeleteBackupSlotSender sends the DeleteBackupSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error)
DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) DeleteContinuousWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
DeleteContinuousWebJobPreparer prepares the DeleteContinuousWebJob request.
func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (result autorest.Response, err error)
DeleteContinuousWebJobResponder handles the response to the DeleteContinuousWebJob request. The method always closes the http.Response Body.
func (client AppsClient) DeleteContinuousWebJobSender(req *http.Request) (*http.Response, error)
DeleteContinuousWebJobSender sends the DeleteContinuousWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error)
DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) DeleteContinuousWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
DeleteContinuousWebJobSlotPreparer prepares the DeleteContinuousWebJobSlot request.
func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteContinuousWebJobSlotResponder handles the response to the DeleteContinuousWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteContinuousWebJobSlotSender(req *http.Request) (*http.Response, error)
DeleteContinuousWebJobSlotSender sends the DeleteContinuousWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteDeployment(ctx context.Context, resourceGroupName string, name string, ID string) (result autorest.Response, err error)
DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - deployment ID.
func (client AppsClient) DeleteDeploymentPreparer(ctx context.Context, resourceGroupName string, name string, ID string) (*http.Request, error)
DeleteDeploymentPreparer prepares the DeleteDeployment request.
func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result autorest.Response, err error)
DeleteDeploymentResponder handles the response to the DeleteDeployment request. The method always closes the http.Response Body.
func (client AppsClient) DeleteDeploymentSender(req *http.Request) (*http.Response, error)
DeleteDeploymentSender sends the DeleteDeployment request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteDeploymentSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (result autorest.Response, err error)
DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - deployment ID. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) DeleteDeploymentSlotPreparer(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (*http.Request, error)
DeleteDeploymentSlotPreparer prepares the DeleteDeploymentSlot request.
func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteDeploymentSlotResponder handles the response to the DeleteDeploymentSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteDeploymentSlotSender(req *http.Request) (*http.Response, error)
DeleteDeploymentSlotSender sends the DeleteDeploymentSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string) (result autorest.Response, err error)
DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier.
func (client AppsClient) DeleteDomainOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string) (*http.Request, error)
DeleteDomainOwnershipIdentifierPreparer prepares the DeleteDomainOwnershipIdentifier request.
func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Response) (result autorest.Response, err error)
DeleteDomainOwnershipIdentifierResponder handles the response to the DeleteDomainOwnershipIdentifier request. The method always closes the http.Response Body.
func (client AppsClient) DeleteDomainOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
DeleteDomainOwnershipIdentifierSender sends the DeleteDomainOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string) (result autorest.Response, err error)
DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.
func (client AppsClient) DeleteDomainOwnershipIdentifierSlotPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string) (*http.Request, error)
DeleteDomainOwnershipIdentifierSlotPreparer prepares the DeleteDomainOwnershipIdentifierSlot request.
func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteDomainOwnershipIdentifierSlotResponder handles the response to the DeleteDomainOwnershipIdentifierSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteDomainOwnershipIdentifierSlotSender(req *http.Request) (*http.Response, error)
DeleteDomainOwnershipIdentifierSlotSender sends the DeleteDomainOwnershipIdentifierSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteFunction(ctx context.Context, resourceGroupName string, name string, functionName string) (result autorest.Response, err error)
DeleteFunction delete a function for web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name.
func (client AppsClient) DeleteFunctionPreparer(ctx context.Context, resourceGroupName string, name string, functionName string) (*http.Request, error)
DeleteFunctionPreparer prepares the DeleteFunction request.
func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result autorest.Response, err error)
DeleteFunctionResponder handles the response to the DeleteFunction request. The method always closes the http.Response Body.
func (client AppsClient) DeleteFunctionSender(req *http.Request) (*http.Response, error)
DeleteFunctionSender sends the DeleteFunction request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string) (result autorest.Response, err error)
DeleteHostNameBinding deletes a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. hostName - hostname in the hostname binding.
func (client AppsClient) DeleteHostNameBindingPreparer(ctx context.Context, resourceGroupName string, name string, hostName string) (*http.Request, error)
DeleteHostNameBindingPreparer prepares the DeleteHostNameBinding request.
func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (result autorest.Response, err error)
DeleteHostNameBindingResponder handles the response to the DeleteHostNameBinding request. The method always closes the http.Response Body.
func (client AppsClient) DeleteHostNameBindingSender(req *http.Request) (*http.Response, error)
DeleteHostNameBindingSender sends the DeleteHostNameBinding request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (result autorest.Response, err error)
DeleteHostNameBindingSlot deletes a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. hostName - hostname in the hostname binding.
func (client AppsClient) DeleteHostNameBindingSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (*http.Request, error)
DeleteHostNameBindingSlotPreparer prepares the DeleteHostNameBindingSlot request.
func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteHostNameBindingSlotResponder handles the response to the DeleteHostNameBindingSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteHostNameBindingSlotSender(req *http.Request) (*http.Response, error)
DeleteHostNameBindingSlotSender sends the DeleteHostNameBindingSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result autorest.Response, err error)
DeleteHybridConnection removes a Hybrid Connection from this site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection.
func (client AppsClient) DeleteHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
DeleteHybridConnectionPreparer prepares the DeleteHybridConnection request.
func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (result autorest.Response, err error)
DeleteHybridConnectionResponder handles the response to the DeleteHybridConnection request. The method always closes the http.Response Body.
func (client AppsClient) DeleteHybridConnectionSender(req *http.Request) (*http.Response, error)
DeleteHybridConnectionSender sends the DeleteHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (result autorest.Response, err error)
DeleteHybridConnectionSlot removes a Hybrid Connection from this site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. slot - the name of the slot for the web app.
func (client AppsClient) DeleteHybridConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (*http.Request, error)
DeleteHybridConnectionSlotPreparer prepares the DeleteHybridConnectionSlot request.
func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteHybridConnectionSlotResponder handles the response to the DeleteHybridConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteHybridConnectionSlotSender(req *http.Request) (*http.Response, error)
DeleteHybridConnectionSlotSender sends the DeleteHybridConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (result autorest.Response, err error)
DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) DeleteInstanceFunctionSlotPreparer(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (*http.Request, error)
DeleteInstanceFunctionSlotPreparer prepares the DeleteInstanceFunctionSlot request.
func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteInstanceFunctionSlotResponder handles the response to the DeleteInstanceFunctionSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteInstanceFunctionSlotSender(req *http.Request) (*http.Response, error)
DeleteInstanceFunctionSlotSender sends the DeleteInstanceFunctionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteInstanceProcess(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result autorest.Response, err error)
DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) DeleteInstanceProcessPreparer(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (*http.Request, error)
DeleteInstanceProcessPreparer prepares the DeleteInstanceProcess request.
func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (result autorest.Response, err error)
DeleteInstanceProcessResponder handles the response to the DeleteInstanceProcess request. The method always closes the http.Response Body.
func (client AppsClient) DeleteInstanceProcessSender(req *http.Request) (*http.Response, error)
DeleteInstanceProcessSender sends the DeleteInstanceProcess request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteInstanceProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result autorest.Response, err error)
DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) DeleteInstanceProcessSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (*http.Request, error)
DeleteInstanceProcessSlotPreparer prepares the DeleteInstanceProcessSlot request.
func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteInstanceProcessSlotResponder handles the response to the DeleteInstanceProcessSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteInstanceProcessSlotSender(req *http.Request) (*http.Response, error)
DeleteInstanceProcessSlotSender sends the DeleteInstanceProcessSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeletePremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (result autorest.Response, err error)
DeletePremierAddOn delete a premier add-on from an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. premierAddOnName - add-on name.
func (client AppsClient) DeletePremierAddOnPreparer(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (*http.Request, error)
DeletePremierAddOnPreparer prepares the DeletePremierAddOn request.
func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (result autorest.Response, err error)
DeletePremierAddOnResponder handles the response to the DeletePremierAddOn request. The method always closes the http.Response Body.
func (client AppsClient) DeletePremierAddOnSender(req *http.Request) (*http.Response, error)
DeletePremierAddOnSender sends the DeletePremierAddOn request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeletePremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (result autorest.Response, err error)
DeletePremierAddOnSlot delete a premier add-on from an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. premierAddOnName - add-on name. slot - name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.
func (client AppsClient) DeletePremierAddOnSlotPreparer(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (*http.Request, error)
DeletePremierAddOnSlotPreparer prepares the DeletePremierAddOnSlot request.
func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeletePremierAddOnSlotResponder handles the response to the DeletePremierAddOnSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeletePremierAddOnSlotSender(req *http.Request) (*http.Response, error)
DeletePremierAddOnSlotSender sends the DeletePremierAddOnSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string, deleteMetrics *bool, deleteEmptyServerFarm *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AppsClient) DeleteProcess(ctx context.Context, resourceGroupName string, name string, processID string) (result autorest.Response, err error)
DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID.
func (client AppsClient) DeleteProcessPreparer(ctx context.Context, resourceGroupName string, name string, processID string) (*http.Request, error)
DeleteProcessPreparer prepares the DeleteProcess request.
func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result autorest.Response, err error)
DeleteProcessResponder handles the response to the DeleteProcess request. The method always closes the http.Response Body.
func (client AppsClient) DeleteProcessSender(req *http.Request) (*http.Response, error)
DeleteProcessSender sends the DeleteProcess request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result autorest.Response, err error)
DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) DeleteProcessSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (*http.Request, error)
DeleteProcessSlotPreparer prepares the DeleteProcessSlot request.
func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteProcessSlotResponder handles the response to the DeleteProcessSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteProcessSlotSender(req *http.Request) (*http.Response, error)
DeleteProcessSlotSender sends the DeleteProcessSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeletePublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string) (result autorest.Response, err error)
DeletePublicCertificate deletes a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. publicCertificateName - public certificate name.
func (client AppsClient) DeletePublicCertificatePreparer(ctx context.Context, resourceGroupName string, name string, publicCertificateName string) (*http.Request, error)
DeletePublicCertificatePreparer prepares the DeletePublicCertificate request.
func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) (result autorest.Response, err error)
DeletePublicCertificateResponder handles the response to the DeletePublicCertificate request. The method always closes the http.Response Body.
func (client AppsClient) DeletePublicCertificateSender(req *http.Request) (*http.Response, error)
DeletePublicCertificateSender sends the DeletePublicCertificate request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeletePublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string) (result autorest.Response, err error)
DeletePublicCertificateSlot deletes a hostname binding for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. publicCertificateName - public certificate name.
func (client AppsClient) DeletePublicCertificateSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string) (*http.Request, error)
DeletePublicCertificateSlotPreparer prepares the DeletePublicCertificateSlot request.
func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeletePublicCertificateSlotResponder handles the response to the DeletePublicCertificateSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeletePublicCertificateSlotSender(req *http.Request) (*http.Response, error)
DeletePublicCertificateSlotSender sends the DeletePublicCertificateSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string) (result autorest.Response, err error)
DeleteRelayServiceConnection deletes a relay service connection by its name. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection configuration.
func (client AppsClient) DeleteRelayServiceConnectionPreparer(ctx context.Context, resourceGroupName string, name string, entityName string) (*http.Request, error)
DeleteRelayServiceConnectionPreparer prepares the DeleteRelayServiceConnection request.
func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Response) (result autorest.Response, err error)
DeleteRelayServiceConnectionResponder handles the response to the DeleteRelayServiceConnection request. The method always closes the http.Response Body.
func (client AppsClient) DeleteRelayServiceConnectionSender(req *http.Request) (*http.Response, error)
DeleteRelayServiceConnectionSender sends the DeleteRelayServiceConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string) (result autorest.Response, err error)
DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection configuration. slot - name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot.
func (client AppsClient) DeleteRelayServiceConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, entityName string, slot string) (*http.Request, error)
DeleteRelayServiceConnectionSlotPreparer prepares the DeleteRelayServiceConnectionSlot request.
func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteRelayServiceConnectionSlotResponder handles the response to the DeleteRelayServiceConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteRelayServiceConnectionSlotSender(req *http.Request) (*http.Response, error)
DeleteRelayServiceConnectionSlotSender sends the DeleteRelayServiceConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) 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 (client AppsClient) 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 (client AppsClient) DeleteSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (result autorest.Response, err error)
DeleteSiteExtension remove a site extension from a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. siteExtensionID - site extension name.
func (client AppsClient) DeleteSiteExtensionPreparer(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (*http.Request, error)
DeleteSiteExtensionPreparer prepares the DeleteSiteExtension request.
func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (result autorest.Response, err error)
DeleteSiteExtensionResponder handles the response to the DeleteSiteExtension request. The method always closes the http.Response Body.
func (client AppsClient) DeleteSiteExtensionSender(req *http.Request) (*http.Response, error)
DeleteSiteExtensionSender sends the DeleteSiteExtension request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (result autorest.Response, err error)
DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. siteExtensionID - site extension name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) DeleteSiteExtensionSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (*http.Request, error)
DeleteSiteExtensionSlotPreparer prepares the DeleteSiteExtensionSlot request.
func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteSiteExtensionSlotResponder handles the response to the DeleteSiteExtensionSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteSiteExtensionSlotSender(req *http.Request) (*http.Response, error)
DeleteSiteExtensionSlotSender sends the DeleteSiteExtensionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteSlot(ctx context.Context, resourceGroupName string, name string, slot string, deleteMetrics *bool, deleteEmptyServerFarm *bool, skipDNSRegistration *bool) (result autorest.Response, err error)
DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app to delete. slot - name of the deployment slot to delete. By default, the API deletes the production slot. deleteMetrics - if true, web app metrics are also deleted. deleteEmptyServerFarm - specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted. skipDNSRegistration - if true, DNS registration is skipped.
func (client AppsClient) DeleteSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, deleteMetrics *bool, deleteEmptyServerFarm *bool, skipDNSRegistration *bool) (*http.Request, error)
DeleteSlotPreparer prepares the DeleteSlot request.
func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteSlotResponder handles the response to the DeleteSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteSlotSender(req *http.Request) (*http.Response, error)
DeleteSlotSender sends the DeleteSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteSourceControl(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
DeleteSourceControl deletes the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) DeleteSourceControlPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
DeleteSourceControlPreparer prepares the DeleteSourceControl request.
func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (result autorest.Response, err error)
DeleteSourceControlResponder handles the response to the DeleteSourceControl request. The method always closes the http.Response Body.
func (client AppsClient) DeleteSourceControlSender(req *http.Request) (*http.Response, error)
DeleteSourceControlSender sends the DeleteSourceControl request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
DeleteSourceControlSlot deletes the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot.
func (client AppsClient) DeleteSourceControlSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
DeleteSourceControlSlotPreparer prepares the DeleteSourceControlSlot request.
func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteSourceControlSlotResponder handles the response to the DeleteSourceControlSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteSourceControlSlotSender(req *http.Request) (*http.Response, error)
DeleteSourceControlSlotSender sends the DeleteSourceControlSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error)
DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) DeleteTriggeredWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
DeleteTriggeredWebJobPreparer prepares the DeleteTriggeredWebJob request.
func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (result autorest.Response, err error)
DeleteTriggeredWebJobResponder handles the response to the DeleteTriggeredWebJob request. The method always closes the http.Response Body.
func (client AppsClient) DeleteTriggeredWebJobSender(req *http.Request) (*http.Response, error)
DeleteTriggeredWebJobSender sends the DeleteTriggeredWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error)
DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) DeleteTriggeredWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
DeleteTriggeredWebJobSlotPreparer prepares the DeleteTriggeredWebJobSlot request.
func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteTriggeredWebJobSlotResponder handles the response to the DeleteTriggeredWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteTriggeredWebJobSlotSender(req *http.Request) (*http.Response, error)
DeleteTriggeredWebJobSlotSender sends the DeleteTriggeredWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string) (result autorest.Response, err error)
DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the virtual network.
func (client AppsClient) DeleteVnetConnectionPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string) (*http.Request, error)
DeleteVnetConnectionPreparer prepares the DeleteVnetConnection request.
func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (result autorest.Response, err error)
DeleteVnetConnectionResponder handles the response to the DeleteVnetConnection request. The method always closes the http.Response Body.
func (client AppsClient) DeleteVnetConnectionSender(req *http.Request) (*http.Response, error)
DeleteVnetConnectionSender sends the DeleteVnetConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DeleteVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string) (result autorest.Response, err error)
DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the virtual network. slot - name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.
func (client AppsClient) DeleteVnetConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string) (*http.Request, error)
DeleteVnetConnectionSlotPreparer prepares the DeleteVnetConnectionSlot request.
func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) (result autorest.Response, err error)
DeleteVnetConnectionSlotResponder handles the response to the DeleteVnetConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) DeleteVnetConnectionSlotSender(req *http.Request) (*http.Response, error)
DeleteVnetConnectionSlotSender sends the DeleteVnetConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DiscoverRestore(ctx context.Context, resourceGroupName string, name string, request RestoreRequest) (result RestoreRequest, err error)
DiscoverRestore discovers an existing app backup that can be restored from a blob in Azure storage. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. request - a RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.
func (client AppsClient) DiscoverRestorePreparer(ctx context.Context, resourceGroupName string, name string, request RestoreRequest) (*http.Request, error)
DiscoverRestorePreparer prepares the DiscoverRestore request.
func (client AppsClient) DiscoverRestoreResponder(resp *http.Response) (result RestoreRequest, err error)
DiscoverRestoreResponder handles the response to the DiscoverRestore request. The method always closes the http.Response Body.
func (client AppsClient) DiscoverRestoreSender(req *http.Request) (*http.Response, error)
DiscoverRestoreSender sends the DiscoverRestore request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DiscoverRestoreSlot(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, slot string) (result RestoreRequest, err error)
DiscoverRestoreSlot discovers an existing app backup that can be restored from a blob in Azure storage. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. request - a RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. slot - name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.
func (client AppsClient) DiscoverRestoreSlotPreparer(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, slot string) (*http.Request, error)
DiscoverRestoreSlotPreparer prepares the DiscoverRestoreSlot request.
func (client AppsClient) DiscoverRestoreSlotResponder(resp *http.Response) (result RestoreRequest, err error)
DiscoverRestoreSlotResponder handles the response to the DiscoverRestoreSlot request. The method always closes the http.Response Body.
func (client AppsClient) DiscoverRestoreSlotSender(req *http.Request) (*http.Response, error)
DiscoverRestoreSlotSender sends the DiscoverRestoreSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GenerateNewSitePublishingPassword(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GenerateNewSitePublishingPasswordPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GenerateNewSitePublishingPasswordPreparer prepares the GenerateNewSitePublishingPassword request.
func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.Response) (result autorest.Response, err error)
GenerateNewSitePublishingPasswordResponder handles the response to the GenerateNewSitePublishingPassword request. The method always closes the http.Response Body.
func (client AppsClient) GenerateNewSitePublishingPasswordSender(req *http.Request) (*http.Response, error)
GenerateNewSitePublishingPasswordSender sends the GenerateNewSitePublishingPassword request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GenerateNewSitePublishingPasswordSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.
func (client AppsClient) GenerateNewSitePublishingPasswordSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GenerateNewSitePublishingPasswordSlotPreparer prepares the GenerateNewSitePublishingPasswordSlot request.
func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *http.Response) (result autorest.Response, err error)
GenerateNewSitePublishingPasswordSlotResponder handles the response to the GenerateNewSitePublishingPasswordSlot request. The method always closes the http.Response Body.
func (client AppsClient) GenerateNewSitePublishingPasswordSlotSender(req *http.Request) (*http.Response, error)
GenerateNewSitePublishingPasswordSlotSender sends the GenerateNewSitePublishingPasswordSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Get(ctx context.Context, resourceGroupName string, name string) (result Site, err error)
Get gets the details of a web, mobile, or API app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GetAuthSettings(ctx context.Context, resourceGroupName string, name string) (result SiteAuthSettings, err error)
GetAuthSettings gets the Authentication/Authorization settings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GetAuthSettingsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetAuthSettingsPreparer prepares the GetAuthSettings request.
func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result SiteAuthSettings, err error)
GetAuthSettingsResponder handles the response to the GetAuthSettings request. The method always closes the http.Response Body.
func (client AppsClient) GetAuthSettingsSender(req *http.Request) (*http.Response, error)
GetAuthSettingsSender sends the GetAuthSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteAuthSettings, err error)
GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.
func (client AppsClient) GetAuthSettingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetAuthSettingsSlotPreparer prepares the GetAuthSettingsSlot request.
func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (result SiteAuthSettings, err error)
GetAuthSettingsSlotResponder handles the response to the GetAuthSettingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetAuthSettingsSlotSender(req *http.Request) (*http.Response, error)
GetAuthSettingsSlotSender sends the GetAuthSettingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetBackupConfiguration(ctx context.Context, resourceGroupName string, name string) (result BackupRequest, err error)
GetBackupConfiguration gets the backup configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GetBackupConfigurationPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetBackupConfigurationPreparer prepares the GetBackupConfiguration request.
func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (result BackupRequest, err error)
GetBackupConfigurationResponder handles the response to the GetBackupConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) GetBackupConfigurationSender(req *http.Request) (*http.Response, error)
GetBackupConfigurationSender sends the GetBackupConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result BackupRequest, err error)
GetBackupConfigurationSlot gets the backup configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.
func (client AppsClient) GetBackupConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetBackupConfigurationSlotPreparer prepares the GetBackupConfigurationSlot request.
func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response) (result BackupRequest, err error)
GetBackupConfigurationSlotResponder handles the response to the GetBackupConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetBackupConfigurationSlotSender(req *http.Request) (*http.Response, error)
GetBackupConfigurationSlotSender sends the GetBackupConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetBackupStatus(ctx context.Context, resourceGroupName string, name string, backupID string) (result BackupItem, err error)
GetBackupStatus gets a backup of an app by its ID. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. backupID - ID of the backup.
func (client AppsClient) GetBackupStatusPreparer(ctx context.Context, resourceGroupName string, name string, backupID string) (*http.Request, error)
GetBackupStatusPreparer prepares the GetBackupStatus request.
func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result BackupItem, err error)
GetBackupStatusResponder handles the response to the GetBackupStatus request. The method always closes the http.Response Body.
func (client AppsClient) GetBackupStatusSender(req *http.Request) (*http.Response, error)
GetBackupStatusSender sends the GetBackupStatus request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetBackupStatusSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string) (result BackupItem, err error)
GetBackupStatusSlot gets a backup of an app by its ID. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. backupID - ID of the backup. slot - name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.
func (client AppsClient) GetBackupStatusSlotPreparer(ctx context.Context, resourceGroupName string, name string, backupID string, slot string) (*http.Request, error)
GetBackupStatusSlotPreparer prepares the GetBackupStatusSlot request.
func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (result BackupItem, err error)
GetBackupStatusSlotResponder handles the response to the GetBackupStatusSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetBackupStatusSlotSender(req *http.Request) (*http.Response, error)
GetBackupStatusSlotSender sends the GetBackupStatusSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetConfiguration(ctx context.Context, resourceGroupName string, name string) (result SiteConfigResource, err error)
GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GetConfigurationPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetConfigurationPreparer prepares the GetConfiguration request.
func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result SiteConfigResource, err error)
GetConfigurationResponder handles the response to the GetConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) GetConfigurationSender(req *http.Request) (*http.Response, error)
GetConfigurationSender sends the GetConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigResource, err error)
GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.
func (client AppsClient) GetConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetConfigurationSlotPreparer prepares the GetConfigurationSlot request.
func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (result SiteConfigResource, err error)
GetConfigurationSlotResponder handles the response to the GetConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetConfigurationSlotSender(req *http.Request) (*http.Response, error)
GetConfigurationSlotSender sends the GetConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetConfigurationSnapshot(ctx context.Context, resourceGroupName string, name string, snapshotID string) (result SiteConfigResource, err error)
GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. snapshotID - the ID of the snapshot to read.
func (client AppsClient) GetConfigurationSnapshotPreparer(ctx context.Context, resourceGroupName string, name string, snapshotID string) (*http.Request, error)
GetConfigurationSnapshotPreparer prepares the GetConfigurationSnapshot request.
func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) (result SiteConfigResource, err error)
GetConfigurationSnapshotResponder handles the response to the GetConfigurationSnapshot request. The method always closes the http.Response Body.
func (client AppsClient) GetConfigurationSnapshotSender(req *http.Request) (*http.Response, error)
GetConfigurationSnapshotSender sends the GetConfigurationSnapshot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetConfigurationSnapshotSlot(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string) (result SiteConfigResource, err error)
GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. snapshotID - the ID of the snapshot to read. slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.
func (client AppsClient) GetConfigurationSnapshotSlotPreparer(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string) (*http.Request, error)
GetConfigurationSnapshotSlotPreparer prepares the GetConfigurationSnapshotSlot request.
func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Response) (result SiteConfigResource, err error)
GetConfigurationSnapshotSlotResponder handles the response to the GetConfigurationSnapshotSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetConfigurationSnapshotSlotSender(req *http.Request) (*http.Response, error)
GetConfigurationSnapshotSlotSender sends the GetConfigurationSnapshotSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result ContinuousWebJob, err error)
GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) GetContinuousWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
GetContinuousWebJobPreparer prepares the GetContinuousWebJob request.
func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (result ContinuousWebJob, err error)
GetContinuousWebJobResponder handles the response to the GetContinuousWebJob request. The method always closes the http.Response Body.
func (client AppsClient) GetContinuousWebJobSender(req *http.Request) (*http.Response, error)
GetContinuousWebJobSender sends the GetContinuousWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result ContinuousWebJob, err error)
GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) GetContinuousWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
GetContinuousWebJobSlotPreparer prepares the GetContinuousWebJobSlot request.
func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) (result ContinuousWebJob, err error)
GetContinuousWebJobSlotResponder handles the response to the GetContinuousWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetContinuousWebJobSlotSender(req *http.Request) (*http.Response, error)
GetContinuousWebJobSlotSender sends the GetContinuousWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetDeployment(ctx context.Context, resourceGroupName string, name string, ID string) (result Deployment, err error)
GetDeployment get a deployment by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - deployment ID.
func (client AppsClient) GetDeploymentPreparer(ctx context.Context, resourceGroupName string, name string, ID string) (*http.Request, error)
GetDeploymentPreparer prepares the GetDeployment request.
func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Deployment, err error)
GetDeploymentResponder handles the response to the GetDeployment request. The method always closes the http.Response Body.
func (client AppsClient) GetDeploymentSender(req *http.Request) (*http.Response, error)
GetDeploymentSender sends the GetDeployment request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetDeploymentSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (result Deployment, err error)
GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - deployment ID. slot - name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.
func (client AppsClient) GetDeploymentSlotPreparer(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (*http.Request, error)
GetDeploymentSlotPreparer prepares the GetDeploymentSlot request.
func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result Deployment, err error)
GetDeploymentSlotResponder handles the response to the GetDeploymentSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetDeploymentSlotSender(req *http.Request) (*http.Response, error)
GetDeploymentSlotSender sends the GetDeploymentSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetDiagnosticLogsConfiguration(ctx context.Context, resourceGroupName string, name string) (result SiteLogsConfig, err error)
GetDiagnosticLogsConfiguration gets the logging configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GetDiagnosticLogsConfigurationPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetDiagnosticLogsConfigurationPreparer prepares the GetDiagnosticLogsConfiguration request.
func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Response) (result SiteLogsConfig, err error)
GetDiagnosticLogsConfigurationResponder handles the response to the GetDiagnosticLogsConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) GetDiagnosticLogsConfigurationSender(req *http.Request) (*http.Response, error)
GetDiagnosticLogsConfigurationSender sends the GetDiagnosticLogsConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetDiagnosticLogsConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteLogsConfig, err error)
GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
func (client AppsClient) GetDiagnosticLogsConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetDiagnosticLogsConfigurationSlotPreparer prepares the GetDiagnosticLogsConfigurationSlot request.
func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http.Response) (result SiteLogsConfig, err error)
GetDiagnosticLogsConfigurationSlotResponder handles the response to the GetDiagnosticLogsConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetDiagnosticLogsConfigurationSlotSender(req *http.Request) (*http.Response, error)
GetDiagnosticLogsConfigurationSlotSender sends the GetDiagnosticLogsConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string) (result Identifier, err error)
GetDomainOwnershipIdentifier get domain ownership identifier for web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier.
func (client AppsClient) GetDomainOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string) (*http.Request, error)
GetDomainOwnershipIdentifierPreparer prepares the GetDomainOwnershipIdentifier request.
func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Response) (result Identifier, err error)
GetDomainOwnershipIdentifierResponder handles the response to the GetDomainOwnershipIdentifier request. The method always closes the http.Response Body.
func (client AppsClient) GetDomainOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
GetDomainOwnershipIdentifierSender sends the GetDomainOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string) (result Identifier, err error)
GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.
func (client AppsClient) GetDomainOwnershipIdentifierSlotPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string) (*http.Request, error)
GetDomainOwnershipIdentifierSlotPreparer prepares the GetDomainOwnershipIdentifierSlot request.
func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Response) (result Identifier, err error)
GetDomainOwnershipIdentifierSlotResponder handles the response to the GetDomainOwnershipIdentifierSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetDomainOwnershipIdentifierSlotSender(req *http.Request) (*http.Response, error)
GetDomainOwnershipIdentifierSlotSender sends the GetDomainOwnershipIdentifierSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetFunction(ctx context.Context, resourceGroupName string, name string, functionName string) (result FunctionEnvelope, err error)
GetFunction get function information by its ID for web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name.
func (client AppsClient) GetFunctionPreparer(ctx context.Context, resourceGroupName string, name string, functionName string) (*http.Request, error)
GetFunctionPreparer prepares the GetFunction request.
func (client AppsClient) GetFunctionResponder(resp *http.Response) (result FunctionEnvelope, err error)
GetFunctionResponder handles the response to the GetFunction request. The method always closes the http.Response Body.
func (client AppsClient) GetFunctionSender(req *http.Request) (*http.Response, error)
GetFunctionSender sends the GetFunction request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetFunctionsAdminToken(ctx context.Context, resourceGroupName string, name string) (result String, err error)
GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetFunctionsAdminTokenPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetFunctionsAdminTokenPreparer prepares the GetFunctionsAdminToken request.
func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (result String, err error)
GetFunctionsAdminTokenResponder handles the response to the GetFunctionsAdminToken request. The method always closes the http.Response Body.
func (client AppsClient) GetFunctionsAdminTokenSender(req *http.Request) (*http.Response, error)
GetFunctionsAdminTokenSender sends the GetFunctionsAdminToken request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetFunctionsAdminTokenSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result String, err error)
GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) GetFunctionsAdminTokenSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetFunctionsAdminTokenSlotPreparer prepares the GetFunctionsAdminTokenSlot request.
func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response) (result String, err error)
GetFunctionsAdminTokenSlotResponder handles the response to the GetFunctionsAdminTokenSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetFunctionsAdminTokenSlotSender(req *http.Request) (*http.Response, error)
GetFunctionsAdminTokenSlotSender sends the GetFunctionsAdminTokenSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string) (result HostNameBinding, err error)
GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. hostName - hostname in the hostname binding.
func (client AppsClient) GetHostNameBindingPreparer(ctx context.Context, resourceGroupName string, name string, hostName string) (*http.Request, error)
GetHostNameBindingPreparer prepares the GetHostNameBinding request.
func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (result HostNameBinding, err error)
GetHostNameBindingResponder handles the response to the GetHostNameBinding request. The method always closes the http.Response Body.
func (client AppsClient) GetHostNameBindingSender(req *http.Request) (*http.Response, error)
GetHostNameBindingSender sends the GetHostNameBinding request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (result HostNameBinding, err error)
GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. hostName - hostname in the hostname binding.
func (client AppsClient) GetHostNameBindingSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (*http.Request, error)
GetHostNameBindingSlotPreparer prepares the GetHostNameBindingSlot request.
func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (result HostNameBinding, err error)
GetHostNameBindingSlotResponder handles the response to the GetHostNameBindingSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetHostNameBindingSlotSender(req *http.Request) (*http.Response, error)
GetHostNameBindingSlotSender sends the GetHostNameBindingSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnection, err error)
GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection.
func (client AppsClient) GetHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
GetHybridConnectionPreparer prepares the GetHybridConnection request.
func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (result HybridConnection, err error)
GetHybridConnectionResponder handles the response to the GetHybridConnection request. The method always closes the http.Response Body.
func (client AppsClient) GetHybridConnectionSender(req *http.Request) (*http.Response, error)
GetHybridConnectionSender sends the GetHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (result HybridConnection, err error)
GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. slot - the name of the slot for the web app.
func (client AppsClient) GetHybridConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (*http.Request, error)
GetHybridConnectionSlotPreparer prepares the GetHybridConnectionSlot request.
func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) (result HybridConnection, err error)
GetHybridConnectionSlotResponder handles the response to the GetHybridConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetHybridConnectionSlotSender(req *http.Request) (*http.Response, error)
GetHybridConnectionSlotSender sends the GetHybridConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (result FunctionEnvelope, err error)
GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) GetInstanceFunctionSlotPreparer(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (*http.Request, error)
GetInstanceFunctionSlotPreparer prepares the GetInstanceFunctionSlot request.
func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) (result FunctionEnvelope, err error)
GetInstanceFunctionSlotResponder handles the response to the GetInstanceFunctionSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceFunctionSlotSender(req *http.Request) (*http.Response, error)
GetInstanceFunctionSlotSender sends the GetInstanceFunctionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceMSDeployLog(ctx context.Context, resourceGroupName string, name string, instanceID string) (result MSDeployLog, err error)
GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. instanceID - ID of web app instance.
func (client AppsClient) GetInstanceMSDeployLogPreparer(ctx context.Context, resourceGroupName string, name string, instanceID string) (*http.Request, error)
GetInstanceMSDeployLogPreparer prepares the GetInstanceMSDeployLog request.
func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (result MSDeployLog, err error)
GetInstanceMSDeployLogResponder handles the response to the GetInstanceMSDeployLog request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceMSDeployLogSender(req *http.Request) (*http.Response, error)
GetInstanceMSDeployLogSender sends the GetInstanceMSDeployLog request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceMSDeployLogSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result MSDeployLog, err error)
GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot. instanceID - ID of web app instance.
func (client AppsClient) GetInstanceMSDeployLogSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (*http.Request, error)
GetInstanceMSDeployLogSlotPreparer prepares the GetInstanceMSDeployLogSlot request.
func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response) (result MSDeployLog, err error)
GetInstanceMSDeployLogSlotResponder handles the response to the GetInstanceMSDeployLogSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceMSDeployLogSlotSender(req *http.Request) (*http.Response, error)
GetInstanceMSDeployLogSlotSender sends the GetInstanceMSDeployLogSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceMsDeployStatus(ctx context.Context, resourceGroupName string, name string, instanceID string) (result MSDeployStatus, err error)
GetInstanceMsDeployStatus get the status of the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. instanceID - ID of web app instance.
func (client AppsClient) GetInstanceMsDeployStatusPreparer(ctx context.Context, resourceGroupName string, name string, instanceID string) (*http.Request, error)
GetInstanceMsDeployStatusPreparer prepares the GetInstanceMsDeployStatus request.
func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) (result MSDeployStatus, err error)
GetInstanceMsDeployStatusResponder handles the response to the GetInstanceMsDeployStatus request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceMsDeployStatusSender(req *http.Request) (*http.Response, error)
GetInstanceMsDeployStatusSender sends the GetInstanceMsDeployStatus request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceMsDeployStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result MSDeployStatus, err error)
GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot. instanceID - ID of web app instance.
func (client AppsClient) GetInstanceMsDeployStatusSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (*http.Request, error)
GetInstanceMsDeployStatusSlotPreparer prepares the GetInstanceMsDeployStatusSlot request.
func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Response) (result MSDeployStatus, err error)
GetInstanceMsDeployStatusSlotResponder handles the response to the GetInstanceMsDeployStatusSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceMsDeployStatusSlotSender(req *http.Request) (*http.Response, error)
GetInstanceMsDeployStatusSlotSender sends the GetInstanceMsDeployStatusSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcess(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessInfo, err error)
GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessDump(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ReadCloser, err error)
GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessDumpPreparer(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (*http.Request, error)
GetInstanceProcessDumpPreparer prepares the GetInstanceProcessDump request.
func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (result ReadCloser, err error)
GetInstanceProcessDumpResponder handles the response to the GetInstanceProcessDump request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessDumpSender(req *http.Request) (*http.Response, error)
GetInstanceProcessDumpSender sends the GetInstanceProcessDump request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessDumpSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ReadCloser, err error)
GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessDumpSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (*http.Request, error)
GetInstanceProcessDumpSlotPreparer prepares the GetInstanceProcessDumpSlot request.
func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response) (result ReadCloser, err error)
GetInstanceProcessDumpSlotResponder handles the response to the GetInstanceProcessDumpSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessDumpSlotSender(req *http.Request) (*http.Response, error)
GetInstanceProcessDumpSlotSender sends the GetInstanceProcessDumpSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessModule(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, instanceID string) (result ProcessModuleInfo, err error)
GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. baseAddress - module base address. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessModulePreparer(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, instanceID string) (*http.Request, error)
GetInstanceProcessModulePreparer prepares the GetInstanceProcessModule request.
func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) (result ProcessModuleInfo, err error)
GetInstanceProcessModuleResponder handles the response to the GetInstanceProcessModule request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessModuleSender(req *http.Request) (*http.Response, error)
GetInstanceProcessModuleSender sends the GetInstanceProcessModule request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessModuleSlot(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string, instanceID string) (result ProcessModuleInfo, err error)
GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. baseAddress - module base address. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessModuleSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string, instanceID string) (*http.Request, error)
GetInstanceProcessModuleSlotPreparer prepares the GetInstanceProcessModuleSlot request.
func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Response) (result ProcessModuleInfo, err error)
GetInstanceProcessModuleSlotResponder handles the response to the GetInstanceProcessModuleSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessModuleSlotSender(req *http.Request) (*http.Response, error)
GetInstanceProcessModuleSlotSender sends the GetInstanceProcessModuleSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessPreparer(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (*http.Request, error)
GetInstanceProcessPreparer prepares the GetInstanceProcess request.
func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (result ProcessInfo, err error)
GetInstanceProcessResponder handles the response to the GetInstanceProcess request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessSender(req *http.Request) (*http.Response, error)
GetInstanceProcessSender sends the GetInstanceProcess request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessInfo, err error)
GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (*http.Request, error)
GetInstanceProcessSlotPreparer prepares the GetInstanceProcessSlot request.
func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (result ProcessInfo, err error)
GetInstanceProcessSlotResponder handles the response to the GetInstanceProcessSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessSlotSender(req *http.Request) (*http.Response, error)
GetInstanceProcessSlotSender sends the GetInstanceProcessSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessThread(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, instanceID string) (result ProcessThreadInfo, err error)
GetInstanceProcessThread get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. threadID - tID. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessThreadPreparer(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, instanceID string) (*http.Request, error)
GetInstanceProcessThreadPreparer prepares the GetInstanceProcessThread request.
func (client AppsClient) GetInstanceProcessThreadResponder(resp *http.Response) (result ProcessThreadInfo, err error)
GetInstanceProcessThreadResponder handles the response to the GetInstanceProcessThread request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessThreadSender(req *http.Request) (*http.Response, error)
GetInstanceProcessThreadSender sends the GetInstanceProcessThread request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetInstanceProcessThreadSlot(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, slot string, instanceID string) (result ProcessThreadInfo, err error)
GetInstanceProcessThreadSlot get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. threadID - tID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) GetInstanceProcessThreadSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, slot string, instanceID string) (*http.Request, error)
GetInstanceProcessThreadSlotPreparer prepares the GetInstanceProcessThreadSlot request.
func (client AppsClient) GetInstanceProcessThreadSlotResponder(resp *http.Response) (result ProcessThreadInfo, err error)
GetInstanceProcessThreadSlotResponder handles the response to the GetInstanceProcessThreadSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetInstanceProcessThreadSlotSender(req *http.Request) (*http.Response, error)
GetInstanceProcessThreadSlotSender sends the GetInstanceProcessThreadSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetMSDeployLog(ctx context.Context, resourceGroupName string, name string) (result MSDeployLog, err error)
GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetMSDeployLogPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetMSDeployLogPreparer prepares the GetMSDeployLog request.
func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MSDeployLog, err error)
GetMSDeployLogResponder handles the response to the GetMSDeployLog request. The method always closes the http.Response Body.
func (client AppsClient) GetMSDeployLogSender(req *http.Request) (*http.Response, error)
GetMSDeployLogSender sends the GetMSDeployLog request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetMSDeployLogSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result MSDeployLog, err error)
GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) GetMSDeployLogSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetMSDeployLogSlotPreparer prepares the GetMSDeployLogSlot request.
func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (result MSDeployLog, err error)
GetMSDeployLogSlotResponder handles the response to the GetMSDeployLogSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetMSDeployLogSlotSender(req *http.Request) (*http.Response, error)
GetMSDeployLogSlotSender sends the GetMSDeployLogSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetMSDeployStatus(ctx context.Context, resourceGroupName string, name string) (result MSDeployStatus, err error)
GetMSDeployStatus get the status of the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetMSDeployStatusPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetMSDeployStatusPreparer prepares the GetMSDeployStatus request.
func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result MSDeployStatus, err error)
GetMSDeployStatusResponder handles the response to the GetMSDeployStatus request. The method always closes the http.Response Body.
func (client AppsClient) GetMSDeployStatusSender(req *http.Request) (*http.Response, error)
GetMSDeployStatusSender sends the GetMSDeployStatus request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetMSDeployStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result MSDeployStatus, err error)
GetMSDeployStatusSlot get the status of the last MSDeploy operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) GetMSDeployStatusSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetMSDeployStatusSlotPreparer prepares the GetMSDeployStatusSlot request.
func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (result MSDeployStatus, err error)
GetMSDeployStatusSlotResponder handles the response to the GetMSDeployStatusSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetMSDeployStatusSlotSender(req *http.Request) (*http.Response, error)
GetMSDeployStatusSlotSender sends the GetMSDeployStatusSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetMigrateMySQLStatus(ctx context.Context, resourceGroupName string, name string) (result MigrateMySQLStatus, err error)
GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetMigrateMySQLStatusPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetMigrateMySQLStatusPreparer prepares the GetMigrateMySQLStatus request.
func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (result MigrateMySQLStatus, err error)
GetMigrateMySQLStatusResponder handles the response to the GetMigrateMySQLStatus request. The method always closes the http.Response Body.
func (client AppsClient) GetMigrateMySQLStatusSender(req *http.Request) (*http.Response, error)
GetMigrateMySQLStatusSender sends the GetMigrateMySQLStatus request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetMigrateMySQLStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result MigrateMySQLStatus, err error)
GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of the deployment slot.
func (client AppsClient) GetMigrateMySQLStatusSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetMigrateMySQLStatusSlotPreparer prepares the GetMigrateMySQLStatusSlot request.
func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) (result MigrateMySQLStatus, err error)
GetMigrateMySQLStatusSlotResponder handles the response to the GetMigrateMySQLStatusSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetMigrateMySQLStatusSlotSender(req *http.Request) (*http.Response, error)
GetMigrateMySQLStatusSlotSender sends the GetMigrateMySQLStatusSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (result PremierAddOn, err error)
GetPremierAddOn gets a named add-on of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. premierAddOnName - add-on name.
func (client AppsClient) GetPremierAddOnPreparer(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (*http.Request, error)
GetPremierAddOnPreparer prepares the GetPremierAddOn request.
func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result PremierAddOn, err error)
GetPremierAddOnResponder handles the response to the GetPremierAddOn request. The method always closes the http.Response Body.
func (client AppsClient) GetPremierAddOnSender(req *http.Request) (*http.Response, error)
GetPremierAddOnSender sends the GetPremierAddOn request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (result PremierAddOn, err error)
GetPremierAddOnSlot gets a named add-on of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. premierAddOnName - add-on name. slot - name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.
func (client AppsClient) GetPremierAddOnSlotPreparer(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (*http.Request, error)
GetPremierAddOnSlotPreparer prepares the GetPremierAddOnSlot request.
func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (result PremierAddOn, err error)
GetPremierAddOnSlotResponder handles the response to the GetPremierAddOnSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetPremierAddOnSlotSender(req *http.Request) (*http.Response, error)
GetPremierAddOnSlotSender sends the GetPremierAddOnSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client AppsClient) GetProcess(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessInfo, err error)
GetProcess get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID.
func (client AppsClient) GetProcessDump(ctx context.Context, resourceGroupName string, name string, processID string) (result ReadCloser, err error)
GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID.
func (client AppsClient) GetProcessDumpPreparer(ctx context.Context, resourceGroupName string, name string, processID string) (*http.Request, error)
GetProcessDumpPreparer prepares the GetProcessDump request.
func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result ReadCloser, err error)
GetProcessDumpResponder handles the response to the GetProcessDump request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessDumpSender(req *http.Request) (*http.Response, error)
GetProcessDumpSender sends the GetProcessDump request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessDumpSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ReadCloser, err error)
GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) GetProcessDumpSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (*http.Request, error)
GetProcessDumpSlotPreparer prepares the GetProcessDumpSlot request.
func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (result ReadCloser, err error)
GetProcessDumpSlotResponder handles the response to the GetProcessDumpSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessDumpSlotSender(req *http.Request) (*http.Response, error)
GetProcessDumpSlotSender sends the GetProcessDumpSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessModule(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string) (result ProcessModuleInfo, err error)
GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. baseAddress - module base address.
func (client AppsClient) GetProcessModulePreparer(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string) (*http.Request, error)
GetProcessModulePreparer prepares the GetProcessModule request.
func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result ProcessModuleInfo, err error)
GetProcessModuleResponder handles the response to the GetProcessModule request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessModuleSender(req *http.Request) (*http.Response, error)
GetProcessModuleSender sends the GetProcessModule request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessModuleSlot(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string) (result ProcessModuleInfo, err error)
GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. baseAddress - module base address. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) GetProcessModuleSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string) (*http.Request, error)
GetProcessModuleSlotPreparer prepares the GetProcessModuleSlot request.
func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (result ProcessModuleInfo, err error)
GetProcessModuleSlotResponder handles the response to the GetProcessModuleSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessModuleSlotSender(req *http.Request) (*http.Response, error)
GetProcessModuleSlotSender sends the GetProcessModuleSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessPreparer(ctx context.Context, resourceGroupName string, name string, processID string) (*http.Request, error)
GetProcessPreparer prepares the GetProcess request.
func (client AppsClient) GetProcessResponder(resp *http.Response) (result ProcessInfo, err error)
GetProcessResponder handles the response to the GetProcess request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessSender(req *http.Request) (*http.Response, error)
GetProcessSender sends the GetProcess request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessInfo, err error)
GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) GetProcessSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (*http.Request, error)
GetProcessSlotPreparer prepares the GetProcessSlot request.
func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result ProcessInfo, err error)
GetProcessSlotResponder handles the response to the GetProcessSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessSlotSender(req *http.Request) (*http.Response, error)
GetProcessSlotSender sends the GetProcessSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessThread(ctx context.Context, resourceGroupName string, name string, processID string, threadID string) (result ProcessThreadInfo, err error)
GetProcessThread get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. threadID - tID.
func (client AppsClient) GetProcessThreadPreparer(ctx context.Context, resourceGroupName string, name string, processID string, threadID string) (*http.Request, error)
GetProcessThreadPreparer prepares the GetProcessThread request.
func (client AppsClient) GetProcessThreadResponder(resp *http.Response) (result ProcessThreadInfo, err error)
GetProcessThreadResponder handles the response to the GetProcessThread request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessThreadSender(req *http.Request) (*http.Response, error)
GetProcessThreadSender sends the GetProcessThread request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetProcessThreadSlot(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, slot string) (result ProcessThreadInfo, err error)
GetProcessThreadSlot get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. threadID - tID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) GetProcessThreadSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, slot string) (*http.Request, error)
GetProcessThreadSlotPreparer prepares the GetProcessThreadSlot request.
func (client AppsClient) GetProcessThreadSlotResponder(resp *http.Response) (result ProcessThreadInfo, err error)
GetProcessThreadSlotResponder handles the response to the GetProcessThreadSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetProcessThreadSlotSender(req *http.Request) (*http.Response, error)
GetProcessThreadSlotSender sends the GetProcessThreadSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetPublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string) (result PublicCertificate, err error)
GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. publicCertificateName - public certificate name.
func (client AppsClient) GetPublicCertificatePreparer(ctx context.Context, resourceGroupName string, name string, publicCertificateName string) (*http.Request, error)
GetPublicCertificatePreparer prepares the GetPublicCertificate request.
func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (result PublicCertificate, err error)
GetPublicCertificateResponder handles the response to the GetPublicCertificate request. The method always closes the http.Response Body.
func (client AppsClient) GetPublicCertificateSender(req *http.Request) (*http.Response, error)
GetPublicCertificateSender sends the GetPublicCertificate request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetPublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string) (result PublicCertificate, err error)
GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. publicCertificateName - public certificate name.
func (client AppsClient) GetPublicCertificateSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string) (*http.Request, error)
GetPublicCertificateSlotPreparer prepares the GetPublicCertificateSlot request.
func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) (result PublicCertificate, err error)
GetPublicCertificateSlotResponder handles the response to the GetPublicCertificateSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetPublicCertificateSlotSender(req *http.Request) (*http.Response, error)
GetPublicCertificateSlotSender sends the GetPublicCertificateSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string) (result RelayServiceConnectionEntity, err error)
GetRelayServiceConnection gets a hybrid connection configuration by its name. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection.
func (client AppsClient) GetRelayServiceConnectionPreparer(ctx context.Context, resourceGroupName string, name string, entityName string) (*http.Request, error)
GetRelayServiceConnectionPreparer prepares the GetRelayServiceConnection request.
func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
GetRelayServiceConnectionResponder handles the response to the GetRelayServiceConnection request. The method always closes the http.Response Body.
func (client AppsClient) GetRelayServiceConnectionSender(req *http.Request) (*http.Response, error)
GetRelayServiceConnectionSender sends the GetRelayServiceConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string) (result RelayServiceConnectionEntity, err error)
GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection. slot - name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.
func (client AppsClient) GetRelayServiceConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, entityName string, slot string) (*http.Request, error)
GetRelayServiceConnectionSlotPreparer prepares the GetRelayServiceConnectionSlot request.
func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
GetRelayServiceConnectionSlotResponder handles the response to the GetRelayServiceConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetRelayServiceConnectionSlotSender(req *http.Request) (*http.Response, error)
GetRelayServiceConnectionSlotSender sends the GetRelayServiceConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetResponder(resp *http.Response) (result Site, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client AppsClient) 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 (client AppsClient) GetSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (result SiteExtensionInfo, err error)
GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. siteExtensionID - site extension name.
func (client AppsClient) GetSiteExtensionPreparer(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (*http.Request, error)
GetSiteExtensionPreparer prepares the GetSiteExtension request.
func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result SiteExtensionInfo, err error)
GetSiteExtensionResponder handles the response to the GetSiteExtension request. The method always closes the http.Response Body.
func (client AppsClient) GetSiteExtensionSender(req *http.Request) (*http.Response, error)
GetSiteExtensionSender sends the GetSiteExtension request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (result SiteExtensionInfo, err error)
GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. siteExtensionID - site extension name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) GetSiteExtensionSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (*http.Request, error)
GetSiteExtensionSlotPreparer prepares the GetSiteExtensionSlot request.
func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (result SiteExtensionInfo, err error)
GetSiteExtensionSlotResponder handles the response to the GetSiteExtensionSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetSiteExtensionSlotSender(req *http.Request) (*http.Response, error)
GetSiteExtensionSlotSender sends the GetSiteExtensionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSitePhpErrorLogFlag(ctx context.Context, resourceGroupName string, name string) (result SitePhpErrorLogFlag, err error)
GetSitePhpErrorLogFlag gets web app's event logs. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetSitePhpErrorLogFlagPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetSitePhpErrorLogFlagPreparer prepares the GetSitePhpErrorLogFlag request.
func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (result SitePhpErrorLogFlag, err error)
GetSitePhpErrorLogFlagResponder handles the response to the GetSitePhpErrorLogFlag request. The method always closes the http.Response Body.
func (client AppsClient) GetSitePhpErrorLogFlagSender(req *http.Request) (*http.Response, error)
GetSitePhpErrorLogFlagSender sends the GetSitePhpErrorLogFlag request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSitePhpErrorLogFlagSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SitePhpErrorLogFlag, err error)
GetSitePhpErrorLogFlagSlot gets web app's event logs. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) GetSitePhpErrorLogFlagSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetSitePhpErrorLogFlagSlotPreparer prepares the GetSitePhpErrorLogFlagSlot request.
func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response) (result SitePhpErrorLogFlag, err error)
GetSitePhpErrorLogFlagSlotResponder handles the response to the GetSitePhpErrorLogFlagSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetSitePhpErrorLogFlagSlotSender(req *http.Request) (*http.Response, error)
GetSitePhpErrorLogFlagSlotSender sends the GetSitePhpErrorLogFlagSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result Site, err error)
GetSlot gets the details of a web, mobile, or API app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. By default, this API returns the production slot.
func (client AppsClient) GetSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetSlotPreparer prepares the GetSlot request.
func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err error)
GetSlotResponder handles the response to the GetSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetSlotSender(req *http.Request) (*http.Response, error)
GetSlotSender sends the GetSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSourceControl(ctx context.Context, resourceGroupName string, name string) (result SiteSourceControl, err error)
GetSourceControl gets the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) GetSourceControlPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetSourceControlPreparer prepares the GetSourceControl request.
func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result SiteSourceControl, err error)
GetSourceControlResponder handles the response to the GetSourceControl request. The method always closes the http.Response Body.
func (client AppsClient) GetSourceControlSender(req *http.Request) (*http.Response, error)
GetSourceControlSender sends the GetSourceControl request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteSourceControl, err error)
GetSourceControlSlot gets the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
func (client AppsClient) GetSourceControlSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetSourceControlSlotPreparer prepares the GetSourceControlSlot request.
func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (result SiteSourceControl, err error)
GetSourceControlSlotResponder handles the response to the GetSourceControlSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetSourceControlSlotSender(req *http.Request) (*http.Response, error)
GetSourceControlSlotSender sends the GetSourceControlSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result TriggeredWebJob, err error)
GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) GetTriggeredWebJobHistory(ctx context.Context, resourceGroupName string, name string, webJobName string, ID string) (result TriggeredJobHistory, err error)
GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. ID - history ID.
func (client AppsClient) GetTriggeredWebJobHistoryPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, ID string) (*http.Request, error)
GetTriggeredWebJobHistoryPreparer prepares the GetTriggeredWebJobHistory request.
func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) (result TriggeredJobHistory, err error)
GetTriggeredWebJobHistoryResponder handles the response to the GetTriggeredWebJobHistory request. The method always closes the http.Response Body.
func (client AppsClient) GetTriggeredWebJobHistorySender(req *http.Request) (*http.Response, error)
GetTriggeredWebJobHistorySender sends the GetTriggeredWebJobHistory request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetTriggeredWebJobHistorySlot(ctx context.Context, resourceGroupName string, name string, webJobName string, ID string, slot string) (result TriggeredJobHistory, err error)
GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. ID - history ID. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) GetTriggeredWebJobHistorySlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, ID string, slot string) (*http.Request, error)
GetTriggeredWebJobHistorySlotPreparer prepares the GetTriggeredWebJobHistorySlot request.
func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Response) (result TriggeredJobHistory, err error)
GetTriggeredWebJobHistorySlotResponder handles the response to the GetTriggeredWebJobHistorySlot request. The method always closes the http.Response Body.
func (client AppsClient) GetTriggeredWebJobHistorySlotSender(req *http.Request) (*http.Response, error)
GetTriggeredWebJobHistorySlotSender sends the GetTriggeredWebJobHistorySlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetTriggeredWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
GetTriggeredWebJobPreparer prepares the GetTriggeredWebJob request.
func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (result TriggeredWebJob, err error)
GetTriggeredWebJobResponder handles the response to the GetTriggeredWebJob request. The method always closes the http.Response Body.
func (client AppsClient) GetTriggeredWebJobSender(req *http.Request) (*http.Response, error)
GetTriggeredWebJobSender sends the GetTriggeredWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result TriggeredWebJob, err error)
GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) GetTriggeredWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
GetTriggeredWebJobSlotPreparer prepares the GetTriggeredWebJobSlot request.
func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (result TriggeredWebJob, err error)
GetTriggeredWebJobSlotResponder handles the response to the GetTriggeredWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetTriggeredWebJobSlotSender(req *http.Request) (*http.Response, error)
GetTriggeredWebJobSlotSender sends the GetTriggeredWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string) (result VnetInfo, err error)
GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the virtual network.
func (client AppsClient) GetVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string) (result VnetGateway, err error)
GetVnetConnectionGateway gets an app's Virtual Network gateway. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Currently, the only supported string is "primary".
func (client AppsClient) GetVnetConnectionGatewayPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string) (*http.Request, error)
GetVnetConnectionGatewayPreparer prepares the GetVnetConnectionGateway request.
func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) (result VnetGateway, err error)
GetVnetConnectionGatewayResponder handles the response to the GetVnetConnectionGateway request. The method always closes the http.Response Body.
func (client AppsClient) GetVnetConnectionGatewaySender(req *http.Request) (*http.Response, error)
GetVnetConnectionGatewaySender sends the GetVnetConnectionGateway request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, slot string) (result VnetGateway, err error)
GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Currently, the only supported string is "primary". slot - name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.
func (client AppsClient) GetVnetConnectionGatewaySlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, slot string) (*http.Request, error)
GetVnetConnectionGatewaySlotPreparer prepares the GetVnetConnectionGatewaySlot request.
func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Response) (result VnetGateway, err error)
GetVnetConnectionGatewaySlotResponder handles the response to the GetVnetConnectionGatewaySlot request. The method always closes the http.Response Body.
func (client AppsClient) GetVnetConnectionGatewaySlotSender(req *http.Request) (*http.Response, error)
GetVnetConnectionGatewaySlotSender sends the GetVnetConnectionGatewaySlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetVnetConnectionPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string) (*http.Request, error)
GetVnetConnectionPreparer prepares the GetVnetConnection request.
func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result VnetInfo, err error)
GetVnetConnectionResponder handles the response to the GetVnetConnection request. The method always closes the http.Response Body.
func (client AppsClient) GetVnetConnectionSender(req *http.Request) (*http.Response, error)
GetVnetConnectionSender sends the GetVnetConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string) (result VnetInfo, err error)
GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the virtual network. slot - name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.
func (client AppsClient) GetVnetConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string) (*http.Request, error)
GetVnetConnectionSlotPreparer prepares the GetVnetConnectionSlot request.
func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (result VnetInfo, err error)
GetVnetConnectionSlotResponder handles the response to the GetVnetConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetVnetConnectionSlotSender(req *http.Request) (*http.Response, error)
GetVnetConnectionSlotSender sends the GetVnetConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result Job, err error)
GetWebJob get webjob information for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of the web job.
func (client AppsClient) GetWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
GetWebJobPreparer prepares the GetWebJob request.
func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, err error)
GetWebJobResponder handles the response to the GetWebJob request. The method always closes the http.Response Body.
func (client AppsClient) GetWebJobSender(req *http.Request) (*http.Response, error)
GetWebJobSender sends the GetWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result Job, err error)
GetWebJobSlot get webjob information for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of the web job. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) GetWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
GetWebJobSlotPreparer prepares the GetWebJobSlot request.
func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job, err error)
GetWebJobSlotResponder handles the response to the GetWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetWebJobSlotSender(req *http.Request) (*http.Response, error)
GetWebJobSlotSender sends the GetWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetWebSiteContainerLogs(ctx context.Context, resourceGroupName string, name string) (result ReadCloser, err error)
GetWebSiteContainerLogs gets the last lines of docker logs for the given site Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetWebSiteContainerLogsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetWebSiteContainerLogsPreparer prepares the GetWebSiteContainerLogs request.
func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) (result ReadCloser, err error)
GetWebSiteContainerLogsResponder handles the response to the GetWebSiteContainerLogs request. The method always closes the http.Response Body.
func (client AppsClient) GetWebSiteContainerLogsSender(req *http.Request) (*http.Response, error)
GetWebSiteContainerLogsSender sends the GetWebSiteContainerLogs request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetWebSiteContainerLogsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ReadCloser, err error)
GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) GetWebSiteContainerLogsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetWebSiteContainerLogsSlotPreparer prepares the GetWebSiteContainerLogsSlot request.
func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Response) (result ReadCloser, err error)
GetWebSiteContainerLogsSlotResponder handles the response to the GetWebSiteContainerLogsSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetWebSiteContainerLogsSlotSender(req *http.Request) (*http.Response, error)
GetWebSiteContainerLogsSlotSender sends the GetWebSiteContainerLogsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetWebSiteContainerLogsZip(ctx context.Context, resourceGroupName string, name string) (result ReadCloser, err error)
GetWebSiteContainerLogsZip gets the ZIP archived docker log files for the given site Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) GetWebSiteContainerLogsZipPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetWebSiteContainerLogsZipPreparer prepares the GetWebSiteContainerLogsZip request.
func (client AppsClient) GetWebSiteContainerLogsZipResponder(resp *http.Response) (result ReadCloser, err error)
GetWebSiteContainerLogsZipResponder handles the response to the GetWebSiteContainerLogsZip request. The method always closes the http.Response Body.
func (client AppsClient) GetWebSiteContainerLogsZipSender(req *http.Request) (*http.Response, error)
GetWebSiteContainerLogsZipSender sends the GetWebSiteContainerLogsZip request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetWebSiteContainerLogsZipSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ReadCloser, err error)
GetWebSiteContainerLogsZipSlot gets the ZIP archived docker log files for the given site Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) GetWebSiteContainerLogsZipSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetWebSiteContainerLogsZipSlotPreparer prepares the GetWebSiteContainerLogsZipSlot request.
func (client AppsClient) GetWebSiteContainerLogsZipSlotResponder(resp *http.Response) (result ReadCloser, err error)
GetWebSiteContainerLogsZipSlotResponder handles the response to the GetWebSiteContainerLogsZipSlot request. The method always closes the http.Response Body.
func (client AppsClient) GetWebSiteContainerLogsZipSlotSender(req *http.Request) (*http.Response, error)
GetWebSiteContainerLogsZipSlotSender sends the GetWebSiteContainerLogsZipSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) InstallSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (result AppsInstallSiteExtensionFuture, err error)
InstallSiteExtension install site extension on a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. siteExtensionID - site extension name.
func (client AppsClient) InstallSiteExtensionPreparer(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (*http.Request, error)
InstallSiteExtensionPreparer prepares the InstallSiteExtension request.
func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (result SiteExtensionInfo, err error)
InstallSiteExtensionResponder handles the response to the InstallSiteExtension request. The method always closes the http.Response Body.
func (client AppsClient) InstallSiteExtensionSender(req *http.Request) (future AppsInstallSiteExtensionFuture, err error)
InstallSiteExtensionSender sends the InstallSiteExtension request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) InstallSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (result AppsInstallSiteExtensionSlotFuture, err error)
InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. siteExtensionID - site extension name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) InstallSiteExtensionSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (*http.Request, error)
InstallSiteExtensionSlotPreparer prepares the InstallSiteExtensionSlot request.
func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) (result SiteExtensionInfo, err error)
InstallSiteExtensionSlotResponder handles the response to the InstallSiteExtensionSlot request. The method always closes the http.Response Body.
func (client AppsClient) InstallSiteExtensionSlotSender(req *http.Request) (future AppsInstallSiteExtensionSlotFuture, err error)
InstallSiteExtensionSlotSender sends the InstallSiteExtensionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) IsCloneable(ctx context.Context, resourceGroupName string, name string) (result SiteCloneability, err error)
IsCloneable shows whether an app can be cloned to another resource group or subscription. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) IsCloneablePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
IsCloneablePreparer prepares the IsCloneable request.
func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteCloneability, err error)
IsCloneableResponder handles the response to the IsCloneable request. The method always closes the http.Response Body.
func (client AppsClient) IsCloneableSender(req *http.Request) (*http.Response, error)
IsCloneableSender sends the IsCloneable request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) IsCloneableSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteCloneability, err error)
IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. By default, this API returns information on the production slot.
func (client AppsClient) IsCloneableSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
IsCloneableSlotPreparer prepares the IsCloneableSlot request.
func (client AppsClient) IsCloneableSlotResponder(resp *http.Response) (result SiteCloneability, err error)
IsCloneableSlotResponder handles the response to the IsCloneableSlot request. The method always closes the http.Response Body.
func (client AppsClient) IsCloneableSlotSender(req *http.Request) (*http.Response, error)
IsCloneableSlotSender sends the IsCloneableSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) List(ctx context.Context) (result AppCollectionPage, err error)
List get all apps for a subscription.
func (client AppsClient) ListApplicationSettings(ctx context.Context, resourceGroupName string, name string) (result StringDictionary, err error)
ListApplicationSettings gets the application settings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListApplicationSettingsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListApplicationSettingsPreparer prepares the ListApplicationSettings request.
func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) (result StringDictionary, err error)
ListApplicationSettingsResponder handles the response to the ListApplicationSettings request. The method always closes the http.Response Body.
func (client AppsClient) ListApplicationSettingsSender(req *http.Request) (*http.Response, error)
ListApplicationSettingsSender sends the ListApplicationSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result StringDictionary, err error)
ListApplicationSettingsSlot gets the application settings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.
func (client AppsClient) ListApplicationSettingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListApplicationSettingsSlotPreparer prepares the ListApplicationSettingsSlot request.
func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Response) (result StringDictionary, err error)
ListApplicationSettingsSlotResponder handles the response to the ListApplicationSettingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListApplicationSettingsSlotSender(req *http.Request) (*http.Response, error)
ListApplicationSettingsSlotSender sends the ListApplicationSettingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListBackupStatusSecrets(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest) (result BackupItem, err error)
ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. backupID - ID of backup. request - information on backup request.
func (client AppsClient) ListBackupStatusSecretsPreparer(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest) (*http.Request, error)
ListBackupStatusSecretsPreparer prepares the ListBackupStatusSecrets request.
func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) (result BackupItem, err error)
ListBackupStatusSecretsResponder handles the response to the ListBackupStatusSecrets request. The method always closes the http.Response Body.
func (client AppsClient) ListBackupStatusSecretsSender(req *http.Request) (*http.Response, error)
ListBackupStatusSecretsSender sends the ListBackupStatusSecrets request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListBackupStatusSecretsSlot(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest, slot string) (result BackupItem, err error)
ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. backupID - ID of backup. request - information on backup request. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) ListBackupStatusSecretsSlotPreparer(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest, slot string) (*http.Request, error)
ListBackupStatusSecretsSlotPreparer prepares the ListBackupStatusSecretsSlot request.
func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Response) (result BackupItem, err error)
ListBackupStatusSecretsSlotResponder handles the response to the ListBackupStatusSecretsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListBackupStatusSecretsSlotSender(req *http.Request) (*http.Response, error)
ListBackupStatusSecretsSlotSender sends the ListBackupStatusSecretsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListBackups(ctx context.Context, resourceGroupName string, name string) (result BackupItemCollectionPage, err error)
ListBackups gets existing backups of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupName string, name string) (result BackupItemCollectionIterator, err error)
ListBackupsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListBackupsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListBackupsPreparer prepares the ListBackups request.
func (client AppsClient) ListBackupsResponder(resp *http.Response) (result BackupItemCollection, err error)
ListBackupsResponder handles the response to the ListBackups request. The method always closes the http.Response Body.
func (client AppsClient) ListBackupsSender(req *http.Request) (*http.Response, error)
ListBackupsSender sends the ListBackups request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListBackupsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result BackupItemCollectionPage, err error)
ListBackupsSlot gets existing backups of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result BackupItemCollectionIterator, err error)
ListBackupsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListBackupsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListBackupsSlotPreparer prepares the ListBackupsSlot request.
func (client AppsClient) ListBackupsSlotResponder(resp *http.Response) (result BackupItemCollection, err error)
ListBackupsSlotResponder handles the response to the ListBackupsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListBackupsSlotSender(req *http.Request) (*http.Response, error)
ListBackupsSlotSender sends the ListBackupsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, includeSlots *bool) (result AppCollectionPage, err error)
ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. Parameters: resourceGroupName - name of the resource group to which the resource belongs. includeSlots - specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps.
func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, includeSlots *bool) (result AppCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, includeSlots *bool) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AppsClient) ListByResourceGroupResponder(resp *http.Response) (result AppCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client AppsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListComplete(ctx context.Context) (result AppCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListConfigurationSnapshotInfo(ctx context.Context, resourceGroupName string, name string) (result SiteConfigurationSnapshotInfoCollectionPage, err error)
ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Context, resourceGroupName string, name string) (result SiteConfigurationSnapshotInfoCollectionIterator, err error)
ListConfigurationSnapshotInfoComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListConfigurationSnapshotInfoPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListConfigurationSnapshotInfoPreparer prepares the ListConfigurationSnapshotInfo request.
func (client AppsClient) ListConfigurationSnapshotInfoResponder(resp *http.Response) (result SiteConfigurationSnapshotInfoCollection, err error)
ListConfigurationSnapshotInfoResponder handles the response to the ListConfigurationSnapshotInfo request. The method always closes the http.Response Body.
func (client AppsClient) ListConfigurationSnapshotInfoSender(req *http.Request) (*http.Response, error)
ListConfigurationSnapshotInfoSender sends the ListConfigurationSnapshotInfo request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListConfigurationSnapshotInfoSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigurationSnapshotInfoCollectionPage, err error)
ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.
func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigurationSnapshotInfoCollectionIterator, err error)
ListConfigurationSnapshotInfoSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListConfigurationSnapshotInfoSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListConfigurationSnapshotInfoSlotPreparer prepares the ListConfigurationSnapshotInfoSlot request.
func (client AppsClient) ListConfigurationSnapshotInfoSlotResponder(resp *http.Response) (result SiteConfigurationSnapshotInfoCollection, err error)
ListConfigurationSnapshotInfoSlotResponder handles the response to the ListConfigurationSnapshotInfoSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListConfigurationSnapshotInfoSlotSender(req *http.Request) (*http.Response, error)
ListConfigurationSnapshotInfoSlotSender sends the ListConfigurationSnapshotInfoSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListConfigurations(ctx context.Context, resourceGroupName string, name string) (result SiteConfigResourceCollectionPage, err error)
ListConfigurations list the configurations of an app Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourceGroupName string, name string) (result SiteConfigResourceCollectionIterator, err error)
ListConfigurationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListConfigurationsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListConfigurationsPreparer prepares the ListConfigurations request.
func (client AppsClient) ListConfigurationsResponder(resp *http.Response) (result SiteConfigResourceCollection, err error)
ListConfigurationsResponder handles the response to the ListConfigurations request. The method always closes the http.Response Body.
func (client AppsClient) ListConfigurationsSender(req *http.Request) (*http.Response, error)
ListConfigurationsSender sends the ListConfigurations request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListConfigurationsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigResourceCollectionPage, err error)
ListConfigurationsSlot list the configurations of an app Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.
func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigResourceCollectionIterator, err error)
ListConfigurationsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListConfigurationsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListConfigurationsSlotPreparer prepares the ListConfigurationsSlot request.
func (client AppsClient) ListConfigurationsSlotResponder(resp *http.Response) (result SiteConfigResourceCollection, err error)
ListConfigurationsSlotResponder handles the response to the ListConfigurationsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListConfigurationsSlotSender(req *http.Request) (*http.Response, error)
ListConfigurationsSlotSender sends the ListConfigurationsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListConnectionStrings(ctx context.Context, resourceGroupName string, name string) (result ConnectionStringDictionary, err error)
ListConnectionStrings gets the connection strings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListConnectionStringsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListConnectionStringsPreparer prepares the ListConnectionStrings request.
func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (result ConnectionStringDictionary, err error)
ListConnectionStringsResponder handles the response to the ListConnectionStrings request. The method always closes the http.Response Body.
func (client AppsClient) ListConnectionStringsSender(req *http.Request) (*http.Response, error)
ListConnectionStringsSender sends the ListConnectionStrings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListConnectionStringsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ConnectionStringDictionary, err error)
ListConnectionStringsSlot gets the connection strings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.
func (client AppsClient) ListConnectionStringsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListConnectionStringsSlotPreparer prepares the ListConnectionStringsSlot request.
func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) (result ConnectionStringDictionary, err error)
ListConnectionStringsSlotResponder handles the response to the ListConnectionStringsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListConnectionStringsSlotSender(req *http.Request) (*http.Response, error)
ListConnectionStringsSlotSender sends the ListConnectionStringsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListContinuousWebJobs(ctx context.Context, resourceGroupName string, name string) (result ContinuousWebJobCollectionPage, err error)
ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name.
func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, resourceGroupName string, name string) (result ContinuousWebJobCollectionIterator, err error)
ListContinuousWebJobsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListContinuousWebJobsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListContinuousWebJobsPreparer prepares the ListContinuousWebJobs request.
func (client AppsClient) ListContinuousWebJobsResponder(resp *http.Response) (result ContinuousWebJobCollection, err error)
ListContinuousWebJobsResponder handles the response to the ListContinuousWebJobs request. The method always closes the http.Response Body.
func (client AppsClient) ListContinuousWebJobsSender(req *http.Request) (*http.Response, error)
ListContinuousWebJobsSender sends the ListContinuousWebJobs request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListContinuousWebJobsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ContinuousWebJobCollectionPage, err error)
ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result ContinuousWebJobCollectionIterator, err error)
ListContinuousWebJobsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListContinuousWebJobsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListContinuousWebJobsSlotPreparer prepares the ListContinuousWebJobsSlot request.
func (client AppsClient) ListContinuousWebJobsSlotResponder(resp *http.Response) (result ContinuousWebJobCollection, err error)
ListContinuousWebJobsSlotResponder handles the response to the ListContinuousWebJobsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListContinuousWebJobsSlotSender(req *http.Request) (*http.Response, error)
ListContinuousWebJobsSlotSender sends the ListContinuousWebJobsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDeploymentLog(ctx context.Context, resourceGroupName string, name string, ID string) (result Deployment, err error)
ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - the ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments".
func (client AppsClient) ListDeploymentLogPreparer(ctx context.Context, resourceGroupName string, name string, ID string) (*http.Request, error)
ListDeploymentLogPreparer prepares the ListDeploymentLog request.
func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result Deployment, err error)
ListDeploymentLogResponder handles the response to the ListDeploymentLog request. The method always closes the http.Response Body.
func (client AppsClient) ListDeploymentLogSender(req *http.Request) (*http.Response, error)
ListDeploymentLogSender sends the ListDeploymentLog request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDeploymentLogSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (result Deployment, err error)
ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. ID - the ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) ListDeploymentLogSlotPreparer(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (*http.Request, error)
ListDeploymentLogSlotPreparer prepares the ListDeploymentLogSlot request.
func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (result Deployment, err error)
ListDeploymentLogSlotResponder handles the response to the ListDeploymentLogSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListDeploymentLogSlotSender(req *http.Request) (*http.Response, error)
ListDeploymentLogSlotSender sends the ListDeploymentLogSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDeployments(ctx context.Context, resourceGroupName string, name string) (result DeploymentCollectionPage, err error)
ListDeployments list deployments for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGroupName string, name string) (result DeploymentCollectionIterator, err error)
ListDeploymentsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListDeploymentsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListDeploymentsPreparer prepares the ListDeployments request.
func (client AppsClient) ListDeploymentsResponder(resp *http.Response) (result DeploymentCollection, err error)
ListDeploymentsResponder handles the response to the ListDeployments request. The method always closes the http.Response Body.
func (client AppsClient) ListDeploymentsSender(req *http.Request) (*http.Response, error)
ListDeploymentsSender sends the ListDeployments request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDeploymentsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result DeploymentCollectionPage, err error)
ListDeploymentsSlot list deployments for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result DeploymentCollectionIterator, err error)
ListDeploymentsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListDeploymentsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListDeploymentsSlotPreparer prepares the ListDeploymentsSlot request.
func (client AppsClient) ListDeploymentsSlotResponder(resp *http.Response) (result DeploymentCollection, err error)
ListDeploymentsSlotResponder handles the response to the ListDeploymentsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListDeploymentsSlotSender(req *http.Request) (*http.Response, error)
ListDeploymentsSlotSender sends the ListDeploymentsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDomainOwnershipIdentifiers(ctx context.Context, resourceGroupName string, name string) (result IdentifierCollectionPage, err error)
ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Context, resourceGroupName string, name string) (result IdentifierCollectionIterator, err error)
ListDomainOwnershipIdentifiersComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListDomainOwnershipIdentifiersPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListDomainOwnershipIdentifiersPreparer prepares the ListDomainOwnershipIdentifiers request.
func (client AppsClient) ListDomainOwnershipIdentifiersResponder(resp *http.Response) (result IdentifierCollection, err error)
ListDomainOwnershipIdentifiersResponder handles the response to the ListDomainOwnershipIdentifiers request. The method always closes the http.Response Body.
func (client AppsClient) ListDomainOwnershipIdentifiersSender(req *http.Request) (*http.Response, error)
ListDomainOwnershipIdentifiersSender sends the ListDomainOwnershipIdentifiers request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDomainOwnershipIdentifiersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result IdentifierCollectionPage, err error)
ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.
func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result IdentifierCollectionIterator, err error)
ListDomainOwnershipIdentifiersSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListDomainOwnershipIdentifiersSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListDomainOwnershipIdentifiersSlotPreparer prepares the ListDomainOwnershipIdentifiersSlot request.
func (client AppsClient) ListDomainOwnershipIdentifiersSlotResponder(resp *http.Response) (result IdentifierCollection, err error)
ListDomainOwnershipIdentifiersSlotResponder handles the response to the ListDomainOwnershipIdentifiersSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListDomainOwnershipIdentifiersSlotSender(req *http.Request) (*http.Response, error)
ListDomainOwnershipIdentifiersSlotSender sends the ListDomainOwnershipIdentifiersSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListFunctionSecrets(ctx context.Context, resourceGroupName string, name string, functionName string) (result FunctionSecrets, err error)
ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name.
func (client AppsClient) ListFunctionSecretsPreparer(ctx context.Context, resourceGroupName string, name string, functionName string) (*http.Request, error)
ListFunctionSecretsPreparer prepares the ListFunctionSecrets request.
func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (result FunctionSecrets, err error)
ListFunctionSecretsResponder handles the response to the ListFunctionSecrets request. The method always closes the http.Response Body.
func (client AppsClient) ListFunctionSecretsSender(req *http.Request) (*http.Response, error)
ListFunctionSecretsSender sends the ListFunctionSecrets request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListFunctionSecretsSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (result FunctionSecrets, err error)
ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. functionName - function name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) ListFunctionSecretsSlotPreparer(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (*http.Request, error)
ListFunctionSecretsSlotPreparer prepares the ListFunctionSecretsSlot request.
func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) (result FunctionSecrets, err error)
ListFunctionSecretsSlotResponder handles the response to the ListFunctionSecretsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListFunctionSecretsSlotSender(req *http.Request) (*http.Response, error)
ListFunctionSecretsSlotSender sends the ListFunctionSecretsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListFunctions(ctx context.Context, resourceGroupName string, name string) (result FunctionEnvelopeCollectionPage, err error)
ListFunctions list the functions for a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name.
func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGroupName string, name string) (result FunctionEnvelopeCollectionIterator, err error)
ListFunctionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListFunctionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListFunctionsPreparer prepares the ListFunctions request.
func (client AppsClient) ListFunctionsResponder(resp *http.Response) (result FunctionEnvelopeCollection, err error)
ListFunctionsResponder handles the response to the ListFunctions request. The method always closes the http.Response Body.
func (client AppsClient) ListFunctionsSender(req *http.Request) (*http.Response, error)
ListFunctionsSender sends the ListFunctions request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListHostNameBindings(ctx context.Context, resourceGroupName string, name string) (result HostNameBindingCollectionPage, err error)
ListHostNameBindings get hostname bindings for an app or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resourceGroupName string, name string) (result HostNameBindingCollectionIterator, err error)
ListHostNameBindingsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListHostNameBindingsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListHostNameBindingsPreparer prepares the ListHostNameBindings request.
func (client AppsClient) ListHostNameBindingsResponder(resp *http.Response) (result HostNameBindingCollection, err error)
ListHostNameBindingsResponder handles the response to the ListHostNameBindings request. The method always closes the http.Response Body.
func (client AppsClient) ListHostNameBindingsSender(req *http.Request) (*http.Response, error)
ListHostNameBindingsSender sends the ListHostNameBindings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListHostNameBindingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result HostNameBindingCollectionPage, err error)
ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.
func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result HostNameBindingCollectionIterator, err error)
ListHostNameBindingsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListHostNameBindingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListHostNameBindingsSlotPreparer prepares the ListHostNameBindingsSlot request.
func (client AppsClient) ListHostNameBindingsSlotResponder(resp *http.Response) (result HostNameBindingCollection, err error)
ListHostNameBindingsSlotResponder handles the response to the ListHostNameBindingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListHostNameBindingsSlotSender(req *http.Request) (*http.Response, error)
ListHostNameBindingsSlotSender sends the ListHostNameBindingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListHybridConnectionKeys(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnectionKey, err error)
ListHybridConnectionKeys gets the send key name and value for a Hybrid Connection. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection.
func (client AppsClient) ListHybridConnectionKeysPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (*http.Request, error)
ListHybridConnectionKeysPreparer prepares the ListHybridConnectionKeys request.
func (client AppsClient) ListHybridConnectionKeysResponder(resp *http.Response) (result HybridConnectionKey, err error)
ListHybridConnectionKeysResponder handles the response to the ListHybridConnectionKeys request. The method always closes the http.Response Body.
func (client AppsClient) ListHybridConnectionKeysSender(req *http.Request) (*http.Response, error)
ListHybridConnectionKeysSender sends the ListHybridConnectionKeys request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListHybridConnectionKeysSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (result HybridConnectionKey, err error)
ListHybridConnectionKeysSlot gets the send key name and value for a Hybrid Connection. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. slot - the name of the slot for the web app.
func (client AppsClient) ListHybridConnectionKeysSlotPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (*http.Request, error)
ListHybridConnectionKeysSlotPreparer prepares the ListHybridConnectionKeysSlot request.
func (client AppsClient) ListHybridConnectionKeysSlotResponder(resp *http.Response) (result HybridConnectionKey, err error)
ListHybridConnectionKeysSlotResponder handles the response to the ListHybridConnectionKeysSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListHybridConnectionKeysSlotSender(req *http.Request) (*http.Response, error)
ListHybridConnectionKeysSlotSender sends the ListHybridConnectionKeysSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListHybridConnections(ctx context.Context, resourceGroupName string, name string) (result HybridConnection, err error)
ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app.
func (client AppsClient) ListHybridConnectionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListHybridConnectionsPreparer prepares the ListHybridConnections request.
func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (result HybridConnection, err error)
ListHybridConnectionsResponder handles the response to the ListHybridConnections request. The method always closes the http.Response Body.
func (client AppsClient) ListHybridConnectionsSender(req *http.Request) (*http.Response, error)
ListHybridConnectionsSender sends the ListHybridConnections request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListHybridConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result HybridConnection, err error)
ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. slot - the name of the slot for the web app.
func (client AppsClient) ListHybridConnectionsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListHybridConnectionsSlotPreparer prepares the ListHybridConnectionsSlot request.
func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) (result HybridConnection, err error)
ListHybridConnectionsSlotResponder handles the response to the ListHybridConnectionsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListHybridConnectionsSlotSender(req *http.Request) (*http.Response, error)
ListHybridConnectionsSlotSender sends the ListHybridConnectionsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceFunctionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result FunctionEnvelopeCollectionPage, err error)
ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result FunctionEnvelopeCollectionIterator, err error)
ListInstanceFunctionsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceFunctionsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListInstanceFunctionsSlotPreparer prepares the ListInstanceFunctionsSlot request.
func (client AppsClient) ListInstanceFunctionsSlotResponder(resp *http.Response) (result FunctionEnvelopeCollection, err error)
ListInstanceFunctionsSlotResponder handles the response to the ListInstanceFunctionsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceFunctionsSlotSender(req *http.Request) (*http.Response, error)
ListInstanceFunctionsSlotSender sends the ListInstanceFunctionsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceIdentifiers(ctx context.Context, resourceGroupName string, name string) (result AppInstanceCollectionPage, err error)
ListInstanceIdentifiers gets all scale-out instances of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, resourceGroupName string, name string) (result AppInstanceCollectionIterator, err error)
ListInstanceIdentifiersComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceIdentifiersPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListInstanceIdentifiersPreparer prepares the ListInstanceIdentifiers request.
func (client AppsClient) ListInstanceIdentifiersResponder(resp *http.Response) (result AppInstanceCollection, err error)
ListInstanceIdentifiersResponder handles the response to the ListInstanceIdentifiers request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceIdentifiersSender(req *http.Request) (*http.Response, error)
ListInstanceIdentifiersSender sends the ListInstanceIdentifiers request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceIdentifiersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result AppInstanceCollectionPage, err error)
ListInstanceIdentifiersSlot gets all scale-out instances of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API gets the production slot instances.
func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result AppInstanceCollectionIterator, err error)
ListInstanceIdentifiersSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceIdentifiersSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListInstanceIdentifiersSlotPreparer prepares the ListInstanceIdentifiersSlot request.
func (client AppsClient) ListInstanceIdentifiersSlotResponder(resp *http.Response) (result AppInstanceCollection, err error)
ListInstanceIdentifiersSlotResponder handles the response to the ListInstanceIdentifiersSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceIdentifiersSlotSender(req *http.Request) (*http.Response, error)
ListInstanceIdentifiersSlotSender sends the ListInstanceIdentifiersSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceProcessModules(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessModuleInfoCollectionPage, err error)
ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessModuleInfoCollectionIterator, err error)
ListInstanceProcessModulesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceProcessModulesPreparer(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (*http.Request, error)
ListInstanceProcessModulesPreparer prepares the ListInstanceProcessModules request.
func (client AppsClient) ListInstanceProcessModulesResponder(resp *http.Response) (result ProcessModuleInfoCollection, err error)
ListInstanceProcessModulesResponder handles the response to the ListInstanceProcessModules request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceProcessModulesSender(req *http.Request) (*http.Response, error)
ListInstanceProcessModulesSender sends the ListInstanceProcessModules request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceProcessModulesSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessModuleInfoCollectionPage, err error)
ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessModuleInfoCollectionIterator, err error)
ListInstanceProcessModulesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceProcessModulesSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (*http.Request, error)
ListInstanceProcessModulesSlotPreparer prepares the ListInstanceProcessModulesSlot request.
func (client AppsClient) ListInstanceProcessModulesSlotResponder(resp *http.Response) (result ProcessModuleInfoCollection, err error)
ListInstanceProcessModulesSlotResponder handles the response to the ListInstanceProcessModulesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceProcessModulesSlotSender(req *http.Request) (*http.Response, error)
ListInstanceProcessModulesSlotSender sends the ListInstanceProcessModulesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceProcessThreads(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessThreadInfoCollectionPage, err error)
ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessThreadInfoCollectionIterator, err error)
ListInstanceProcessThreadsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceProcessThreadsPreparer(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (*http.Request, error)
ListInstanceProcessThreadsPreparer prepares the ListInstanceProcessThreads request.
func (client AppsClient) ListInstanceProcessThreadsResponder(resp *http.Response) (result ProcessThreadInfoCollection, err error)
ListInstanceProcessThreadsResponder handles the response to the ListInstanceProcessThreads request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceProcessThreadsSender(req *http.Request) (*http.Response, error)
ListInstanceProcessThreadsSender sends the ListInstanceProcessThreads request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceProcessThreadsSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessThreadInfoCollectionPage, err error)
ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessThreadInfoCollectionIterator, err error)
ListInstanceProcessThreadsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceProcessThreadsSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (*http.Request, error)
ListInstanceProcessThreadsSlotPreparer prepares the ListInstanceProcessThreadsSlot request.
func (client AppsClient) ListInstanceProcessThreadsSlotResponder(resp *http.Response) (result ProcessThreadInfoCollection, err error)
ListInstanceProcessThreadsSlotResponder handles the response to the ListInstanceProcessThreadsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceProcessThreadsSlotSender(req *http.Request) (*http.Response, error)
ListInstanceProcessThreadsSlotSender sends the ListInstanceProcessThreadsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceProcesses(ctx context.Context, resourceGroupName string, name string, instanceID string) (result ProcessInfoCollectionPage, err error)
ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, resourceGroupName string, name string, instanceID string) (result ProcessInfoCollectionIterator, err error)
ListInstanceProcessesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceProcessesPreparer(ctx context.Context, resourceGroupName string, name string, instanceID string) (*http.Request, error)
ListInstanceProcessesPreparer prepares the ListInstanceProcesses request.
func (client AppsClient) ListInstanceProcessesResponder(resp *http.Response) (result ProcessInfoCollection, err error)
ListInstanceProcessesResponder handles the response to the ListInstanceProcesses request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceProcessesSender(req *http.Request) (*http.Response, error)
ListInstanceProcessesSender sends the ListInstanceProcesses request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListInstanceProcessesSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result ProcessInfoCollectionPage, err error)
ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".
func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result ProcessInfoCollectionIterator, err error)
ListInstanceProcessesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListInstanceProcessesSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (*http.Request, error)
ListInstanceProcessesSlotPreparer prepares the ListInstanceProcessesSlot request.
func (client AppsClient) ListInstanceProcessesSlotResponder(resp *http.Response) (result ProcessInfoCollection, err error)
ListInstanceProcessesSlotResponder handles the response to the ListInstanceProcessesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListInstanceProcessesSlotSender(req *http.Request) (*http.Response, error)
ListInstanceProcessesSlotSender sends the ListInstanceProcessesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListMetadata(ctx context.Context, resourceGroupName string, name string) (result StringDictionary, err error)
ListMetadata gets the metadata of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListMetadataPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMetadataPreparer prepares the ListMetadata request.
func (client AppsClient) ListMetadataResponder(resp *http.Response) (result StringDictionary, err error)
ListMetadataResponder handles the response to the ListMetadata request. The method always closes the http.Response Body.
func (client AppsClient) ListMetadataSender(req *http.Request) (*http.Response, error)
ListMetadataSender sends the ListMetadata request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListMetadataSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result StringDictionary, err error)
ListMetadataSlot gets the metadata of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.
func (client AppsClient) ListMetadataSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListMetadataSlotPreparer prepares the ListMetadataSlot request.
func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result StringDictionary, err error)
ListMetadataSlotResponder handles the response to the ListMetadataSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListMetadataSlotSender(req *http.Request) (*http.Response, error)
ListMetadataSlotSender sends the ListMetadataSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionPage, err error)
ListMetricDefinitions gets all metric definitions of an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListMetricDefinitionsComplete(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListMetricDefinitionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.
func (client AppsClient) ListMetricDefinitionsResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.
func (client AppsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)
ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListMetricDefinitionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceMetricDefinitionCollectionPage, err error)
ListMetricDefinitionsSlot gets all metric definitions of an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production slot.
func (client AppsClient) ListMetricDefinitionsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceMetricDefinitionCollectionIterator, err error)
ListMetricDefinitionsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListMetricDefinitionsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListMetricDefinitionsSlotPreparer prepares the ListMetricDefinitionsSlot request.
func (client AppsClient) ListMetricDefinitionsSlotResponder(resp *http.Response) (result ResourceMetricDefinitionCollection, err error)
ListMetricDefinitionsSlotResponder handles the response to the ListMetricDefinitionsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListMetricDefinitionsSlotSender(req *http.Request) (*http.Response, error)
ListMetricDefinitionsSlotSender sends the ListMetricDefinitionsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListMetrics(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListMetrics gets performance metrics of an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. details - specify "true" to include metric details in the response. It is "false" by default. filter - return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppsClient) ListMetricsComplete(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (*http.Request, error)
ListMetricsPreparer prepares the ListMetrics request.
func (client AppsClient) ListMetricsResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.
func (client AppsClient) ListMetricsSender(req *http.Request) (*http.Response, error)
ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListMetricsSlot(ctx context.Context, resourceGroupName string, name string, slot string, details *bool, filter string) (result ResourceMetricCollectionPage, err error)
ListMetricsSlot gets performance metrics of an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. details - specify "true" to include metric details in the response. It is "false" by default. filter - return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppsClient) ListMetricsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string, details *bool, filter string) (result ResourceMetricCollectionIterator, err error)
ListMetricsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListMetricsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, details *bool, filter string) (*http.Request, error)
ListMetricsSlotPreparer prepares the ListMetricsSlot request.
func (client AppsClient) ListMetricsSlotResponder(resp *http.Response) (result ResourceMetricCollection, err error)
ListMetricsSlotResponder handles the response to the ListMetricsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListMetricsSlotSender(req *http.Request) (*http.Response, error)
ListMetricsSlotSender sends the ListMetricsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListNetworkFeatures(ctx context.Context, resourceGroupName string, name string, view string) (result NetworkFeatures, err error)
ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. view - the type of view. This can either be "summary" or "detailed".
func (client AppsClient) ListNetworkFeaturesPreparer(ctx context.Context, resourceGroupName string, name string, view string) (*http.Request, error)
ListNetworkFeaturesPreparer prepares the ListNetworkFeatures request.
func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (result NetworkFeatures, err error)
ListNetworkFeaturesResponder handles the response to the ListNetworkFeatures request. The method always closes the http.Response Body.
func (client AppsClient) ListNetworkFeaturesSender(req *http.Request) (*http.Response, error)
ListNetworkFeaturesSender sends the ListNetworkFeatures request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListNetworkFeaturesSlot(ctx context.Context, resourceGroupName string, name string, view string, slot string) (result NetworkFeatures, err error)
ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. view - the type of view. This can either be "summary" or "detailed". slot - name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.
func (client AppsClient) ListNetworkFeaturesSlotPreparer(ctx context.Context, resourceGroupName string, name string, view string, slot string) (*http.Request, error)
ListNetworkFeaturesSlotPreparer prepares the ListNetworkFeaturesSlot request.
func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) (result NetworkFeatures, err error)
ListNetworkFeaturesSlotResponder handles the response to the ListNetworkFeaturesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListNetworkFeaturesSlotSender(req *http.Request) (*http.Response, error)
ListNetworkFeaturesSlotSender sends the ListNetworkFeaturesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPerfMonCounters(ctx context.Context, resourceGroupName string, name string, filter string) (result PerfMonCounterCollectionPage, err error)
ListPerfMonCounters gets perfmon counters for web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resourceGroupName string, name string, filter string) (result PerfMonCounterCollectionIterator, err error)
ListPerfMonCountersComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListPerfMonCountersPreparer(ctx context.Context, resourceGroupName string, name string, filter string) (*http.Request, error)
ListPerfMonCountersPreparer prepares the ListPerfMonCounters request.
func (client AppsClient) ListPerfMonCountersResponder(resp *http.Response) (result PerfMonCounterCollection, err error)
ListPerfMonCountersResponder handles the response to the ListPerfMonCounters request. The method always closes the http.Response Body.
func (client AppsClient) ListPerfMonCountersSender(req *http.Request) (*http.Response, error)
ListPerfMonCountersSender sends the ListPerfMonCounters request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPerfMonCountersSlot(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (result PerfMonCounterCollectionPage, err error)
ListPerfMonCountersSlot gets perfmon counters for web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot. filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (result PerfMonCounterCollectionIterator, err error)
ListPerfMonCountersSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListPerfMonCountersSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (*http.Request, error)
ListPerfMonCountersSlotPreparer prepares the ListPerfMonCountersSlot request.
func (client AppsClient) ListPerfMonCountersSlotResponder(resp *http.Response) (result PerfMonCounterCollection, err error)
ListPerfMonCountersSlotResponder handles the response to the ListPerfMonCountersSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListPerfMonCountersSlotSender(req *http.Request) (*http.Response, error)
ListPerfMonCountersSlotSender sends the ListPerfMonCountersSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPremierAddOns(ctx context.Context, resourceGroupName string, name string) (result PremierAddOn, err error)
ListPremierAddOns gets the premier add-ons of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListPremierAddOnsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListPremierAddOnsPreparer prepares the ListPremierAddOns request.
func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result PremierAddOn, err error)
ListPremierAddOnsResponder handles the response to the ListPremierAddOns request. The method always closes the http.Response Body.
func (client AppsClient) ListPremierAddOnsSender(req *http.Request) (*http.Response, error)
ListPremierAddOnsSender sends the ListPremierAddOns request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPremierAddOnsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result PremierAddOn, err error)
ListPremierAddOnsSlot gets the premier add-ons of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.
func (client AppsClient) ListPremierAddOnsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListPremierAddOnsSlotPreparer prepares the ListPremierAddOnsSlot request.
func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (result PremierAddOn, err error)
ListPremierAddOnsSlotResponder handles the response to the ListPremierAddOnsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListPremierAddOnsSlotSender(req *http.Request) (*http.Response, error)
ListPremierAddOnsSlotSender sends the ListPremierAddOnsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client AppsClient) ListProcessModules(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessModuleInfoCollectionPage, err error)
ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID.
func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessModuleInfoCollectionIterator, err error)
ListProcessModulesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListProcessModulesPreparer(ctx context.Context, resourceGroupName string, name string, processID string) (*http.Request, error)
ListProcessModulesPreparer prepares the ListProcessModules request.
func (client AppsClient) ListProcessModulesResponder(resp *http.Response) (result ProcessModuleInfoCollection, err error)
ListProcessModulesResponder handles the response to the ListProcessModules request. The method always closes the http.Response Body.
func (client AppsClient) ListProcessModulesSender(req *http.Request) (*http.Response, error)
ListProcessModulesSender sends the ListProcessModules request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListProcessModulesSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessModuleInfoCollectionPage, err error)
ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessModuleInfoCollectionIterator, err error)
ListProcessModulesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListProcessModulesSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (*http.Request, error)
ListProcessModulesSlotPreparer prepares the ListProcessModulesSlot request.
func (client AppsClient) ListProcessModulesSlotResponder(resp *http.Response) (result ProcessModuleInfoCollection, err error)
ListProcessModulesSlotResponder handles the response to the ListProcessModulesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListProcessModulesSlotSender(req *http.Request) (*http.Response, error)
ListProcessModulesSlotSender sends the ListProcessModulesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListProcessThreads(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessThreadInfoCollectionPage, err error)
ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID.
func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessThreadInfoCollectionIterator, err error)
ListProcessThreadsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListProcessThreadsPreparer(ctx context.Context, resourceGroupName string, name string, processID string) (*http.Request, error)
ListProcessThreadsPreparer prepares the ListProcessThreads request.
func (client AppsClient) ListProcessThreadsResponder(resp *http.Response) (result ProcessThreadInfoCollection, err error)
ListProcessThreadsResponder handles the response to the ListProcessThreads request. The method always closes the http.Response Body.
func (client AppsClient) ListProcessThreadsSender(req *http.Request) (*http.Response, error)
ListProcessThreadsSender sends the ListProcessThreads request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListProcessThreadsSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessThreadInfoCollectionPage, err error)
ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. processID - pID. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessThreadInfoCollectionIterator, err error)
ListProcessThreadsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListProcessThreadsSlotPreparer(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (*http.Request, error)
ListProcessThreadsSlotPreparer prepares the ListProcessThreadsSlot request.
func (client AppsClient) ListProcessThreadsSlotResponder(resp *http.Response) (result ProcessThreadInfoCollection, err error)
ListProcessThreadsSlotResponder handles the response to the ListProcessThreadsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListProcessThreadsSlotSender(req *http.Request) (*http.Response, error)
ListProcessThreadsSlotSender sends the ListProcessThreadsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListProcesses(ctx context.Context, resourceGroupName string, name string) (result ProcessInfoCollectionPage, err error)
ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name.
func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGroupName string, name string) (result ProcessInfoCollectionIterator, err error)
ListProcessesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListProcessesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListProcessesPreparer prepares the ListProcesses request.
func (client AppsClient) ListProcessesResponder(resp *http.Response) (result ProcessInfoCollection, err error)
ListProcessesResponder handles the response to the ListProcesses request. The method always closes the http.Response Body.
func (client AppsClient) ListProcessesSender(req *http.Request) (*http.Response, error)
ListProcessesSender sends the ListProcesses request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListProcessesSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ProcessInfoCollectionPage, err error)
ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result ProcessInfoCollectionIterator, err error)
ListProcessesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListProcessesSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListProcessesSlotPreparer prepares the ListProcessesSlot request.
func (client AppsClient) ListProcessesSlotResponder(resp *http.Response) (result ProcessInfoCollection, err error)
ListProcessesSlotResponder handles the response to the ListProcessesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListProcessesSlotSender(req *http.Request) (*http.Response, error)
ListProcessesSlotSender sends the ListProcessesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPublicCertificates(ctx context.Context, resourceGroupName string, name string) (result PublicCertificateCollectionPage, err error)
ListPublicCertificates get public certificates for an app or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, resourceGroupName string, name string) (result PublicCertificateCollectionIterator, err error)
ListPublicCertificatesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListPublicCertificatesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListPublicCertificatesPreparer prepares the ListPublicCertificates request.
func (client AppsClient) ListPublicCertificatesResponder(resp *http.Response) (result PublicCertificateCollection, err error)
ListPublicCertificatesResponder handles the response to the ListPublicCertificates request. The method always closes the http.Response Body.
func (client AppsClient) ListPublicCertificatesSender(req *http.Request) (*http.Response, error)
ListPublicCertificatesSender sends the ListPublicCertificates request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPublicCertificatesSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result PublicCertificateCollectionPage, err error)
ListPublicCertificatesSlot get public certificates for an app or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.
func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result PublicCertificateCollectionIterator, err error)
ListPublicCertificatesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListPublicCertificatesSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListPublicCertificatesSlotPreparer prepares the ListPublicCertificatesSlot request.
func (client AppsClient) ListPublicCertificatesSlotResponder(resp *http.Response) (result PublicCertificateCollection, err error)
ListPublicCertificatesSlotResponder handles the response to the ListPublicCertificatesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListPublicCertificatesSlotSender(req *http.Request) (*http.Response, error)
ListPublicCertificatesSlotSender sends the ListPublicCertificatesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPublishingCredentials(ctx context.Context, resourceGroupName string, name string) (result AppsListPublishingCredentialsFuture, err error)
ListPublishingCredentials gets the Git/FTP publishing credentials of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListPublishingCredentialsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListPublishingCredentialsPreparer prepares the ListPublishingCredentials request.
func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) (result User, err error)
ListPublishingCredentialsResponder handles the response to the ListPublishingCredentials request. The method always closes the http.Response Body.
func (client AppsClient) ListPublishingCredentialsSender(req *http.Request) (future AppsListPublishingCredentialsFuture, err error)
ListPublishingCredentialsSender sends the ListPublishingCredentials request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPublishingCredentialsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result AppsListPublishingCredentialsSlotFuture, err error)
ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.
func (client AppsClient) ListPublishingCredentialsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListPublishingCredentialsSlotPreparer prepares the ListPublishingCredentialsSlot request.
func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Response) (result User, err error)
ListPublishingCredentialsSlotResponder handles the response to the ListPublishingCredentialsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListPublishingCredentialsSlotSender(req *http.Request) (future AppsListPublishingCredentialsSlotFuture, err error)
ListPublishingCredentialsSlotSender sends the ListPublishingCredentialsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPublishingProfileXMLWithSecrets(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions) (result ReadCloser, err error)
ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. publishingProfileOptions - specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile.
func (client AppsClient) ListPublishingProfileXMLWithSecretsPreparer(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions) (*http.Request, error)
ListPublishingProfileXMLWithSecretsPreparer prepares the ListPublishingProfileXMLWithSecrets request.
func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http.Response) (result ReadCloser, err error)
ListPublishingProfileXMLWithSecretsResponder handles the response to the ListPublishingProfileXMLWithSecrets request. The method always closes the http.Response Body.
func (client AppsClient) ListPublishingProfileXMLWithSecretsSender(req *http.Request) (*http.Response, error)
ListPublishingProfileXMLWithSecretsSender sends the ListPublishingProfileXMLWithSecrets request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPublishingProfileXMLWithSecretsSlot(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions, slot string) (result ReadCloser, err error)
ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. publishingProfileOptions - specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. slot - name of the deployment slot. If a slot is not specified, the API will get the publishing profile for the production slot.
func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotPreparer(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions, slot string) (*http.Request, error)
ListPublishingProfileXMLWithSecretsSlotPreparer prepares the ListPublishingProfileXMLWithSecretsSlot request.
func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp *http.Response) (result ReadCloser, err error)
ListPublishingProfileXMLWithSecretsSlotResponder handles the response to the ListPublishingProfileXMLWithSecretsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotSender(req *http.Request) (*http.Response, error)
ListPublishingProfileXMLWithSecretsSlotSender sends the ListPublishingProfileXMLWithSecretsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListRelayServiceConnections(ctx context.Context, resourceGroupName string, name string) (result RelayServiceConnectionEntity, err error)
ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListRelayServiceConnectionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListRelayServiceConnectionsPreparer prepares the ListRelayServiceConnections request.
func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
ListRelayServiceConnectionsResponder handles the response to the ListRelayServiceConnections request. The method always closes the http.Response Body.
func (client AppsClient) ListRelayServiceConnectionsSender(req *http.Request) (*http.Response, error)
ListRelayServiceConnectionsSender sends the ListRelayServiceConnections request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListRelayServiceConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result RelayServiceConnectionEntity, err error)
ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot.
func (client AppsClient) ListRelayServiceConnectionsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListRelayServiceConnectionsSlotPreparer prepares the ListRelayServiceConnectionsSlot request.
func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
ListRelayServiceConnectionsSlotResponder handles the response to the ListRelayServiceConnectionsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListRelayServiceConnectionsSlotSender(req *http.Request) (*http.Response, error)
ListRelayServiceConnectionsSlotSender sends the ListRelayServiceConnectionsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListResponder(resp *http.Response) (result AppCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client AppsClient) 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.
func (client AppsClient) ListSiteExtensions(ctx context.Context, resourceGroupName string, name string) (result SiteExtensionInfoCollectionPage, err error)
ListSiteExtensions get list of site extensions for a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name.
func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourceGroupName string, name string) (result SiteExtensionInfoCollectionIterator, err error)
ListSiteExtensionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSiteExtensionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListSiteExtensionsPreparer prepares the ListSiteExtensions request.
func (client AppsClient) ListSiteExtensionsResponder(resp *http.Response) (result SiteExtensionInfoCollection, err error)
ListSiteExtensionsResponder handles the response to the ListSiteExtensions request. The method always closes the http.Response Body.
func (client AppsClient) ListSiteExtensionsSender(req *http.Request) (*http.Response, error)
ListSiteExtensionsSender sends the ListSiteExtensions request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSiteExtensionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteExtensionInfoCollectionPage, err error)
ListSiteExtensionsSlot get list of site extensions for a web site, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteExtensionInfoCollectionIterator, err error)
ListSiteExtensionsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSiteExtensionsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListSiteExtensionsSlotPreparer prepares the ListSiteExtensionsSlot request.
func (client AppsClient) ListSiteExtensionsSlotResponder(resp *http.Response) (result SiteExtensionInfoCollection, err error)
ListSiteExtensionsSlotResponder handles the response to the ListSiteExtensionsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListSiteExtensionsSlotSender(req *http.Request) (*http.Response, error)
ListSiteExtensionsSlotSender sends the ListSiteExtensionsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSitePushSettings(ctx context.Context, resourceGroupName string, name string) (result PushSettings, err error)
ListSitePushSettings gets the Push settings associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) ListSitePushSettingsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListSitePushSettingsPreparer prepares the ListSitePushSettings request.
func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (result PushSettings, err error)
ListSitePushSettingsResponder handles the response to the ListSitePushSettings request. The method always closes the http.Response Body.
func (client AppsClient) ListSitePushSettingsSender(req *http.Request) (*http.Response, error)
ListSitePushSettingsSender sends the ListSitePushSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSitePushSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result PushSettings, err error)
ListSitePushSettingsSlot gets the Push settings associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) ListSitePushSettingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListSitePushSettingsSlotPreparer prepares the ListSitePushSettingsSlot request.
func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) (result PushSettings, err error)
ListSitePushSettingsSlotResponder handles the response to the ListSitePushSettingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListSitePushSettingsSlotSender(req *http.Request) (*http.Response, error)
ListSitePushSettingsSlotSender sends the ListSitePushSettingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string) (result SlotConfigNamesResource, err error)
ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not swapped). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListSlotConfigurationNamesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListSlotConfigurationNamesPreparer prepares the ListSlotConfigurationNames request.
func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response) (result SlotConfigNamesResource, err error)
ListSlotConfigurationNamesResponder handles the response to the ListSlotConfigurationNames request. The method always closes the http.Response Body.
func (client AppsClient) ListSlotConfigurationNamesSender(req *http.Request) (*http.Response, error)
ListSlotConfigurationNamesSender sends the ListSlotConfigurationNames request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSlotDifferencesFromProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result SlotDifferenceCollectionPage, err error)
ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotSwapEntity - JSON object that contains the target slot name. See example.
func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result SlotDifferenceCollectionIterator, err error)
ListSlotDifferencesFromProductionComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSlotDifferencesFromProductionPreparer(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (*http.Request, error)
ListSlotDifferencesFromProductionPreparer prepares the ListSlotDifferencesFromProduction request.
func (client AppsClient) ListSlotDifferencesFromProductionResponder(resp *http.Response) (result SlotDifferenceCollection, err error)
ListSlotDifferencesFromProductionResponder handles the response to the ListSlotDifferencesFromProduction request. The method always closes the http.Response Body.
func (client AppsClient) ListSlotDifferencesFromProductionSender(req *http.Request) (*http.Response, error)
ListSlotDifferencesFromProductionSender sends the ListSlotDifferencesFromProduction request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSlotDifferencesSlot(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result SlotDifferenceCollectionPage, err error)
ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotSwapEntity - JSON object that contains the target slot name. See example. slot - name of the source slot. If a slot is not specified, the production slot is used as the source slot.
func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result SlotDifferenceCollectionIterator, err error)
ListSlotDifferencesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSlotDifferencesSlotPreparer(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (*http.Request, error)
ListSlotDifferencesSlotPreparer prepares the ListSlotDifferencesSlot request.
func (client AppsClient) ListSlotDifferencesSlotResponder(resp *http.Response) (result SlotDifferenceCollection, err error)
ListSlotDifferencesSlotResponder handles the response to the ListSlotDifferencesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListSlotDifferencesSlotSender(req *http.Request) (*http.Response, error)
ListSlotDifferencesSlotSender sends the ListSlotDifferencesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSlots(ctx context.Context, resourceGroupName string, name string) (result AppCollectionPage, err error)
ListSlots gets an app's deployment slots. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupName string, name string) (result AppCollectionIterator, err error)
ListSlotsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSlotsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListSlotsPreparer prepares the ListSlots request.
func (client AppsClient) ListSlotsResponder(resp *http.Response) (result AppCollection, err error)
ListSlotsResponder handles the response to the ListSlots request. The method always closes the http.Response Body.
func (client AppsClient) ListSlotsSender(req *http.Request) (*http.Response, error)
ListSlotsSender sends the ListSlots request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSnapshots(ctx context.Context, resourceGroupName string, name string) (result SnapshotCollectionPage, err error)
ListSnapshots returns all Snapshots to the user. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - website Name.
func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGroupName string, name string) (result SnapshotCollectionIterator, err error)
ListSnapshotsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSnapshotsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListSnapshotsPreparer prepares the ListSnapshots request.
func (client AppsClient) ListSnapshotsResponder(resp *http.Response) (result SnapshotCollection, err error)
ListSnapshotsResponder handles the response to the ListSnapshots request. The method always closes the http.Response Body.
func (client AppsClient) ListSnapshotsSender(req *http.Request) (*http.Response, error)
ListSnapshotsSender sends the ListSnapshots request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSnapshotsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SnapshotCollectionPage, err error)
ListSnapshotsSlot returns all Snapshots to the user. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - website Name. slot - website Slot.
func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result SnapshotCollectionIterator, err error)
ListSnapshotsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListSnapshotsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListSnapshotsSlotPreparer prepares the ListSnapshotsSlot request.
func (client AppsClient) ListSnapshotsSlotResponder(resp *http.Response) (result SnapshotCollection, err error)
ListSnapshotsSlotResponder handles the response to the ListSnapshotsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListSnapshotsSlotSender(req *http.Request) (*http.Response, error)
ListSnapshotsSlotSender sends the ListSnapshotsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string) (result FunctionSecrets, err error)
ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListSyncFunctionTriggersPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListSyncFunctionTriggersPreparer prepares the ListSyncFunctionTriggers request.
func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) (result FunctionSecrets, err error)
ListSyncFunctionTriggersResponder handles the response to the ListSyncFunctionTriggers request. The method always closes the http.Response Body.
func (client AppsClient) ListSyncFunctionTriggersSender(req *http.Request) (*http.Response, error)
ListSyncFunctionTriggersSender sends the ListSyncFunctionTriggers request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSyncFunctionTriggersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result FunctionSecrets, err error)
ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.
func (client AppsClient) ListSyncFunctionTriggersSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListSyncFunctionTriggersSlotPreparer prepares the ListSyncFunctionTriggersSlot request.
func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Response) (result FunctionSecrets, err error)
ListSyncFunctionTriggersSlotResponder handles the response to the ListSyncFunctionTriggersSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListSyncFunctionTriggersSlotSender(req *http.Request) (*http.Response, error)
ListSyncFunctionTriggersSlotSender sends the ListSyncFunctionTriggersSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListTriggeredWebJobHistory(ctx context.Context, resourceGroupName string, name string, webJobName string) (result TriggeredJobHistoryCollectionPage, err error)
ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, resourceGroupName string, name string, webJobName string) (result TriggeredJobHistoryCollectionIterator, err error)
ListTriggeredWebJobHistoryComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListTriggeredWebJobHistoryPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
ListTriggeredWebJobHistoryPreparer prepares the ListTriggeredWebJobHistory request.
func (client AppsClient) ListTriggeredWebJobHistoryResponder(resp *http.Response) (result TriggeredJobHistoryCollection, err error)
ListTriggeredWebJobHistoryResponder handles the response to the ListTriggeredWebJobHistory request. The method always closes the http.Response Body.
func (client AppsClient) ListTriggeredWebJobHistorySender(req *http.Request) (*http.Response, error)
ListTriggeredWebJobHistorySender sends the ListTriggeredWebJobHistory request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListTriggeredWebJobHistorySlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result TriggeredJobHistoryCollectionPage, err error)
ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result TriggeredJobHistoryCollectionIterator, err error)
ListTriggeredWebJobHistorySlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListTriggeredWebJobHistorySlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
ListTriggeredWebJobHistorySlotPreparer prepares the ListTriggeredWebJobHistorySlot request.
func (client AppsClient) ListTriggeredWebJobHistorySlotResponder(resp *http.Response) (result TriggeredJobHistoryCollection, err error)
ListTriggeredWebJobHistorySlotResponder handles the response to the ListTriggeredWebJobHistorySlot request. The method always closes the http.Response Body.
func (client AppsClient) ListTriggeredWebJobHistorySlotSender(req *http.Request) (*http.Response, error)
ListTriggeredWebJobHistorySlotSender sends the ListTriggeredWebJobHistorySlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListTriggeredWebJobs(ctx context.Context, resourceGroupName string, name string) (result TriggeredWebJobCollectionPage, err error)
ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name.
func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resourceGroupName string, name string) (result TriggeredWebJobCollectionIterator, err error)
ListTriggeredWebJobsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListTriggeredWebJobsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListTriggeredWebJobsPreparer prepares the ListTriggeredWebJobs request.
func (client AppsClient) ListTriggeredWebJobsResponder(resp *http.Response) (result TriggeredWebJobCollection, err error)
ListTriggeredWebJobsResponder handles the response to the ListTriggeredWebJobs request. The method always closes the http.Response Body.
func (client AppsClient) ListTriggeredWebJobsSender(req *http.Request) (*http.Response, error)
ListTriggeredWebJobsSender sends the ListTriggeredWebJobs request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListTriggeredWebJobsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result TriggeredWebJobCollectionPage, err error)
ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result TriggeredWebJobCollectionIterator, err error)
ListTriggeredWebJobsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListTriggeredWebJobsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListTriggeredWebJobsSlotPreparer prepares the ListTriggeredWebJobsSlot request.
func (client AppsClient) ListTriggeredWebJobsSlotResponder(resp *http.Response) (result TriggeredWebJobCollection, err error)
ListTriggeredWebJobsSlotResponder handles the response to the ListTriggeredWebJobsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListTriggeredWebJobsSlotSender(req *http.Request) (*http.Response, error)
ListTriggeredWebJobsSlotSender sends the ListTriggeredWebJobsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListUsages(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionPage, err error)
ListUsages gets the quota usage information of an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. filter - return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionIterator, err error)
ListUsagesComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, name string, filter string) (*http.Request, error)
ListUsagesPreparer prepares the ListUsages request.
func (client AppsClient) ListUsagesResponder(resp *http.Response) (result CsmUsageQuotaCollection, err error)
ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.
func (client AppsClient) ListUsagesSender(req *http.Request) (*http.Response, error)
ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListUsagesSlot(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (result CsmUsageQuotaCollectionPage, err error)
ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot. filter - return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (result CsmUsageQuotaCollectionIterator, err error)
ListUsagesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListUsagesSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (*http.Request, error)
ListUsagesSlotPreparer prepares the ListUsagesSlot request.
func (client AppsClient) ListUsagesSlotResponder(resp *http.Response) (result CsmUsageQuotaCollection, err error)
ListUsagesSlotResponder handles the response to the ListUsagesSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListUsagesSlotSender(req *http.Request) (*http.Response, error)
ListUsagesSlotSender sends the ListUsagesSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListVnetConnections(ctx context.Context, resourceGroupName string, name string) (result ListVnetInfo, err error)
ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ListVnetConnectionsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListVnetConnectionsPreparer prepares the ListVnetConnections request.
func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (result ListVnetInfo, err error)
ListVnetConnectionsResponder handles the response to the ListVnetConnections request. The method always closes the http.Response Body.
func (client AppsClient) ListVnetConnectionsSender(req *http.Request) (*http.Response, error)
ListVnetConnectionsSender sends the ListVnetConnections request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListVnetConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ListVnetInfo, err error)
ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will get virtual network connections for the production slot.
func (client AppsClient) ListVnetConnectionsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListVnetConnectionsSlotPreparer prepares the ListVnetConnectionsSlot request.
func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) (result ListVnetInfo, err error)
ListVnetConnectionsSlotResponder handles the response to the ListVnetConnectionsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListVnetConnectionsSlotSender(req *http.Request) (*http.Response, error)
ListVnetConnectionsSlotSender sends the ListVnetConnectionsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListWebJobs(ctx context.Context, resourceGroupName string, name string) (result JobCollectionPage, err error)
ListWebJobs list webjobs for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name.
func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupName string, name string) (result JobCollectionIterator, err error)
ListWebJobsComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListWebJobsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListWebJobsPreparer prepares the ListWebJobs request.
func (client AppsClient) ListWebJobsResponder(resp *http.Response) (result JobCollection, err error)
ListWebJobsResponder handles the response to the ListWebJobs request. The method always closes the http.Response Body.
func (client AppsClient) ListWebJobsSender(req *http.Request) (*http.Response, error)
ListWebJobsSender sends the ListWebJobs request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListWebJobsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result JobCollectionPage, err error)
ListWebJobsSlot list webjobs for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result JobCollectionIterator, err error)
ListWebJobsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client AppsClient) ListWebJobsSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListWebJobsSlotPreparer prepares the ListWebJobsSlot request.
func (client AppsClient) ListWebJobsSlotResponder(resp *http.Response) (result JobCollection, err error)
ListWebJobsSlotResponder handles the response to the ListWebJobsSlot request. The method always closes the http.Response Body.
func (client AppsClient) ListWebJobsSlotSender(req *http.Request) (*http.Response, error)
ListWebJobsSlotSender sends the ListWebJobsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) MigrateMySQL(ctx context.Context, resourceGroupName string, name string, migrationRequestEnvelope MigrateMySQLRequest) (result AppsMigrateMySQLFuture, err error)
MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. migrationRequestEnvelope - mySql migration options.
func (client AppsClient) MigrateMySQLPreparer(ctx context.Context, resourceGroupName string, name string, migrationRequestEnvelope MigrateMySQLRequest) (*http.Request, error)
MigrateMySQLPreparer prepares the MigrateMySQL request.
func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Operation, err error)
MigrateMySQLResponder handles the response to the MigrateMySQL request. The method always closes the http.Response Body.
func (client AppsClient) MigrateMySQLSender(req *http.Request) (future AppsMigrateMySQLFuture, err error)
MigrateMySQLSender sends the MigrateMySQL request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) MigrateStorage(ctx context.Context, subscriptionName string, resourceGroupName string, name string, migrationOptions StorageMigrationOptions) (result AppsMigrateStorageFuture, err error)
MigrateStorage restores a web app. Parameters: subscriptionName - azure subscription. resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. migrationOptions - migration migrationOptions.
func (client AppsClient) MigrateStoragePreparer(ctx context.Context, subscriptionName string, resourceGroupName string, name string, migrationOptions StorageMigrationOptions) (*http.Request, error)
MigrateStoragePreparer prepares the MigrateStorage request.
func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result StorageMigrationResponse, err error)
MigrateStorageResponder handles the response to the MigrateStorage request. The method always closes the http.Response Body.
func (client AppsClient) MigrateStorageSender(req *http.Request) (future AppsMigrateStorageFuture, err error)
MigrateStorageSender sends the MigrateStorage request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Recover(ctx context.Context, resourceGroupName string, name string, recoveryEntity SnapshotRecoveryRequest) (result AppsRecoverFuture, err error)
Recover recovers a web app to a previous snapshot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. recoveryEntity - snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.
func (client AppsClient) RecoverPreparer(ctx context.Context, resourceGroupName string, name string, recoveryEntity SnapshotRecoveryRequest) (*http.Request, error)
RecoverPreparer prepares the Recover request.
func (client AppsClient) RecoverResponder(resp *http.Response) (result autorest.Response, err error)
RecoverResponder handles the response to the Recover request. The method always closes the http.Response Body.
func (client AppsClient) RecoverSender(req *http.Request) (future AppsRecoverFuture, err error)
RecoverSender sends the Recover request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RecoverSiteConfigurationSnapshot(ctx context.Context, resourceGroupName string, name string, snapshotID string) (result autorest.Response, err error)
RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. snapshotID - the ID of the snapshot to read.
func (client AppsClient) RecoverSiteConfigurationSnapshotPreparer(ctx context.Context, resourceGroupName string, name string, snapshotID string) (*http.Request, error)
RecoverSiteConfigurationSnapshotPreparer prepares the RecoverSiteConfigurationSnapshot request.
func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Response) (result autorest.Response, err error)
RecoverSiteConfigurationSnapshotResponder handles the response to the RecoverSiteConfigurationSnapshot request. The method always closes the http.Response Body.
func (client AppsClient) RecoverSiteConfigurationSnapshotSender(req *http.Request) (*http.Response, error)
RecoverSiteConfigurationSnapshotSender sends the RecoverSiteConfigurationSnapshot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RecoverSiteConfigurationSnapshotSlot(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string) (result autorest.Response, err error)
RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. snapshotID - the ID of the snapshot to read. slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.
func (client AppsClient) RecoverSiteConfigurationSnapshotSlotPreparer(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string) (*http.Request, error)
RecoverSiteConfigurationSnapshotSlotPreparer prepares the RecoverSiteConfigurationSnapshotSlot request.
func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *http.Response) (result autorest.Response, err error)
RecoverSiteConfigurationSnapshotSlotResponder handles the response to the RecoverSiteConfigurationSnapshotSlot request. The method always closes the http.Response Body.
func (client AppsClient) RecoverSiteConfigurationSnapshotSlotSender(req *http.Request) (*http.Response, error)
RecoverSiteConfigurationSnapshotSlotSender sends the RecoverSiteConfigurationSnapshotSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RecoverSlot(ctx context.Context, resourceGroupName string, name string, recoveryEntity SnapshotRecoveryRequest, slot string) (result AppsRecoverSlotFuture, err error)
RecoverSlot recovers a web app to a previous snapshot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. recoveryEntity - snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) RecoverSlotPreparer(ctx context.Context, resourceGroupName string, name string, recoveryEntity SnapshotRecoveryRequest, slot string) (*http.Request, error)
RecoverSlotPreparer prepares the RecoverSlot request.
func (client AppsClient) RecoverSlotResponder(resp *http.Response) (result autorest.Response, err error)
RecoverSlotResponder handles the response to the RecoverSlot request. The method always closes the http.Response Body.
func (client AppsClient) RecoverSlotSender(req *http.Request) (future AppsRecoverSlotFuture, err error)
RecoverSlotSender sends the RecoverSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ResetProductionSlotConfig(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by calling the API with POST. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) ResetProductionSlotConfigPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ResetProductionSlotConfigPreparer prepares the ResetProductionSlotConfig request.
func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) (result autorest.Response, err error)
ResetProductionSlotConfigResponder handles the response to the ResetProductionSlotConfig request. The method always closes the http.Response Body.
func (client AppsClient) ResetProductionSlotConfigSender(req *http.Request) (*http.Response, error)
ResetProductionSlotConfigSender sends the ResetProductionSlotConfig request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ResetSlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by calling the API with POST. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API resets configuration settings for the production slot.
func (client AppsClient) ResetSlotConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ResetSlotConfigurationSlotPreparer prepares the ResetSlotConfigurationSlot request.
func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response) (result autorest.Response, err error)
ResetSlotConfigurationSlotResponder handles the response to the ResetSlotConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) ResetSlotConfigurationSlotSender(req *http.Request) (*http.Response, error)
ResetSlotConfigurationSlotSender sends the ResetSlotConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Restart(ctx context.Context, resourceGroupName string, name string, softRestart *bool, synchronous *bool) (result autorest.Response, err error)
Restart restarts an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. softRestart - specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. synchronous - specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).
func (client AppsClient) RestartPreparer(ctx context.Context, resourceGroupName string, name string, softRestart *bool, synchronous *bool) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (client AppsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (client AppsClient) RestartSender(req *http.Request) (*http.Response, error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RestartSlot(ctx context.Context, resourceGroupName string, name string, slot string, softRestart *bool, synchronous *bool) (result autorest.Response, err error)
RestartSlot restarts an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will restart the production slot. softRestart - specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. synchronous - specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).
func (client AppsClient) RestartSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, softRestart *bool, synchronous *bool) (*http.Request, error)
RestartSlotPreparer prepares the RestartSlot request.
func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autorest.Response, err error)
RestartSlotResponder handles the response to the RestartSlot request. The method always closes the http.Response Body.
func (client AppsClient) RestartSlotSender(req *http.Request) (*http.Response, error)
RestartSlotSender sends the RestartSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Restore(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest) (result AppsRestoreFuture, err error)
Restore restores a specific backup to another app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. backupID - ID of the backup. request - information on restore request .
func (client AppsClient) RestorePreparer(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest) (*http.Request, error)
RestorePreparer prepares the Restore request.
func (client AppsClient) RestoreResponder(resp *http.Response) (result RestoreResponse, err error)
RestoreResponder handles the response to the Restore request. The method always closes the http.Response Body.
func (client AppsClient) RestoreSender(req *http.Request) (future AppsRestoreFuture, err error)
RestoreSender sends the Restore request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RestoreSlot(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest, slot string) (result AppsRestoreSlotFuture, err error)
RestoreSlot restores a specific backup to another app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. backupID - ID of the backup. request - information on restore request . slot - name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.
func (client AppsClient) RestoreSlotPreparer(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest, slot string) (*http.Request, error)
RestoreSlotPreparer prepares the RestoreSlot request.
func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result RestoreResponse, err error)
RestoreSlotResponder handles the response to the RestoreSlot request. The method always closes the http.Response Body.
func (client AppsClient) RestoreSlotSender(req *http.Request) (future AppsRestoreSlotFuture, err error)
RestoreSlotSender sends the RestoreSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RunTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error)
RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) RunTriggeredWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
RunTriggeredWebJobPreparer prepares the RunTriggeredWebJob request.
func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (result autorest.Response, err error)
RunTriggeredWebJobResponder handles the response to the RunTriggeredWebJob request. The method always closes the http.Response Body.
func (client AppsClient) RunTriggeredWebJobSender(req *http.Request) (*http.Response, error)
RunTriggeredWebJobSender sends the RunTriggeredWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) RunTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error)
RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) RunTriggeredWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
RunTriggeredWebJobSlotPreparer prepares the RunTriggeredWebJobSlot request.
func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (result autorest.Response, err error)
RunTriggeredWebJobSlotResponder handles the response to the RunTriggeredWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) RunTriggeredWebJobSlotSender(req *http.Request) (*http.Response, error)
RunTriggeredWebJobSlotSender sends the RunTriggeredWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Start(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
Start starts an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) StartContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error)
StartContinuousWebJob start a continuous web job for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) StartContinuousWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
StartContinuousWebJobPreparer prepares the StartContinuousWebJob request.
func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (result autorest.Response, err error)
StartContinuousWebJobResponder handles the response to the StartContinuousWebJob request. The method always closes the http.Response Body.
func (client AppsClient) StartContinuousWebJobSender(req *http.Request) (*http.Response, error)
StartContinuousWebJobSender sends the StartContinuousWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StartContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error)
StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) StartContinuousWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
StartContinuousWebJobSlotPreparer prepares the StartContinuousWebJobSlot request.
func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) (result autorest.Response, err error)
StartContinuousWebJobSlotResponder handles the response to the StartContinuousWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) StartContinuousWebJobSlotSender(req *http.Request) (*http.Response, error)
StartContinuousWebJobSlotSender sends the StartContinuousWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StartPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
StartPreparer prepares the Start request.
func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (client AppsClient) StartSender(req *http.Request) (*http.Response, error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StartSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
StartSlot starts an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will start the production slot.
func (client AppsClient) StartSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
StartSlotPreparer prepares the StartSlot request.
func (client AppsClient) StartSlotResponder(resp *http.Response) (result autorest.Response, err error)
StartSlotResponder handles the response to the StartSlot request. The method always closes the http.Response Body.
func (client AppsClient) StartSlotSender(req *http.Request) (*http.Response, error)
StartSlotSender sends the StartSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StartWebSiteNetworkTrace(ctx context.Context, resourceGroupName string, name string, durationInSeconds *int32, maxFrameLength *int32, sasURL string) (result String, err error)
StartWebSiteNetworkTrace start capturing network packets for the site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. durationInSeconds - the duration to keep capturing in seconds. maxFrameLength - the maximum frame length in bytes (Optional). sasURL - the Blob URL to store capture file.
func (client AppsClient) StartWebSiteNetworkTracePreparer(ctx context.Context, resourceGroupName string, name string, durationInSeconds *int32, maxFrameLength *int32, sasURL string) (*http.Request, error)
StartWebSiteNetworkTracePreparer prepares the StartWebSiteNetworkTrace request.
func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) (result String, err error)
StartWebSiteNetworkTraceResponder handles the response to the StartWebSiteNetworkTrace request. The method always closes the http.Response Body.
func (client AppsClient) StartWebSiteNetworkTraceSender(req *http.Request) (*http.Response, error)
StartWebSiteNetworkTraceSender sends the StartWebSiteNetworkTrace request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StartWebSiteNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, durationInSeconds *int32, maxFrameLength *int32, sasURL string) (result String, err error)
StartWebSiteNetworkTraceSlot start capturing network packets for the site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. slot - the name of the slot for this web app. durationInSeconds - the duration to keep capturing in seconds. maxFrameLength - the maximum frame length in bytes (Optional). sasURL - the Blob URL to store capture file.
func (client AppsClient) StartWebSiteNetworkTraceSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string, durationInSeconds *int32, maxFrameLength *int32, sasURL string) (*http.Request, error)
StartWebSiteNetworkTraceSlotPreparer prepares the StartWebSiteNetworkTraceSlot request.
func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Response) (result String, err error)
StartWebSiteNetworkTraceSlotResponder handles the response to the StartWebSiteNetworkTraceSlot request. The method always closes the http.Response Body.
func (client AppsClient) StartWebSiteNetworkTraceSlotSender(req *http.Request) (*http.Response, error)
StartWebSiteNetworkTraceSlotSender sends the StartWebSiteNetworkTraceSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Stop(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
Stop stops an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) StopContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error)
StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job.
func (client AppsClient) StopContinuousWebJobPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string) (*http.Request, error)
StopContinuousWebJobPreparer prepares the StopContinuousWebJob request.
func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (result autorest.Response, err error)
StopContinuousWebJobResponder handles the response to the StopContinuousWebJob request. The method always closes the http.Response Body.
func (client AppsClient) StopContinuousWebJobSender(req *http.Request) (*http.Response, error)
StopContinuousWebJobSender sends the StopContinuousWebJob request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StopContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error)
StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site name. webJobName - name of Web Job. slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
func (client AppsClient) StopContinuousWebJobSlotPreparer(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (*http.Request, error)
StopContinuousWebJobSlotPreparer prepares the StopContinuousWebJobSlot request.
func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) (result autorest.Response, err error)
StopContinuousWebJobSlotResponder handles the response to the StopContinuousWebJobSlot request. The method always closes the http.Response Body.
func (client AppsClient) StopContinuousWebJobSlotSender(req *http.Request) (*http.Response, error)
StopContinuousWebJobSlotSender sends the StopContinuousWebJobSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StopPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (client AppsClient) StopSender(req *http.Request) (*http.Response, error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StopSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
StopSlot stops an app (or deployment slot, if specified). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will stop the production slot.
func (client AppsClient) StopSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
StopSlotPreparer prepares the StopSlot request.
func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest.Response, err error)
StopSlotResponder handles the response to the StopSlot request. The method always closes the http.Response Body.
func (client AppsClient) StopSlotSender(req *http.Request) (*http.Response, error)
StopSlotSender sends the StopSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StopWebSiteNetworkTrace(ctx context.Context, resourceGroupName string, name string) (result String, err error)
StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app.
func (client AppsClient) StopWebSiteNetworkTracePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
StopWebSiteNetworkTracePreparer prepares the StopWebSiteNetworkTrace request.
func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) (result String, err error)
StopWebSiteNetworkTraceResponder handles the response to the StopWebSiteNetworkTrace request. The method always closes the http.Response Body.
func (client AppsClient) StopWebSiteNetworkTraceSender(req *http.Request) (*http.Response, error)
StopWebSiteNetworkTraceSender sends the StopWebSiteNetworkTrace request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) StopWebSiteNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result String, err error)
StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. slot - the name of the slot for this web app.
func (client AppsClient) StopWebSiteNetworkTraceSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
StopWebSiteNetworkTraceSlotPreparer prepares the StopWebSiteNetworkTraceSlot request.
func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Response) (result String, err error)
StopWebSiteNetworkTraceSlotResponder handles the response to the StopWebSiteNetworkTraceSlot request. The method always closes the http.Response Body.
func (client AppsClient) StopWebSiteNetworkTraceSlotSender(req *http.Request) (*http.Response, error)
StopWebSiteNetworkTraceSlotSender sends the StopWebSiteNetworkTraceSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) SwapSlotSlot(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result AppsSwapSlotSlotFuture, err error)
SwapSlotSlot swaps two deployment slots of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotSwapEntity - JSON object that contains the target slot name. See example. slot - name of the source slot. If a slot is not specified, the production slot is used as the source slot.
func (client AppsClient) SwapSlotSlotPreparer(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (*http.Request, error)
SwapSlotSlotPreparer prepares the SwapSlotSlot request.
func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result autorest.Response, err error)
SwapSlotSlotResponder handles the response to the SwapSlotSlot request. The method always closes the http.Response Body.
func (client AppsClient) SwapSlotSlotSender(req *http.Request) (future AppsSwapSlotSlotFuture, err error)
SwapSlotSlotSender sends the SwapSlotSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) SwapSlotWithProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result AppsSwapSlotWithProductionFuture, err error)
SwapSlotWithProduction swaps two deployment slots of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotSwapEntity - JSON object that contains the target slot name. See example.
func (client AppsClient) SwapSlotWithProductionPreparer(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (*http.Request, error)
SwapSlotWithProductionPreparer prepares the SwapSlotWithProduction request.
func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (result autorest.Response, err error)
SwapSlotWithProductionResponder handles the response to the SwapSlotWithProduction request. The method always closes the http.Response Body.
func (client AppsClient) SwapSlotWithProductionSender(req *http.Request) (future AppsSwapSlotWithProductionFuture, err error)
SwapSlotWithProductionSender sends the SwapSlotWithProduction request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) SyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
SyncFunctionTriggers syncs function trigger metadata to the scale controller Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app.
func (client AppsClient) SyncFunctionTriggersPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
SyncFunctionTriggersPreparer prepares the SyncFunctionTriggers request.
func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (result autorest.Response, err error)
SyncFunctionTriggersResponder handles the response to the SyncFunctionTriggers request. The method always closes the http.Response Body.
func (client AppsClient) SyncFunctionTriggersSender(req *http.Request) (*http.Response, error)
SyncFunctionTriggersSender sends the SyncFunctionTriggers request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) SyncFunctionTriggersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
SyncFunctionTriggersSlot syncs function trigger metadata to the scale controller Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slot - name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.
func (client AppsClient) SyncFunctionTriggersSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
SyncFunctionTriggersSlotPreparer prepares the SyncFunctionTriggersSlot request.
func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) (result autorest.Response, err error)
SyncFunctionTriggersSlotResponder handles the response to the SyncFunctionTriggersSlot request. The method always closes the http.Response Body.
func (client AppsClient) SyncFunctionTriggersSlotSender(req *http.Request) (*http.Response, error)
SyncFunctionTriggersSlotSender sends the SyncFunctionTriggersSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) SyncRepository(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
SyncRepository sync web app repository. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client AppsClient) SyncRepositoryPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
SyncRepositoryPreparer prepares the SyncRepository request.
func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result autorest.Response, err error)
SyncRepositoryResponder handles the response to the SyncRepository request. The method always closes the http.Response Body.
func (client AppsClient) SyncRepositorySender(req *http.Request) (*http.Response, error)
SyncRepositorySender sends the SyncRepository request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) SyncRepositorySlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error)
SyncRepositorySlot sync web app repository. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) SyncRepositorySlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
SyncRepositorySlotPreparer prepares the SyncRepositorySlot request.
func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (result autorest.Response, err error)
SyncRepositorySlotResponder handles the response to the SyncRepositorySlot request. The method always closes the http.Response Body.
func (client AppsClient) SyncRepositorySlotSender(req *http.Request) (*http.Response, error)
SyncRepositorySlotSender sends the SyncRepositorySlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Update(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource) (result Site, err error)
Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope - a JSON representation of the app properties. See example.
func (client AppsClient) UpdateApplicationSettings(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary) (result StringDictionary, err error)
UpdateApplicationSettings replaces the application settings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. appSettings - application settings of the app.
func (client AppsClient) UpdateApplicationSettingsPreparer(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary) (*http.Request, error)
UpdateApplicationSettingsPreparer prepares the UpdateApplicationSettings request.
func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) (result StringDictionary, err error)
UpdateApplicationSettingsResponder handles the response to the UpdateApplicationSettings request. The method always closes the http.Response Body.
func (client AppsClient) UpdateApplicationSettingsSender(req *http.Request) (*http.Response, error)
UpdateApplicationSettingsSender sends the UpdateApplicationSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary, slot string) (result StringDictionary, err error)
UpdateApplicationSettingsSlot replaces the application settings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. appSettings - application settings of the app. slot - name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.
func (client AppsClient) UpdateApplicationSettingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary, slot string) (*http.Request, error)
UpdateApplicationSettingsSlotPreparer prepares the UpdateApplicationSettingsSlot request.
func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Response) (result StringDictionary, err error)
UpdateApplicationSettingsSlotResponder handles the response to the UpdateApplicationSettingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateApplicationSettingsSlotSender(req *http.Request) (*http.Response, error)
UpdateApplicationSettingsSlotSender sends the UpdateApplicationSettingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateAuthSettings(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings) (result SiteAuthSettings, err error)
UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. siteAuthSettings - auth settings associated with web app.
func (client AppsClient) UpdateAuthSettingsPreparer(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings) (*http.Request, error)
UpdateAuthSettingsPreparer prepares the UpdateAuthSettings request.
func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (result SiteAuthSettings, err error)
UpdateAuthSettingsResponder handles the response to the UpdateAuthSettings request. The method always closes the http.Response Body.
func (client AppsClient) UpdateAuthSettingsSender(req *http.Request) (*http.Response, error)
UpdateAuthSettingsSender sends the UpdateAuthSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings, slot string) (result SiteAuthSettings, err error)
UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. siteAuthSettings - auth settings associated with web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) UpdateAuthSettingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings, slot string) (*http.Request, error)
UpdateAuthSettingsSlotPreparer prepares the UpdateAuthSettingsSlot request.
func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (result SiteAuthSettings, err error)
UpdateAuthSettingsSlotResponder handles the response to the UpdateAuthSettingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateAuthSettingsSlotSender(req *http.Request) (*http.Response, error)
UpdateAuthSettingsSlotSender sends the UpdateAuthSettingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateBackupConfiguration(ctx context.Context, resourceGroupName string, name string, request BackupRequest) (result BackupRequest, err error)
UpdateBackupConfiguration updates the backup configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. request - edited backup configuration.
func (client AppsClient) UpdateBackupConfigurationPreparer(ctx context.Context, resourceGroupName string, name string, request BackupRequest) (*http.Request, error)
UpdateBackupConfigurationPreparer prepares the UpdateBackupConfiguration request.
func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) (result BackupRequest, err error)
UpdateBackupConfigurationResponder handles the response to the UpdateBackupConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) UpdateBackupConfigurationSender(req *http.Request) (*http.Response, error)
UpdateBackupConfigurationSender sends the UpdateBackupConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, request BackupRequest, slot string) (result BackupRequest, err error)
UpdateBackupConfigurationSlot updates the backup configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. request - edited backup configuration. slot - name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.
func (client AppsClient) UpdateBackupConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, request BackupRequest, slot string) (*http.Request, error)
UpdateBackupConfigurationSlotPreparer prepares the UpdateBackupConfigurationSlot request.
func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Response) (result BackupRequest, err error)
UpdateBackupConfigurationSlotResponder handles the response to the UpdateBackupConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateBackupConfigurationSlotSender(req *http.Request) (*http.Response, error)
UpdateBackupConfigurationSlotSender sends the UpdateBackupConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource) (result SiteConfigResource, err error)
UpdateConfiguration updates the configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteConfig - JSON representation of a SiteConfig object. See example.
func (client AppsClient) UpdateConfigurationPreparer(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource) (*http.Request, error)
UpdateConfigurationPreparer prepares the UpdateConfiguration request.
func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (result SiteConfigResource, err error)
UpdateConfigurationResponder handles the response to the UpdateConfiguration request. The method always closes the http.Response Body.
func (client AppsClient) UpdateConfigurationSender(req *http.Request) (*http.Response, error)
UpdateConfigurationSender sends the UpdateConfiguration request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, slot string) (result SiteConfigResource, err error)
UpdateConfigurationSlot updates the configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteConfig - JSON representation of a SiteConfig object. See example. slot - name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.
func (client AppsClient) UpdateConfigurationSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, slot string) (*http.Request, error)
UpdateConfigurationSlotPreparer prepares the UpdateConfigurationSlot request.
func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) (result SiteConfigResource, err error)
UpdateConfigurationSlotResponder handles the response to the UpdateConfigurationSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateConfigurationSlotSender(req *http.Request) (*http.Response, error)
UpdateConfigurationSlotSender sends the UpdateConfigurationSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateConnectionStrings(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary) (result ConnectionStringDictionary, err error)
UpdateConnectionStrings replaces the connection strings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. connectionStrings - connection strings of the app or deployment slot. See example.
func (client AppsClient) UpdateConnectionStringsPreparer(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary) (*http.Request, error)
UpdateConnectionStringsPreparer prepares the UpdateConnectionStrings request.
func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) (result ConnectionStringDictionary, err error)
UpdateConnectionStringsResponder handles the response to the UpdateConnectionStrings request. The method always closes the http.Response Body.
func (client AppsClient) UpdateConnectionStringsSender(req *http.Request) (*http.Response, error)
UpdateConnectionStringsSender sends the UpdateConnectionStrings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateConnectionStringsSlot(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary, slot string) (result ConnectionStringDictionary, err error)
UpdateConnectionStringsSlot replaces the connection strings of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. connectionStrings - connection strings of the app or deployment slot. See example. slot - name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.
func (client AppsClient) UpdateConnectionStringsSlotPreparer(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary, slot string) (*http.Request, error)
UpdateConnectionStringsSlotPreparer prepares the UpdateConnectionStringsSlot request.
func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Response) (result ConnectionStringDictionary, err error)
UpdateConnectionStringsSlotResponder handles the response to the UpdateConnectionStringsSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateConnectionStringsSlotSender(req *http.Request) (*http.Response, error)
UpdateConnectionStringsSlotSender sends the UpdateConnectionStringsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateDiagnosticLogsConfig(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig) (result SiteLogsConfig, err error)
UpdateDiagnosticLogsConfig updates the logging configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteLogsConfig - a SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property.
func (client AppsClient) UpdateDiagnosticLogsConfigPreparer(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig) (*http.Request, error)
UpdateDiagnosticLogsConfigPreparer prepares the UpdateDiagnosticLogsConfig request.
func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response) (result SiteLogsConfig, err error)
UpdateDiagnosticLogsConfigResponder handles the response to the UpdateDiagnosticLogsConfig request. The method always closes the http.Response Body.
func (client AppsClient) UpdateDiagnosticLogsConfigSender(req *http.Request) (*http.Response, error)
UpdateDiagnosticLogsConfigSender sends the UpdateDiagnosticLogsConfig request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateDiagnosticLogsConfigSlot(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig, slot string) (result SiteLogsConfig, err error)
UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteLogsConfig - a SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. slot - name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.
func (client AppsClient) UpdateDiagnosticLogsConfigSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig, slot string) (*http.Request, error)
UpdateDiagnosticLogsConfigSlotPreparer prepares the UpdateDiagnosticLogsConfigSlot request.
func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Response) (result SiteLogsConfig, err error)
UpdateDiagnosticLogsConfigSlotResponder handles the response to the UpdateDiagnosticLogsConfigSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateDiagnosticLogsConfigSlotSender(req *http.Request) (*http.Response, error)
UpdateDiagnosticLogsConfigSlotSender sends the UpdateDiagnosticLogsConfigSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier) (result Identifier, err error)
UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership identifier. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier. domainOwnershipIdentifier - a JSON representation of the domain ownership properties.
func (client AppsClient) UpdateDomainOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier) (*http.Request, error)
UpdateDomainOwnershipIdentifierPreparer prepares the UpdateDomainOwnershipIdentifier request.
func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Response) (result Identifier, err error)
UpdateDomainOwnershipIdentifierResponder handles the response to the UpdateDomainOwnershipIdentifier request. The method always closes the http.Response Body.
func (client AppsClient) UpdateDomainOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
UpdateDomainOwnershipIdentifierSender sends the UpdateDomainOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, slot string) (result Identifier, err error)
UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing ownership identifier. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. domainOwnershipIdentifierName - name of domain ownership identifier. domainOwnershipIdentifier - a JSON representation of the domain ownership properties. slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.
func (client AppsClient) UpdateDomainOwnershipIdentifierSlotPreparer(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, slot string) (*http.Request, error)
UpdateDomainOwnershipIdentifierSlotPreparer prepares the UpdateDomainOwnershipIdentifierSlot request.
func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http.Response) (result Identifier, err error)
UpdateDomainOwnershipIdentifierSlotResponder handles the response to the UpdateDomainOwnershipIdentifierSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateDomainOwnershipIdentifierSlotSender(req *http.Request) (*http.Response, error)
UpdateDomainOwnershipIdentifierSlotSender sends the UpdateDomainOwnershipIdentifierSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection) (result HybridConnection, err error)
UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. connectionEnvelope - the details of the hybrid connection.
func (client AppsClient) UpdateHybridConnectionPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection) (*http.Request, error)
UpdateHybridConnectionPreparer prepares the UpdateHybridConnection request.
func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (result HybridConnection, err error)
UpdateHybridConnectionResponder handles the response to the UpdateHybridConnection request. The method always closes the http.Response Body.
func (client AppsClient) UpdateHybridConnectionSender(req *http.Request) (*http.Response, error)
UpdateHybridConnectionSender sends the UpdateHybridConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, slot string) (result HybridConnection, err error)
UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - the name of the web app. namespaceName - the namespace for this hybrid connection. relayName - the relay name for this hybrid connection. connectionEnvelope - the details of the hybrid connection. slot - the name of the slot for the web app.
func (client AppsClient) UpdateHybridConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, slot string) (*http.Request, error)
UpdateHybridConnectionSlotPreparer prepares the UpdateHybridConnectionSlot request.
func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response) (result HybridConnection, err error)
UpdateHybridConnectionSlotResponder handles the response to the UpdateHybridConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateHybridConnectionSlotSender(req *http.Request) (*http.Response, error)
UpdateHybridConnectionSlotSender sends the UpdateHybridConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateMetadata(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary) (result StringDictionary, err error)
UpdateMetadata replaces the metadata of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. metadata - edited metadata of the app or deployment slot. See example.
func (client AppsClient) UpdateMetadataPreparer(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary) (*http.Request, error)
UpdateMetadataPreparer prepares the UpdateMetadata request.
func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result StringDictionary, err error)
UpdateMetadataResponder handles the response to the UpdateMetadata request. The method always closes the http.Response Body.
func (client AppsClient) UpdateMetadataSender(req *http.Request) (*http.Response, error)
UpdateMetadataSender sends the UpdateMetadata request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateMetadataSlot(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary, slot string) (result StringDictionary, err error)
UpdateMetadataSlot replaces the metadata of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. metadata - edited metadata of the app or deployment slot. See example. slot - name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.
func (client AppsClient) UpdateMetadataSlotPreparer(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary, slot string) (*http.Request, error)
UpdateMetadataSlotPreparer prepares the UpdateMetadataSlot request.
func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (result StringDictionary, err error)
UpdateMetadataSlotResponder handles the response to the UpdateMetadataSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateMetadataSlotSender(req *http.Request) (*http.Response, error)
UpdateMetadataSlotSender sends the UpdateMetadataSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client AppsClient) UpdateRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity) (result RelayServiceConnectionEntity, err error)
UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection configuration. connectionEnvelope - details of the hybrid connection configuration.
func (client AppsClient) UpdateRelayServiceConnectionPreparer(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity) (*http.Request, error)
UpdateRelayServiceConnectionPreparer prepares the UpdateRelayServiceConnection request.
func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
UpdateRelayServiceConnectionResponder handles the response to the UpdateRelayServiceConnection request. The method always closes the http.Response Body.
func (client AppsClient) UpdateRelayServiceConnectionSender(req *http.Request) (*http.Response, error)
UpdateRelayServiceConnectionSender sends the UpdateRelayServiceConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, slot string) (result RelayServiceConnectionEntity, err error)
UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. entityName - name of the hybrid connection configuration. connectionEnvelope - details of the hybrid connection configuration. slot - name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
func (client AppsClient) UpdateRelayServiceConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, slot string) (*http.Request, error)
UpdateRelayServiceConnectionSlotPreparer prepares the UpdateRelayServiceConnectionSlot request.
func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Response) (result RelayServiceConnectionEntity, err error)
UpdateRelayServiceConnectionSlotResponder handles the response to the UpdateRelayServiceConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateRelayServiceConnectionSlotSender(req *http.Request) (*http.Response, error)
UpdateRelayServiceConnectionSlotSender sends the UpdateRelayServiceConnectionSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSitePushSettings(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings) (result PushSettings, err error)
UpdateSitePushSettings updates the Push settings associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. pushSettings - push settings associated with web app.
func (client AppsClient) UpdateSitePushSettingsPreparer(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings) (*http.Request, error)
UpdateSitePushSettingsPreparer prepares the UpdateSitePushSettings request.
func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (result PushSettings, err error)
UpdateSitePushSettingsResponder handles the response to the UpdateSitePushSettings request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSitePushSettingsSender(req *http.Request) (*http.Response, error)
UpdateSitePushSettingsSender sends the UpdateSitePushSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSitePushSettingsSlot(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings, slot string) (result PushSettings, err error)
UpdateSitePushSettingsSlot updates the Push settings associated with web app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. pushSettings - push settings associated with web app. slot - name of web app slot. If not specified then will default to production slot.
func (client AppsClient) UpdateSitePushSettingsSlotPreparer(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings, slot string) (*http.Request, error)
UpdateSitePushSettingsSlotPreparer prepares the UpdateSitePushSettingsSlot request.
func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response) (result PushSettings, err error)
UpdateSitePushSettingsSlotResponder handles the response to the UpdateSitePushSettingsSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSitePushSettingsSlotSender(req *http.Request) (*http.Response, error)
UpdateSitePushSettingsSlotSender sends the UpdateSitePushSettingsSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string, skipDNSRegistration *bool, skipCustomDomainVerification *bool, forceDNSRegistration *bool, TTLInSeconds string) (result Site, err error)
UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope - a JSON representation of the app properties. See example. slot - name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. skipDNSRegistration - if true web app hostname is not registered with DNS on creation. This parameter is only used for app creation. skipCustomDomainVerification - if true, custom (non *.azurewebsites.net) domains associated with web app are not verified. forceDNSRegistration - if true, web app hostname is force registered with DNS. TTLInSeconds - time to live in seconds for web app's default domain name.
func (client AppsClient) UpdateSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string, slotConfigNames SlotConfigNamesResource) (result SlotConfigNamesResource, err error)
UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the slot during swap operation. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. slotConfigNames - names of application settings and connection strings. See example.
func (client AppsClient) UpdateSlotConfigurationNamesPreparer(ctx context.Context, resourceGroupName string, name string, slotConfigNames SlotConfigNamesResource) (*http.Request, error)
UpdateSlotConfigurationNamesPreparer prepares the UpdateSlotConfigurationNames request.
func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Response) (result SlotConfigNamesResource, err error)
UpdateSlotConfigurationNamesResponder handles the response to the UpdateSlotConfigurationNames request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSlotConfigurationNamesSender(req *http.Request) (*http.Response, error)
UpdateSlotConfigurationNamesSender sends the UpdateSlotConfigurationNames request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string, skipDNSRegistration *bool, skipCustomDomainVerification *bool, forceDNSRegistration *bool, TTLInSeconds string) (*http.Request, error)
UpdateSlotPreparer prepares the UpdateSlot request.
func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, err error)
UpdateSlotResponder handles the response to the UpdateSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSlotSender(req *http.Request) (*http.Response, error)
UpdateSlotSender sends the UpdateSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl) (result SiteSourceControl, err error)
UpdateSourceControl updates the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteSourceControl - JSON representation of a SiteSourceControl object. See example.
func (client AppsClient) UpdateSourceControlPreparer(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl) (*http.Request, error)
UpdateSourceControlPreparer prepares the UpdateSourceControl request.
func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (result SiteSourceControl, err error)
UpdateSourceControlResponder handles the response to the UpdateSourceControl request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSourceControlSender(req *http.Request) (*http.Response, error)
UpdateSourceControlSender sends the UpdateSourceControl request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, slot string) (result SiteSourceControl, err error)
UpdateSourceControlSlot updates the source control configuration of an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. siteSourceControl - JSON representation of a SiteSourceControl object. See example. slot - name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.
func (client AppsClient) UpdateSourceControlSlotPreparer(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, slot string) (*http.Request, error)
UpdateSourceControlSlotPreparer prepares the UpdateSourceControlSlot request.
func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) (result SiteSourceControl, err error)
UpdateSourceControlSlotResponder handles the response to the UpdateSourceControlSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateSourceControlSlotSender(req *http.Request) (*http.Response, error)
UpdateSourceControlSlotSender sends the UpdateSourceControlSlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo) (result VnetInfo, err error)
UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of an existing Virtual Network. connectionEnvelope - properties of the Virtual Network connection. See example.
func (client AppsClient) UpdateVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (result VnetGateway, err error)
UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Currently, the only supported string is "primary". connectionEnvelope - the properties to update this gateway with.
func (client AppsClient) UpdateVnetConnectionGatewayPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (*http.Request, error)
UpdateVnetConnectionGatewayPreparer prepares the UpdateVnetConnectionGateway request.
func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Response) (result VnetGateway, err error)
UpdateVnetConnectionGatewayResponder handles the response to the UpdateVnetConnectionGateway request. The method always closes the http.Response Body.
func (client AppsClient) UpdateVnetConnectionGatewaySender(req *http.Request) (*http.Response, error)
UpdateVnetConnectionGatewaySender sends the UpdateVnetConnectionGateway request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, slot string) (result VnetGateway, err error)
UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of the Virtual Network. gatewayName - name of the gateway. Currently, the only supported string is "primary". connectionEnvelope - the properties to update this gateway with. slot - name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.
func (client AppsClient) UpdateVnetConnectionGatewaySlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, slot string) (*http.Request, error)
UpdateVnetConnectionGatewaySlotPreparer prepares the UpdateVnetConnectionGatewaySlot request.
func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Response) (result VnetGateway, err error)
UpdateVnetConnectionGatewaySlotResponder handles the response to the UpdateVnetConnectionGatewaySlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateVnetConnectionGatewaySlotSender(req *http.Request) (*http.Response, error)
UpdateVnetConnectionGatewaySlotSender sends the UpdateVnetConnectionGatewaySlot request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateVnetConnectionPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo) (*http.Request, error)
UpdateVnetConnectionPreparer prepares the UpdateVnetConnection request.
func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (result VnetInfo, err error)
UpdateVnetConnectionResponder handles the response to the UpdateVnetConnection request. The method always closes the http.Response Body.
func (client AppsClient) UpdateVnetConnectionSender(req *http.Request) (*http.Response, error)
UpdateVnetConnectionSender sends the UpdateVnetConnection request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, slot string) (result VnetInfo, err error)
UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the app. vnetName - name of an existing Virtual Network. connectionEnvelope - properties of the Virtual Network connection. See example. slot - name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.
func (client AppsClient) UpdateVnetConnectionSlotPreparer(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, slot string) (*http.Request, error)
UpdateVnetConnectionSlotPreparer prepares the UpdateVnetConnectionSlot request.
func (client AppsClient) UpdateVnetConnectionSlotResponder(resp *http.Response) (result VnetInfo, err error)
UpdateVnetConnectionSlotResponder handles the response to the UpdateVnetConnectionSlot request. The method always closes the http.Response Body.
func (client AppsClient) UpdateVnetConnectionSlotSender(req *http.Request) (*http.Response, error)
UpdateVnetConnectionSlotSender sends the UpdateVnetConnectionSlot request. The method will close the http.Response Body if it receives an error.
AppsCreateFunctionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateFunctionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (FunctionEnvelope, error) }
func (future *AppsCreateFunctionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateInstanceFunctionSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateInstanceFunctionSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (FunctionEnvelope, error) }
func (future *AppsCreateInstanceFunctionSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateInstanceMSDeployOperationFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateInstanceMSDeployOperationFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (MSDeployStatus, error) }
func (future *AppsCreateInstanceMSDeployOperationFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateInstanceMSDeployOperationSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateInstanceMSDeployOperationSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (MSDeployStatus, error) }
func (future *AppsCreateInstanceMSDeployOperationSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateMSDeployOperationFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateMSDeployOperationFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (MSDeployStatus, error) }
func (future *AppsCreateMSDeployOperationFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateMSDeployOperationSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateMSDeployOperationSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (MSDeployStatus, error) }
func (future *AppsCreateMSDeployOperationSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (Site, error) }
func (future *AppsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateOrUpdateSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateOrUpdateSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (Site, error) }
func (future *AppsCreateOrUpdateSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateOrUpdateSourceControlFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateOrUpdateSourceControlFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (SiteSourceControl, error) }
func (future *AppsCreateOrUpdateSourceControlFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsCreateOrUpdateSourceControlSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsCreateOrUpdateSourceControlSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (SiteSourceControl, error) }
func (future *AppsCreateOrUpdateSourceControlSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsInstallSiteExtensionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsInstallSiteExtensionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (SiteExtensionInfo, error) }
func (future *AppsInstallSiteExtensionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsInstallSiteExtensionSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsInstallSiteExtensionSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (SiteExtensionInfo, error) }
func (future *AppsInstallSiteExtensionSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsListPublishingCredentialsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsListPublishingCredentialsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (User, error) }
func (future *AppsListPublishingCredentialsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsListPublishingCredentialsSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsListPublishingCredentialsSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (User, error) }
func (future *AppsListPublishingCredentialsSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsMigrateMySQLFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsMigrateMySQLFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (Operation, error) }
func (future *AppsMigrateMySQLFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsMigrateStorageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsMigrateStorageFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (StorageMigrationResponse, error) }
func (future *AppsMigrateStorageFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsRecoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsRecoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (autorest.Response, error) }
func (future *AppsRecoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsRecoverSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsRecoverSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (autorest.Response, error) }
func (future *AppsRecoverSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsRestoreFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (RestoreResponse, error) }
func (future *AppsRestoreFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsRestoreSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsRestoreSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (RestoreResponse, error) }
func (future *AppsRestoreSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsSwapSlotSlotFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsSwapSlotSlotFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (autorest.Response, error) }
func (future *AppsSwapSlotSlotFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AppsSwapSlotWithProductionFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AppsSwapSlotWithProductionFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AppsClient) (autorest.Response, error) }
func (future *AppsSwapSlotWithProductionFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AutoHealActionType enumerates the values for auto heal action type.
type AutoHealActionType string
const ( // CustomAction ... CustomAction AutoHealActionType = "CustomAction" // LogEvent ... LogEvent AutoHealActionType = "LogEvent" // Recycle ... Recycle AutoHealActionType = "Recycle" )
func PossibleAutoHealActionTypeValues() []AutoHealActionType
PossibleAutoHealActionTypeValues returns an array of possible values for the AutoHealActionType const type.
AutoHealActions actions which to take by the auto-heal module when a rule is triggered.
type AutoHealActions struct { // ActionType - Predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction' ActionType AutoHealActionType `json:"actionType,omitempty"` // CustomAction - Custom action to be taken. CustomAction *AutoHealCustomAction `json:"customAction,omitempty"` // MinProcessExecutionTime - Minimum time the process must execute // before taking the action MinProcessExecutionTime *string `json:"minProcessExecutionTime,omitempty"` }
AutoHealCustomAction custom action to be executed when an auto heal rule is triggered.
type AutoHealCustomAction struct { // Exe - Executable to be run. Exe *string `json:"exe,omitempty"` // Parameters - Parameters for the executable. Parameters *string `json:"parameters,omitempty"` }
AutoHealRules rules that can be defined for auto-heal.
type AutoHealRules struct { // Triggers - Conditions that describe when to execute the auto-heal actions. Triggers *AutoHealTriggers `json:"triggers,omitempty"` // Actions - Actions to be executed when a rule is triggered. Actions *AutoHealActions `json:"actions,omitempty"` }
AutoHealTriggers triggers for auto-heal.
type AutoHealTriggers struct { // Requests - A rule based on total requests. Requests *RequestsBasedTrigger `json:"requests,omitempty"` // PrivateBytesInKB - A rule based on private bytes. PrivateBytesInKB *int32 `json:"privateBytesInKB,omitempty"` // StatusCodes - A rule based on status codes. StatusCodes *[]StatusCodesBasedTrigger `json:"statusCodes,omitempty"` // SlowRequests - A rule based on request execution time. SlowRequests *SlowRequestsBasedTrigger `json:"slowRequests,omitempty"` }
AzureBlobStorageApplicationLogsConfig application logs azure blob storage configuration.
type AzureBlobStorageApplicationLogsConfig struct { // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' 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"` }
AzureBlobStorageHTTPLogsConfig http logs to azure blob storage configuration.
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 - True if configuration is enabled, false if it is disabled and null if configuration is not set. Enabled *bool `json:"enabled,omitempty"` }
AzureResourceType enumerates the values for azure resource type.
type AzureResourceType string
const ( // TrafficManager ... TrafficManager AzureResourceType = "TrafficManager" // Website ... Website AzureResourceType = "Website" )
func PossibleAzureResourceTypeValues() []AzureResourceType
PossibleAzureResourceTypeValues returns an array of possible values for the AzureResourceType const type.
AzureTableStorageApplicationLogsConfig application logs to Azure table storage configuration.
type AzureTableStorageApplicationLogsConfig struct { // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' Level LogLevel `json:"level,omitempty"` // SasURL - SAS URL to an Azure table with add/query/delete permissions. SasURL *string `json:"sasUrl,omitempty"` }
BackupItem backup description.
type BackupItem struct { autorest.Response `json:"-"` // BackupItemProperties - BackupItem resource specific properties *BackupItemProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (bi BackupItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupItem.
func (bi *BackupItem) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupItem struct.
BackupItemCollection collection of backup items.
type BackupItemCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]BackupItem `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (bic BackupItemCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (bic BackupItemCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupItemCollection.
BackupItemCollectionIterator provides access to a complete listing of BackupItem values.
type BackupItemCollectionIterator struct {
// contains filtered or unexported fields
}
func NewBackupItemCollectionIterator(page BackupItemCollectionPage) BackupItemCollectionIterator
Creates a new instance of the BackupItemCollectionIterator type.
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 (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 (iter BackupItemCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BackupItemCollectionIterator) Response() BackupItemCollection
Response returns the raw server response from the last page request.
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.
BackupItemCollectionPage contains a page of BackupItem values.
type BackupItemCollectionPage struct {
// contains filtered or unexported fields
}
func NewBackupItemCollectionPage(cur BackupItemCollection, getNextPage func(context.Context, BackupItemCollection) (BackupItemCollection, error)) BackupItemCollectionPage
Creates a new instance of the BackupItemCollectionPage type.
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 (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 (page BackupItemCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BackupItemCollectionPage) Response() BackupItemCollection
Response returns the raw server response from the last page request.
func (page BackupItemCollectionPage) Values() []BackupItem
Values returns the slice of values for the current page or nil if there are no values.
BackupItemProperties backupItem resource specific properties
type BackupItemProperties struct { // BackupID - READ-ONLY; Id of the backup. BackupID *int32 `json:"id,omitempty"` // StorageAccountURL - READ-ONLY; SAS URL for the storage account container which contains this backup. StorageAccountURL *string `json:"storageAccountUrl,omitempty"` // BlobName - READ-ONLY; Name of the blob which contains data for this backup. BlobName *string `json:"blobName,omitempty"` // Name - READ-ONLY; Name of this backup. Name *string `json:"name,omitempty"` // Status - READ-ONLY; Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted' Status BackupItemStatus `json:"status,omitempty"` // SizeInBytes - READ-ONLY; Size of the backup in bytes. SizeInBytes *int64 `json:"sizeInBytes,omitempty"` // Created - READ-ONLY; Timestamp of the backup creation. Created *date.Time `json:"created,omitempty"` // Log - READ-ONLY; Details regarding this backup. Might contain an error message. Log *string `json:"log,omitempty"` // Databases - READ-ONLY; List of databases included in the backup. Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` // Scheduled - READ-ONLY; True if this backup has been created due to a schedule being triggered. Scheduled *bool `json:"scheduled,omitempty"` // LastRestoreTimeStamp - READ-ONLY; Timestamp of a last restore operation which used this backup. LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"` // FinishedTimeStamp - READ-ONLY; Timestamp when this backup finished. FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"` // CorrelationID - READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. CorrelationID *string `json:"correlationId,omitempty"` // WebsiteSizeInBytes - READ-ONLY; Size of the original web app which has been backed up. WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty"` }
func (bi BackupItemProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupItemProperties.
BackupItemStatus enumerates the values for backup item status.
type BackupItemStatus string
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() []BackupItemStatus
PossibleBackupItemStatusValues returns an array of possible values for the BackupItemStatus const type.
BackupRequest description of a backup which will be performed.
type BackupRequest struct { autorest.Response `json:"-"` // BackupRequestProperties - BackupRequest resource specific properties *BackupRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (br BackupRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupRequest.
func (br *BackupRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupRequest struct.
BackupRequestProperties backupRequest resource specific properties
type BackupRequestProperties struct { // BackupRequestName - Name of the backup. BackupRequestName *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: 'BackupRestoreOperationTypeDefault', 'BackupRestoreOperationTypeClone', 'BackupRestoreOperationTypeRelocation', 'BackupRestoreOperationTypeSnapshot' Type BackupRestoreOperationType `json:"type,omitempty"` }
BackupRestoreOperationType enumerates the values for backup restore operation type.
type BackupRestoreOperationType string
const ( // BackupRestoreOperationTypeClone ... BackupRestoreOperationTypeClone BackupRestoreOperationType = "Clone" // BackupRestoreOperationTypeDefault ... BackupRestoreOperationTypeDefault BackupRestoreOperationType = "Default" // BackupRestoreOperationTypeRelocation ... BackupRestoreOperationTypeRelocation BackupRestoreOperationType = "Relocation" // BackupRestoreOperationTypeSnapshot ... BackupRestoreOperationTypeSnapshot BackupRestoreOperationType = "Snapshot" )
func PossibleBackupRestoreOperationTypeValues() []BackupRestoreOperationType
PossibleBackupRestoreOperationTypeValues returns an array of possible values for the BackupRestoreOperationType const type.
BackupSchedule description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.
type BackupSchedule struct { // FrequencyInterval - How often the backup should be 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 - The unit of time for how often the backup should be 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 - READ-ONLY; Last time when this schedule was triggered. LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"` }
func (bs BackupSchedule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackupSchedule.
BaseClient is the base client for Web.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error)
CheckNameAvailability check if a resource name is available. Parameters: request - name availability request.
func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, request ResourceNameAvailabilityRequest) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (result ResourceNameAvailability, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) GetPublishingUser(ctx context.Context) (result User, err error)
GetPublishingUser gets publishing user
func (client BaseClient) GetPublishingUserPreparer(ctx context.Context) (*http.Request, error)
GetPublishingUserPreparer prepares the GetPublishingUser request.
func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result User, err error)
GetPublishingUserResponder handles the response to the GetPublishingUser request. The method always closes the http.Response Body.
func (client BaseClient) GetPublishingUserSender(req *http.Request) (*http.Response, error)
GetPublishingUserSender sends the GetPublishingUser request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error)
GetSourceControl gets source control token Parameters: sourceControlType - type of source control
func (client BaseClient) GetSourceControlPreparer(ctx context.Context, sourceControlType string) (*http.Request, error)
GetSourceControlPreparer prepares the GetSourceControl request.
func (client BaseClient) GetSourceControlResponder(resp *http.Response) (result SourceControl, err error)
GetSourceControlResponder handles the response to the GetSourceControl request. The method always closes the http.Response Body.
func (client BaseClient) GetSourceControlSender(req *http.Request) (*http.Response, error)
GetSourceControlSender sends the GetSourceControl request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) GetSubscriptionDeploymentLocations(ctx context.Context) (result DeploymentLocations, err error)
GetSubscriptionDeploymentLocations gets list of available geo regions plus ministamps
func (client BaseClient) GetSubscriptionDeploymentLocationsPreparer(ctx context.Context) (*http.Request, error)
GetSubscriptionDeploymentLocationsPreparer prepares the GetSubscriptionDeploymentLocations request.
func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http.Response) (result DeploymentLocations, err error)
GetSubscriptionDeploymentLocationsResponder handles the response to the GetSubscriptionDeploymentLocations request. The method always closes the http.Response Body.
func (client BaseClient) GetSubscriptionDeploymentLocationsSender(req *http.Request) (*http.Response, error)
GetSubscriptionDeploymentLocationsSender sends the GetSubscriptionDeploymentLocations request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) ListGeoRegions(ctx context.Context, sku SkuName, linuxWorkersEnabled *bool) (result GeoRegionCollectionPage, err error)
ListGeoRegions get a list of available geographical regions. Parameters: sku - name of SKU used to filter the regions. linuxWorkersEnabled - specify <code>true</code> if you want to filter to only regions that support Linux workers.
func (client BaseClient) ListGeoRegionsComplete(ctx context.Context, sku SkuName, linuxWorkersEnabled *bool) (result GeoRegionCollectionIterator, err error)
ListGeoRegionsComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) ListGeoRegionsPreparer(ctx context.Context, sku SkuName, linuxWorkersEnabled *bool) (*http.Request, error)
ListGeoRegionsPreparer prepares the ListGeoRegions request.
func (client BaseClient) ListGeoRegionsResponder(resp *http.Response) (result GeoRegionCollection, err error)
ListGeoRegionsResponder handles the response to the ListGeoRegions request. The method always closes the http.Response Body.
func (client BaseClient) ListGeoRegionsSender(req *http.Request) (*http.Response, error)
ListGeoRegionsSender sends the ListGeoRegions request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) ListPremierAddOnOffers(ctx context.Context) (result PremierAddOnOfferCollectionPage, err error)
ListPremierAddOnOffers list all premier add-on offers.
func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (result PremierAddOnOfferCollectionIterator, err error)
ListPremierAddOnOffersComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) ListPremierAddOnOffersPreparer(ctx context.Context) (*http.Request, error)
ListPremierAddOnOffersPreparer prepares the ListPremierAddOnOffers request.
func (client BaseClient) ListPremierAddOnOffersResponder(resp *http.Response) (result PremierAddOnOfferCollection, err error)
ListPremierAddOnOffersResponder handles the response to the ListPremierAddOnOffers request. The method always closes the http.Response Body.
func (client BaseClient) ListPremierAddOnOffersSender(req *http.Request) (*http.Response, error)
ListPremierAddOnOffersSender sends the ListPremierAddOnOffers request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error)
ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. Parameters: nameIdentifier - hostname information.
func (client BaseClient) ListSiteIdentifiersAssignedToHostNameComplete(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionIterator, err error)
ListSiteIdentifiersAssignedToHostNameComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) ListSiteIdentifiersAssignedToHostNamePreparer(ctx context.Context, nameIdentifier NameIdentifier) (*http.Request, error)
ListSiteIdentifiersAssignedToHostNamePreparer prepares the ListSiteIdentifiersAssignedToHostName request.
func (client BaseClient) ListSiteIdentifiersAssignedToHostNameResponder(resp *http.Response) (result IdentifierCollection, err error)
ListSiteIdentifiersAssignedToHostNameResponder handles the response to the ListSiteIdentifiersAssignedToHostName request. The method always closes the http.Response Body.
func (client BaseClient) ListSiteIdentifiersAssignedToHostNameSender(req *http.Request) (*http.Response, error)
ListSiteIdentifiersAssignedToHostNameSender sends the ListSiteIdentifiersAssignedToHostName request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) ListSkus(ctx context.Context) (result SkuInfos, err error)
ListSkus list all SKUs.
func (client BaseClient) ListSkusPreparer(ctx context.Context) (*http.Request, error)
ListSkusPreparer prepares the ListSkus request.
func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuInfos, err error)
ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (client BaseClient) ListSkusSender(req *http.Request) (*http.Response, error)
ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) ListSourceControls(ctx context.Context) (result SourceControlCollectionPage, err error)
ListSourceControls gets the source controls available for Azure websites.
func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result SourceControlCollectionIterator, err error)
ListSourceControlsComplete enumerates all values, automatically crossing page boundaries as required.
func (client BaseClient) ListSourceControlsPreparer(ctx context.Context) (*http.Request, error)
ListSourceControlsPreparer prepares the ListSourceControls request.
func (client BaseClient) ListSourceControlsResponder(resp *http.Response) (result SourceControlCollection, err error)
ListSourceControlsResponder handles the response to the ListSourceControls request. The method always closes the http.Response Body.
func (client BaseClient) ListSourceControlsSender(req *http.Request) (*http.Response, error)
ListSourceControlsSender sends the ListSourceControls request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) Move(ctx context.Context, resourceGroupName string, moveResourceEnvelope CsmMoveResourceEnvelope) (result autorest.Response, err error)
Move move resources between resource groups. Parameters: resourceGroupName - name of the resource group to which the resource belongs. moveResourceEnvelope - object that represents the resource to move.
func (client BaseClient) MovePreparer(ctx context.Context, resourceGroupName string, moveResourceEnvelope CsmMoveResourceEnvelope) (*http.Request, error)
MovePreparer prepares the Move request.
func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Response, err error)
MoveResponder handles the response to the Move request. The method always closes the http.Response Body.
func (client BaseClient) MoveSender(req *http.Request) (*http.Response, error)
MoveSender sends the Move request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error)
UpdatePublishingUser updates publishing user Parameters: userDetails - details of publishing user
func (client BaseClient) UpdatePublishingUserPreparer(ctx context.Context, userDetails User) (*http.Request, error)
UpdatePublishingUserPreparer prepares the UpdatePublishingUser request.
func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (result User, err error)
UpdatePublishingUserResponder handles the response to the UpdatePublishingUser request. The method always closes the http.Response Body.
func (client BaseClient) UpdatePublishingUserSender(req *http.Request) (*http.Response, error)
UpdatePublishingUserSender sends the UpdatePublishingUser request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) UpdateSourceControl(ctx context.Context, sourceControlType string, requestMessage SourceControl) (result SourceControl, err error)
UpdateSourceControl updates source control token Parameters: sourceControlType - type of source control requestMessage - source control token information
func (client BaseClient) UpdateSourceControlPreparer(ctx context.Context, sourceControlType string, requestMessage SourceControl) (*http.Request, error)
UpdateSourceControlPreparer prepares the UpdateSourceControl request.
func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (result SourceControl, err error)
UpdateSourceControlResponder handles the response to the UpdateSourceControl request. The method always closes the http.Response Body.
func (client BaseClient) UpdateSourceControlSender(req *http.Request) (*http.Response, error)
UpdateSourceControlSender sends the UpdateSourceControl request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) Validate(ctx context.Context, resourceGroupName string, validateRequest ValidateRequest) (result ValidateResponse, err error)
Validate validate if a resource can be created. Parameters: resourceGroupName - name of the resource group to which the resource belongs. validateRequest - request with the resources to validate.
func (client BaseClient) ValidateMove(ctx context.Context, resourceGroupName string, moveResourceEnvelope CsmMoveResourceEnvelope) (result autorest.Response, err error)
ValidateMove validate whether a resource can be moved. Parameters: resourceGroupName - name of the resource group to which the resource belongs. moveResourceEnvelope - object that represents the resource to move.
func (client BaseClient) ValidateMovePreparer(ctx context.Context, resourceGroupName string, moveResourceEnvelope CsmMoveResourceEnvelope) (*http.Request, error)
ValidateMovePreparer prepares the ValidateMove request.
func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result autorest.Response, err error)
ValidateMoveResponder handles the response to the ValidateMove request. The method always closes the http.Response Body.
func (client BaseClient) ValidateMoveSender(req *http.Request) (*http.Response, error)
ValidateMoveSender sends the ValidateMove request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) ValidatePreparer(ctx context.Context, resourceGroupName string, validateRequest ValidateRequest) (*http.Request, error)
ValidatePreparer prepares the Validate request.
func (client BaseClient) ValidateResponder(resp *http.Response) (result ValidateResponse, err error)
ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.
func (client BaseClient) ValidateSender(req *http.Request) (*http.Response, error)
ValidateSender sends the Validate request. The method will close the http.Response Body if it receives an error.
func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error)
VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. Parameters: parameters - VNET information
func (client BaseClient) VerifyHostingEnvironmentVnetPreparer(ctx context.Context, parameters VnetParameters) (*http.Request, error)
VerifyHostingEnvironmentVnetPreparer prepares the VerifyHostingEnvironmentVnet request.
func (client BaseClient) VerifyHostingEnvironmentVnetResponder(resp *http.Response) (result VnetValidationFailureDetails, err error)
VerifyHostingEnvironmentVnetResponder handles the response to the VerifyHostingEnvironmentVnet request. The method always closes the http.Response Body.
func (client BaseClient) VerifyHostingEnvironmentVnetSender(req *http.Request) (*http.Response, error)
VerifyHostingEnvironmentVnetSender sends the VerifyHostingEnvironmentVnet request. The method will close the http.Response Body if it receives an error.
BillingMeter app Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.
type BillingMeter struct { // BillingMeterProperties - BillingMeter resource specific properties *BillingMeterProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (bm BillingMeter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BillingMeter.
func (bm *BillingMeter) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BillingMeter struct.
BillingMeterCollection collection of Billing Meters
type BillingMeterCollection struct { autorest.Response `json:"-"` // Value - Collection of Billing Meters. Value *[]BillingMeter `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (bmc BillingMeterCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (bmc BillingMeterCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BillingMeterCollection.
BillingMeterCollectionIterator provides access to a complete listing of BillingMeter values.
type BillingMeterCollectionIterator struct {
// contains filtered or unexported fields
}
func NewBillingMeterCollectionIterator(page BillingMeterCollectionPage) BillingMeterCollectionIterator
Creates a new instance of the BillingMeterCollectionIterator type.
func (iter *BillingMeterCollectionIterator) 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 (iter *BillingMeterCollectionIterator) 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 (iter BillingMeterCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter BillingMeterCollectionIterator) Response() BillingMeterCollection
Response returns the raw server response from the last page request.
func (iter BillingMeterCollectionIterator) Value() BillingMeter
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
BillingMeterCollectionPage contains a page of BillingMeter values.
type BillingMeterCollectionPage struct {
// contains filtered or unexported fields
}
func NewBillingMeterCollectionPage(cur BillingMeterCollection, getNextPage func(context.Context, BillingMeterCollection) (BillingMeterCollection, error)) BillingMeterCollectionPage
Creates a new instance of the BillingMeterCollectionPage type.
func (page *BillingMeterCollectionPage) 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 (page *BillingMeterCollectionPage) 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 (page BillingMeterCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page BillingMeterCollectionPage) Response() BillingMeterCollection
Response returns the raw server response from the last page request.
func (page BillingMeterCollectionPage) Values() []BillingMeter
Values returns the slice of values for the current page or nil if there are no values.
BillingMeterProperties billingMeter resource specific properties
type BillingMeterProperties struct { // MeterID - Meter GUID onboarded in Commerce MeterID *string `json:"meterId,omitempty"` // BillingLocation - Azure Location of billable resource BillingLocation *string `json:"billingLocation,omitempty"` // ShortName - Short Name from App Service Azure pricing Page ShortName *string `json:"shortName,omitempty"` // FriendlyName - Friendly name of the meter FriendlyName *string `json:"friendlyName,omitempty"` // ResourceType - App Service resource type meter used for ResourceType *string `json:"resourceType,omitempty"` }
BillingMetersClient is the webSite Management Client
type BillingMetersClient struct { BaseClient }
func NewBillingMetersClient(subscriptionID string) BillingMetersClient
NewBillingMetersClient creates an instance of the BillingMetersClient client.
func NewBillingMetersClientWithBaseURI(baseURI string, subscriptionID string) BillingMetersClient
NewBillingMetersClientWithBaseURI creates an instance of the BillingMetersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client BillingMetersClient) List(ctx context.Context, billingLocation string) (result BillingMeterCollectionPage, err error)
List gets a list of meters for a given location. Parameters: billingLocation - azure Location of billable resource
func (client BillingMetersClient) ListComplete(ctx context.Context, billingLocation string) (result BillingMeterCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client BillingMetersClient) ListPreparer(ctx context.Context, billingLocation string) (*http.Request, error)
ListPreparer prepares the List request.
func (client BillingMetersClient) ListResponder(resp *http.Response) (result BillingMeterCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client BillingMetersClient) 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.
BuiltInAuthenticationProvider enumerates the values for built in authentication provider.
type BuiltInAuthenticationProvider string
const ( // AzureActiveDirectory ... AzureActiveDirectory BuiltInAuthenticationProvider = "AzureActiveDirectory" // Facebook ... Facebook BuiltInAuthenticationProvider = "Facebook" // Google ... Google BuiltInAuthenticationProvider = "Google" // MicrosoftAccount ... MicrosoftAccount BuiltInAuthenticationProvider = "MicrosoftAccount" // Twitter ... Twitter BuiltInAuthenticationProvider = "Twitter" )
func PossibleBuiltInAuthenticationProviderValues() []BuiltInAuthenticationProvider
PossibleBuiltInAuthenticationProviderValues returns an array of possible values for the BuiltInAuthenticationProvider const type.
Capability describes the capabilities/features allowed for a specific SKU.
type Capability struct { // Name - Name of the SKU capability. Name *string `json:"name,omitempty"` // Value - Value of the SKU capability. Value *string `json:"value,omitempty"` // Reason - Reason of the SKU capability. Reason *string `json:"reason,omitempty"` }
Certificate SSL certificate for an app.
type Certificate struct { autorest.Response `json:"-"` // CertificateProperties - Certificate resource specific properties *CertificateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (c Certificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Certificate.
func (c *Certificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Certificate struct.
CertificateCollection collection of certificates.
type CertificateCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Certificate `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (cc CertificateCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (cc CertificateCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateCollection.
CertificateCollectionIterator provides access to a complete listing of Certificate values.
type CertificateCollectionIterator struct {
// contains filtered or unexported fields
}
func NewCertificateCollectionIterator(page CertificateCollectionPage) CertificateCollectionIterator
Creates a new instance of the CertificateCollectionIterator type.
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 (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 (iter CertificateCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter CertificateCollectionIterator) Response() CertificateCollection
Response returns the raw server response from the last page request.
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.
CertificateCollectionPage contains a page of Certificate values.
type CertificateCollectionPage struct {
// contains filtered or unexported fields
}
func NewCertificateCollectionPage(cur CertificateCollection, getNextPage func(context.Context, CertificateCollection) (CertificateCollection, error)) CertificateCollectionPage
Creates a new instance of the CertificateCollectionPage type.
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 (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 (page CertificateCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page CertificateCollectionPage) Response() CertificateCollection
Response returns the raw server response from the last page request.
func (page CertificateCollectionPage) Values() []Certificate
Values returns the slice of values for the current page or nil if there are no values.
CertificateDetails SSL certificate details.
type CertificateDetails struct { // Version - READ-ONLY; Certificate Version. Version *int32 `json:"version,omitempty"` // SerialNumber - READ-ONLY; Certificate Serial Number. SerialNumber *string `json:"serialNumber,omitempty"` // Thumbprint - READ-ONLY; Certificate Thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // Subject - READ-ONLY; Certificate Subject. Subject *string `json:"subject,omitempty"` // NotBefore - READ-ONLY; Date Certificate is valid from. NotBefore *date.Time `json:"notBefore,omitempty"` // NotAfter - READ-ONLY; Date Certificate is valid to. NotAfter *date.Time `json:"notAfter,omitempty"` // SignatureAlgorithm - READ-ONLY; Certificate Signature algorithm. SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"` // Issuer - READ-ONLY; Certificate Issuer. Issuer *string `json:"issuer,omitempty"` // RawData - READ-ONLY; Raw certificate data. RawData *string `json:"rawData,omitempty"` }
func (cd CertificateDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateDetails.
CertificateEmail SSL certificate email.
type CertificateEmail struct { // CertificateEmailProperties - CertificateEmail resource specific properties *CertificateEmailProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ce CertificateEmail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateEmail.
func (ce *CertificateEmail) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CertificateEmail struct.
CertificateEmailProperties certificateEmail resource specific properties
type CertificateEmailProperties struct { // EmailID - Email id. EmailID *string `json:"emailId,omitempty"` // TimeStamp - Time stamp. TimeStamp *date.Time `json:"timeStamp,omitempty"` }
CertificateOrderAction certificate order action.
type CertificateOrderAction struct { // CertificateOrderActionProperties - CertificateOrderAction resource specific properties *CertificateOrderActionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (coa CertificateOrderAction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateOrderAction.
func (coa *CertificateOrderAction) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CertificateOrderAction struct.
CertificateOrderActionProperties certificateOrderAction resource specific properties
type CertificateOrderActionProperties struct { // Type - Action type. Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', 'OrgNameChange', 'OrgValidationComplete', 'SanDrop', 'FraudCleared', 'CertificateExpired', 'CertificateExpirationWarning', 'FraudDocumentationRequired', 'Unknown' Type CertificateOrderActionType `json:"type,omitempty"` // CreatedAt - Time at which the certificate action was performed. CreatedAt *date.Time `json:"createdAt,omitempty"` }
CertificateOrderActionType enumerates the values for certificate order action type.
type CertificateOrderActionType string
const ( // CertificateExpirationWarning ... CertificateExpirationWarning CertificateOrderActionType = "CertificateExpirationWarning" // CertificateExpired ... CertificateExpired CertificateOrderActionType = "CertificateExpired" // CertificateIssued ... CertificateIssued CertificateOrderActionType = "CertificateIssued" // CertificateOrderCanceled ... CertificateOrderCanceled CertificateOrderActionType = "CertificateOrderCanceled" // CertificateOrderCreated ... CertificateOrderCreated CertificateOrderActionType = "CertificateOrderCreated" // CertificateRevoked ... CertificateRevoked CertificateOrderActionType = "CertificateRevoked" // DomainValidationComplete ... DomainValidationComplete CertificateOrderActionType = "DomainValidationComplete" // FraudCleared ... FraudCleared CertificateOrderActionType = "FraudCleared" // FraudDetected ... FraudDetected CertificateOrderActionType = "FraudDetected" // FraudDocumentationRequired ... FraudDocumentationRequired CertificateOrderActionType = "FraudDocumentationRequired" // OrgNameChange ... OrgNameChange CertificateOrderActionType = "OrgNameChange" // OrgValidationComplete ... OrgValidationComplete CertificateOrderActionType = "OrgValidationComplete" // SanDrop ... SanDrop CertificateOrderActionType = "SanDrop" // Unknown ... Unknown CertificateOrderActionType = "Unknown" )
func PossibleCertificateOrderActionTypeValues() []CertificateOrderActionType
PossibleCertificateOrderActionTypeValues returns an array of possible values for the CertificateOrderActionType const type.
CertificateOrderStatus enumerates the values for certificate order status.
type CertificateOrderStatus string
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() []CertificateOrderStatus
PossibleCertificateOrderStatusValues returns an array of possible values for the CertificateOrderStatus const type.
CertificatePatchResource ARM resource for a certificate.
type CertificatePatchResource struct { // CertificatePatchResourceProperties - CertificatePatchResource resource specific properties *CertificatePatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (cpr CertificatePatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificatePatchResource.
func (cpr *CertificatePatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CertificatePatchResource struct.
CertificatePatchResourceProperties certificatePatchResource resource specific properties
type CertificatePatchResourceProperties struct { // FriendlyName - READ-ONLY; Friendly name of the certificate. FriendlyName *string `json:"friendlyName,omitempty"` // SubjectName - READ-ONLY; 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 *[]byte `json:"pfxBlob,omitempty"` // SiteName - READ-ONLY; App name. SiteName *string `json:"siteName,omitempty"` // SelfLink - READ-ONLY; Self link. SelfLink *string `json:"selfLink,omitempty"` // Issuer - READ-ONLY; Certificate issuer. Issuer *string `json:"issuer,omitempty"` // IssueDate - READ-ONLY; Certificate issue Date. IssueDate *date.Time `json:"issueDate,omitempty"` // ExpirationDate - READ-ONLY; Certificate expiration date. ExpirationDate *date.Time `json:"expirationDate,omitempty"` // Password - Certificate password. Password *string `json:"password,omitempty"` // Thumbprint - READ-ONLY; Certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // Valid - READ-ONLY; Is the certificate valid?. Valid *bool `json:"valid,omitempty"` // CerBlob - READ-ONLY; Raw bytes of .cer file CerBlob *[]byte `json:"cerBlob,omitempty"` // PublicKeyHash - READ-ONLY; Public key hash. PublicKeyHash *string `json:"publicKeyHash,omitempty"` // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` // KeyVaultID - Key Vault Csm resource Id. KeyVaultID *string `json:"keyVaultId,omitempty"` // KeyVaultSecretName - Key Vault secret name. KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` // GeoRegion - READ-ONLY; Region of the certificate. GeoRegion *string `json:"geoRegion,omitempty"` // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ServerFarmID *string `json:"serverFarmId,omitempty"` }
func (cpr CertificatePatchResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificatePatchResourceProperties.
CertificateProductType enumerates the values for certificate product type.
type CertificateProductType string
const ( // StandardDomainValidatedSsl ... StandardDomainValidatedSsl CertificateProductType = "StandardDomainValidatedSsl" // StandardDomainValidatedWildCardSsl ... StandardDomainValidatedWildCardSsl CertificateProductType = "StandardDomainValidatedWildCardSsl" )
func PossibleCertificateProductTypeValues() []CertificateProductType
PossibleCertificateProductTypeValues returns an array of possible values for the CertificateProductType const type.
CertificateProperties certificate resource specific properties
type CertificateProperties struct { // FriendlyName - READ-ONLY; Friendly name of the certificate. FriendlyName *string `json:"friendlyName,omitempty"` // SubjectName - READ-ONLY; 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 *[]byte `json:"pfxBlob,omitempty"` // SiteName - READ-ONLY; App name. SiteName *string `json:"siteName,omitempty"` // SelfLink - READ-ONLY; Self link. SelfLink *string `json:"selfLink,omitempty"` // Issuer - READ-ONLY; Certificate issuer. Issuer *string `json:"issuer,omitempty"` // IssueDate - READ-ONLY; Certificate issue Date. IssueDate *date.Time `json:"issueDate,omitempty"` // ExpirationDate - READ-ONLY; Certificate expiration date. ExpirationDate *date.Time `json:"expirationDate,omitempty"` // Password - Certificate password. Password *string `json:"password,omitempty"` // Thumbprint - READ-ONLY; Certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // Valid - READ-ONLY; Is the certificate valid?. Valid *bool `json:"valid,omitempty"` // CerBlob - READ-ONLY; Raw bytes of .cer file CerBlob *[]byte `json:"cerBlob,omitempty"` // PublicKeyHash - READ-ONLY; Public key hash. PublicKeyHash *string `json:"publicKeyHash,omitempty"` // HostingEnvironmentProfile - READ-ONLY; Specification for the App Service Environment to use for the certificate. HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` // KeyVaultID - Key Vault Csm resource Id. KeyVaultID *string `json:"keyVaultId,omitempty"` // KeyVaultSecretName - Key Vault secret name. KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` // KeyVaultSecretStatus - READ-ONLY; Status of the Key Vault secret. Possible values include: 'KeyVaultSecretStatusInitialized', 'KeyVaultSecretStatusWaitingOnCertificateOrder', 'KeyVaultSecretStatusSucceeded', 'KeyVaultSecretStatusCertificateOrderFailed', 'KeyVaultSecretStatusOperationNotPermittedOnKeyVault', 'KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultSecretStatusKeyVaultDoesNotExist', 'KeyVaultSecretStatusKeyVaultSecretDoesNotExist', 'KeyVaultSecretStatusUnknownError', 'KeyVaultSecretStatusExternalPrivateKey', 'KeyVaultSecretStatusUnknown' KeyVaultSecretStatus KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` // GeoRegion - READ-ONLY; Region of the certificate. GeoRegion *string `json:"geoRegion,omitempty"` // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ServerFarmID *string `json:"serverFarmId,omitempty"` }
func (c CertificateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateProperties.
CertificateRegistrationProviderClient is the webSite Management Client
type CertificateRegistrationProviderClient struct { BaseClient }
func NewCertificateRegistrationProviderClient(subscriptionID string) CertificateRegistrationProviderClient
NewCertificateRegistrationProviderClient creates an instance of the CertificateRegistrationProviderClient client.
func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscriptionID string) CertificateRegistrationProviderClient
NewCertificateRegistrationProviderClientWithBaseURI creates an instance of the CertificateRegistrationProviderClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client CertificateRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error)
ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider
func (client CertificateRegistrationProviderClient) ListOperationsComplete(ctx context.Context) (result CsmOperationCollectionIterator, err error)
ListOperationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client CertificateRegistrationProviderClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)
ListOperationsPreparer prepares the ListOperations request.
func (client CertificateRegistrationProviderClient) ListOperationsResponder(resp *http.Response) (result CsmOperationCollection, err error)
ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.
func (client CertificateRegistrationProviderClient) ListOperationsSender(req *http.Request) (*http.Response, error)
ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.
CertificatesClient is the webSite Management Client
type CertificatesClient struct { BaseClient }
func NewCertificatesClient(subscriptionID string) CertificatesClient
NewCertificatesClient creates an instance of the CertificatesClient client.
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient
NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (result Certificate, err error)
CreateOrUpdate create or update a certificate. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the certificate. certificateEnvelope - details of certificate, if it exists already.
func (client CertificatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (result Certificate, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client CertificatesClient) 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 (client CertificatesClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)
Delete delete a certificate. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the certificate.
func (client CertificatesClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client CertificatesClient) 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 (client CertificatesClient) 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 (client CertificatesClient) Get(ctx context.Context, resourceGroupName string, name string) (result Certificate, err error)
Get get a certificate. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the certificate.
func (client CertificatesClient) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client CertificatesClient) GetResponder(resp *http.Response) (result Certificate, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client CertificatesClient) 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 (client CertificatesClient) List(ctx context.Context) (result CertificateCollectionPage, err error)
List get all certificates for a subscription.
func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error)
ListByResourceGroup get all certificates in a resource group. Parameters: resourceGroupName - name of the resource group to which the resource belongs.
func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result CertificateCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client CertificatesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client CertificatesClient) ListByResourceGroupResponder(resp *http.Response) (result CertificateCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client CertificatesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client CertificatesClient) ListComplete(ctx context.Context) (result CertificateCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client CertificatesClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client CertificatesClient) ListResponder(resp *http.Response) (result CertificateCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client CertificatesClient) 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.
func (client CertificatesClient) Update(ctx context.Context, resourceGroupName string, name string, certificateEnvelope CertificatePatchResource) (result Certificate, err error)
Update create or update a certificate. Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of the certificate. certificateEnvelope - details of certificate, if it exists already.
func (client CertificatesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, certificateEnvelope CertificatePatchResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client CertificatesClient) UpdateResponder(resp *http.Response) (result Certificate, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client CertificatesClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
Channels enumerates the values for channels.
type Channels string
const ( // All ... All Channels = "All" // API ... API Channels = "Api" // Email ... Email Channels = "Email" // Notification ... Notification Channels = "Notification" // Webhook ... Webhook Channels = "Webhook" )
func PossibleChannelsValues() []Channels
PossibleChannelsValues returns an array of possible values for the Channels const type.
CheckNameResourceTypes enumerates the values for check name resource types.
type CheckNameResourceTypes string
const ( // CheckNameResourceTypesHostingEnvironment ... CheckNameResourceTypesHostingEnvironment CheckNameResourceTypes = "HostingEnvironment" // CheckNameResourceTypesMicrosoftWebhostingEnvironments ... CheckNameResourceTypesMicrosoftWebhostingEnvironments CheckNameResourceTypes = "Microsoft.Web/hostingEnvironments" // CheckNameResourceTypesMicrosoftWebpublishingUsers ... CheckNameResourceTypesMicrosoftWebpublishingUsers CheckNameResourceTypes = "Microsoft.Web/publishingUsers" // CheckNameResourceTypesMicrosoftWebsites ... CheckNameResourceTypesMicrosoftWebsites CheckNameResourceTypes = "Microsoft.Web/sites" // CheckNameResourceTypesMicrosoftWebsitesslots ... CheckNameResourceTypesMicrosoftWebsitesslots CheckNameResourceTypes = "Microsoft.Web/sites/slots" // CheckNameResourceTypesPublishingUser ... CheckNameResourceTypesPublishingUser CheckNameResourceTypes = "PublishingUser" // CheckNameResourceTypesSite ... CheckNameResourceTypesSite CheckNameResourceTypes = "Site" // CheckNameResourceTypesSlot ... CheckNameResourceTypesSlot CheckNameResourceTypes = "Slot" )
func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes
PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.
CloneAbilityResult enumerates the values for clone ability result.
type CloneAbilityResult string
const ( // Cloneable ... Cloneable CloneAbilityResult = "Cloneable" // NotCloneable ... NotCloneable CloneAbilityResult = "NotCloneable" // PartiallyCloneable ... PartiallyCloneable CloneAbilityResult = "PartiallyCloneable" )
func PossibleCloneAbilityResultValues() []CloneAbilityResult
PossibleCloneAbilityResultValues returns an array of possible values for the CloneAbilityResult const type.
CloningInfo information needed for cloning operation.
type CloningInfo struct { // CorrelationID - Correlation ID of cloning operation. This ID ties multiple cloning operations // together to use the same snapshot. CorrelationID *uuid.UUID `json:"correlationId,omitempty"` // Overwrite - <code>true</code> to overwrite destination app; otherwise, <code>false</code>. Overwrite *bool `json:"overwrite,omitempty"` // CloneCustomHostNames - <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"` // CloneSourceControl - <code>true</code> to clone source control from source app; otherwise, <code>false</code>. CloneSourceControl *bool `json:"cloneSourceControl,omitempty"` // SourceWebAppID - ARM resource ID of the source app. 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 - App Service Environment. HostingEnvironment *string `json:"hostingEnvironment,omitempty"` // AppSettingsOverrides - Application setting overrides for cloned app. If specified, these settings override the settings cloned // from source app. Otherwise, application settings from source app are retained. AppSettingsOverrides map[string]*string `json:"appSettingsOverrides"` // ConfigureLoadBalancing - <code>true</code> to configure load balancing for source and destination app. 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"` // IgnoreQuotas - <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. IgnoreQuotas *bool `json:"ignoreQuotas,omitempty"` }
func (ci CloningInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CloningInfo.
ComputeModeOptions enumerates the values for compute mode options.
type ComputeModeOptions string
const ( // ComputeModeOptionsDedicated ... ComputeModeOptionsDedicated ComputeModeOptions = "Dedicated" // ComputeModeOptionsDynamic ... ComputeModeOptionsDynamic ComputeModeOptions = "Dynamic" // ComputeModeOptionsShared ... ComputeModeOptions = "Shared" )
func PossibleComputeModeOptionsValues() []ComputeModeOptions
PossibleComputeModeOptionsValues returns an array of possible values for the ComputeModeOptions const type.
ConnStringInfo database connection string information.
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', 'NotificationHub', 'ServiceBus', 'EventHub', 'APIHub', 'DocDb', 'RedisCache', 'PostgreSQL' Type ConnectionStringType `json:"type,omitempty"` }
ConnStringValueTypePair database connection string value to type pair.
type ConnStringValueTypePair struct { // Value - Value of pair. Value *string `json:"value,omitempty"` // Type - Type of database. Possible values include: 'MySQL', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'APIHub', 'DocDb', 'RedisCache', 'PostgreSQL' Type ConnectionStringType `json:"type,omitempty"` }
ConnectionStringDictionary string dictionary resource.
type ConnectionStringDictionary struct { autorest.Response `json:"-"` // Properties - Connection strings. Properties map[string]*ConnStringValueTypePair `json:"properties"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (csd ConnectionStringDictionary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionStringDictionary.
ConnectionStringType enumerates the values for connection string type.
type ConnectionStringType string
const ( // APIHub ... APIHub ConnectionStringType = "ApiHub" // Custom ... Custom ConnectionStringType = "Custom" // DocDb ... DocDb ConnectionStringType = "DocDb" // EventHub ... EventHub ConnectionStringType = "EventHub" // MySQL ... MySQL ConnectionStringType = "MySql" // NotificationHub ... NotificationHub ConnectionStringType = "NotificationHub" // PostgreSQL ... PostgreSQL ConnectionStringType = "PostgreSQL" // RedisCache ... RedisCache ConnectionStringType = "RedisCache" // ServiceBus ... ServiceBus ConnectionStringType = "ServiceBus" // SQLAzure ... SQLAzure ConnectionStringType = "SQLAzure" // SQLServer ... SQLServer ConnectionStringType = "SQLServer" )
func PossibleConnectionStringTypeValues() []ConnectionStringType
PossibleConnectionStringTypeValues returns an array of possible values for the ConnectionStringType const type.
Contact contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois directories as per ICANN requirements.
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 contact belongs to. Organization *string `json:"organization,omitempty"` // Phone - Phone number. Phone *string `json:"phone,omitempty"` }
ContinuousWebJob continuous Web Job Information.
type ContinuousWebJob struct { autorest.Response `json:"-"` // ContinuousWebJobProperties - ContinuousWebJob resource specific properties *ContinuousWebJobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (cwj ContinuousWebJob) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContinuousWebJob.
func (cwj *ContinuousWebJob) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ContinuousWebJob struct.
ContinuousWebJobCollection collection of Kudu continuous web job information elements.
type ContinuousWebJobCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ContinuousWebJob `json:"value,omitempty"` // NextLink - Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (cwjc ContinuousWebJobCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
ContinuousWebJobCollectionIterator provides access to a complete listing of ContinuousWebJob values.
type ContinuousWebJobCollectionIterator struct {
// contains filtered or unexported fields
}
func NewContinuousWebJobCollectionIterator(page ContinuousWebJobCollectionPage) ContinuousWebJobCollectionIterator
Creates a new instance of the ContinuousWebJobCollectionIterator type.
func (iter *ContinuousWebJobCollectionIterator) 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 (iter *ContinuousWebJobCollectionIterator) 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 (iter ContinuousWebJobCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ContinuousWebJobCollectionIterator) Response() ContinuousWebJobCollection
Response returns the raw server response from the last page request.
func (iter ContinuousWebJobCollectionIterator) Value() ContinuousWebJob
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ContinuousWebJobCollectionPage contains a page of ContinuousWebJob values.
type ContinuousWebJobCollectionPage struct {
// contains filtered or unexported fields
}
func NewContinuousWebJobCollectionPage(cur ContinuousWebJobCollection, getNextPage func(context.Context, ContinuousWebJobCollection) (ContinuousWebJobCollection, error)) ContinuousWebJobCollectionPage
Creates a new instance of the ContinuousWebJobCollectionPage type.
func (page *ContinuousWebJobCollectionPage) 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 (page *ContinuousWebJobCollectionPage) 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 (page ContinuousWebJobCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ContinuousWebJobCollectionPage) Response() ContinuousWebJobCollection
Response returns the raw server response from the last page request.
func (page ContinuousWebJobCollectionPage) Values() []ContinuousWebJob
Values returns the slice of values for the current page or nil if there are no values.
ContinuousWebJobProperties continuousWebJob resource specific properties
type ContinuousWebJobProperties struct { // Status - Job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped' Status ContinuousWebJobStatus `json:"status,omitempty"` // DetailedStatus - Detailed status. DetailedStatus *string `json:"detailedStatus,omitempty"` // LogURL - Log URL. LogURL *string `json:"logUrl,omitempty"` // Name - READ-ONLY; Job name. Used as job identifier in ARM resource URI. Name *string `json:"name,omitempty"` // RunCommand - Run command. RunCommand *string `json:"runCommand,omitempty"` // URL - Job URL. URL *string `json:"url,omitempty"` // ExtraInfoURL - Extra Info URL. ExtraInfoURL *string `json:"extraInfoUrl,omitempty"` // JobType - Job type. Possible values include: 'Continuous', 'Triggered' JobType JobType `json:"jobType,omitempty"` // Error - Error information. Error *string `json:"error,omitempty"` // UsingSdk - Using SDK? UsingSdk *bool `json:"usingSdk,omitempty"` // Settings - Job settings. Settings map[string]interface{} `json:"settings"` }
func (cwj ContinuousWebJobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContinuousWebJobProperties.
ContinuousWebJobStatus enumerates the values for continuous web job status.
type ContinuousWebJobStatus string
const ( // Initializing ... Initializing ContinuousWebJobStatus = "Initializing" // PendingRestart ... PendingRestart ContinuousWebJobStatus = "PendingRestart" // Running ... Running ContinuousWebJobStatus = "Running" // Starting ... Starting ContinuousWebJobStatus = "Starting" // Stopped ... Stopped ContinuousWebJobStatus = "Stopped" )
func PossibleContinuousWebJobStatusValues() []ContinuousWebJobStatus
PossibleContinuousWebJobStatusValues returns an array of possible values for the ContinuousWebJobStatus const type.
CorsSettings cross-Origin Resource Sharing (CORS) settings for the app.
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"` }
CsmMoveResourceEnvelope object with a list of the resources that need to be moved and the resource group they should be moved to.
type CsmMoveResourceEnvelope struct { TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` Resources *[]string `json:"resources,omitempty"` }
CsmOperationCollection collection of Azure resource manager operation metadata.
type CsmOperationCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]CsmOperationDescription `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (coc CsmOperationCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (coc CsmOperationCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CsmOperationCollection.
CsmOperationCollectionIterator provides access to a complete listing of CsmOperationDescription values.
type CsmOperationCollectionIterator struct {
// contains filtered or unexported fields
}
func NewCsmOperationCollectionIterator(page CsmOperationCollectionPage) CsmOperationCollectionIterator
Creates a new instance of the CsmOperationCollectionIterator type.
func (iter *CsmOperationCollectionIterator) 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 (iter *CsmOperationCollectionIterator) 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 (iter CsmOperationCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter CsmOperationCollectionIterator) Response() CsmOperationCollection
Response returns the raw server response from the last page request.
func (iter CsmOperationCollectionIterator) Value() CsmOperationDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
CsmOperationCollectionPage contains a page of CsmOperationDescription values.
type CsmOperationCollectionPage struct {
// contains filtered or unexported fields
}
func NewCsmOperationCollectionPage(cur CsmOperationCollection, getNextPage func(context.Context, CsmOperationCollection) (CsmOperationCollection, error)) CsmOperationCollectionPage
Creates a new instance of the CsmOperationCollectionPage type.
func (page *CsmOperationCollectionPage) 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 (page *CsmOperationCollectionPage) 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 (page CsmOperationCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page CsmOperationCollectionPage) Response() CsmOperationCollection
Response returns the raw server response from the last page request.
func (page CsmOperationCollectionPage) Values() []CsmOperationDescription
Values returns the slice of values for the current page or nil if there are no values.
CsmOperationDescription description of an operation available for Microsoft.Web resource provider.
type CsmOperationDescription struct { Name *string `json:"name,omitempty"` Display *CsmOperationDisplay `json:"display,omitempty"` Origin *string `json:"origin,omitempty"` Properties *CsmOperationDescriptionProperties `json:"properties,omitempty"` }
CsmOperationDescriptionProperties properties available for a Microsoft.Web resource provider operation.
type CsmOperationDescriptionProperties struct { ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` }
CsmOperationDisplay meta data about operation used for display in portal.
type CsmOperationDisplay struct { Provider *string `json:"provider,omitempty"` Resource *string `json:"resource,omitempty"` Operation *string `json:"operation,omitempty"` Description *string `json:"description,omitempty"` }
CsmPublishingProfileOptions publishing options for requested profile.
type CsmPublishingProfileOptions struct { // Format - Name of the format. Valid values are: // FileZilla3 // WebDeploy -- default // Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' Format PublishingProfileFormat `json:"format,omitempty"` }
CsmSlotEntity deployment slot parameters.
type CsmSlotEntity struct { // TargetSlot - Destination deployment slot during swap operation. TargetSlot *string `json:"targetSlot,omitempty"` // PreserveVnet - <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>. PreserveVnet *bool `json:"preserveVnet,omitempty"` }
CsmUsageQuota usage of the quota resource.
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"` }
CsmUsageQuotaCollection collection of CSM usage quotas.
type CsmUsageQuotaCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]CsmUsageQuota `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (cuqc CsmUsageQuotaCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (cuqc CsmUsageQuotaCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CsmUsageQuotaCollection.
CsmUsageQuotaCollectionIterator provides access to a complete listing of CsmUsageQuota values.
type CsmUsageQuotaCollectionIterator struct {
// contains filtered or unexported fields
}
func NewCsmUsageQuotaCollectionIterator(page CsmUsageQuotaCollectionPage) CsmUsageQuotaCollectionIterator
Creates a new instance of the CsmUsageQuotaCollectionIterator type.
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 (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 (iter CsmUsageQuotaCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter CsmUsageQuotaCollectionIterator) Response() CsmUsageQuotaCollection
Response returns the raw server response from the last page request.
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.
CsmUsageQuotaCollectionPage contains a page of CsmUsageQuota values.
type CsmUsageQuotaCollectionPage struct {
// contains filtered or unexported fields
}
func NewCsmUsageQuotaCollectionPage(cur CsmUsageQuotaCollection, getNextPage func(context.Context, CsmUsageQuotaCollection) (CsmUsageQuotaCollection, error)) CsmUsageQuotaCollectionPage
Creates a new instance of the CsmUsageQuotaCollectionPage type.
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 (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 (page CsmUsageQuotaCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page CsmUsageQuotaCollectionPage) Response() CsmUsageQuotaCollection
Response returns the raw server response from the last page request.
func (page CsmUsageQuotaCollectionPage) Values() []CsmUsageQuota
Values returns the slice of values for the current page or nil if there are no values.
CustomHostNameDNSRecordType enumerates the values for custom host name dns record type.
type CustomHostNameDNSRecordType string
const ( // A ... A CustomHostNameDNSRecordType = "A" // CName ... CName CustomHostNameDNSRecordType = "CName" )
func PossibleCustomHostNameDNSRecordTypeValues() []CustomHostNameDNSRecordType
PossibleCustomHostNameDNSRecordTypeValues returns an array of possible values for the CustomHostNameDNSRecordType const type.
CustomHostnameAnalysisResult custom domain analysis.
type CustomHostnameAnalysisResult struct { autorest.Response `json:"-"` // CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties *CustomHostnameAnalysisResultProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (char CustomHostnameAnalysisResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CustomHostnameAnalysisResult.
func (char *CustomHostnameAnalysisResult) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CustomHostnameAnalysisResult struct.
CustomHostnameAnalysisResultProperties customHostnameAnalysisResult resource specific properties
type CustomHostnameAnalysisResultProperties struct { // IsHostnameAlreadyVerified - READ-ONLY; <code>true</code> if hostname is already verified; otherwise, <code>false</code>. IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty"` // CustomDomainVerificationTest - READ-ONLY; DNS verification test result. Possible values include: 'DNSVerificationTestResultPassed', 'DNSVerificationTestResultFailed', 'DNSVerificationTestResultSkipped' CustomDomainVerificationTest DNSVerificationTestResult `json:"customDomainVerificationTest,omitempty"` // CustomDomainVerificationFailureInfo - READ-ONLY; Raw failure information if DNS verification fails. CustomDomainVerificationFailureInfo *ErrorEntity `json:"customDomainVerificationFailureInfo,omitempty"` // HasConflictOnScaleUnit - READ-ONLY; <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>. HasConflictOnScaleUnit *bool `json:"hasConflictOnScaleUnit,omitempty"` // HasConflictAcrossSubscription - READ-ONLY; <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>. HasConflictAcrossSubscription *bool `json:"hasConflictAcrossSubscription,omitempty"` // ConflictingAppResourceID - READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription. ConflictingAppResourceID *string `json:"conflictingAppResourceId,omitempty"` // CNameRecords - CName records controller can see for this hostname. CNameRecords *[]string `json:"cNameRecords,omitempty"` // TxtRecords - TXT records controller can see for this hostname. TxtRecords *[]string `json:"txtRecords,omitempty"` // ARecords - A records controller can see for this hostname. ARecords *[]string `json:"aRecords,omitempty"` // AlternateCNameRecords - Alternate CName records controller can see for this hostname. AlternateCNameRecords *[]string `json:"alternateCNameRecords,omitempty"` // AlternateTxtRecords - Alternate TXT records controller can see for this hostname. AlternateTxtRecords *[]string `json:"alternateTxtRecords,omitempty"` }
func (char CustomHostnameAnalysisResultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CustomHostnameAnalysisResultProperties.
DNSType enumerates the values for dns type.
type DNSType string
const ( // AzureDNS ... AzureDNS DNSType = "AzureDns" // DefaultDomainRegistrarDNS ... DefaultDomainRegistrarDNS DNSType = "DefaultDomainRegistrarDns" )
func PossibleDNSTypeValues() []DNSType
PossibleDNSTypeValues returns an array of possible values for the DNSType const type.
DNSVerificationTestResult enumerates the values for dns verification test result.
type DNSVerificationTestResult string
const ( // DNSVerificationTestResultFailed ... DNSVerificationTestResultFailed DNSVerificationTestResult = "Failed" // DNSVerificationTestResultPassed ... DNSVerificationTestResultPassed DNSVerificationTestResult = "Passed" // DNSVerificationTestResultSkipped ... DNSVerificationTestResultSkipped DNSVerificationTestResult = "Skipped" )
func PossibleDNSVerificationTestResultValues() []DNSVerificationTestResult
PossibleDNSVerificationTestResultValues returns an array of possible values for the DNSVerificationTestResult const type.
DataSource class representing data source used by the detectors
type DataSource struct { // Instructions - Instructions if any for the data source Instructions *[]string `json:"instructions,omitempty"` // DataSourceURI - Datasource Uri Links DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` }
DataTableResponseColumn column definition
type DataTableResponseColumn struct { // ColumnName - Name of the column ColumnName *string `json:"columnName,omitempty"` // DataType - Data type which looks like 'String' or 'Int32'. DataType *string `json:"dataType,omitempty"` // ColumnType - Column Type ColumnType *string `json:"columnType,omitempty"` }
DataTableResponseObject data Table which defines columns and raw row values
type DataTableResponseObject struct { // TableName - Name of the table TableName *string `json:"tableName,omitempty"` // Columns - List of columns with data types Columns *[]DataTableResponseColumn `json:"columns,omitempty"` // Rows - Raw row values Rows *[][]string `json:"rows,omitempty"` }
DatabaseBackupSetting database backup settings.
type DatabaseBackupSetting struct { // DatabaseType - Database type (e.g. SqlAzure / MySql). Possible values include: 'DatabaseTypeSQLAzure', 'DatabaseTypeMySQL', 'DatabaseTypeLocalMySQL', 'DatabaseTypePostgreSQL' DatabaseType DatabaseType `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 or restored. If the restore should happen to a new database, the database name inside is the new one. ConnectionString *string `json:"connectionString,omitempty"` }
DatabaseType enumerates the values for database type.
type DatabaseType string
const ( // DatabaseTypeLocalMySQL ... DatabaseTypeLocalMySQL DatabaseType = "LocalMySql" // DatabaseTypeMySQL ... DatabaseTypeMySQL DatabaseType = "MySql" // DatabaseTypePostgreSQL ... DatabaseTypePostgreSQL DatabaseType = "PostgreSql" // DatabaseTypeSQLAzure ... DatabaseTypeSQLAzure DatabaseType = "SqlAzure" )
func PossibleDatabaseTypeValues() []DatabaseType
PossibleDatabaseTypeValues returns an array of possible values for the DatabaseType const type.
DefaultErrorResponse app Service error response.
type DefaultErrorResponse struct { // Error - READ-ONLY; Error model. Error *DefaultErrorResponseError `json:"error,omitempty"` }
func (der DefaultErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DefaultErrorResponse.
DefaultErrorResponseError error model.
type DefaultErrorResponseError struct { // Code - READ-ONLY; Standardized string to programmatically identify the error. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Detailed error description and debugging information. Message *string `json:"message,omitempty"` // Target - READ-ONLY; Detailed error description and debugging information. Target *string `json:"target,omitempty"` Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"` // Innererror - READ-ONLY; More information to debug error. Innererror *string `json:"innererror,omitempty"` }
func (der DefaultErrorResponseError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DefaultErrorResponseError.
DefaultErrorResponseErrorDetailsItem detailed errors.
type DefaultErrorResponseErrorDetailsItem struct { // Code - READ-ONLY; Standardized string to programmatically identify the error. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Detailed error description and debugging information. Message *string `json:"message,omitempty"` // Target - READ-ONLY; Detailed error description and debugging information. Target *string `json:"target,omitempty"` }
func (derI DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DefaultErrorResponseErrorDetailsItem.
DeletedSite a deleted app.
type DeletedSite struct { // ID - Numeric id for the deleted site ID *int32 `json:"id,omitempty"` // DeletedTimestamp - READ-ONLY; Time in UTC when the app was deleted. DeletedTimestamp *string `json:"deletedTimestamp,omitempty"` // Subscription - READ-ONLY; Subscription containing the deleted site Subscription *string `json:"subscription,omitempty"` // ResourceGroup - READ-ONLY; ResourceGroup that contained the deleted site ResourceGroup *string `json:"resourceGroup,omitempty"` // Name - READ-ONLY; Name of the deleted site Name *string `json:"name,omitempty"` // Slot - READ-ONLY; Slot of the deleted site Slot *string `json:"slot,omitempty"` }
func (ds DeletedSite) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedSite.
DeletedWebAppCollection collection of deleted apps.
type DeletedWebAppCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]DeletedSite `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (dwac DeletedWebAppCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dwac DeletedWebAppCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedWebAppCollection.
DeletedWebAppCollectionIterator provides access to a complete listing of DeletedSite values.
type DeletedWebAppCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDeletedWebAppCollectionIterator(page DeletedWebAppCollectionPage) DeletedWebAppCollectionIterator
Creates a new instance of the DeletedWebAppCollectionIterator type.
func (iter *DeletedWebAppCollectionIterator) 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 (iter *DeletedWebAppCollectionIterator) 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 (iter DeletedWebAppCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DeletedWebAppCollectionIterator) Response() DeletedWebAppCollection
Response returns the raw server response from the last page request.
func (iter DeletedWebAppCollectionIterator) Value() DeletedSite
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DeletedWebAppCollectionPage contains a page of DeletedSite values.
type DeletedWebAppCollectionPage struct {
// contains filtered or unexported fields
}
func NewDeletedWebAppCollectionPage(cur DeletedWebAppCollection, getNextPage func(context.Context, DeletedWebAppCollection) (DeletedWebAppCollection, error)) DeletedWebAppCollectionPage
Creates a new instance of the DeletedWebAppCollectionPage type.
func (page *DeletedWebAppCollectionPage) 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 (page *DeletedWebAppCollectionPage) 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 (page DeletedWebAppCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DeletedWebAppCollectionPage) Response() DeletedWebAppCollection
Response returns the raw server response from the last page request.
func (page DeletedWebAppCollectionPage) Values() []DeletedSite
Values returns the slice of values for the current page or nil if there are no values.
DeletedWebAppsClient is the webSite Management Client
type DeletedWebAppsClient struct { BaseClient }
func NewDeletedWebAppsClient(subscriptionID string) DeletedWebAppsClient
NewDeletedWebAppsClient creates an instance of the DeletedWebAppsClient client.
func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) DeletedWebAppsClient
NewDeletedWebAppsClientWithBaseURI creates an instance of the DeletedWebAppsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DeletedWebAppsClient) List(ctx context.Context) (result DeletedWebAppCollectionPage, err error)
List get all deleted apps for a subscription.
func (client DeletedWebAppsClient) ListComplete(ctx context.Context) (result DeletedWebAppCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client DeletedWebAppsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client DeletedWebAppsClient) ListResponder(resp *http.Response) (result DeletedWebAppCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client DeletedWebAppsClient) 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.
Deployment user credentials used for publishing activity.
type Deployment struct { autorest.Response `json:"-"` // DeploymentProperties - Deployment resource specific properties *DeploymentProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (d Deployment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Deployment.
func (d *Deployment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Deployment struct.
DeploymentCollection collection of app deployments.
type DeploymentCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Deployment `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (dc DeploymentCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dc DeploymentCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeploymentCollection.
DeploymentCollectionIterator provides access to a complete listing of Deployment values.
type DeploymentCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDeploymentCollectionIterator(page DeploymentCollectionPage) DeploymentCollectionIterator
Creates a new instance of the DeploymentCollectionIterator type.
func (iter *DeploymentCollectionIterator) 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 (iter *DeploymentCollectionIterator) 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 (iter DeploymentCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DeploymentCollectionIterator) Response() DeploymentCollection
Response returns the raw server response from the last page request.
func (iter DeploymentCollectionIterator) Value() Deployment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DeploymentCollectionPage contains a page of Deployment values.
type DeploymentCollectionPage struct {
// contains filtered or unexported fields
}
func NewDeploymentCollectionPage(cur DeploymentCollection, getNextPage func(context.Context, DeploymentCollection) (DeploymentCollection, error)) DeploymentCollectionPage
Creates a new instance of the DeploymentCollectionPage type.
func (page *DeploymentCollectionPage) 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 (page *DeploymentCollectionPage) 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 (page DeploymentCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DeploymentCollectionPage) Response() DeploymentCollection
Response returns the raw server response from the last page request.
func (page DeploymentCollectionPage) Values() []Deployment
Values returns the slice of values for the current page or nil if there are no values.
DeploymentLocations list of available locations (regions or App Service Environments) for deployment of App Service resources.
type DeploymentLocations struct { autorest.Response `json:"-"` // Locations - Available regions. Locations *[]GeoRegion `json:"locations,omitempty"` // HostingEnvironments - Available App Service Environments with full descriptions of the environments. HostingEnvironments *[]AppServiceEnvironment `json:"hostingEnvironments,omitempty"` // HostingEnvironmentDeploymentInfos - Available App Service Environments with basic information. HostingEnvironmentDeploymentInfos *[]HostingEnvironmentDeploymentInfo `json:"hostingEnvironmentDeploymentInfos,omitempty"` }
DeploymentProperties deployment resource specific properties
type DeploymentProperties struct { // ID - Identifier for deployment. ID *string `json:"id,omitempty"` // Status - Deployment status. Status *int32 `json:"status,omitempty"` // Message - Details about deployment status. Message *string `json:"message,omitempty"` // Author - Who authored the deployment. Author *string `json:"author,omitempty"` // Deployer - Who performed the deployment. Deployer *string `json:"deployer,omitempty"` // AuthorEmail - Author email. AuthorEmail *string `json:"authorEmail,omitempty"` // StartTime - Start time. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time. EndTime *date.Time `json:"endTime,omitempty"` // Active - True if deployment is currently active, false if completed and null if not started. Active *bool `json:"active,omitempty"` // Details - Details on deployment. Details *string `json:"details,omitempty"` }
DetectorAbnormalTimePeriod class representing Abnormal Time Period detected.
type DetectorAbnormalTimePeriod struct { // StartTime - Start time of the correlated event StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the correlated event EndTime *date.Time `json:"endTime,omitempty"` // Message - Message describing the event Message *string `json:"message,omitempty"` // Source - Represents the name of the Detector Source *string `json:"source,omitempty"` // Priority - Represents the rank of the Detector Priority *float64 `json:"priority,omitempty"` // MetaData - Downtime metadata MetaData *[][]NameValuePair `json:"metaData,omitempty"` // Type - Represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other' Type IssueType `json:"type,omitempty"` // Solutions - List of proposed solutions Solutions *[]Solution `json:"solutions,omitempty"` }
DetectorDefinition class representing detector definition
type DetectorDefinition struct { // DetectorDefinitionProperties - DetectorDefinition resource specific properties *DetectorDefinitionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (dd DetectorDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DetectorDefinition.
func (dd *DetectorDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DetectorDefinition struct.
DetectorDefinitionProperties detectorDefinition resource specific properties
type DetectorDefinitionProperties struct { // DisplayName - READ-ONLY; Display name of the detector DisplayName *string `json:"displayName,omitempty"` // Description - READ-ONLY; Description of the detector Description *string `json:"description,omitempty"` // Rank - READ-ONLY; Detector Rank Rank *float64 `json:"rank,omitempty"` // IsEnabled - READ-ONLY; Flag representing whether detector is enabled or not. IsEnabled *bool `json:"isEnabled,omitempty"` }
func (dd DetectorDefinitionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DetectorDefinitionProperties.
DetectorInfo definition of Detector
type DetectorInfo struct { // Description - READ-ONLY; Short description of the detector and its purpose Description *string `json:"description,omitempty"` // Category - READ-ONLY; Support Category Category *string `json:"category,omitempty"` // SubCategory - READ-ONLY; Support Sub Category SubCategory *string `json:"subCategory,omitempty"` // SupportTopicID - READ-ONLY; Support Topic Id SupportTopicID *string `json:"supportTopicId,omitempty"` }
func (di DetectorInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DetectorInfo.
DetectorResponse class representing Response from Detector
type DetectorResponse struct { autorest.Response `json:"-"` // DetectorResponseProperties - DetectorResponse resource specific properties *DetectorResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (dr DetectorResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DetectorResponse.
func (dr *DetectorResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DetectorResponse struct.
DetectorResponseCollection collection of detector responses
type DetectorResponseCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]DetectorResponse `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (drc DetectorResponseCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (drc DetectorResponseCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DetectorResponseCollection.
DetectorResponseCollectionIterator provides access to a complete listing of DetectorResponse values.
type DetectorResponseCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDetectorResponseCollectionIterator(page DetectorResponseCollectionPage) DetectorResponseCollectionIterator
Creates a new instance of the DetectorResponseCollectionIterator type.
func (iter *DetectorResponseCollectionIterator) 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 (iter *DetectorResponseCollectionIterator) 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 (iter DetectorResponseCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DetectorResponseCollectionIterator) Response() DetectorResponseCollection
Response returns the raw server response from the last page request.
func (iter DetectorResponseCollectionIterator) Value() DetectorResponse
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DetectorResponseCollectionPage contains a page of DetectorResponse values.
type DetectorResponseCollectionPage struct {
// contains filtered or unexported fields
}
func NewDetectorResponseCollectionPage(cur DetectorResponseCollection, getNextPage func(context.Context, DetectorResponseCollection) (DetectorResponseCollection, error)) DetectorResponseCollectionPage
Creates a new instance of the DetectorResponseCollectionPage type.
func (page *DetectorResponseCollectionPage) 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 (page *DetectorResponseCollectionPage) 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 (page DetectorResponseCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DetectorResponseCollectionPage) Response() DetectorResponseCollection
Response returns the raw server response from the last page request.
func (page DetectorResponseCollectionPage) Values() []DetectorResponse
Values returns the slice of values for the current page or nil if there are no values.
DetectorResponseProperties detectorResponse resource specific properties
type DetectorResponseProperties struct { // Metadata - metadata for the detector Metadata *DetectorInfo `json:"metadata,omitempty"` // Dataset - Data Set Dataset *[]DiagnosticData `json:"dataset,omitempty"` }
DiagnosticAnalysis class representing a diagnostic analysis done on an application
type DiagnosticAnalysis struct { autorest.Response `json:"-"` // DiagnosticAnalysisProperties - DiagnosticAnalysis resource specific properties *DiagnosticAnalysisProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (da DiagnosticAnalysis) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticAnalysis.
func (da *DiagnosticAnalysis) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiagnosticAnalysis struct.
DiagnosticAnalysisCollection collection of Diagnostic Analyses
type DiagnosticAnalysisCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]AnalysisDefinition `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (dac DiagnosticAnalysisCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dac DiagnosticAnalysisCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticAnalysisCollection.
DiagnosticAnalysisCollectionIterator provides access to a complete listing of AnalysisDefinition values.
type DiagnosticAnalysisCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDiagnosticAnalysisCollectionIterator(page DiagnosticAnalysisCollectionPage) DiagnosticAnalysisCollectionIterator
Creates a new instance of the DiagnosticAnalysisCollectionIterator type.
func (iter *DiagnosticAnalysisCollectionIterator) 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 (iter *DiagnosticAnalysisCollectionIterator) 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 (iter DiagnosticAnalysisCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DiagnosticAnalysisCollectionIterator) Response() DiagnosticAnalysisCollection
Response returns the raw server response from the last page request.
func (iter DiagnosticAnalysisCollectionIterator) Value() AnalysisDefinition
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DiagnosticAnalysisCollectionPage contains a page of AnalysisDefinition values.
type DiagnosticAnalysisCollectionPage struct {
// contains filtered or unexported fields
}
func NewDiagnosticAnalysisCollectionPage(cur DiagnosticAnalysisCollection, getNextPage func(context.Context, DiagnosticAnalysisCollection) (DiagnosticAnalysisCollection, error)) DiagnosticAnalysisCollectionPage
Creates a new instance of the DiagnosticAnalysisCollectionPage type.
func (page *DiagnosticAnalysisCollectionPage) 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 (page *DiagnosticAnalysisCollectionPage) 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 (page DiagnosticAnalysisCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DiagnosticAnalysisCollectionPage) Response() DiagnosticAnalysisCollection
Response returns the raw server response from the last page request.
func (page DiagnosticAnalysisCollectionPage) Values() []AnalysisDefinition
Values returns the slice of values for the current page or nil if there are no values.
DiagnosticAnalysisProperties diagnosticAnalysis resource specific properties
type DiagnosticAnalysisProperties struct { // StartTime - Start time of the period StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the period EndTime *date.Time `json:"endTime,omitempty"` // AbnormalTimePeriods - List of time periods. AbnormalTimePeriods *[]AbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` // Payload - Data by each detector Payload *[]AnalysisData `json:"payload,omitempty"` // NonCorrelatedDetectors - Data by each detector for detectors that did not corelate NonCorrelatedDetectors *[]DetectorDefinition `json:"nonCorrelatedDetectors,omitempty"` }
DiagnosticCategory class representing detector definition
type DiagnosticCategory struct { autorest.Response `json:"-"` // DiagnosticCategoryProperties - DiagnosticCategory resource specific properties *DiagnosticCategoryProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (dc DiagnosticCategory) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticCategory.
func (dc *DiagnosticCategory) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiagnosticCategory struct.
DiagnosticCategoryCollection collection of Diagnostic Categories
type DiagnosticCategoryCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]DiagnosticCategory `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (dcc DiagnosticCategoryCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dcc DiagnosticCategoryCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticCategoryCollection.
DiagnosticCategoryCollectionIterator provides access to a complete listing of DiagnosticCategory values.
type DiagnosticCategoryCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDiagnosticCategoryCollectionIterator(page DiagnosticCategoryCollectionPage) DiagnosticCategoryCollectionIterator
Creates a new instance of the DiagnosticCategoryCollectionIterator type.
func (iter *DiagnosticCategoryCollectionIterator) 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 (iter *DiagnosticCategoryCollectionIterator) 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 (iter DiagnosticCategoryCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DiagnosticCategoryCollectionIterator) Response() DiagnosticCategoryCollection
Response returns the raw server response from the last page request.
func (iter DiagnosticCategoryCollectionIterator) Value() DiagnosticCategory
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DiagnosticCategoryCollectionPage contains a page of DiagnosticCategory values.
type DiagnosticCategoryCollectionPage struct {
// contains filtered or unexported fields
}
func NewDiagnosticCategoryCollectionPage(cur DiagnosticCategoryCollection, getNextPage func(context.Context, DiagnosticCategoryCollection) (DiagnosticCategoryCollection, error)) DiagnosticCategoryCollectionPage
Creates a new instance of the DiagnosticCategoryCollectionPage type.
func (page *DiagnosticCategoryCollectionPage) 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 (page *DiagnosticCategoryCollectionPage) 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 (page DiagnosticCategoryCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DiagnosticCategoryCollectionPage) Response() DiagnosticCategoryCollection
Response returns the raw server response from the last page request.
func (page DiagnosticCategoryCollectionPage) Values() []DiagnosticCategory
Values returns the slice of values for the current page or nil if there are no values.
DiagnosticCategoryProperties diagnosticCategory resource specific properties
type DiagnosticCategoryProperties struct { // Description - READ-ONLY; Description of the diagnostic category Description *string `json:"description,omitempty"` }
func (dc DiagnosticCategoryProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticCategoryProperties.
DiagnosticData set of data with rendering instructions
type DiagnosticData struct { // Table - Data in table form Table *DataTableResponseObject `json:"table,omitempty"` // RenderingProperties - Properties that describe how the table should be rendered RenderingProperties *Rendering `json:"renderingProperties,omitempty"` }
DiagnosticDetectorCollection collection of Diagnostic Detectors
type DiagnosticDetectorCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]DetectorDefinition `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (ddc DiagnosticDetectorCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ddc DiagnosticDetectorCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticDetectorCollection.
DiagnosticDetectorCollectionIterator provides access to a complete listing of DetectorDefinition values.
type DiagnosticDetectorCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDiagnosticDetectorCollectionIterator(page DiagnosticDetectorCollectionPage) DiagnosticDetectorCollectionIterator
Creates a new instance of the DiagnosticDetectorCollectionIterator type.
func (iter *DiagnosticDetectorCollectionIterator) 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 (iter *DiagnosticDetectorCollectionIterator) 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 (iter DiagnosticDetectorCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DiagnosticDetectorCollectionIterator) Response() DiagnosticDetectorCollection
Response returns the raw server response from the last page request.
func (iter DiagnosticDetectorCollectionIterator) Value() DetectorDefinition
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DiagnosticDetectorCollectionPage contains a page of DetectorDefinition values.
type DiagnosticDetectorCollectionPage struct {
// contains filtered or unexported fields
}
func NewDiagnosticDetectorCollectionPage(cur DiagnosticDetectorCollection, getNextPage func(context.Context, DiagnosticDetectorCollection) (DiagnosticDetectorCollection, error)) DiagnosticDetectorCollectionPage
Creates a new instance of the DiagnosticDetectorCollectionPage type.
func (page *DiagnosticDetectorCollectionPage) 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 (page *DiagnosticDetectorCollectionPage) 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 (page DiagnosticDetectorCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DiagnosticDetectorCollectionPage) Response() DiagnosticDetectorCollection
Response returns the raw server response from the last page request.
func (page DiagnosticDetectorCollectionPage) Values() []DetectorDefinition
Values returns the slice of values for the current page or nil if there are no values.
DiagnosticDetectorResponse class representing Response from Diagnostic Detectors
type DiagnosticDetectorResponse struct { autorest.Response `json:"-"` // DiagnosticDetectorResponseProperties - DiagnosticDetectorResponse resource specific properties *DiagnosticDetectorResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ddr DiagnosticDetectorResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticDetectorResponse.
func (ddr *DiagnosticDetectorResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiagnosticDetectorResponse struct.
DiagnosticDetectorResponseProperties diagnosticDetectorResponse resource specific properties
type DiagnosticDetectorResponseProperties struct { // StartTime - Start time of the period StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the period EndTime *date.Time `json:"endTime,omitempty"` // IssueDetected - Flag representing Issue was detected. IssueDetected *bool `json:"issueDetected,omitempty"` // DetectorDefinition - Detector's definition DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"` // Metrics - Metrics provided by the detector Metrics *[]DiagnosticMetricSet `json:"metrics,omitempty"` // AbnormalTimePeriods - List of Correlated events found by the detector AbnormalTimePeriods *[]DetectorAbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"` // Data - Additional Data that detector wants to send. Data *[][]NameValuePair `json:"data,omitempty"` // ResponseMetaData - Meta Data ResponseMetaData *ResponseMetaData `json:"responseMetaData,omitempty"` }
DiagnosticMetricSample class representing Diagnostic Metric
type DiagnosticMetricSample struct { // Timestamp - Time at which metric is measured Timestamp *date.Time `json:"timestamp,omitempty"` // RoleInstance - Role Instance. Null if this counter is not per instance // This is returned and should be whichever instance name we desire to be returned // i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) // where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis RoleInstance *string `json:"roleInstance,omitempty"` // Total - Total value of the metric. If multiple measurements are made this will have sum of all. Total *float64 `json:"total,omitempty"` // Maximum - Maximum of the metric sampled during the time period Maximum *float64 `json:"maximum,omitempty"` // Minimum - Minimum of the metric sampled during the time period Minimum *float64 `json:"minimum,omitempty"` // IsAggregated - Whether the values are aggregates across all workers or not IsAggregated *bool `json:"isAggregated,omitempty"` }
DiagnosticMetricSet class representing Diagnostic Metric information
type DiagnosticMetricSet struct { // Name - Name of the metric Name *string `json:"name,omitempty"` // Unit - Metric's unit Unit *string `json:"unit,omitempty"` // StartTime - Start time of the period StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the period EndTime *date.Time `json:"endTime,omitempty"` // TimeGrain - Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D TimeGrain *string `json:"timeGrain,omitempty"` // Values - Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} Values *[]DiagnosticMetricSample `json:"values,omitempty"` }
DiagnosticsClient is the webSite Management Client
type DiagnosticsClient struct { BaseClient }
func NewDiagnosticsClient(subscriptionID string) DiagnosticsClient
NewDiagnosticsClient creates an instance of the DiagnosticsClient client.
func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticsClient
NewDiagnosticsClientWithBaseURI creates an instance of the DiagnosticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DiagnosticsClient) ExecuteSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticAnalysis, err error)
ExecuteSiteAnalysis execute Analysis Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - category Name analysisName - analysis Resource Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) ExecuteSiteAnalysisPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
ExecuteSiteAnalysisPreparer prepares the ExecuteSiteAnalysis request.
func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response) (result DiagnosticAnalysis, err error)
ExecuteSiteAnalysisResponder handles the response to the ExecuteSiteAnalysis request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ExecuteSiteAnalysisSender(req *http.Request) (*http.Response, error)
ExecuteSiteAnalysisSender sends the ExecuteSiteAnalysis request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ExecuteSiteAnalysisSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticAnalysis, err error)
ExecuteSiteAnalysisSlot execute Analysis Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - category Name analysisName - analysis Resource Name slot - slot Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) ExecuteSiteAnalysisSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
ExecuteSiteAnalysisSlotPreparer prepares the ExecuteSiteAnalysisSlot request.
func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Response) (result DiagnosticAnalysis, err error)
ExecuteSiteAnalysisSlotResponder handles the response to the ExecuteSiteAnalysisSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ExecuteSiteAnalysisSlotSender(req *http.Request) (*http.Response, error)
ExecuteSiteAnalysisSlotSender sends the ExecuteSiteAnalysisSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ExecuteSiteDetector(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticDetectorResponse, err error)
ExecuteSiteDetector execute Detector Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name detectorName - detector Resource Name diagnosticCategory - category Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) ExecuteSiteDetectorPreparer(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
ExecuteSiteDetectorPreparer prepares the ExecuteSiteDetector request.
func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response) (result DiagnosticDetectorResponse, err error)
ExecuteSiteDetectorResponder handles the response to the ExecuteSiteDetector request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ExecuteSiteDetectorSender(req *http.Request) (*http.Response, error)
ExecuteSiteDetectorSender sends the ExecuteSiteDetector request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ExecuteSiteDetectorSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticDetectorResponse, err error)
ExecuteSiteDetectorSlot execute Detector Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name detectorName - detector Resource Name diagnosticCategory - category Name slot - slot Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) ExecuteSiteDetectorSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
ExecuteSiteDetectorSlotPreparer prepares the ExecuteSiteDetectorSlot request.
func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Response) (result DiagnosticDetectorResponse, err error)
ExecuteSiteDetectorSlotResponder handles the response to the ExecuteSiteDetectorSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ExecuteSiteDetectorSlotSender(req *http.Request) (*http.Response, error)
ExecuteSiteDetectorSlotSender sends the ExecuteSiteDetectorSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponse(ctx context.Context, resourceGroupName string, name string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DetectorResponse, err error)
GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - app Service Environment Name detectorName - detector Resource Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponsePreparer(ctx context.Context, resourceGroupName string, name string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
GetHostingEnvironmentDetectorResponsePreparer prepares the GetHostingEnvironmentDetectorResponse request.
func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(resp *http.Response) (result DetectorResponse, err error)
GetHostingEnvironmentDetectorResponseResponder handles the response to the GetHostingEnvironmentDetectorResponse request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseSender(req *http.Request) (*http.Response, error)
GetHostingEnvironmentDetectorResponseSender sends the GetHostingEnvironmentDetectorResponse request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string) (result DiagnosticAnalysis, err error)
GetSiteAnalysis get Site Analysis Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category analysisName - analysis Name
func (client DiagnosticsClient) GetSiteAnalysisPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string) (*http.Request, error)
GetSiteAnalysisPreparer prepares the GetSiteAnalysis request.
func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (result DiagnosticAnalysis, err error)
GetSiteAnalysisResponder handles the response to the GetSiteAnalysis request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteAnalysisSender(req *http.Request) (*http.Response, error)
GetSiteAnalysisSender sends the GetSiteAnalysis request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteAnalysisSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string) (result DiagnosticAnalysis, err error)
GetSiteAnalysisSlot get Site Analysis Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category analysisName - analysis Name slot - slot - optional
func (client DiagnosticsClient) GetSiteAnalysisSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string) (*http.Request, error)
GetSiteAnalysisSlotPreparer prepares the GetSiteAnalysisSlot request.
func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response) (result DiagnosticAnalysis, err error)
GetSiteAnalysisSlotResponder handles the response to the GetSiteAnalysisSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteAnalysisSlotSender(req *http.Request) (*http.Response, error)
GetSiteAnalysisSlotSender sends the GetSiteAnalysisSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteDetector(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string) (result DiagnosticDetectorCollectionPage, err error)
GetSiteDetector get Detector Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category detectorName - detector Name
func (client DiagnosticsClient) GetSiteDetectorComplete(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string) (result DiagnosticDetectorCollectionIterator, err error)
GetSiteDetectorComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) GetSiteDetectorPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string) (*http.Request, error)
GetSiteDetectorPreparer prepares the GetSiteDetector request.
func (client DiagnosticsClient) GetSiteDetectorResponder(resp *http.Response) (result DiagnosticDetectorCollection, err error)
GetSiteDetectorResponder handles the response to the GetSiteDetector request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteDetectorResponse(ctx context.Context, resourceGroupName string, siteName string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DetectorResponse, err error)
GetSiteDetectorResponse get site detector response Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name detectorName - detector Resource Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) GetSiteDetectorResponsePreparer(ctx context.Context, resourceGroupName string, siteName string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
GetSiteDetectorResponsePreparer prepares the GetSiteDetectorResponse request.
func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Response) (result DetectorResponse, err error)
GetSiteDetectorResponseResponder handles the response to the GetSiteDetectorResponse request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteDetectorResponseSender(req *http.Request) (*http.Response, error)
GetSiteDetectorResponseSender sends the GetSiteDetectorResponse request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteDetectorResponseSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DetectorResponse, err error)
GetSiteDetectorResponseSlot get site detector response Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name detectorName - detector Resource Name slot - slot Name startTime - start Time endTime - end Time timeGrain - time Grain
func (client DiagnosticsClient) GetSiteDetectorResponseSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, detectorName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error)
GetSiteDetectorResponseSlotPreparer prepares the GetSiteDetectorResponseSlot request.
func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http.Response) (result DetectorResponse, err error)
GetSiteDetectorResponseSlotResponder handles the response to the GetSiteDetectorResponseSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteDetectorResponseSlotSender(req *http.Request) (*http.Response, error)
GetSiteDetectorResponseSlotSender sends the GetSiteDetectorResponseSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteDetectorSender(req *http.Request) (*http.Response, error)
GetSiteDetectorSender sends the GetSiteDetector request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteDetectorSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, slot string) (result DiagnosticDetectorCollectionPage, err error)
GetSiteDetectorSlot get Detector Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category detectorName - detector Name slot - slot Name
func (client DiagnosticsClient) GetSiteDetectorSlotComplete(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, slot string) (result DiagnosticDetectorCollectionIterator, err error)
GetSiteDetectorSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) GetSiteDetectorSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, slot string) (*http.Request, error)
GetSiteDetectorSlotPreparer prepares the GetSiteDetectorSlot request.
func (client DiagnosticsClient) GetSiteDetectorSlotResponder(resp *http.Response) (result DiagnosticDetectorCollection, err error)
GetSiteDetectorSlotResponder handles the response to the GetSiteDetectorSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteDetectorSlotSender(req *http.Request) (*http.Response, error)
GetSiteDetectorSlotSender sends the GetSiteDetectorSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteDiagnosticCategory(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticCategory, err error)
GetSiteDiagnosticCategory get Diagnostics Category Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category
func (client DiagnosticsClient) GetSiteDiagnosticCategoryPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (*http.Request, error)
GetSiteDiagnosticCategoryPreparer prepares the GetSiteDiagnosticCategory request.
func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Response) (result DiagnosticCategory, err error)
GetSiteDiagnosticCategoryResponder handles the response to the GetSiteDiagnosticCategory request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteDiagnosticCategorySender(req *http.Request) (*http.Response, error)
GetSiteDiagnosticCategorySender sends the GetSiteDiagnosticCategory request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) GetSiteDiagnosticCategorySlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticCategory, err error)
GetSiteDiagnosticCategorySlot get Diagnostics Category Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category slot - slot Name
func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (*http.Request, error)
GetSiteDiagnosticCategorySlotPreparer prepares the GetSiteDiagnosticCategorySlot request.
func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *http.Response) (result DiagnosticCategory, err error)
GetSiteDiagnosticCategorySlotResponder handles the response to the GetSiteDiagnosticCategorySlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotSender(req *http.Request) (*http.Response, error)
GetSiteDiagnosticCategorySlotSender sends the GetSiteDiagnosticCategorySlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponses(ctx context.Context, resourceGroupName string, name string) (result DetectorResponseCollectionPage, err error)
ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - site Name
func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete(ctx context.Context, resourceGroupName string, name string) (result DetectorResponseCollectionIterator, err error)
ListHostingEnvironmentDetectorResponsesComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListHostingEnvironmentDetectorResponsesPreparer prepares the ListHostingEnvironmentDetectorResponses request.
func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesResponder(resp *http.Response) (result DetectorResponseCollection, err error)
ListHostingEnvironmentDetectorResponsesResponder handles the response to the ListHostingEnvironmentDetectorResponses request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesSender(req *http.Request) (*http.Response, error)
ListHostingEnvironmentDetectorResponsesSender sends the ListHostingEnvironmentDetectorResponses request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteAnalyses(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticAnalysisCollectionPage, err error)
ListSiteAnalyses get Site Analyses Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category
func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticAnalysisCollectionIterator, err error)
ListSiteAnalysesComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteAnalysesPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (*http.Request, error)
ListSiteAnalysesPreparer prepares the ListSiteAnalyses request.
func (client DiagnosticsClient) ListSiteAnalysesResponder(resp *http.Response) (result DiagnosticAnalysisCollection, err error)
ListSiteAnalysesResponder handles the response to the ListSiteAnalyses request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteAnalysesSender(req *http.Request) (*http.Response, error)
ListSiteAnalysesSender sends the ListSiteAnalyses request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteAnalysesSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticAnalysisCollectionPage, err error)
ListSiteAnalysesSlot get Site Analyses Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category slot - slot Name
func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticAnalysisCollectionIterator, err error)
ListSiteAnalysesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteAnalysesSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (*http.Request, error)
ListSiteAnalysesSlotPreparer prepares the ListSiteAnalysesSlot request.
func (client DiagnosticsClient) ListSiteAnalysesSlotResponder(resp *http.Response) (result DiagnosticAnalysisCollection, err error)
ListSiteAnalysesSlotResponder handles the response to the ListSiteAnalysesSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteAnalysesSlotSender(req *http.Request) (*http.Response, error)
ListSiteAnalysesSlotSender sends the ListSiteAnalysesSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteDetectorResponses(ctx context.Context, resourceGroupName string, siteName string) (result DetectorResponseCollectionPage, err error)
ListSiteDetectorResponses list Site Detector Responses Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name
func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Context, resourceGroupName string, siteName string) (result DetectorResponseCollectionIterator, err error)
ListSiteDetectorResponsesComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteDetectorResponsesPreparer(ctx context.Context, resourceGroupName string, siteName string) (*http.Request, error)
ListSiteDetectorResponsesPreparer prepares the ListSiteDetectorResponses request.
func (client DiagnosticsClient) ListSiteDetectorResponsesResponder(resp *http.Response) (result DetectorResponseCollection, err error)
ListSiteDetectorResponsesResponder handles the response to the ListSiteDetectorResponses request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteDetectorResponsesSender(req *http.Request) (*http.Response, error)
ListSiteDetectorResponsesSender sends the ListSiteDetectorResponses request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteDetectorResponsesSlot(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DetectorResponseCollectionPage, err error)
ListSiteDetectorResponsesSlot list Site Detector Responses Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name slot - slot Name
func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DetectorResponseCollectionIterator, err error)
ListSiteDetectorResponsesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteDetectorResponsesSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, slot string) (*http.Request, error)
ListSiteDetectorResponsesSlotPreparer prepares the ListSiteDetectorResponsesSlot request.
func (client DiagnosticsClient) ListSiteDetectorResponsesSlotResponder(resp *http.Response) (result DetectorResponseCollection, err error)
ListSiteDetectorResponsesSlotResponder handles the response to the ListSiteDetectorResponsesSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteDetectorResponsesSlotSender(req *http.Request) (*http.Response, error)
ListSiteDetectorResponsesSlotSender sends the ListSiteDetectorResponsesSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteDetectors(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticDetectorCollectionPage, err error)
ListSiteDetectors get Detectors Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category
func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticDetectorCollectionIterator, err error)
ListSiteDetectorsComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteDetectorsPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (*http.Request, error)
ListSiteDetectorsPreparer prepares the ListSiteDetectors request.
func (client DiagnosticsClient) ListSiteDetectorsResponder(resp *http.Response) (result DiagnosticDetectorCollection, err error)
ListSiteDetectorsResponder handles the response to the ListSiteDetectors request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteDetectorsSender(req *http.Request) (*http.Response, error)
ListSiteDetectorsSender sends the ListSiteDetectors request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteDetectorsSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticDetectorCollectionPage, err error)
ListSiteDetectorsSlot get Detectors Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name diagnosticCategory - diagnostic Category slot - slot Name
func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticDetectorCollectionIterator, err error)
ListSiteDetectorsSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteDetectorsSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (*http.Request, error)
ListSiteDetectorsSlotPreparer prepares the ListSiteDetectorsSlot request.
func (client DiagnosticsClient) ListSiteDetectorsSlotResponder(resp *http.Response) (result DiagnosticDetectorCollection, err error)
ListSiteDetectorsSlotResponder handles the response to the ListSiteDetectorsSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteDetectorsSlotSender(req *http.Request) (*http.Response, error)
ListSiteDetectorsSlotSender sends the ListSiteDetectorsSlot request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteDiagnosticCategories(ctx context.Context, resourceGroupName string, siteName string) (result DiagnosticCategoryCollectionPage, err error)
ListSiteDiagnosticCategories get Diagnostics Categories Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context.Context, resourceGroupName string, siteName string) (result DiagnosticCategoryCollectionIterator, err error)
ListSiteDiagnosticCategoriesComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesPreparer(ctx context.Context, resourceGroupName string, siteName string) (*http.Request, error)
ListSiteDiagnosticCategoriesPreparer prepares the ListSiteDiagnosticCategories request.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesResponder(resp *http.Response) (result DiagnosticCategoryCollection, err error)
ListSiteDiagnosticCategoriesResponder handles the response to the ListSiteDiagnosticCategories request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSender(req *http.Request) (*http.Response, error)
ListSiteDiagnosticCategoriesSender sends the ListSiteDiagnosticCategories request. The method will close the http.Response Body if it receives an error.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSlot(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DiagnosticCategoryCollectionPage, err error)
ListSiteDiagnosticCategoriesSlot get Diagnostics Categories Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site Name slot - slot Name
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSlotComplete(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DiagnosticCategoryCollectionIterator, err error)
ListSiteDiagnosticCategoriesSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, slot string) (*http.Request, error)
ListSiteDiagnosticCategoriesSlotPreparer prepares the ListSiteDiagnosticCategoriesSlot request.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSlotResponder(resp *http.Response) (result DiagnosticCategoryCollection, err error)
ListSiteDiagnosticCategoriesSlotResponder handles the response to the ListSiteDiagnosticCategoriesSlot request. The method always closes the http.Response Body.
func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSlotSender(req *http.Request) (*http.Response, error)
ListSiteDiagnosticCategoriesSlotSender sends the ListSiteDiagnosticCategoriesSlot request. The method will close the http.Response Body if it receives an error.
Dimension dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, where instance name is dimension of the metric HTTP request
type Dimension struct { Name *string `json:"name,omitempty"` DisplayName *string `json:"displayName,omitempty"` InternalName *string `json:"internalName,omitempty"` ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` }
Domain information about a domain.
type Domain struct { autorest.Response `json:"-"` // DomainProperties - Domain resource specific properties *DomainProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (d Domain) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Domain.
func (d *Domain) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Domain struct.
DomainAvailablilityCheckResult domain availability check result.
type DomainAvailablilityCheckResult struct { autorest.Response `json:"-"` // Name - Name of the domain. Name *string `json:"name,omitempty"` // Available - <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>. Available *bool `json:"available,omitempty"` // DomainType - Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'Regular', 'SoftDeleted' DomainType DomainType `json:"domainType,omitempty"` }
DomainCollection collection of domains.
type DomainCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Domain `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (dc DomainCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dc DomainCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainCollection.
DomainCollectionIterator provides access to a complete listing of Domain values.
type DomainCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDomainCollectionIterator(page DomainCollectionPage) DomainCollectionIterator
Creates a new instance of the DomainCollectionIterator type.
func (iter *DomainCollectionIterator) 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 (iter *DomainCollectionIterator) 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 (iter DomainCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DomainCollectionIterator) Response() DomainCollection
Response returns the raw server response from the last page request.
func (iter DomainCollectionIterator) Value() Domain
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DomainCollectionPage contains a page of Domain values.
type DomainCollectionPage struct {
// contains filtered or unexported fields
}
func NewDomainCollectionPage(cur DomainCollection, getNextPage func(context.Context, DomainCollection) (DomainCollection, error)) DomainCollectionPage
Creates a new instance of the DomainCollectionPage type.
func (page *DomainCollectionPage) 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 (page *DomainCollectionPage) 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 (page DomainCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DomainCollectionPage) Response() DomainCollection
Response returns the raw server response from the last page request.
func (page DomainCollectionPage) Values() []Domain
Values returns the slice of values for the current page or nil if there are no values.
DomainControlCenterSsoRequest single sign-on request information for domain management.
type DomainControlCenterSsoRequest struct { autorest.Response `json:"-"` // URL - READ-ONLY; URL where the single sign-on request is to be made. URL *string `json:"url,omitempty"` // PostParameterKey - READ-ONLY; Post parameter key. PostParameterKey *string `json:"postParameterKey,omitempty"` // PostParameterValue - READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. PostParameterValue *string `json:"postParameterValue,omitempty"` }
func (dccsr DomainControlCenterSsoRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainControlCenterSsoRequest.
DomainOwnershipIdentifier domain ownership Identifier.
type DomainOwnershipIdentifier struct { autorest.Response `json:"-"` // DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties *DomainOwnershipIdentifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (doi DomainOwnershipIdentifier) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainOwnershipIdentifier.
func (doi *DomainOwnershipIdentifier) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DomainOwnershipIdentifier struct.
DomainOwnershipIdentifierCollection collection of domain ownership identifiers.
type DomainOwnershipIdentifierCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]DomainOwnershipIdentifier `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (doic DomainOwnershipIdentifierCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (doic DomainOwnershipIdentifierCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainOwnershipIdentifierCollection.
DomainOwnershipIdentifierCollectionIterator provides access to a complete listing of DomainOwnershipIdentifier values.
type DomainOwnershipIdentifierCollectionIterator struct {
// contains filtered or unexported fields
}
func NewDomainOwnershipIdentifierCollectionIterator(page DomainOwnershipIdentifierCollectionPage) DomainOwnershipIdentifierCollectionIterator
Creates a new instance of the DomainOwnershipIdentifierCollectionIterator type.
func (iter *DomainOwnershipIdentifierCollectionIterator) 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 (iter *DomainOwnershipIdentifierCollectionIterator) 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 (iter DomainOwnershipIdentifierCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DomainOwnershipIdentifierCollectionIterator) Response() DomainOwnershipIdentifierCollection
Response returns the raw server response from the last page request.
func (iter DomainOwnershipIdentifierCollectionIterator) Value() DomainOwnershipIdentifier
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DomainOwnershipIdentifierCollectionPage contains a page of DomainOwnershipIdentifier values.
type DomainOwnershipIdentifierCollectionPage struct {
// contains filtered or unexported fields
}
func NewDomainOwnershipIdentifierCollectionPage(cur DomainOwnershipIdentifierCollection, getNextPage func(context.Context, DomainOwnershipIdentifierCollection) (DomainOwnershipIdentifierCollection, error)) DomainOwnershipIdentifierCollectionPage
Creates a new instance of the DomainOwnershipIdentifierCollectionPage type.
func (page *DomainOwnershipIdentifierCollectionPage) 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 (page *DomainOwnershipIdentifierCollectionPage) 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 (page DomainOwnershipIdentifierCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DomainOwnershipIdentifierCollectionPage) Response() DomainOwnershipIdentifierCollection
Response returns the raw server response from the last page request.
func (page DomainOwnershipIdentifierCollectionPage) Values() []DomainOwnershipIdentifier
Values returns the slice of values for the current page or nil if there are no values.
DomainOwnershipIdentifierProperties domainOwnershipIdentifier resource specific properties
type DomainOwnershipIdentifierProperties struct { // OwnershipID - Ownership Id. OwnershipID *string `json:"ownershipId,omitempty"` }
DomainPatchResource ARM resource for a domain.
type DomainPatchResource struct { // DomainPatchResourceProperties - DomainPatchResource resource specific properties *DomainPatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (dpr DomainPatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainPatchResource.
func (dpr *DomainPatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DomainPatchResource struct.
DomainPatchResourceProperties domainPatchResource resource specific properties
type DomainPatchResourceProperties struct { // ContactAdmin - Administrative contact. ContactAdmin *Contact `json:"contactAdmin,omitempty"` // ContactBilling - Billing contact. ContactBilling *Contact `json:"contactBilling,omitempty"` // ContactRegistrant - Registrant contact. ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` // ContactTech - Technical contact. ContactTech *Contact `json:"contactTech,omitempty"` // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // NameServers - READ-ONLY; Name servers. NameServers *[]string `json:"nameServers,omitempty"` // Privacy - <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>. Privacy *bool `json:"privacy,omitempty"` // CreatedTime - READ-ONLY; Domain creation timestamp. CreatedTime *date.Time `json:"createdTime,omitempty"` // ExpirationTime - READ-ONLY; Domain expiration timestamp. ExpirationTime *date.Time `json:"expirationTime,omitempty"` // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` // AutoRenew - <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. AutoRenew *bool `json:"autoRenew,omitempty"` // ReadyForDNSRecordManagement - READ-ONLY; <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and // it is hosted on name servers Azure has programmatic access to. ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` // Consent - Legal agreement consent. Consent *DomainPurchaseConsent `json:"consent,omitempty"` // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` // DNSType - Current DNS type. Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' DNSType DNSType `json:"dnsType,omitempty"` // DNSZoneID - Azure DNS Zone to use DNSZoneID *string `json:"dnsZoneId,omitempty"` // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' TargetDNSType DNSType `json:"targetDnsType,omitempty"` AuthCode *string `json:"authCode,omitempty"` }
func (dpr DomainPatchResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainPatchResourceProperties.
DomainProperties domain resource specific properties
type DomainProperties struct { // ContactAdmin - Administrative contact. ContactAdmin *Contact `json:"contactAdmin,omitempty"` // ContactBilling - Billing contact. ContactBilling *Contact `json:"contactBilling,omitempty"` // ContactRegistrant - Registrant contact. ContactRegistrant *Contact `json:"contactRegistrant,omitempty"` // ContactTech - Technical contact. ContactTech *Contact `json:"contactTech,omitempty"` // RegistrationStatus - READ-ONLY; Domain registration status. Possible values include: 'DomainStatusActive', 'DomainStatusAwaiting', 'DomainStatusCancelled', 'DomainStatusConfiscated', 'DomainStatusDisabled', 'DomainStatusExcluded', 'DomainStatusExpired', 'DomainStatusFailed', 'DomainStatusHeld', 'DomainStatusLocked', 'DomainStatusParked', 'DomainStatusPending', 'DomainStatusReserved', 'DomainStatusReverted', 'DomainStatusSuspended', 'DomainStatusTransferred', 'DomainStatusUnknown', 'DomainStatusUnlocked', 'DomainStatusUnparked', 'DomainStatusUpdated', 'DomainStatusJSONConverterFailed' RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"` // ProvisioningState - READ-ONLY; Domain provisioning state. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateInProgress', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // NameServers - READ-ONLY; Name servers. NameServers *[]string `json:"nameServers,omitempty"` // Privacy - <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>. Privacy *bool `json:"privacy,omitempty"` // CreatedTime - READ-ONLY; Domain creation timestamp. CreatedTime *date.Time `json:"createdTime,omitempty"` // ExpirationTime - READ-ONLY; Domain expiration timestamp. ExpirationTime *date.Time `json:"expirationTime,omitempty"` // LastRenewedTime - READ-ONLY; Timestamp when the domain was renewed last time. LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"` // AutoRenew - <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. AutoRenew *bool `json:"autoRenew,omitempty"` // ReadyForDNSRecordManagement - READ-ONLY; <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and // it is hosted on name servers Azure has programmatic access to. ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"` // ManagedHostNames - READ-ONLY; All hostnames derived from the domain and assigned to Azure resources. ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"` // Consent - Legal agreement consent. Consent *DomainPurchaseConsent `json:"consent,omitempty"` // DomainNotRenewableReasons - READ-ONLY; Reasons why domain is not renewable. DomainNotRenewableReasons *[]string `json:"domainNotRenewableReasons,omitempty"` // DNSType - Current DNS type. Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' DNSType DNSType `json:"dnsType,omitempty"` // DNSZoneID - Azure DNS Zone to use DNSZoneID *string `json:"dnsZoneId,omitempty"` // TargetDNSType - Target DNS type (would be used for migration). Possible values include: 'AzureDNS', 'DefaultDomainRegistrarDNS' TargetDNSType DNSType `json:"targetDnsType,omitempty"` AuthCode *string `json:"authCode,omitempty"` }
func (d DomainProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DomainProperties.
DomainPurchaseConsent domain purchase consent object, representing acceptance of applicable legal agreements.
type DomainPurchaseConsent struct { // AgreementKeys - List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource. AgreementKeys *[]string `json:"agreementKeys,omitempty"` // AgreedBy - Client IP address. AgreedBy *string `json:"agreedBy,omitempty"` // AgreedAt - Timestamp when the agreements were accepted. AgreedAt *date.Time `json:"agreedAt,omitempty"` }
DomainRecommendationSearchParameters domain recommendation search parameters.
type DomainRecommendationSearchParameters struct { // Keywords - Keywords to be used for generating domain recommendations. Keywords *string `json:"keywords,omitempty"` // MaxDomainRecommendations - Maximum number of recommendations. MaxDomainRecommendations *int32 `json:"maxDomainRecommendations,omitempty"` }
DomainRegistrationProviderClient is the webSite Management Client
type DomainRegistrationProviderClient struct { BaseClient }
func NewDomainRegistrationProviderClient(subscriptionID string) DomainRegistrationProviderClient
NewDomainRegistrationProviderClient creates an instance of the DomainRegistrationProviderClient client.
func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscriptionID string) DomainRegistrationProviderClient
NewDomainRegistrationProviderClientWithBaseURI creates an instance of the DomainRegistrationProviderClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DomainRegistrationProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error)
ListOperations implements Csm operations Api to exposes the list of available Csm Apis under the resource provider
func (client DomainRegistrationProviderClient) ListOperationsComplete(ctx context.Context) (result CsmOperationCollectionIterator, err error)
ListOperationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client DomainRegistrationProviderClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)
ListOperationsPreparer prepares the ListOperations request.
func (client DomainRegistrationProviderClient) ListOperationsResponder(resp *http.Response) (result CsmOperationCollection, err error)
ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.
func (client DomainRegistrationProviderClient) ListOperationsSender(req *http.Request) (*http.Response, error)
ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.
DomainStatus enumerates the values for domain status.
type DomainStatus string
const ( // DomainStatusActive ... DomainStatusActive DomainStatus = "Active" // DomainStatusAwaiting ... DomainStatusAwaiting DomainStatus = "Awaiting" // DomainStatusCancelled ... DomainStatusCancelled DomainStatus = "Cancelled" // DomainStatusConfiscated ... DomainStatusConfiscated DomainStatus = "Confiscated" // DomainStatusDisabled ... DomainStatusDisabled DomainStatus = "Disabled" // DomainStatusExcluded ... DomainStatusExcluded DomainStatus = "Excluded" // DomainStatusExpired ... DomainStatusExpired DomainStatus = "Expired" // DomainStatusFailed ... DomainStatusFailed DomainStatus = "Failed" // DomainStatusHeld ... DomainStatusHeld DomainStatus = "Held" // DomainStatusJSONConverterFailed ... DomainStatusJSONConverterFailed DomainStatus = "JsonConverterFailed" // DomainStatusLocked ... DomainStatusLocked DomainStatus = "Locked" // DomainStatusParked ... DomainStatusParked DomainStatus = "Parked" // DomainStatusPending ... DomainStatusPending DomainStatus = "Pending" // DomainStatusReserved ... DomainStatusReserved DomainStatus = "Reserved" // DomainStatusReverted ... DomainStatusReverted DomainStatus = "Reverted" // DomainStatusSuspended ... DomainStatusSuspended DomainStatus = "Suspended" // DomainStatusTransferred ... DomainStatusTransferred DomainStatus = "Transferred" // DomainStatusUnknown ... DomainStatusUnknown DomainStatus = "Unknown" // DomainStatusUnlocked ... DomainStatusUnlocked DomainStatus = "Unlocked" // DomainStatusUnparked ... DomainStatusUnparked DomainStatus = "Unparked" // DomainStatusUpdated ... DomainStatusUpdated DomainStatus = "Updated" )
func PossibleDomainStatusValues() []DomainStatus
PossibleDomainStatusValues returns an array of possible values for the DomainStatus const type.
DomainType enumerates the values for domain type.
type DomainType string
const ( // Regular ... Regular DomainType = "Regular" // SoftDeleted ... SoftDeleted DomainType = "SoftDeleted" )
func PossibleDomainTypeValues() []DomainType
PossibleDomainTypeValues returns an array of possible values for the DomainType const type.
DomainsClient is the webSite Management Client
type DomainsClient struct { BaseClient }
func NewDomainsClient(subscriptionID string) DomainsClient
NewDomainsClient creates an instance of the DomainsClient client.
func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsClient
NewDomainsClientWithBaseURI creates an instance of the DomainsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailablilityCheckResult, err error)
CheckAvailability check if a domain is available for registration. Parameters: identifier - name of the domain.
func (client DomainsClient) CheckAvailabilityPreparer(ctx context.Context, identifier NameIdentifier) (*http.Request, error)
CheckAvailabilityPreparer prepares the CheckAvailability request.
func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (result DomainAvailablilityCheckResult, err error)
CheckAvailabilityResponder handles the response to the CheckAvailability request. The method always closes the http.Response Body.
func (client DomainsClient) CheckAvailabilitySender(req *http.Request) (*http.Response, error)
CheckAvailabilitySender sends the CheckAvailability request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, domain Domain) (result DomainsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a domain. Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of the domain. domain - domain registration information.
func (client DomainsClient) CreateOrUpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier) (result DomainOwnershipIdentifier, err error)
CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing identifer Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of domain. name - name of identifier. domainOwnershipIdentifier - a JSON representation of the domain ownership properties.
func (client DomainsClient) CreateOrUpdateOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier) (*http.Request, error)
CreateOrUpdateOwnershipIdentifierPreparer prepares the CreateOrUpdateOwnershipIdentifier request.
func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *http.Response) (result DomainOwnershipIdentifier, err error)
CreateOrUpdateOwnershipIdentifierResponder handles the response to the CreateOrUpdateOwnershipIdentifier request. The method always closes the http.Response Body.
func (client DomainsClient) CreateOrUpdateOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
CreateOrUpdateOwnershipIdentifierSender sends the CreateOrUpdateOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, domain Domain) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result Domain, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (client DomainsClient) CreateOrUpdateSender(req *http.Request) (future DomainsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, forceHardDeleteDomain *bool) (result autorest.Response, err error)
Delete delete a domain. Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of the domain. forceHardDeleteDomain - specify <code>true</code> to delete the domain immediately. The default is <code>false</code> which deletes the domain after 24 hours.
func (client DomainsClient) DeleteOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string) (result autorest.Response, err error)
DeleteOwnershipIdentifier delete ownership identifier for domain Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of domain. name - name of identifier.
func (client DomainsClient) DeleteOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, domainName string, name string) (*http.Request, error)
DeleteOwnershipIdentifierPreparer prepares the DeleteOwnershipIdentifier request.
func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Response) (result autorest.Response, err error)
DeleteOwnershipIdentifierResponder handles the response to the DeleteOwnershipIdentifier request. The method always closes the http.Response Body.
func (client DomainsClient) DeleteOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
DeleteOwnershipIdentifierSender sends the DeleteOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainName string, forceHardDeleteDomain *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client DomainsClient) 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 (client DomainsClient) 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 (client DomainsClient) Get(ctx context.Context, resourceGroupName string, domainName string) (result Domain, err error)
Get get a domain. Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of the domain.
func (client DomainsClient) GetControlCenterSsoRequest(ctx context.Context) (result DomainControlCenterSsoRequest, err error)
GetControlCenterSsoRequest generate a single sign-on request for the domain management portal.
func (client DomainsClient) GetControlCenterSsoRequestPreparer(ctx context.Context) (*http.Request, error)
GetControlCenterSsoRequestPreparer prepares the GetControlCenterSsoRequest request.
func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Response) (result DomainControlCenterSsoRequest, err error)
GetControlCenterSsoRequestResponder handles the response to the GetControlCenterSsoRequest request. The method always closes the http.Response Body.
func (client DomainsClient) GetControlCenterSsoRequestSender(req *http.Request) (*http.Response, error)
GetControlCenterSsoRequestSender sends the GetControlCenterSsoRequest request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) GetOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string) (result DomainOwnershipIdentifier, err error)
GetOwnershipIdentifier get ownership identifier for domain Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of domain. name - name of identifier.
func (client DomainsClient) GetOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, domainName string, name string) (*http.Request, error)
GetOwnershipIdentifierPreparer prepares the GetOwnershipIdentifier request.
func (client DomainsClient) GetOwnershipIdentifierResponder(resp *http.Response) (result DomainOwnershipIdentifier, err error)
GetOwnershipIdentifierResponder handles the response to the GetOwnershipIdentifier request. The method always closes the http.Response Body.
func (client DomainsClient) GetOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
GetOwnershipIdentifierSender sends the GetOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) GetPreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client DomainsClient) 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 (client DomainsClient) List(ctx context.Context) (result DomainCollectionPage, err error)
List get all domains in a subscription.
func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error)
ListByResourceGroup get all domains in a resource group. Parameters: resourceGroupName - name of the resource group to which the resource belongs.
func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DomainCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client DomainsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client DomainsClient) ListByResourceGroupResponder(resp *http.Response) (result DomainCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client DomainsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) ListComplete(ctx context.Context) (result DomainCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client DomainsClient) ListOwnershipIdentifiers(ctx context.Context, resourceGroupName string, domainName string) (result DomainOwnershipIdentifierCollectionPage, err error)
ListOwnershipIdentifiers lists domain ownership identifiers. Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of domain.
func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context, resourceGroupName string, domainName string) (result DomainOwnershipIdentifierCollectionIterator, err error)
ListOwnershipIdentifiersComplete enumerates all values, automatically crossing page boundaries as required.
func (client DomainsClient) ListOwnershipIdentifiersPreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)
ListOwnershipIdentifiersPreparer prepares the ListOwnershipIdentifiers request.
func (client DomainsClient) ListOwnershipIdentifiersResponder(resp *http.Response) (result DomainOwnershipIdentifierCollection, err error)
ListOwnershipIdentifiersResponder handles the response to the ListOwnershipIdentifiers request. The method always closes the http.Response Body.
func (client DomainsClient) ListOwnershipIdentifiersSender(req *http.Request) (*http.Response, error)
ListOwnershipIdentifiersSender sends the ListOwnershipIdentifiers request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error)
ListRecommendations get domain name recommendations based on keywords. Parameters: parameters - search parameters for domain name recommendations.
func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionIterator, err error)
ListRecommendationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client DomainsClient) ListRecommendationsPreparer(ctx context.Context, parameters DomainRecommendationSearchParameters) (*http.Request, error)
ListRecommendationsPreparer prepares the ListRecommendations request.
func (client DomainsClient) ListRecommendationsResponder(resp *http.Response) (result NameIdentifierCollection, err error)
ListRecommendationsResponder handles the response to the ListRecommendations request. The method always closes the http.Response Body.
func (client DomainsClient) ListRecommendationsSender(req *http.Request) (*http.Response, error)
ListRecommendationsSender sends the ListRecommendations request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) ListResponder(resp *http.Response) (result DomainCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client DomainsClient) 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.
func (client DomainsClient) Renew(ctx context.Context, resourceGroupName string, domainName string) (result autorest.Response, err error)
Renew renew a domain. Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of the domain.
func (client DomainsClient) RenewPreparer(ctx context.Context, resourceGroupName string, domainName string) (*http.Request, error)
RenewPreparer prepares the Renew request.
func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest.Response, err error)
RenewResponder handles the response to the Renew request. The method always closes the http.Response Body.
func (client DomainsClient) RenewSender(req *http.Request) (*http.Response, error)
RenewSender sends the Renew request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) Update(ctx context.Context, resourceGroupName string, domainName string, domain DomainPatchResource) (result Domain, err error)
Update creates or updates a domain. Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of the domain. domain - domain registration information.
func (client DomainsClient) UpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier) (result DomainOwnershipIdentifier, err error)
UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing identifer Parameters: resourceGroupName - name of the resource group to which the resource belongs. domainName - name of domain. name - name of identifier. domainOwnershipIdentifier - a JSON representation of the domain ownership properties.
func (client DomainsClient) UpdateOwnershipIdentifierPreparer(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier) (*http.Request, error)
UpdateOwnershipIdentifierPreparer prepares the UpdateOwnershipIdentifier request.
func (client DomainsClient) UpdateOwnershipIdentifierResponder(resp *http.Response) (result DomainOwnershipIdentifier, err error)
UpdateOwnershipIdentifierResponder handles the response to the UpdateOwnershipIdentifier request. The method always closes the http.Response Body.
func (client DomainsClient) UpdateOwnershipIdentifierSender(req *http.Request) (*http.Response, error)
UpdateOwnershipIdentifierSender sends the UpdateOwnershipIdentifier request. The method will close the http.Response Body if it receives an error.
func (client DomainsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainName string, domain DomainPatchResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (client DomainsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
DomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DomainsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DomainsClient) (Domain, error) }
func (future *DomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
EnabledConfig enabled configuration.
type EnabledConfig struct { // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. Enabled *bool `json:"enabled,omitempty"` }
ErrorEntity body of the error response returned from the API.
type ErrorEntity struct { // ExtendedCode - Type of error. ExtendedCode *string `json:"extendedCode,omitempty"` // MessageTemplate - Message template. MessageTemplate *string `json:"messageTemplate,omitempty"` // Parameters - Parameters for the template. Parameters *[]string `json:"parameters,omitempty"` // InnerErrors - Inner errors. InnerErrors *[]ErrorEntity `json:"innerErrors,omitempty"` // Code - Basic error code. Code *string `json:"code,omitempty"` // Message - Any details of the error. Message *string `json:"message,omitempty"` }
ErrorResponse error Response.
type ErrorResponse struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - Error message indicating why the operation failed. Message *string `json:"message,omitempty"` }
Experiments routing rules in production experiments.
type Experiments struct { // RampUpRules - List of ramp-up rules. RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"` }
FileSystemApplicationLogsConfig application logs to file system configuration.
type FileSystemApplicationLogsConfig struct { // Level - Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' Level LogLevel `json:"level,omitempty"` }
FileSystemHTTPLogsConfig http logs to file system configuration.
type FileSystemHTTPLogsConfig struct { // RetentionInMb - Maximum size in megabytes that http log files can use. // When reached old log files will be removed to make space for new ones. // Value can range between 25 and 100. RetentionInMb *int32 `json:"retentionInMb,omitempty"` // RetentionInDays - Retention in days. // Remove files older than X days. // 0 or lower means no retention. RetentionInDays *int32 `json:"retentionInDays,omitempty"` // Enabled - True if configuration is enabled, false if it is disabled and null if configuration is not set. Enabled *bool `json:"enabled,omitempty"` }
FrequencyUnit enumerates the values for frequency unit.
type FrequencyUnit string
const ( // Day ... Day FrequencyUnit = "Day" // Hour ... Hour FrequencyUnit = "Hour" )
func PossibleFrequencyUnitValues() []FrequencyUnit
PossibleFrequencyUnitValues returns an array of possible values for the FrequencyUnit const type.
FunctionEnvelope web Job Information.
type FunctionEnvelope struct { autorest.Response `json:"-"` // FunctionEnvelopeProperties - FunctionEnvelope resource specific properties *FunctionEnvelopeProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (fe FunctionEnvelope) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FunctionEnvelope.
func (fe *FunctionEnvelope) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FunctionEnvelope struct.
FunctionEnvelopeCollection collection of Kudu function information elements.
type FunctionEnvelopeCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]FunctionEnvelope `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (fec FunctionEnvelopeCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (fec FunctionEnvelopeCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FunctionEnvelopeCollection.
FunctionEnvelopeCollectionIterator provides access to a complete listing of FunctionEnvelope values.
type FunctionEnvelopeCollectionIterator struct {
// contains filtered or unexported fields
}
func NewFunctionEnvelopeCollectionIterator(page FunctionEnvelopeCollectionPage) FunctionEnvelopeCollectionIterator
Creates a new instance of the FunctionEnvelopeCollectionIterator type.
func (iter *FunctionEnvelopeCollectionIterator) 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 (iter *FunctionEnvelopeCollectionIterator) 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 (iter FunctionEnvelopeCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter FunctionEnvelopeCollectionIterator) Response() FunctionEnvelopeCollection
Response returns the raw server response from the last page request.
func (iter FunctionEnvelopeCollectionIterator) Value() FunctionEnvelope
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
FunctionEnvelopeCollectionPage contains a page of FunctionEnvelope values.
type FunctionEnvelopeCollectionPage struct {
// contains filtered or unexported fields
}
func NewFunctionEnvelopeCollectionPage(cur FunctionEnvelopeCollection, getNextPage func(context.Context, FunctionEnvelopeCollection) (FunctionEnvelopeCollection, error)) FunctionEnvelopeCollectionPage
Creates a new instance of the FunctionEnvelopeCollectionPage type.
func (page *FunctionEnvelopeCollectionPage) 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 (page *FunctionEnvelopeCollectionPage) 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 (page FunctionEnvelopeCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page FunctionEnvelopeCollectionPage) Response() FunctionEnvelopeCollection
Response returns the raw server response from the last page request.
func (page FunctionEnvelopeCollectionPage) Values() []FunctionEnvelope
Values returns the slice of values for the current page or nil if there are no values.
FunctionEnvelopeProperties functionEnvelope resource specific properties
type FunctionEnvelopeProperties struct { // Name - READ-ONLY; Function name. Name *string `json:"name,omitempty"` // FunctionAppID - READ-ONLY; Function App ID. FunctionAppID *string `json:"functionAppId,omitempty"` // ScriptRootPathHref - Script root path URI. ScriptRootPathHref *string `json:"scriptRootPathHref,omitempty"` // ScriptHref - Script URI. ScriptHref *string `json:"scriptHref,omitempty"` // ConfigHref - Config URI. ConfigHref *string `json:"configHref,omitempty"` // SecretsFileHref - Secrets file URI. SecretsFileHref *string `json:"secretsFileHref,omitempty"` // Href - Function URI. Href *string `json:"href,omitempty"` // Config - Config information. Config interface{} `json:"config,omitempty"` // Files - File list. Files map[string]*string `json:"files"` // TestData - Test data used when testing via the Azure Portal. TestData *string `json:"testData,omitempty"` }
func (fe FunctionEnvelopeProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FunctionEnvelopeProperties.
FunctionSecrets function secrets.
type FunctionSecrets struct { autorest.Response `json:"-"` // FunctionSecretsProperties - FunctionSecrets resource specific properties *FunctionSecretsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (fs FunctionSecrets) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FunctionSecrets.
func (fs *FunctionSecrets) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FunctionSecrets struct.
FunctionSecretsProperties functionSecrets resource specific properties
type FunctionSecretsProperties struct { // Key - Secret key. Key *string `json:"key,omitempty"` // TriggerURL - Trigger URL. TriggerURL *string `json:"triggerUrl,omitempty"` }
GeoRegion geographical region.
type GeoRegion struct { // GeoRegionProperties - GeoRegion resource specific properties *GeoRegionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (gr GeoRegion) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GeoRegion.
func (gr *GeoRegion) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for GeoRegion struct.
GeoRegionCollection collection of geographical regions.
type GeoRegionCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]GeoRegion `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (grc GeoRegionCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (grc GeoRegionCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GeoRegionCollection.
GeoRegionCollectionIterator provides access to a complete listing of GeoRegion values.
type GeoRegionCollectionIterator struct {
// contains filtered or unexported fields
}
func NewGeoRegionCollectionIterator(page GeoRegionCollectionPage) GeoRegionCollectionIterator
Creates a new instance of the GeoRegionCollectionIterator type.
func (iter *GeoRegionCollectionIterator) 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 (iter *GeoRegionCollectionIterator) 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 (iter GeoRegionCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter GeoRegionCollectionIterator) Response() GeoRegionCollection
Response returns the raw server response from the last page request.
func (iter GeoRegionCollectionIterator) Value() GeoRegion
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
GeoRegionCollectionPage contains a page of GeoRegion values.
type GeoRegionCollectionPage struct {
// contains filtered or unexported fields
}
func NewGeoRegionCollectionPage(cur GeoRegionCollection, getNextPage func(context.Context, GeoRegionCollection) (GeoRegionCollection, error)) GeoRegionCollectionPage
Creates a new instance of the GeoRegionCollectionPage type.
func (page *GeoRegionCollectionPage) 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 (page *GeoRegionCollectionPage) 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 (page GeoRegionCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page GeoRegionCollectionPage) Response() GeoRegionCollection
Response returns the raw server response from the last page request.
func (page GeoRegionCollectionPage) Values() []GeoRegion
Values returns the slice of values for the current page or nil if there are no values.
GeoRegionProperties geoRegion resource specific properties
type GeoRegionProperties struct { // Name - READ-ONLY; Region name. Name *string `json:"name,omitempty"` // Description - READ-ONLY; Region description. Description *string `json:"description,omitempty"` // DisplayName - READ-ONLY; Display name for region. DisplayName *string `json:"displayName,omitempty"` }
func (gr GeoRegionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GeoRegionProperties.
GlobalCsmSkuDescription a Global SKU Description.
type GlobalCsmSkuDescription struct { // Name - Name of the resource SKU. Name *string `json:"name,omitempty"` // Tier - Service Tier of the resource SKU. Tier *string `json:"tier,omitempty"` // Size - Size specifier of the resource SKU. Size *string `json:"size,omitempty"` // Family - Family code of the resource SKU. Family *string `json:"family,omitempty"` // Capacity - Min, max, and default scale values of the SKU. Capacity *SkuCapacity `json:"capacity,omitempty"` // Locations - Locations of the SKU. Locations *[]string `json:"locations,omitempty"` // Capabilities - Capabilities of the SKU, e.g., is traffic manager enabled? Capabilities *[]Capability `json:"capabilities,omitempty"` }
HTTPLogsConfig http logs configuration.
type HTTPLogsConfig struct { // FileSystem - Http logs to file system configuration. FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"` // AzureBlobStorage - Http logs to azure blob storage configuration. AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"` }
HandlerMapping the IIS handler mappings used to define which handler processes HTTP requests with certain extension. For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.
type HandlerMapping struct { // Extension - Requests with this extension will be handled using the specified FastCGI application. Extension *string `json:"extension,omitempty"` // ScriptProcessor - The absolute path to the FastCGI application. ScriptProcessor *string `json:"scriptProcessor,omitempty"` // Arguments - Command-line arguments to be passed to the script processor. Arguments *string `json:"arguments,omitempty"` }
HostName details of a hostname derived from a domain.
type HostName struct { // Name - Name of the hostname. Name *string `json:"name,omitempty"` // SiteNames - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. SiteNames *[]string `json:"siteNames,omitempty"` // AzureResourceName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. AzureResourceName *string `json:"azureResourceName,omitempty"` // AzureResourceType - Type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager' AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` // CustomHostNameDNSRecordType - Type of the DNS record. Possible values include: 'CName', 'A' CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` // HostNameType - Type of the hostname. Possible values include: 'Verified', 'Managed' HostNameType HostNameType `json:"hostNameType,omitempty"` }
HostNameBinding a hostname binding object.
type HostNameBinding struct { autorest.Response `json:"-"` // HostNameBindingProperties - HostNameBinding resource specific properties *HostNameBindingProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (hnb HostNameBinding) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostNameBinding.
func (hnb *HostNameBinding) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HostNameBinding struct.
HostNameBindingCollection collection of hostname bindings.
type HostNameBindingCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]HostNameBinding `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (hnbc HostNameBindingCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (hnbc HostNameBindingCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostNameBindingCollection.
HostNameBindingCollectionIterator provides access to a complete listing of HostNameBinding values.
type HostNameBindingCollectionIterator struct {
// contains filtered or unexported fields
}
func NewHostNameBindingCollectionIterator(page HostNameBindingCollectionPage) HostNameBindingCollectionIterator
Creates a new instance of the HostNameBindingCollectionIterator type.
func (iter *HostNameBindingCollectionIterator) 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 (iter *HostNameBindingCollectionIterator) 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 (iter HostNameBindingCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter HostNameBindingCollectionIterator) Response() HostNameBindingCollection
Response returns the raw server response from the last page request.
func (iter HostNameBindingCollectionIterator) Value() HostNameBinding
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
HostNameBindingCollectionPage contains a page of HostNameBinding values.
type HostNameBindingCollectionPage struct {
// contains filtered or unexported fields
}
func NewHostNameBindingCollectionPage(cur HostNameBindingCollection, getNextPage func(context.Context, HostNameBindingCollection) (HostNameBindingCollection, error)) HostNameBindingCollectionPage
Creates a new instance of the HostNameBindingCollectionPage type.
func (page *HostNameBindingCollectionPage) 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 (page *HostNameBindingCollectionPage) 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 (page HostNameBindingCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page HostNameBindingCollectionPage) Response() HostNameBindingCollection
Response returns the raw server response from the last page request.
func (page HostNameBindingCollectionPage) Values() []HostNameBinding
Values returns the slice of values for the current page or nil if there are no values.
HostNameBindingProperties hostNameBinding resource specific properties
type HostNameBindingProperties struct { // SiteName - App Service app name. SiteName *string `json:"siteName,omitempty"` // DomainID - Fully qualified ARM domain resource URI. DomainID *string `json:"domainId,omitempty"` // AzureResourceName - Azure resource name. AzureResourceName *string `json:"azureResourceName,omitempty"` // AzureResourceType - Azure resource type. Possible values include: 'Website', 'TrafficManager' AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"` // CustomHostNameDNSRecordType - Custom DNS record type. Possible values include: 'CName', 'A' CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"` // HostNameType - Hostname type. Possible values include: 'Verified', 'Managed' HostNameType HostNameType `json:"hostNameType,omitempty"` // SslState - SSL type. Possible values include: 'Disabled', 'SniEnabled', 'IPBasedEnabled' SslState SslState `json:"sslState,omitempty"` // Thumbprint - SSL certificate thumbprint Thumbprint *string `json:"thumbprint,omitempty"` // VirtualIP - READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled. VirtualIP *string `json:"virtualIP,omitempty"` }
func (hnb HostNameBindingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostNameBindingProperties.
HostNameSslState SSL-enabled hostname.
type HostNameSslState struct { // Name - Hostname. Name *string `json:"name,omitempty"` // SslState - SSL type. Possible values include: 'Disabled', 'SniEnabled', 'IPBasedEnabled' SslState SslState `json:"sslState,omitempty"` // VirtualIP - Virtual IP address assigned to the hostname if IP based SSL is enabled. VirtualIP *string `json:"virtualIP,omitempty"` // Thumbprint - SSL certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // ToUpdate - Set to <code>true</code> to update existing hostname. ToUpdate *bool `json:"toUpdate,omitempty"` // HostType - Indicates whether the hostname is a standard or repository hostname. Possible values include: 'HostTypeStandard', 'HostTypeRepository' HostType HostType `json:"hostType,omitempty"` }
HostNameType enumerates the values for host name type.
type HostNameType string
const ( // Managed ... Managed HostNameType = "Managed" // Verified ... Verified HostNameType = "Verified" )
func PossibleHostNameTypeValues() []HostNameType
PossibleHostNameTypeValues returns an array of possible values for the HostNameType const type.
HostType enumerates the values for host type.
type HostType string
const ( // HostTypeRepository ... HostTypeRepository HostType = "Repository" // HostTypeStandard ... HostTypeStandard HostType = "Standard" )
func PossibleHostTypeValues() []HostType
PossibleHostTypeValues returns an array of possible values for the HostType const type.
HostingEnvironmentDeploymentInfo information needed to create resources on an App Service Environment.
type HostingEnvironmentDeploymentInfo struct { // Name - Name of the App Service Environment. Name *string `json:"name,omitempty"` // Location - Location of the App Service Environment. Location *string `json:"location,omitempty"` }
HostingEnvironmentDiagnostics diagnostics for an App Service Environment.
type HostingEnvironmentDiagnostics struct { autorest.Response `json:"-"` // Name - Name/identifier of the diagnostics. Name *string `json:"name,omitempty"` // DiagnosicsOutput - Diagnostics output. DiagnosicsOutput *string `json:"diagnosicsOutput,omitempty"` }
HostingEnvironmentProfile specification for an App Service Environment to use for this resource.
type HostingEnvironmentProfile struct { // ID - Resource ID of the App Service Environment. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the App Service Environment. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type of the App Service Environment. Type *string `json:"type,omitempty"` }
func (hep HostingEnvironmentProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostingEnvironmentProfile.
HostingEnvironmentStatus enumerates the values for hosting environment status.
type HostingEnvironmentStatus string
const ( // Deleting ... Deleting HostingEnvironmentStatus = "Deleting" // Preparing ... Preparing HostingEnvironmentStatus = "Preparing" // Ready ... Ready HostingEnvironmentStatus = "Ready" // Scaling ... Scaling HostingEnvironmentStatus = "Scaling" )
func PossibleHostingEnvironmentStatusValues() []HostingEnvironmentStatus
PossibleHostingEnvironmentStatusValues returns an array of possible values for the HostingEnvironmentStatus const type.
HybridConnection hybrid Connection contract. This is used to configure a Hybrid Connection.
type HybridConnection struct { autorest.Response `json:"-"` // HybridConnectionProperties - HybridConnection resource specific properties *HybridConnectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (hc HybridConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridConnection.
func (hc *HybridConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HybridConnection struct.
HybridConnectionCollection collection of hostname bindings.
type HybridConnectionCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]HybridConnection `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (hcc HybridConnectionCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (hcc HybridConnectionCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridConnectionCollection.
HybridConnectionCollectionIterator provides access to a complete listing of HybridConnection values.
type HybridConnectionCollectionIterator struct {
// contains filtered or unexported fields
}
func NewHybridConnectionCollectionIterator(page HybridConnectionCollectionPage) HybridConnectionCollectionIterator
Creates a new instance of the HybridConnectionCollectionIterator type.
func (iter *HybridConnectionCollectionIterator) 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 (iter *HybridConnectionCollectionIterator) 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 (iter HybridConnectionCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter HybridConnectionCollectionIterator) Response() HybridConnectionCollection
Response returns the raw server response from the last page request.
func (iter HybridConnectionCollectionIterator) Value() HybridConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
HybridConnectionCollectionPage contains a page of HybridConnection values.
type HybridConnectionCollectionPage struct {
// contains filtered or unexported fields
}
func NewHybridConnectionCollectionPage(cur HybridConnectionCollection, getNextPage func(context.Context, HybridConnectionCollection) (HybridConnectionCollection, error)) HybridConnectionCollectionPage
Creates a new instance of the HybridConnectionCollectionPage type.
func (page *HybridConnectionCollectionPage) 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 (page *HybridConnectionCollectionPage) 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 (page HybridConnectionCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page HybridConnectionCollectionPage) Response() HybridConnectionCollection
Response returns the raw server response from the last page request.
func (page HybridConnectionCollectionPage) Values() []HybridConnection
Values returns the slice of values for the current page or nil if there are no values.
HybridConnectionKey hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.
type HybridConnectionKey struct { autorest.Response `json:"-"` // HybridConnectionKeyProperties - HybridConnectionKey resource specific properties *HybridConnectionKeyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (hck HybridConnectionKey) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridConnectionKey.
func (hck *HybridConnectionKey) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HybridConnectionKey struct.
HybridConnectionKeyProperties hybridConnectionKey resource specific properties
type HybridConnectionKeyProperties struct { // SendKeyName - READ-ONLY; The name of the send key. SendKeyName *string `json:"sendKeyName,omitempty"` // SendKeyValue - READ-ONLY; The value of the send key. SendKeyValue *string `json:"sendKeyValue,omitempty"` }
func (hck HybridConnectionKeyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridConnectionKeyProperties.
HybridConnectionLimits hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.
type HybridConnectionLimits struct { autorest.Response `json:"-"` // HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties *HybridConnectionLimitsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (hcl HybridConnectionLimits) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridConnectionLimits.
func (hcl *HybridConnectionLimits) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HybridConnectionLimits struct.
HybridConnectionLimitsProperties hybridConnectionLimits resource specific properties
type HybridConnectionLimitsProperties struct { // Current - READ-ONLY; The current number of Hybrid Connections. Current *int32 `json:"current,omitempty"` // Maximum - READ-ONLY; The maximum number of Hybrid Connections allowed. Maximum *int32 `json:"maximum,omitempty"` }
func (hcl HybridConnectionLimitsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridConnectionLimitsProperties.
HybridConnectionProperties hybridConnection resource specific properties
type HybridConnectionProperties struct { // ServiceBusNamespace - The name of the Service Bus namespace. ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"` // RelayName - The name of the Service Bus relay. RelayName *string `json:"relayName,omitempty"` // RelayArmURI - The ARM URI to the Service Bus relay. RelayArmURI *string `json:"relayArmUri,omitempty"` // Hostname - The hostname of the endpoint. Hostname *string `json:"hostname,omitempty"` // Port - The port of the endpoint. Port *int32 `json:"port,omitempty"` // SendKeyName - The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. SendKeyName *string `json:"sendKeyName,omitempty"` // SendKeyValue - The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned // normally, use the POST /listKeys API instead. SendKeyValue *string `json:"sendKeyValue,omitempty"` // ServiceBusSuffix - The suffix for the service bus endpoint. By default this is .servicebus.windows.net ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty"` }
IPSecurityRestriction IP security restriction on an app.
type IPSecurityRestriction struct { // IPAddress - IP address the security restriction is valid for. IPAddress *string `json:"ipAddress,omitempty"` // SubnetMask - Subnet mask for the range of IP addresses the restriction is valid for. SubnetMask *string `json:"subnetMask,omitempty"` }
Identifier a domain specific resource identifier.
type Identifier struct { autorest.Response `json:"-"` // IdentifierProperties - Identifier resource specific properties *IdentifierProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (i Identifier) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Identifier.
func (i *Identifier) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Identifier struct.
IdentifierCollection collection of identifiers.
type IdentifierCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Identifier `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (ic IdentifierCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ic IdentifierCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IdentifierCollection.
IdentifierCollectionIterator provides access to a complete listing of Identifier values.
type IdentifierCollectionIterator struct {
// contains filtered or unexported fields
}
func NewIdentifierCollectionIterator(page IdentifierCollectionPage) IdentifierCollectionIterator
Creates a new instance of the IdentifierCollectionIterator type.
func (iter *IdentifierCollectionIterator) 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 (iter *IdentifierCollectionIterator) 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 (iter IdentifierCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter IdentifierCollectionIterator) Response() IdentifierCollection
Response returns the raw server response from the last page request.
func (iter IdentifierCollectionIterator) Value() Identifier
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
IdentifierCollectionPage contains a page of Identifier values.
type IdentifierCollectionPage struct {
// contains filtered or unexported fields
}
func NewIdentifierCollectionPage(cur IdentifierCollection, getNextPage func(context.Context, IdentifierCollection) (IdentifierCollection, error)) IdentifierCollectionPage
Creates a new instance of the IdentifierCollectionPage type.
func (page *IdentifierCollectionPage) 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 (page *IdentifierCollectionPage) 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 (page IdentifierCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page IdentifierCollectionPage) Response() IdentifierCollection
Response returns the raw server response from the last page request.
func (page IdentifierCollectionPage) Values() []Identifier
Values returns the slice of values for the current page or nil if there are no values.
IdentifierProperties identifier resource specific properties
type IdentifierProperties struct { // ID - String representation of the identity. ID *string `json:"id,omitempty"` }
InAvailabilityReasonType enumerates the values for in availability reason type.
type InAvailabilityReasonType string
const ( // AlreadyExists ... AlreadyExists InAvailabilityReasonType = "AlreadyExists" // Invalid ... Invalid InAvailabilityReasonType = "Invalid" )
func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType
PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.
InternalLoadBalancingMode enumerates the values for internal load balancing mode.
type InternalLoadBalancingMode string
const ( // InternalLoadBalancingModeNone ... InternalLoadBalancingModeNone InternalLoadBalancingMode = "None" // InternalLoadBalancingModePublishing ... InternalLoadBalancingModePublishing InternalLoadBalancingMode = "Publishing" // InternalLoadBalancingModeWeb ... InternalLoadBalancingModeWeb InternalLoadBalancingMode = "Web" )
func PossibleInternalLoadBalancingModeValues() []InternalLoadBalancingMode
PossibleInternalLoadBalancingModeValues returns an array of possible values for the InternalLoadBalancingMode const type.
IssueType enumerates the values for issue type.
type IssueType string
const ( // AppCrash ... AppCrash IssueType = "AppCrash" // AppDeployment ... AppDeployment IssueType = "AppDeployment" // AseDeployment ... AseDeployment IssueType = "AseDeployment" // Other ... Other IssueType = "Other" // PlatformIssue ... PlatformIssue IssueType = "PlatformIssue" // RuntimeIssueDetected ... RuntimeIssueDetected IssueType = "RuntimeIssueDetected" // ServiceIncident ... ServiceIncident IssueType = "ServiceIncident" // UserIssue ... UserIssue IssueType = "UserIssue" )
func PossibleIssueTypeValues() []IssueType
PossibleIssueTypeValues returns an array of possible values for the IssueType const type.
Job web Job Information.
type Job struct { autorest.Response `json:"-"` // JobProperties - WebJob resource specific properties *JobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (j Job) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Job.
func (j *Job) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Job struct.
JobCollection collection of Kudu web job information elements.
type JobCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Job `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (jc JobCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (jc JobCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobCollection.
JobCollectionIterator provides access to a complete listing of Job values.
type JobCollectionIterator struct {
// contains filtered or unexported fields
}
func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator
Creates a new instance of the JobCollectionIterator type.
func (iter *JobCollectionIterator) 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 (iter *JobCollectionIterator) 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 (iter JobCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter JobCollectionIterator) Response() JobCollection
Response returns the raw server response from the last page request.
func (iter JobCollectionIterator) Value() Job
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
JobCollectionPage contains a page of Job values.
type JobCollectionPage struct {
// contains filtered or unexported fields
}
func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage
Creates a new instance of the JobCollectionPage type.
func (page *JobCollectionPage) 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 (page *JobCollectionPage) 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 (page JobCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page JobCollectionPage) Response() JobCollection
Response returns the raw server response from the last page request.
func (page JobCollectionPage) Values() []Job
Values returns the slice of values for the current page or nil if there are no values.
JobProperties webJob resource specific properties
type JobProperties struct { // Name - READ-ONLY; Job name. Used as job identifier in ARM resource URI. Name *string `json:"name,omitempty"` // RunCommand - Run command. RunCommand *string `json:"runCommand,omitempty"` // URL - Job URL. URL *string `json:"url,omitempty"` // ExtraInfoURL - Extra Info URL. ExtraInfoURL *string `json:"extraInfoUrl,omitempty"` // JobType - Job type. Possible values include: 'Continuous', 'Triggered' JobType JobType `json:"jobType,omitempty"` // Error - Error information. Error *string `json:"error,omitempty"` // UsingSdk - Using SDK? UsingSdk *bool `json:"usingSdk,omitempty"` // Settings - Job settings. Settings map[string]interface{} `json:"settings"` }
func (j JobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobProperties.
JobType enumerates the values for job type.
type JobType string
const ( // Continuous ... Continuous JobType = "Continuous" // Triggered ... Triggered JobType = "Triggered" )
func PossibleJobTypeValues() []JobType
PossibleJobTypeValues returns an array of possible values for the JobType const type.
KeyVaultSecretStatus enumerates the values for key vault secret status.
type KeyVaultSecretStatus string
const ( // KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault ... KeyVaultSecretStatus = "AzureServiceUnauthorizedToAccessKeyVault" // KeyVaultSecretStatusCertificateOrderFailed ... KeyVaultSecretStatusCertificateOrderFailed KeyVaultSecretStatus = "CertificateOrderFailed" // KeyVaultSecretStatusExternalPrivateKey ... KeyVaultSecretStatusExternalPrivateKey KeyVaultSecretStatus = "ExternalPrivateKey" // KeyVaultSecretStatusInitialized ... KeyVaultSecretStatusInitialized KeyVaultSecretStatus = "Initialized" // KeyVaultSecretStatusKeyVaultDoesNotExist ... KeyVaultSecretStatusKeyVaultDoesNotExist KeyVaultSecretStatus = "KeyVaultDoesNotExist" // KeyVaultSecretStatusKeyVaultSecretDoesNotExist ... KeyVaultSecretStatusKeyVaultSecretDoesNotExist KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist" // KeyVaultSecretStatusOperationNotPermittedOnKeyVault ... KeyVaultSecretStatusOperationNotPermittedOnKeyVault KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault" // KeyVaultSecretStatusSucceeded ... KeyVaultSecretStatusSucceeded KeyVaultSecretStatus = "Succeeded" // KeyVaultSecretStatusUnknown ... KeyVaultSecretStatusUnknown KeyVaultSecretStatus = "Unknown" // KeyVaultSecretStatusUnknownError ... KeyVaultSecretStatusUnknownError KeyVaultSecretStatus = "UnknownError" // KeyVaultSecretStatusWaitingOnCertificateOrder ... KeyVaultSecretStatusWaitingOnCertificateOrder KeyVaultSecretStatus = "WaitingOnCertificateOrder" )
func PossibleKeyVaultSecretStatusValues() []KeyVaultSecretStatus
PossibleKeyVaultSecretStatusValues returns an array of possible values for the KeyVaultSecretStatus const type.
ListCapability ...
type ListCapability struct { autorest.Response `json:"-"` Value *[]Capability `json:"value,omitempty"` }
ListCertificateEmail ...
type ListCertificateEmail struct { autorest.Response `json:"-"` Value *[]CertificateEmail `json:"value,omitempty"` }
ListCertificateOrderAction ...
type ListCertificateOrderAction struct { autorest.Response `json:"-"` Value *[]CertificateOrderAction `json:"value,omitempty"` }
ListHostingEnvironmentDiagnostics ...
type ListHostingEnvironmentDiagnostics struct { autorest.Response `json:"-"` Value *[]HostingEnvironmentDiagnostics `json:"value,omitempty"` }
ListOperation ...
type ListOperation struct { autorest.Response `json:"-"` Value *[]Operation `json:"value,omitempty"` }
ListVnetInfo ...
type ListVnetInfo struct { autorest.Response `json:"-"` Value *[]VnetInfo `json:"value,omitempty"` }
ListVnetRoute ...
type ListVnetRoute struct { autorest.Response `json:"-"` Value *[]VnetRoute `json:"value,omitempty"` }
LocalizableString localizable string object containing the name and a localized value.
type LocalizableString struct { // Value - Non-localized name. Value *string `json:"value,omitempty"` // LocalizedValue - Localized name. LocalizedValue *string `json:"localizedValue,omitempty"` }
LogLevel enumerates the values for log level.
type LogLevel string
const ( // Error ... Error LogLevel = "Error" // Information ... Information LogLevel = "Information" // Off ... Off LogLevel = "Off" // Verbose ... Verbose LogLevel = "Verbose" // Warning ... Warning LogLevel = "Warning" )
func PossibleLogLevelValues() []LogLevel
PossibleLogLevelValues returns an array of possible values for the LogLevel const type.
MSDeploy mSDeploy ARM PUT information
type MSDeploy struct { // MSDeployCore - Core resource properties *MSDeployCore `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (md MSDeploy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeploy.
func (md *MSDeploy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MSDeploy struct.
MSDeployCore mSDeploy ARM PUT core information
type MSDeployCore struct { // PackageURI - Package URI PackageURI *string `json:"packageUri,omitempty"` // ConnectionString - SQL Connection String ConnectionString *string `json:"connectionString,omitempty"` // DbType - Database Type DbType *string `json:"dbType,omitempty"` // SetParametersXMLFileURI - URI of MSDeploy Parameters file. Must not be set if SetParameters is used. SetParametersXMLFileURI *string `json:"setParametersXmlFileUri,omitempty"` // SetParameters - MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. SetParameters map[string]*string `json:"setParameters"` // SkipAppData - Controls whether the MSDeploy operation skips the App_Data directory. // If set to <code>true</code>, the existing App_Data directory on the destination // will not be deleted, and any App_Data directory in the source will be ignored. // Setting is <code>false</code> by default. SkipAppData *bool `json:"skipAppData,omitempty"` // AppOffline - Sets the AppOffline rule while the MSDeploy operation executes. // Setting is <code>false</code> by default. AppOffline *bool `json:"appOffline,omitempty"` }
func (mdc MSDeployCore) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeployCore.
MSDeployLog mSDeploy log
type MSDeployLog struct { autorest.Response `json:"-"` // MSDeployLogProperties - MSDeployLog resource specific properties *MSDeployLogProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (mdl MSDeployLog) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeployLog.
func (mdl *MSDeployLog) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MSDeployLog struct.
MSDeployLogEntry mSDeploy log entry
type MSDeployLogEntry struct { // Time - READ-ONLY; Timestamp of log entry Time *date.Time `json:"time,omitempty"` // Type - READ-ONLY; Log entry type. Possible values include: 'MSDeployLogEntryTypeMessage', 'MSDeployLogEntryTypeWarning', 'MSDeployLogEntryTypeError' Type MSDeployLogEntryType `json:"type,omitempty"` // Message - READ-ONLY; Log entry message Message *string `json:"message,omitempty"` }
func (mdle MSDeployLogEntry) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeployLogEntry.
MSDeployLogEntryType enumerates the values for ms deploy log entry type.
type MSDeployLogEntryType string
const ( // MSDeployLogEntryTypeError ... MSDeployLogEntryTypeError MSDeployLogEntryType = "Error" // MSDeployLogEntryTypeMessage ... MSDeployLogEntryTypeMessage MSDeployLogEntryType = "Message" // MSDeployLogEntryTypeWarning ... MSDeployLogEntryTypeWarning MSDeployLogEntryType = "Warning" )
func PossibleMSDeployLogEntryTypeValues() []MSDeployLogEntryType
PossibleMSDeployLogEntryTypeValues returns an array of possible values for the MSDeployLogEntryType const type.
MSDeployLogProperties mSDeployLog resource specific properties
type MSDeployLogProperties struct { // Entries - READ-ONLY; List of log entry messages Entries *[]MSDeployLogEntry `json:"entries,omitempty"` }
func (mdl MSDeployLogProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeployLogProperties.
MSDeployProvisioningState enumerates the values for ms deploy provisioning state.
type MSDeployProvisioningState string
const ( // MSDeployProvisioningStateAccepted ... MSDeployProvisioningStateAccepted MSDeployProvisioningState = "accepted" // MSDeployProvisioningStateCanceled ... MSDeployProvisioningStateCanceled MSDeployProvisioningState = "canceled" // MSDeployProvisioningStateFailed ... MSDeployProvisioningStateFailed MSDeployProvisioningState = "failed" // MSDeployProvisioningStateRunning ... MSDeployProvisioningStateRunning MSDeployProvisioningState = "running" // MSDeployProvisioningStateSucceeded ... MSDeployProvisioningStateSucceeded MSDeployProvisioningState = "succeeded" )
func PossibleMSDeployProvisioningStateValues() []MSDeployProvisioningState
PossibleMSDeployProvisioningStateValues returns an array of possible values for the MSDeployProvisioningState const type.
MSDeployStatus mSDeploy ARM response
type MSDeployStatus struct { autorest.Response `json:"-"` // MSDeployStatusProperties - MSDeployStatus resource specific properties *MSDeployStatusProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (mds MSDeployStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeployStatus.
func (mds *MSDeployStatus) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MSDeployStatus struct.
MSDeployStatusProperties mSDeployStatus resource specific properties
type MSDeployStatusProperties struct { // Deployer - READ-ONLY; Username of deployer Deployer *string `json:"deployer,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'MSDeployProvisioningStateAccepted', 'MSDeployProvisioningStateRunning', 'MSDeployProvisioningStateSucceeded', 'MSDeployProvisioningStateFailed', 'MSDeployProvisioningStateCanceled' ProvisioningState MSDeployProvisioningState `json:"provisioningState,omitempty"` // StartTime - READ-ONLY; Start time of deploy operation StartTime *date.Time `json:"startTime,omitempty"` // EndTime - READ-ONLY; End time of deploy operation EndTime *date.Time `json:"endTime,omitempty"` // Complete - READ-ONLY; Whether the deployment operation has completed Complete *bool `json:"complete,omitempty"` }
func (mds MSDeployStatusProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSDeployStatusProperties.
ManagedPipelineMode enumerates the values for managed pipeline mode.
type ManagedPipelineMode string
const ( // Classic ... Classic ManagedPipelineMode = "Classic" // Integrated ... Integrated ManagedPipelineMode = "Integrated" )
func PossibleManagedPipelineModeValues() []ManagedPipelineMode
PossibleManagedPipelineModeValues returns an array of possible values for the ManagedPipelineMode const type.
ManagedServiceIdentity managed service identity.
type ManagedServiceIdentity struct { // Type - Type of managed service identity. Possible values include: 'SystemAssigned' Type ManagedServiceIdentityType `json:"type,omitempty"` // TenantID - READ-ONLY; Tenant of managed service identity. TenantID *string `json:"tenantId,omitempty"` // PrincipalID - READ-ONLY; Principal Id of managed service identity. PrincipalID *string `json:"principalId,omitempty"` }
func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedServiceIdentity.
ManagedServiceIdentityType enumerates the values for managed service identity type.
type ManagedServiceIdentityType string
const ( // SystemAssigned ... SystemAssigned ManagedServiceIdentityType = "SystemAssigned" )
func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType
PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.
MetricAvailabilily metric availability and retention.
type MetricAvailabilily struct { // TimeGrain - Time grain. TimeGrain *string `json:"timeGrain,omitempty"` // Retention - Retention period for the current time grain. Retention *string `json:"retention,omitempty"` }
MetricAvailability retention policy of a resource metric.
type MetricAvailability struct { TimeGrain *string `json:"timeGrain,omitempty"` BlobDuration *string `json:"blobDuration,omitempty"` }
MetricDefinition metadata for a metric.
type MetricDefinition struct { autorest.Response `json:"-"` // MetricDefinitionProperties - MetricDefinition resource specific properties *MetricDefinitionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (md MetricDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetricDefinition.
func (md *MetricDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MetricDefinition struct.
MetricDefinitionProperties metricDefinition resource specific properties
type MetricDefinitionProperties struct { // Name - READ-ONLY; Name of the metric. Name *string `json:"name,omitempty"` // Unit - READ-ONLY; Unit of the metric. Unit *string `json:"unit,omitempty"` // PrimaryAggregationType - READ-ONLY; Primary aggregation type. PrimaryAggregationType *string `json:"primaryAggregationType,omitempty"` // MetricAvailabilities - READ-ONLY; List of time grains supported for the metric together with retention period. MetricAvailabilities *[]MetricAvailabilily `json:"metricAvailabilities,omitempty"` // DisplayName - READ-ONLY; Friendly name shown in the UI. DisplayName *string `json:"displayName,omitempty"` }
func (md MetricDefinitionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetricDefinitionProperties.
MetricSpecification definition of a single resource metric.
type MetricSpecification struct { Name *string `json:"name,omitempty"` DisplayName *string `json:"displayName,omitempty"` DisplayDescription *string `json:"displayDescription,omitempty"` Unit *string `json:"unit,omitempty"` AggregationType *string `json:"aggregationType,omitempty"` SupportsInstanceLevelAggregation *bool `json:"supportsInstanceLevelAggregation,omitempty"` EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` IsInternal *bool `json:"isInternal,omitempty"` Dimensions *[]Dimension `json:"dimensions,omitempty"` Category *string `json:"category,omitempty"` Availabilities *[]MetricAvailability `json:"availabilities,omitempty"` }
MigrateMySQLRequest mySQL migration request.
type MigrateMySQLRequest struct { // MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties *MigrateMySQLRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (mmsr MigrateMySQLRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateMySQLRequest.
func (mmsr *MigrateMySQLRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MigrateMySQLRequest struct.
MigrateMySQLRequestProperties migrateMySqlRequest resource specific properties
type MigrateMySQLRequestProperties struct { // ConnectionString - Connection string to the remote MySQL database. ConnectionString *string `json:"connectionString,omitempty"` // MigrationType - The type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal' MigrationType MySQLMigrationType `json:"migrationType,omitempty"` }
MigrateMySQLStatus mySQL migration status.
type MigrateMySQLStatus struct { autorest.Response `json:"-"` // MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties *MigrateMySQLStatusProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (mmss MigrateMySQLStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateMySQLStatus.
func (mmss *MigrateMySQLStatus) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MigrateMySQLStatus struct.
MigrateMySQLStatusProperties migrateMySqlStatus resource specific properties
type MigrateMySQLStatusProperties struct { // MigrationOperationStatus - READ-ONLY; Status of the migration task. Possible values include: 'OperationStatusInProgress', 'OperationStatusFailed', 'OperationStatusSucceeded', 'OperationStatusTimedOut', 'OperationStatusCreated' MigrationOperationStatus OperationStatus `json:"migrationOperationStatus,omitempty"` // OperationID - READ-ONLY; Operation ID for the migration task. OperationID *string `json:"operationId,omitempty"` // LocalMySQLEnabled - READ-ONLY; True if the web app has in app MySql enabled LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"` }
func (mmss MigrateMySQLStatusProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrateMySQLStatusProperties.
MySQLMigrationType enumerates the values for my sql migration type.
type MySQLMigrationType string
const ( // LocalToRemote ... LocalToRemote MySQLMigrationType = "LocalToRemote" // RemoteToLocal ... RemoteToLocal MySQLMigrationType = "RemoteToLocal" )
func PossibleMySQLMigrationTypeValues() []MySQLMigrationType
PossibleMySQLMigrationTypeValues returns an array of possible values for the MySQLMigrationType const type.
NameIdentifier identifies an object.
type NameIdentifier struct { // Name - Name of the object. Name *string `json:"name,omitempty"` }
NameIdentifierCollection collection of domain name identifiers.
type NameIdentifierCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]NameIdentifier `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (nic NameIdentifierCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (nic NameIdentifierCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NameIdentifierCollection.
NameIdentifierCollectionIterator provides access to a complete listing of NameIdentifier values.
type NameIdentifierCollectionIterator struct {
// contains filtered or unexported fields
}
func NewNameIdentifierCollectionIterator(page NameIdentifierCollectionPage) NameIdentifierCollectionIterator
Creates a new instance of the NameIdentifierCollectionIterator type.
func (iter *NameIdentifierCollectionIterator) 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 (iter *NameIdentifierCollectionIterator) 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 (iter NameIdentifierCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter NameIdentifierCollectionIterator) Response() NameIdentifierCollection
Response returns the raw server response from the last page request.
func (iter NameIdentifierCollectionIterator) Value() NameIdentifier
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
NameIdentifierCollectionPage contains a page of NameIdentifier values.
type NameIdentifierCollectionPage struct {
// contains filtered or unexported fields
}
func NewNameIdentifierCollectionPage(cur NameIdentifierCollection, getNextPage func(context.Context, NameIdentifierCollection) (NameIdentifierCollection, error)) NameIdentifierCollectionPage
Creates a new instance of the NameIdentifierCollectionPage type.
func (page *NameIdentifierCollectionPage) 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 (page *NameIdentifierCollectionPage) 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 (page NameIdentifierCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page NameIdentifierCollectionPage) Response() NameIdentifierCollection
Response returns the raw server response from the last page request.
func (page NameIdentifierCollectionPage) Values() []NameIdentifier
Values returns the slice of values for the current page or nil if there are no values.
NameValuePair name value pair.
type NameValuePair struct { // Name - Pair name. Name *string `json:"name,omitempty"` // Value - Pair value. Value *string `json:"value,omitempty"` }
NetworkAccessControlEntry network access control entry.
type NetworkAccessControlEntry struct { // Action - Action object. Possible values include: 'Permit', 'Deny' Action AccessControlEntryAction `json:"action,omitempty"` // Description - Description of network access control entry. Description *string `json:"description,omitempty"` // Order - Order of precedence. Order *int32 `json:"order,omitempty"` // RemoteSubnet - Remote subnet. RemoteSubnet *string `json:"remoteSubnet,omitempty"` }
NetworkFeatures full view of network features for an app (presently VNET integration and Hybrid Connections).
type NetworkFeatures struct { autorest.Response `json:"-"` // NetworkFeaturesProperties - NetworkFeatures resource specific properties *NetworkFeaturesProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (nf NetworkFeatures) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFeatures.
func (nf *NetworkFeatures) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for NetworkFeatures struct.
NetworkFeaturesProperties networkFeatures resource specific properties
type NetworkFeaturesProperties struct { // VirtualNetworkName - READ-ONLY; The Virtual Network name. VirtualNetworkName *string `json:"virtualNetworkName,omitempty"` // VirtualNetworkConnection - READ-ONLY; The Virtual Network summary view. VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty"` // HybridConnections - READ-ONLY; The Hybrid Connections summary view. HybridConnections *[]RelayServiceConnectionEntity `json:"hybridConnections,omitempty"` // HybridConnectionsV2 - READ-ONLY; The Hybrid Connection V2 (Service Bus) view. HybridConnectionsV2 *[]HybridConnection `json:"hybridConnectionsV2,omitempty"` }
func (nf NetworkFeaturesProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFeaturesProperties.
NotificationLevel enumerates the values for notification level.
type NotificationLevel string
const ( // NotificationLevelCritical ... NotificationLevelCritical NotificationLevel = "Critical" // NotificationLevelInformation ... NotificationLevelInformation NotificationLevel = "Information" // NotificationLevelNonUrgentSuggestion ... NotificationLevelNonUrgentSuggestion NotificationLevel = "NonUrgentSuggestion" // NotificationLevelWarning ... NotificationLevelWarning NotificationLevel = "Warning" )
func PossibleNotificationLevelValues() []NotificationLevel
PossibleNotificationLevelValues returns an array of possible values for the NotificationLevel const type.
Operation an operation on a resource.
type Operation struct { autorest.Response `json:"-"` // ID - Operation ID. ID *string `json:"id,omitempty"` // Name - Operation name. Name *string `json:"name,omitempty"` // Status - The current status of the operation. Possible values include: 'OperationStatusInProgress', 'OperationStatusFailed', 'OperationStatusSucceeded', 'OperationStatusTimedOut', 'OperationStatusCreated' Status OperationStatus `json:"status,omitempty"` // Errors - Any errors associate with the operation. Errors *[]ErrorEntity `json:"errors,omitempty"` // CreatedTime - Time when operation has started. CreatedTime *date.Time `json:"createdTime,omitempty"` // ModifiedTime - Time when operation has been updated. ModifiedTime *date.Time `json:"modifiedTime,omitempty"` // ExpirationTime - Time when operation will expire. ExpirationTime *date.Time `json:"expirationTime,omitempty"` // GeoMasterOperationID - Applicable only for stamp operation ids. GeoMasterOperationID *uuid.UUID `json:"geoMasterOperationId,omitempty"` }
OperationStatus enumerates the values for operation status.
type OperationStatus string
const ( // OperationStatusCreated ... OperationStatusCreated OperationStatus = "Created" // OperationStatusFailed ... OperationStatusFailed OperationStatus = "Failed" // OperationStatusInProgress ... OperationStatusInProgress OperationStatus = "InProgress" // OperationStatusSucceeded ... OperationStatusSucceeded OperationStatus = "Succeeded" // OperationStatusTimedOut ... OperationStatusTimedOut OperationStatus = "TimedOut" )
func PossibleOperationStatusValues() []OperationStatus
PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
PerfMonCounterCollection collection of performance monitor counters.
type PerfMonCounterCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]PerfMonResponse `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (pmcc PerfMonCounterCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (pmcc PerfMonCounterCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PerfMonCounterCollection.
PerfMonCounterCollectionIterator provides access to a complete listing of PerfMonResponse values.
type PerfMonCounterCollectionIterator struct {
// contains filtered or unexported fields
}
func NewPerfMonCounterCollectionIterator(page PerfMonCounterCollectionPage) PerfMonCounterCollectionIterator
Creates a new instance of the PerfMonCounterCollectionIterator type.
func (iter *PerfMonCounterCollectionIterator) 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 (iter *PerfMonCounterCollectionIterator) 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 (iter PerfMonCounterCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PerfMonCounterCollectionIterator) Response() PerfMonCounterCollection
Response returns the raw server response from the last page request.
func (iter PerfMonCounterCollectionIterator) Value() PerfMonResponse
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PerfMonCounterCollectionPage contains a page of PerfMonResponse values.
type PerfMonCounterCollectionPage struct {
// contains filtered or unexported fields
}
func NewPerfMonCounterCollectionPage(cur PerfMonCounterCollection, getNextPage func(context.Context, PerfMonCounterCollection) (PerfMonCounterCollection, error)) PerfMonCounterCollectionPage
Creates a new instance of the PerfMonCounterCollectionPage type.
func (page *PerfMonCounterCollectionPage) 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 (page *PerfMonCounterCollectionPage) 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 (page PerfMonCounterCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PerfMonCounterCollectionPage) Response() PerfMonCounterCollection
Response returns the raw server response from the last page request.
func (page PerfMonCounterCollectionPage) Values() []PerfMonResponse
Values returns the slice of values for the current page or nil if there are no values.
PerfMonResponse performance monitor API response.
type PerfMonResponse struct { // Code - The response code. Code *string `json:"code,omitempty"` // Message - The message. Message *string `json:"message,omitempty"` // Data - The performance monitor counters. Data *PerfMonSet `json:"data,omitempty"` }
PerfMonSample performance monitor sample in a set.
type PerfMonSample struct { // Time - Point in time for which counter was measured. Time *date.Time `json:"time,omitempty"` // InstanceName - Name of the server on which the measurement is made. InstanceName *string `json:"instanceName,omitempty"` // Value - Value of counter at a certain time. Value *float64 `json:"value,omitempty"` // CoreCount - Core Count of worker. Not a data member CoreCount *int32 `json:"coreCount,omitempty"` }
PerfMonSet metric information.
type PerfMonSet struct { // Name - Unique key name of the counter. Name *string `json:"name,omitempty"` // StartTime - Start time of the period. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the period. EndTime *date.Time `json:"endTime,omitempty"` // TimeGrain - Presented time grain. TimeGrain *string `json:"timeGrain,omitempty"` // Values - Collection of workers that are active during this time. Values *[]PerfMonSample `json:"values,omitempty"` }
PremierAddOn premier add-on.
type PremierAddOn struct { autorest.Response `json:"-"` // PremierAddOnProperties - PremierAddOn resource specific properties *PremierAddOnProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (pao PremierAddOn) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PremierAddOn.
func (pao *PremierAddOn) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PremierAddOn struct.
PremierAddOnOffer premier add-on offer.
type PremierAddOnOffer struct { // PremierAddOnOfferProperties - PremierAddOnOffer resource specific properties *PremierAddOnOfferProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (paoo PremierAddOnOffer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PremierAddOnOffer.
func (paoo *PremierAddOnOffer) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PremierAddOnOffer struct.
PremierAddOnOfferCollection collection of premier add-on offers.
type PremierAddOnOfferCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]PremierAddOnOffer `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (paooc PremierAddOnOfferCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (paooc PremierAddOnOfferCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PremierAddOnOfferCollection.
PremierAddOnOfferCollectionIterator provides access to a complete listing of PremierAddOnOffer values.
type PremierAddOnOfferCollectionIterator struct {
// contains filtered or unexported fields
}
func NewPremierAddOnOfferCollectionIterator(page PremierAddOnOfferCollectionPage) PremierAddOnOfferCollectionIterator
Creates a new instance of the PremierAddOnOfferCollectionIterator type.
func (iter *PremierAddOnOfferCollectionIterator) 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 (iter *PremierAddOnOfferCollectionIterator) 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 (iter PremierAddOnOfferCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PremierAddOnOfferCollectionIterator) Response() PremierAddOnOfferCollection
Response returns the raw server response from the last page request.
func (iter PremierAddOnOfferCollectionIterator) Value() PremierAddOnOffer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PremierAddOnOfferCollectionPage contains a page of PremierAddOnOffer values.
type PremierAddOnOfferCollectionPage struct {
// contains filtered or unexported fields
}
func NewPremierAddOnOfferCollectionPage(cur PremierAddOnOfferCollection, getNextPage func(context.Context, PremierAddOnOfferCollection) (PremierAddOnOfferCollection, error)) PremierAddOnOfferCollectionPage
Creates a new instance of the PremierAddOnOfferCollectionPage type.
func (page *PremierAddOnOfferCollectionPage) 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 (page *PremierAddOnOfferCollectionPage) 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 (page PremierAddOnOfferCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PremierAddOnOfferCollectionPage) Response() PremierAddOnOfferCollection
Response returns the raw server response from the last page request.
func (page PremierAddOnOfferCollectionPage) Values() []PremierAddOnOffer
Values returns the slice of values for the current page or nil if there are no values.
PremierAddOnOfferProperties premierAddOnOffer resource specific properties
type PremierAddOnOfferProperties struct { // Sku - Premier add on SKU. Sku *string `json:"sku,omitempty"` // Product - Premier add on offer Product. Product *string `json:"product,omitempty"` // Vendor - Premier add on offer Vendor. Vendor *string `json:"vendor,omitempty"` // Name - Premier add on offer Name. Name *string `json:"name,omitempty"` // PromoCodeRequired - <code>true</code> if promotion code is required; otherwise, <code>false</code>. PromoCodeRequired *bool `json:"promoCodeRequired,omitempty"` // Quota - Premier add on offer Quota. Quota *int32 `json:"quota,omitempty"` // WebHostingPlanRestrictions - App Service plans this offer is restricted to. Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium' WebHostingPlanRestrictions AppServicePlanRestrictions `json:"webHostingPlanRestrictions,omitempty"` // PrivacyPolicyURL - Privacy policy URL. PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` // LegalTermsURL - Legal terms URL. LegalTermsURL *string `json:"legalTermsUrl,omitempty"` // MarketplacePublisher - Marketplace publisher. MarketplacePublisher *string `json:"marketplacePublisher,omitempty"` // MarketplaceOffer - Marketplace offer. MarketplaceOffer *string `json:"marketplaceOffer,omitempty"` }
PremierAddOnProperties premierAddOn resource specific properties
type PremierAddOnProperties struct { // Sku - Premier add on SKU. Sku *string `json:"sku,omitempty"` // Product - Premier add on Product. Product *string `json:"product,omitempty"` // Vendor - Premier add on Vendor. Vendor *string `json:"vendor,omitempty"` // PremierAddOnName - Premier add on Name. PremierAddOnName *string `json:"name,omitempty"` // Location - Premier add on Location. Location *string `json:"location,omitempty"` // Tags - Premier add on Tags. Tags map[string]*string `json:"tags"` // MarketplacePublisher - Premier add on Marketplace publisher. MarketplacePublisher *string `json:"marketplacePublisher,omitempty"` // MarketplaceOffer - Premier add on Marketplace offer. MarketplaceOffer *string `json:"marketplaceOffer,omitempty"` }
func (pao PremierAddOnProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PremierAddOnProperties.
ProcessInfo process Information.
type ProcessInfo struct { autorest.Response `json:"-"` // ProcessInfoProperties - ProcessInfo resource specific properties *ProcessInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (pi ProcessInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessInfo.
func (pi *ProcessInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProcessInfo struct.
ProcessInfoCollection collection of Kudu process information elements.
type ProcessInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ProcessInfo `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (pic ProcessInfoCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (pic ProcessInfoCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessInfoCollection.
ProcessInfoCollectionIterator provides access to a complete listing of ProcessInfo values.
type ProcessInfoCollectionIterator struct {
// contains filtered or unexported fields
}
func NewProcessInfoCollectionIterator(page ProcessInfoCollectionPage) ProcessInfoCollectionIterator
Creates a new instance of the ProcessInfoCollectionIterator type.
func (iter *ProcessInfoCollectionIterator) 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 (iter *ProcessInfoCollectionIterator) 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 (iter ProcessInfoCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ProcessInfoCollectionIterator) Response() ProcessInfoCollection
Response returns the raw server response from the last page request.
func (iter ProcessInfoCollectionIterator) Value() ProcessInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ProcessInfoCollectionPage contains a page of ProcessInfo values.
type ProcessInfoCollectionPage struct {
// contains filtered or unexported fields
}
func NewProcessInfoCollectionPage(cur ProcessInfoCollection, getNextPage func(context.Context, ProcessInfoCollection) (ProcessInfoCollection, error)) ProcessInfoCollectionPage
Creates a new instance of the ProcessInfoCollectionPage type.
func (page *ProcessInfoCollectionPage) 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 (page *ProcessInfoCollectionPage) 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 (page ProcessInfoCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ProcessInfoCollectionPage) Response() ProcessInfoCollection
Response returns the raw server response from the last page request.
func (page ProcessInfoCollectionPage) Values() []ProcessInfo
Values returns the slice of values for the current page or nil if there are no values.
ProcessInfoProperties processInfo resource specific properties
type ProcessInfoProperties struct { // ID - ARM Identifier for deployment. ID *int32 `json:"id,omitempty"` // Name - Deployment name. Name *string `json:"name,omitempty"` // Href - HRef URI. Href *string `json:"href,omitempty"` // MiniDump - Minidump URI. MiniDump *string `json:"miniDump,omitempty"` // IsProfileRunning - Is profile running? IsProfileRunning *bool `json:"isProfileRunning,omitempty"` // IsIisProfileRunning - Is the IIS Profile running? IsIisProfileRunning *bool `json:"isIisProfileRunning,omitempty"` // IisProfileTimeoutInSeconds - IIS Profile timeout (seconds). IisProfileTimeoutInSeconds *float64 `json:"iisProfileTimeoutInSeconds,omitempty"` // Parent - Parent process. Parent *string `json:"parent,omitempty"` // Children - Child process list. Children *[]string `json:"children,omitempty"` // Threads - Thread list. Threads *[]ProcessThreadInfo `json:"threads,omitempty"` // OpenFileHandles - List of open files. OpenFileHandles *[]string `json:"openFileHandles,omitempty"` // Modules - List of modules. Modules *[]ProcessModuleInfo `json:"modules,omitempty"` // FileName - File name of this process. FileName *string `json:"fileName,omitempty"` // CommandLine - Command line. CommandLine *string `json:"commandLine,omitempty"` // UserName - User name. UserName *string `json:"userName,omitempty"` // HandleCount - Handle count. HandleCount *int32 `json:"handleCount,omitempty"` // ModuleCount - Module count. ModuleCount *int32 `json:"moduleCount,omitempty"` // ThreadCount - Thread count. ThreadCount *int32 `json:"threadCount,omitempty"` // StartTime - Start time. StartTime *date.Time `json:"startTime,omitempty"` // TotalProcessorTime - Total CPU time. TotalProcessorTime *string `json:"totalProcessorTime,omitempty"` // UserProcessorTime - User CPU time. UserProcessorTime *string `json:"userProcessorTime,omitempty"` // PrivilegedProcessorTime - Privileged CPU time. PrivilegedProcessorTime *string `json:"privilegedProcessorTime,omitempty"` // WorkingSet64 - Working set. WorkingSet64 *int64 `json:"workingSet64,omitempty"` // PeakWorkingSet64 - Peak working set. PeakWorkingSet64 *int64 `json:"peakWorkingSet64,omitempty"` // PrivateMemorySize64 - Private memory size. PrivateMemorySize64 *int64 `json:"privateMemorySize64,omitempty"` // VirtualMemorySize64 - Virtual memory size. VirtualMemorySize64 *int64 `json:"virtualMemorySize64,omitempty"` // PeakVirtualMemorySize64 - Peak virtual memory usage. PeakVirtualMemorySize64 *int64 `json:"peakVirtualMemorySize64,omitempty"` // PagedSystemMemorySize64 - Paged system memory. PagedSystemMemorySize64 *int64 `json:"pagedSystemMemorySize64,omitempty"` // NonpagedSystemMemorySize64 - Non-paged system memory. NonpagedSystemMemorySize64 *int64 `json:"nonpagedSystemMemorySize64,omitempty"` // PagedMemorySize64 - Paged memory. PagedMemorySize64 *int64 `json:"pagedMemorySize64,omitempty"` // PeakPagedMemorySize64 - Peak paged memory. PeakPagedMemorySize64 *int64 `json:"peakPagedMemorySize64,omitempty"` // TimeStamp - Time stamp. TimeStamp *date.Time `json:"timeStamp,omitempty"` // EnvironmentVariables - List of environment variables. EnvironmentVariables map[string]*string `json:"environmentVariables"` // IsScmSite - Is this the SCM site? IsScmSite *bool `json:"isScmSite,omitempty"` // IsWebJob - Is this a Web Job? IsWebJob *bool `json:"isWebJob,omitempty"` // Description - Description of process. Description *string `json:"description,omitempty"` }
func (pi ProcessInfoProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessInfoProperties.
ProcessModuleInfo process Module Information.
type ProcessModuleInfo struct { autorest.Response `json:"-"` // ProcessModuleInfoProperties - ProcessModuleInfo resource specific properties *ProcessModuleInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (pmi ProcessModuleInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessModuleInfo.
func (pmi *ProcessModuleInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProcessModuleInfo struct.
ProcessModuleInfoCollection collection of Kudu thread information elements.
type ProcessModuleInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ProcessModuleInfo `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (pmic ProcessModuleInfoCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (pmic ProcessModuleInfoCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessModuleInfoCollection.
ProcessModuleInfoCollectionIterator provides access to a complete listing of ProcessModuleInfo values.
type ProcessModuleInfoCollectionIterator struct {
// contains filtered or unexported fields
}
func NewProcessModuleInfoCollectionIterator(page ProcessModuleInfoCollectionPage) ProcessModuleInfoCollectionIterator
Creates a new instance of the ProcessModuleInfoCollectionIterator type.
func (iter *ProcessModuleInfoCollectionIterator) 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 (iter *ProcessModuleInfoCollectionIterator) 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 (iter ProcessModuleInfoCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ProcessModuleInfoCollectionIterator) Response() ProcessModuleInfoCollection
Response returns the raw server response from the last page request.
func (iter ProcessModuleInfoCollectionIterator) Value() ProcessModuleInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ProcessModuleInfoCollectionPage contains a page of ProcessModuleInfo values.
type ProcessModuleInfoCollectionPage struct {
// contains filtered or unexported fields
}
func NewProcessModuleInfoCollectionPage(cur ProcessModuleInfoCollection, getNextPage func(context.Context, ProcessModuleInfoCollection) (ProcessModuleInfoCollection, error)) ProcessModuleInfoCollectionPage
Creates a new instance of the ProcessModuleInfoCollectionPage type.
func (page *ProcessModuleInfoCollectionPage) 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 (page *ProcessModuleInfoCollectionPage) 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 (page ProcessModuleInfoCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ProcessModuleInfoCollectionPage) Response() ProcessModuleInfoCollection
Response returns the raw server response from the last page request.
func (page ProcessModuleInfoCollectionPage) Values() []ProcessModuleInfo
Values returns the slice of values for the current page or nil if there are no values.
ProcessModuleInfoProperties processModuleInfo resource specific properties
type ProcessModuleInfoProperties struct { // BaseAddress - Base address. Used as module identifier in ARM resource URI. BaseAddress *string `json:"baseAddress,omitempty"` // FileName - File name. FileName *string `json:"fileName,omitempty"` // Href - HRef URI. Href *string `json:"href,omitempty"` // FilePath - File path. FilePath *string `json:"filePath,omitempty"` // ModuleMemorySize - Module memory size. ModuleMemorySize *int32 `json:"moduleMemorySize,omitempty"` // FileVersion - File version. FileVersion *string `json:"fileVersion,omitempty"` // FileDescription - File description. FileDescription *string `json:"fileDescription,omitempty"` // Product - Product name. Product *string `json:"product,omitempty"` // ProductVersion - Product version. ProductVersion *string `json:"productVersion,omitempty"` // IsDebug - Is debug? IsDebug *bool `json:"isDebug,omitempty"` // Language - Module language (locale). Language *string `json:"language,omitempty"` }
ProcessThreadInfo process Thread Information.
type ProcessThreadInfo struct { autorest.Response `json:"-"` // ProcessThreadInfoProperties - ProcessThreadInfo resource specific properties *ProcessThreadInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (pti ProcessThreadInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessThreadInfo.
func (pti *ProcessThreadInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProcessThreadInfo struct.
ProcessThreadInfoCollection collection of Kudu thread information elements.
type ProcessThreadInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ProcessThreadInfo `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (ptic ProcessThreadInfoCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ptic ProcessThreadInfoCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProcessThreadInfoCollection.
ProcessThreadInfoCollectionIterator provides access to a complete listing of ProcessThreadInfo values.
type ProcessThreadInfoCollectionIterator struct {
// contains filtered or unexported fields
}
func NewProcessThreadInfoCollectionIterator(page ProcessThreadInfoCollectionPage) ProcessThreadInfoCollectionIterator
Creates a new instance of the ProcessThreadInfoCollectionIterator type.
func (iter *ProcessThreadInfoCollectionIterator) 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 (iter *ProcessThreadInfoCollectionIterator) 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 (iter ProcessThreadInfoCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ProcessThreadInfoCollectionIterator) Response() ProcessThreadInfoCollection
Response returns the raw server response from the last page request.
func (iter ProcessThreadInfoCollectionIterator) Value() ProcessThreadInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ProcessThreadInfoCollectionPage contains a page of ProcessThreadInfo values.
type ProcessThreadInfoCollectionPage struct {
// contains filtered or unexported fields
}
func NewProcessThreadInfoCollectionPage(cur ProcessThreadInfoCollection, getNextPage func(context.Context, ProcessThreadInfoCollection) (ProcessThreadInfoCollection, error)) ProcessThreadInfoCollectionPage
Creates a new instance of the ProcessThreadInfoCollectionPage type.
func (page *ProcessThreadInfoCollectionPage) 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 (page *ProcessThreadInfoCollectionPage) 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 (page ProcessThreadInfoCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ProcessThreadInfoCollectionPage) Response() ProcessThreadInfoCollection
Response returns the raw server response from the last page request.
func (page ProcessThreadInfoCollectionPage) Values() []ProcessThreadInfo
Values returns the slice of values for the current page or nil if there are no values.
ProcessThreadInfoProperties processThreadInfo resource specific properties
type ProcessThreadInfoProperties struct { // ID - ARM Identifier for deployment. ID *int32 `json:"id,omitempty"` // Href - HRef URI. Href *string `json:"href,omitempty"` // Process - Process URI. Process *string `json:"process,omitempty"` // StartAddress - Start address. StartAddress *string `json:"startAddress,omitempty"` // CurrentPriority - Current thread priority. CurrentPriority *int32 `json:"currentPriority,omitempty"` // PriorityLevel - Thread priority level. PriorityLevel *string `json:"priorityLevel,omitempty"` // BasePriority - Base priority. BasePriority *int32 `json:"basePriority,omitempty"` // StartTime - Start time. StartTime *date.Time `json:"startTime,omitempty"` // TotalProcessorTime - Total processor time. TotalProcessorTime *string `json:"totalProcessorTime,omitempty"` // UserProcessorTime - User processor time. UserProcessorTime *string `json:"userProcessorTime,omitempty"` // PriviledgedProcessorTime - Privileged processor time. PriviledgedProcessorTime *string `json:"priviledgedProcessorTime,omitempty"` // State - Thread state. State *string `json:"state,omitempty"` // WaitReason - Wait reason. WaitReason *string `json:"waitReason,omitempty"` }
ProviderClient is the webSite Management Client
type ProviderClient struct { BaseClient }
func NewProviderClient(subscriptionID string) ProviderClient
NewProviderClient creates an instance of the ProviderClient client.
func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) ProviderClient
NewProviderClientWithBaseURI creates an instance of the ProviderClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error)
GetAvailableStacks get available application frameworks and their versions
func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionIterator, err error)
GetAvailableStacksComplete enumerates all values, automatically crossing page boundaries as required.
func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error)
GetAvailableStacksOnPrem get available application frameworks and their versions
func (client ProviderClient) GetAvailableStacksOnPremComplete(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionIterator, err error)
GetAvailableStacksOnPremComplete enumerates all values, automatically crossing page boundaries as required.
func (client ProviderClient) GetAvailableStacksOnPremPreparer(ctx context.Context, osTypeSelected string) (*http.Request, error)
GetAvailableStacksOnPremPreparer prepares the GetAvailableStacksOnPrem request.
func (client ProviderClient) GetAvailableStacksOnPremResponder(resp *http.Response) (result ApplicationStackCollection, err error)
GetAvailableStacksOnPremResponder handles the response to the GetAvailableStacksOnPrem request. The method always closes the http.Response Body.
func (client ProviderClient) GetAvailableStacksOnPremSender(req *http.Request) (*http.Response, error)
GetAvailableStacksOnPremSender sends the GetAvailableStacksOnPrem request. The method will close the http.Response Body if it receives an error.
func (client ProviderClient) GetAvailableStacksPreparer(ctx context.Context, osTypeSelected string) (*http.Request, error)
GetAvailableStacksPreparer prepares the GetAvailableStacks request.
func (client ProviderClient) GetAvailableStacksResponder(resp *http.Response) (result ApplicationStackCollection, err error)
GetAvailableStacksResponder handles the response to the GetAvailableStacks request. The method always closes the http.Response Body.
func (client ProviderClient) GetAvailableStacksSender(req *http.Request) (*http.Response, error)
GetAvailableStacksSender sends the GetAvailableStacks request. The method will close the http.Response Body if it receives an error.
func (client ProviderClient) ListOperations(ctx context.Context) (result CsmOperationCollectionPage, err error)
ListOperations gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions
func (client ProviderClient) ListOperationsComplete(ctx context.Context) (result CsmOperationCollectionIterator, err error)
ListOperationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client ProviderClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)
ListOperationsPreparer prepares the ListOperations request.
func (client ProviderClient) ListOperationsResponder(resp *http.Response) (result CsmOperationCollection, err error)
ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.
func (client ProviderClient) ListOperationsSender(req *http.Request) (*http.Response, error)
ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.
ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const ( // ProvisioningStateCanceled ... ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateDeleting ... ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed ... ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateInProgress ... ProvisioningStateInProgress ProvisioningState = "InProgress" // ProvisioningStateSucceeded ... ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
ProxyOnlyResource azure proxy only resource. This resource is not tracked by Azure Resource Manager.
type ProxyOnlyResource struct { // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (por ProxyOnlyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyOnlyResource.
PublicCertificate public certificate object
type PublicCertificate struct { autorest.Response `json:"-"` // PublicCertificateProperties - PublicCertificate resource specific properties *PublicCertificateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (pc PublicCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicCertificate.
func (pc *PublicCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PublicCertificate struct.
PublicCertificateCollection collection of public certificates
type PublicCertificateCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]PublicCertificate `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (pcc PublicCertificateCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (pcc PublicCertificateCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicCertificateCollection.
PublicCertificateCollectionIterator provides access to a complete listing of PublicCertificate values.
type PublicCertificateCollectionIterator struct {
// contains filtered or unexported fields
}
func NewPublicCertificateCollectionIterator(page PublicCertificateCollectionPage) PublicCertificateCollectionIterator
Creates a new instance of the PublicCertificateCollectionIterator type.
func (iter *PublicCertificateCollectionIterator) 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 (iter *PublicCertificateCollectionIterator) 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 (iter PublicCertificateCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PublicCertificateCollectionIterator) Response() PublicCertificateCollection
Response returns the raw server response from the last page request.
func (iter PublicCertificateCollectionIterator) Value() PublicCertificate
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
PublicCertificateCollectionPage contains a page of PublicCertificate values.
type PublicCertificateCollectionPage struct {
// contains filtered or unexported fields
}
func NewPublicCertificateCollectionPage(cur PublicCertificateCollection, getNextPage func(context.Context, PublicCertificateCollection) (PublicCertificateCollection, error)) PublicCertificateCollectionPage
Creates a new instance of the PublicCertificateCollectionPage type.
func (page *PublicCertificateCollectionPage) 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 (page *PublicCertificateCollectionPage) 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 (page PublicCertificateCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PublicCertificateCollectionPage) Response() PublicCertificateCollection
Response returns the raw server response from the last page request.
func (page PublicCertificateCollectionPage) Values() []PublicCertificate
Values returns the slice of values for the current page or nil if there are no values.
PublicCertificateLocation enumerates the values for public certificate location.
type PublicCertificateLocation string
const ( // PublicCertificateLocationCurrentUserMy ... PublicCertificateLocationCurrentUserMy PublicCertificateLocation = "CurrentUserMy" // PublicCertificateLocationLocalMachineMy ... PublicCertificateLocationLocalMachineMy PublicCertificateLocation = "LocalMachineMy" // PublicCertificateLocationUnknown ... PublicCertificateLocationUnknown PublicCertificateLocation = "Unknown" )
func PossiblePublicCertificateLocationValues() []PublicCertificateLocation
PossiblePublicCertificateLocationValues returns an array of possible values for the PublicCertificateLocation const type.
PublicCertificateProperties publicCertificate resource specific properties
type PublicCertificateProperties struct { // Blob - Public Certificate byte array Blob *[]byte `json:"blob,omitempty"` // PublicCertificateLocation - Public Certificate Location. Possible values include: 'PublicCertificateLocationCurrentUserMy', 'PublicCertificateLocationLocalMachineMy', 'PublicCertificateLocationUnknown' PublicCertificateLocation PublicCertificateLocation `json:"publicCertificateLocation,omitempty"` // Thumbprint - READ-ONLY; Certificate Thumbprint Thumbprint *string `json:"thumbprint,omitempty"` }
func (pc PublicCertificateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicCertificateProperties.
PublishingProfileFormat enumerates the values for publishing profile format.
type PublishingProfileFormat string
const ( // FileZilla3 ... FileZilla3 PublishingProfileFormat = "FileZilla3" // Ftp ... Ftp PublishingProfileFormat = "Ftp" // WebDeploy ... WebDeploy PublishingProfileFormat = "WebDeploy" )
func PossiblePublishingProfileFormatValues() []PublishingProfileFormat
PossiblePublishingProfileFormatValues returns an array of possible values for the PublishingProfileFormat const type.
PushSettings push settings for the App.
type PushSettings struct { autorest.Response `json:"-"` // PushSettingsProperties - PushSettings resource specific properties *PushSettingsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ps PushSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PushSettings.
func (ps *PushSettings) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PushSettings struct.
PushSettingsProperties pushSettings resource specific properties
type PushSettingsProperties struct { // IsPushEnabled - Gets or sets a flag indicating whether the Push endpoint is enabled. IsPushEnabled *bool `json:"isPushEnabled,omitempty"` // TagWhitelistJSON - Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. TagWhitelistJSON *string `json:"tagWhitelistJson,omitempty"` // TagsRequiringAuth - Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. // Tags can consist of alphanumeric characters and the following: // '_', '@', '#', '.', ':', '-'. // Validation should be performed at the PushRequestHandler. TagsRequiringAuth *string `json:"tagsRequiringAuth,omitempty"` // DynamicTagsJSON - Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. DynamicTagsJSON *string `json:"dynamicTagsJson,omitempty"` }
RampUpRule routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.
type RampUpRule struct { // ActionHostName - Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. ActionHostName *string `json:"actionHostName,omitempty"` // ReroutePercentage - Percentage of the traffic which will be redirected to <code>ActionHostName</code>. ReroutePercentage *float64 `json:"reroutePercentage,omitempty"` // ChangeStep - In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches // <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. // Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. ChangeStep *float64 `json:"changeStep,omitempty"` // ChangeIntervalInMinutes - Specifies interval in minutes to reevaluate ReroutePercentage. ChangeIntervalInMinutes *int32 `json:"changeIntervalInMinutes,omitempty"` // MinReroutePercentage - Specifies lower boundary above which ReroutePercentage will stay. MinReroutePercentage *float64 `json:"minReroutePercentage,omitempty"` // MaxReroutePercentage - Specifies upper boundary below which ReroutePercentage will stay. MaxReroutePercentage *float64 `json:"maxReroutePercentage,omitempty"` // ChangeDecisionCallbackURL - Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. // https://www.siteextensions.net/packages/TiPCallback/ ChangeDecisionCallbackURL *string `json:"changeDecisionCallbackUrl,omitempty"` // Name - Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. Name *string `json:"name,omitempty"` }
ReadCloser ...
type ReadCloser struct { autorest.Response `json:"-"` Value *io.ReadCloser `json:"value,omitempty"` }
Recommendation represents a recommendation result generated by the recommendation engine.
type Recommendation struct { // RecommendationProperties - Recommendation resource specific properties *RecommendationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (r Recommendation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Recommendation.
func (r *Recommendation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Recommendation struct.
RecommendationCollection collection of recommendations.
type RecommendationCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Recommendation `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (rc RecommendationCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (rc RecommendationCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendationCollection.
RecommendationCollectionIterator provides access to a complete listing of Recommendation values.
type RecommendationCollectionIterator struct {
// contains filtered or unexported fields
}
func NewRecommendationCollectionIterator(page RecommendationCollectionPage) RecommendationCollectionIterator
Creates a new instance of the RecommendationCollectionIterator type.
func (iter *RecommendationCollectionIterator) 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 (iter *RecommendationCollectionIterator) 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 (iter RecommendationCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter RecommendationCollectionIterator) Response() RecommendationCollection
Response returns the raw server response from the last page request.
func (iter RecommendationCollectionIterator) Value() Recommendation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
RecommendationCollectionPage contains a page of Recommendation values.
type RecommendationCollectionPage struct {
// contains filtered or unexported fields
}
func NewRecommendationCollectionPage(cur RecommendationCollection, getNextPage func(context.Context, RecommendationCollection) (RecommendationCollection, error)) RecommendationCollectionPage
Creates a new instance of the RecommendationCollectionPage type.
func (page *RecommendationCollectionPage) 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 (page *RecommendationCollectionPage) 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 (page RecommendationCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page RecommendationCollectionPage) Response() RecommendationCollection
Response returns the raw server response from the last page request.
func (page RecommendationCollectionPage) Values() []Recommendation
Values returns the slice of values for the current page or nil if there are no values.
RecommendationProperties recommendation resource specific properties
type RecommendationProperties struct { // CreationTime - Timestamp when this instance was created. CreationTime *date.Time `json:"creationTime,omitempty"` // RecommendationID - A GUID value that each recommendation object is associated with. RecommendationID *uuid.UUID `json:"recommendationId,omitempty"` // ResourceID - Full ARM resource ID string that this recommendation object is associated with. ResourceID *string `json:"resourceId,omitempty"` // ResourceScope - Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite' ResourceScope ResourceScopeType `json:"resourceScope,omitempty"` // RuleName - Unique name of the rule. RuleName *string `json:"ruleName,omitempty"` // DisplayName - UI friendly name of the rule (may not be unique). DisplayName *string `json:"displayName,omitempty"` // Message - Recommendation text. Message *string `json:"message,omitempty"` // Level - Level indicating how critical this recommendation can impact. Possible values include: 'NotificationLevelCritical', 'NotificationLevelWarning', 'NotificationLevelInformation', 'NotificationLevelNonUrgentSuggestion' Level NotificationLevel `json:"level,omitempty"` // Channels - List of channels that this recommendation can apply. Possible values include: 'Notification', 'API', 'Email', 'Webhook', 'All' Channels Channels `json:"channels,omitempty"` // Tags - The list of category tags that this recommendation belongs to. Tags *[]string `json:"tags,omitempty"` // ActionName - Name of action recommended by this object. ActionName *string `json:"actionName,omitempty"` // StartTime - The beginning time in UTC of a range that the recommendation refers to. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - The end time in UTC of a range that the recommendation refers to. EndTime *date.Time `json:"endTime,omitempty"` // NextNotificationTime - When to notify this recommendation next in UTC. Null means that this will never be notified anymore. NextNotificationTime *date.Time `json:"nextNotificationTime,omitempty"` // NotificationExpirationTime - Date and time in UTC when this notification expires. NotificationExpirationTime *date.Time `json:"notificationExpirationTime,omitempty"` // NotifiedTime - Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. NotifiedTime *date.Time `json:"notifiedTime,omitempty"` // Score - A metric value measured by the rule. Score *float64 `json:"score,omitempty"` // IsDynamic - True if this is associated with a dynamically added rule IsDynamic *bool `json:"isDynamic,omitempty"` // ExtensionName - Extension name of the portal if exists. ExtensionName *string `json:"extensionName,omitempty"` // BladeName - Deep link to a blade on the portal. BladeName *string `json:"bladeName,omitempty"` // ForwardLink - Forward link to an external document associated with the rule. ForwardLink *string `json:"forwardLink,omitempty"` }
RecommendationRule represents a recommendation rule that the recommendation engine can perform.
type RecommendationRule struct { autorest.Response `json:"-"` // RecommendationRuleProperties - RecommendationRule resource specific properties *RecommendationRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rr RecommendationRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendationRule.
func (rr *RecommendationRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecommendationRule struct.
RecommendationRuleProperties recommendationRule resource specific properties
type RecommendationRuleProperties struct { // Name - Unique name of the rule. Name *string `json:"name,omitempty"` // DisplayName - UI friendly name of the rule. DisplayName *string `json:"displayName,omitempty"` // Message - Localized name of the rule (Good for UI). Message *string `json:"message,omitempty"` // RecommendationID - Recommendation ID of an associated recommendation object tied to the rule, if exists. // If such an object doesn't exist, it is set to null. RecommendationID *uuid.UUID `json:"recommendationId,omitempty"` // Description - Localized detailed description of the rule. Description *string `json:"description,omitempty"` // ActionName - Name of action that is recommended by this rule in string. ActionName *string `json:"actionName,omitempty"` // Level - Level of impact indicating how critical this rule is. Possible values include: 'NotificationLevelCritical', 'NotificationLevelWarning', 'NotificationLevelInformation', 'NotificationLevelNonUrgentSuggestion' Level NotificationLevel `json:"level,omitempty"` // Channels - List of available channels that this rule applies. Possible values include: 'Notification', 'API', 'Email', 'Webhook', 'All' Channels Channels `json:"channels,omitempty"` // Tags - An array of category tags that the rule contains. Tags *[]string `json:"tags,omitempty"` // IsDynamic - True if this is associated with a dynamically added rule IsDynamic *bool `json:"isDynamic,omitempty"` // ExtensionName - Extension name of the portal if exists. Applicable to dynamic rule only. ExtensionName *string `json:"extensionName,omitempty"` // BladeName - Deep link to a blade on the portal. Applicable to dynamic rule only. BladeName *string `json:"bladeName,omitempty"` // ForwardLink - Forward link to an external document associated with the rule. Applicable to dynamic rule only. ForwardLink *string `json:"forwardLink,omitempty"` }
RecommendationsClient is the webSite Management Client
type RecommendationsClient struct { BaseClient }
func NewRecommendationsClient(subscriptionID string) RecommendationsClient
NewRecommendationsClient creates an instance of the RecommendationsClient client.
func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) RecommendationsClient
NewRecommendationsClientWithBaseURI creates an instance of the RecommendationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client RecommendationsClient) DisableAllForWebApp(ctx context.Context, resourceGroupName string, siteName string) (result autorest.Response, err error)
DisableAllForWebApp disable all recommendations for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - name of the app.
func (client RecommendationsClient) DisableAllForWebAppPreparer(ctx context.Context, resourceGroupName string, siteName string) (*http.Request, error)
DisableAllForWebAppPreparer prepares the DisableAllForWebApp request.
func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Response) (result autorest.Response, err error)
DisableAllForWebAppResponder handles the response to the DisableAllForWebApp request. The method always closes the http.Response Body.
func (client RecommendationsClient) DisableAllForWebAppSender(req *http.Request) (*http.Response, error)
DisableAllForWebAppSender sends the DisableAllForWebApp request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) DisableRecommendationForSite(ctx context.Context, resourceGroupName string, siteName string, name string) (result autorest.Response, err error)
DisableRecommendationForSite disables the specific rule for a web site permanently. Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - site name name - rule name
func (client RecommendationsClient) DisableRecommendationForSitePreparer(ctx context.Context, resourceGroupName string, siteName string, name string) (*http.Request, error)
DisableRecommendationForSitePreparer prepares the DisableRecommendationForSite request.
func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp *http.Response) (result autorest.Response, err error)
DisableRecommendationForSiteResponder handles the response to the DisableRecommendationForSite request. The method always closes the http.Response Body.
func (client RecommendationsClient) DisableRecommendationForSiteSender(req *http.Request) (*http.Response, error)
DisableRecommendationForSiteSender sends the DisableRecommendationForSite request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error)
DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the future. Parameters: name - rule name
func (client RecommendationsClient) DisableRecommendationForSubscriptionPreparer(ctx context.Context, name string) (*http.Request, error)
DisableRecommendationForSubscriptionPreparer prepares the DisableRecommendationForSubscription request.
func (client RecommendationsClient) DisableRecommendationForSubscriptionResponder(resp *http.Response) (result autorest.Response, err error)
DisableRecommendationForSubscriptionResponder handles the response to the DisableRecommendationForSubscription request. The method always closes the http.Response Body.
func (client RecommendationsClient) DisableRecommendationForSubscriptionSender(req *http.Request) (*http.Response, error)
DisableRecommendationForSubscriptionSender sends the DisableRecommendationForSubscription request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) GetRuleDetailsByWebApp(ctx context.Context, resourceGroupName string, siteName string, name string, updateSeen *bool, recommendationID string) (result RecommendationRule, err error)
GetRuleDetailsByWebApp get a recommendation rule for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - name of the app. name - name of the recommendation. updateSeen - specify <code>true</code> to update the last-seen timestamp of the recommendation object. recommendationID - the GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
func (client RecommendationsClient) GetRuleDetailsByWebAppPreparer(ctx context.Context, resourceGroupName string, siteName string, name string, updateSeen *bool, recommendationID string) (*http.Request, error)
GetRuleDetailsByWebAppPreparer prepares the GetRuleDetailsByWebApp request.
func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.Response) (result RecommendationRule, err error)
GetRuleDetailsByWebAppResponder handles the response to the GetRuleDetailsByWebApp request. The method always closes the http.Response Body.
func (client RecommendationsClient) GetRuleDetailsByWebAppSender(req *http.Request) (*http.Response, error)
GetRuleDetailsByWebAppSender sends the GetRuleDetailsByWebApp request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) List(ctx context.Context, featured *bool, filter string) (result RecommendationCollectionPage, err error)
List list all recommendations for a subscription. Parameters: featured - specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. filter - filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D]
func (client RecommendationsClient) ListComplete(ctx context.Context, featured *bool, filter string) (result RecommendationCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client RecommendationsClient) ListHistoryForWebApp(ctx context.Context, resourceGroupName string, siteName string, filter string) (result RecommendationCollectionPage, err error)
ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - name of the app. filter - filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D]
func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Context, resourceGroupName string, siteName string, filter string) (result RecommendationCollectionIterator, err error)
ListHistoryForWebAppComplete enumerates all values, automatically crossing page boundaries as required.
func (client RecommendationsClient) ListHistoryForWebAppPreparer(ctx context.Context, resourceGroupName string, siteName string, filter string) (*http.Request, error)
ListHistoryForWebAppPreparer prepares the ListHistoryForWebApp request.
func (client RecommendationsClient) ListHistoryForWebAppResponder(resp *http.Response) (result RecommendationCollection, err error)
ListHistoryForWebAppResponder handles the response to the ListHistoryForWebApp request. The method always closes the http.Response Body.
func (client RecommendationsClient) ListHistoryForWebAppSender(req *http.Request) (*http.Response, error)
ListHistoryForWebAppSender sends the ListHistoryForWebApp request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) ListPreparer(ctx context.Context, featured *bool, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (client RecommendationsClient) ListRecommendedRulesForWebApp(ctx context.Context, resourceGroupName string, siteName string, featured *bool, filter string) (result RecommendationCollectionPage, err error)
ListRecommendedRulesForWebApp get all recommendations for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - name of the app. featured - specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. filter - return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification'
func (client RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx context.Context, resourceGroupName string, siteName string, featured *bool, filter string) (result RecommendationCollectionIterator, err error)
ListRecommendedRulesForWebAppComplete enumerates all values, automatically crossing page boundaries as required.
func (client RecommendationsClient) ListRecommendedRulesForWebAppPreparer(ctx context.Context, resourceGroupName string, siteName string, featured *bool, filter string) (*http.Request, error)
ListRecommendedRulesForWebAppPreparer prepares the ListRecommendedRulesForWebApp request.
func (client RecommendationsClient) ListRecommendedRulesForWebAppResponder(resp *http.Response) (result RecommendationCollection, err error)
ListRecommendedRulesForWebAppResponder handles the response to the ListRecommendedRulesForWebApp request. The method always closes the http.Response Body.
func (client RecommendationsClient) ListRecommendedRulesForWebAppSender(req *http.Request) (*http.Response, error)
ListRecommendedRulesForWebAppSender sends the ListRecommendedRulesForWebApp request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) ListResponder(resp *http.Response) (result RecommendationCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client RecommendationsClient) 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.
func (client RecommendationsClient) ResetAllFilters(ctx context.Context) (result autorest.Response, err error)
ResetAllFilters reset all recommendation opt-out settings for a subscription.
func (client RecommendationsClient) ResetAllFiltersForWebApp(ctx context.Context, resourceGroupName string, siteName string) (result autorest.Response, err error)
ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. Parameters: resourceGroupName - name of the resource group to which the resource belongs. siteName - name of the app.
func (client RecommendationsClient) ResetAllFiltersForWebAppPreparer(ctx context.Context, resourceGroupName string, siteName string) (*http.Request, error)
ResetAllFiltersForWebAppPreparer prepares the ResetAllFiltersForWebApp request.
func (client RecommendationsClient) ResetAllFiltersForWebAppResponder(resp *http.Response) (result autorest.Response, err error)
ResetAllFiltersForWebAppResponder handles the response to the ResetAllFiltersForWebApp request. The method always closes the http.Response Body.
func (client RecommendationsClient) ResetAllFiltersForWebAppSender(req *http.Request) (*http.Response, error)
ResetAllFiltersForWebAppSender sends the ResetAllFiltersForWebApp request. The method will close the http.Response Body if it receives an error.
func (client RecommendationsClient) ResetAllFiltersPreparer(ctx context.Context) (*http.Request, error)
ResetAllFiltersPreparer prepares the ResetAllFilters request.
func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response) (result autorest.Response, err error)
ResetAllFiltersResponder handles the response to the ResetAllFilters request. The method always closes the http.Response Body.
func (client RecommendationsClient) ResetAllFiltersSender(req *http.Request) (*http.Response, error)
ResetAllFiltersSender sends the ResetAllFilters request. The method will close the http.Response Body if it receives an error.
ReissueCertificateOrderRequest class representing certificate reissue request.
type ReissueCertificateOrderRequest struct { // ReissueCertificateOrderRequestProperties - ReissueCertificateOrderRequest resource specific properties *ReissueCertificateOrderRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rcor ReissueCertificateOrderRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReissueCertificateOrderRequest.
func (rcor *ReissueCertificateOrderRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ReissueCertificateOrderRequest struct.
ReissueCertificateOrderRequestProperties reissueCertificateOrderRequest resource specific properties
type ReissueCertificateOrderRequestProperties struct { // KeySize - Certificate Key Size. KeySize *int32 `json:"keySize,omitempty"` // DelayExistingRevokeInHours - Delay in hours to revoke existing certificate after the new certificate is issued. DelayExistingRevokeInHours *int32 `json:"delayExistingRevokeInHours,omitempty"` // Csr - Csr to be used for re-key operation. Csr *string `json:"csr,omitempty"` // IsPrivateKeyExternal - Should we change the ASC type (from managed private key to external private key and vice versa). IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"` }
RelayServiceConnectionEntity hybrid Connection for an App Service app.
type RelayServiceConnectionEntity struct { autorest.Response `json:"-"` // RelayServiceConnectionEntityProperties - RelayServiceConnectionEntity resource specific properties *RelayServiceConnectionEntityProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rsce RelayServiceConnectionEntity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RelayServiceConnectionEntity.
func (rsce *RelayServiceConnectionEntity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RelayServiceConnectionEntity struct.
RelayServiceConnectionEntityProperties relayServiceConnectionEntity resource specific properties
type RelayServiceConnectionEntityProperties struct { EntityName *string `json:"entityName,omitempty"` EntityConnectionString *string `json:"entityConnectionString,omitempty"` ResourceType *string `json:"resourceType,omitempty"` ResourceConnectionString *string `json:"resourceConnectionString,omitempty"` Hostname *string `json:"hostname,omitempty"` Port *int32 `json:"port,omitempty"` BiztalkURI *string `json:"biztalkUri,omitempty"` }
Rendering instructions for rendering the data
type Rendering struct { // RenderingType - Rendering Type. Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance' RenderingType RenderingType `json:"renderingType,omitempty"` // Title - Title of data Title *string `json:"title,omitempty"` // Description - Description of the data that will help it be interpreted Description *string `json:"description,omitempty"` }
RenderingType enumerates the values for rendering type.
type RenderingType string
const ( // NoGraph ... NoGraph RenderingType = "NoGraph" // Table ... Table RenderingType = "Table" // TimeSeries ... TimeSeries RenderingType = "TimeSeries" // TimeSeriesPerInstance ... TimeSeriesPerInstance RenderingType = "TimeSeriesPerInstance" )
func PossibleRenderingTypeValues() []RenderingType
PossibleRenderingTypeValues returns an array of possible values for the RenderingType const type.
RenewCertificateOrderRequest class representing certificate renew request.
type RenewCertificateOrderRequest struct { // RenewCertificateOrderRequestProperties - RenewCertificateOrderRequest resource specific properties *RenewCertificateOrderRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rcor RenewCertificateOrderRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RenewCertificateOrderRequest.
func (rcor *RenewCertificateOrderRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RenewCertificateOrderRequest struct.
RenewCertificateOrderRequestProperties renewCertificateOrderRequest resource specific properties
type RenewCertificateOrderRequestProperties struct { // KeySize - Certificate Key Size. KeySize *int32 `json:"keySize,omitempty"` // Csr - Csr to be used for re-key operation. Csr *string `json:"csr,omitempty"` // IsPrivateKeyExternal - Should we change the ASC type (from managed private key to external private key and vice versa). IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"` }
RequestsBasedTrigger trigger based on total requests.
type RequestsBasedTrigger struct { // Count - Request Count. Count *int32 `json:"count,omitempty"` // TimeInterval - Time interval. TimeInterval *string `json:"timeInterval,omitempty"` }
Resource azure resource. This resource is tracked in Azure Resource Manager
type Resource struct { // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (r Resource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Resource.
ResourceCollection collection of resources.
type ResourceCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]string `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (rc ResourceCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (rc ResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceCollection.
ResourceCollectionIterator provides access to a complete listing of string values.
type ResourceCollectionIterator struct {
// contains filtered or unexported fields
}
func NewResourceCollectionIterator(page ResourceCollectionPage) ResourceCollectionIterator
Creates a new instance of the ResourceCollectionIterator type.
func (iter *ResourceCollectionIterator) 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 (iter *ResourceCollectionIterator) 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 (iter ResourceCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ResourceCollectionIterator) Response() ResourceCollection
Response returns the raw server response from the last page request.
func (iter ResourceCollectionIterator) Value() string
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ResourceCollectionPage contains a page of string values.
type ResourceCollectionPage struct {
// contains filtered or unexported fields
}
func NewResourceCollectionPage(cur ResourceCollection, getNextPage func(context.Context, ResourceCollection) (ResourceCollection, error)) ResourceCollectionPage
Creates a new instance of the ResourceCollectionPage type.
func (page *ResourceCollectionPage) 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 (page *ResourceCollectionPage) 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 (page ResourceCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ResourceCollectionPage) Response() ResourceCollection
Response returns the raw server response from the last page request.
func (page ResourceCollectionPage) Values() []string
Values returns the slice of values for the current page or nil if there are no values.
ResourceHealthMetadata used for getting ResourceHealthCheck settings.
type ResourceHealthMetadata struct { autorest.Response `json:"-"` // ResourceHealthMetadataProperties - ResourceHealthMetadata resource specific properties *ResourceHealthMetadataProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rhm ResourceHealthMetadata) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceHealthMetadata.
func (rhm *ResourceHealthMetadata) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ResourceHealthMetadata struct.
ResourceHealthMetadataClient is the webSite Management Client
type ResourceHealthMetadataClient struct { BaseClient }
func NewResourceHealthMetadataClient(subscriptionID string) ResourceHealthMetadataClient
NewResourceHealthMetadataClient creates an instance of the ResourceHealthMetadataClient client.
func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID string) ResourceHealthMetadataClient
NewResourceHealthMetadataClientWithBaseURI creates an instance of the ResourceHealthMetadataClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ResourceHealthMetadataClient) GetBySite(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadata, err error)
GetBySite gets the category of ResourceHealthMetadata to use for the given site Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app
func (client ResourceHealthMetadataClient) GetBySitePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
GetBySitePreparer prepares the GetBySite request.
func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Response) (result ResourceHealthMetadata, err error)
GetBySiteResponder handles the response to the GetBySite request. The method always closes the http.Response Body.
func (client ResourceHealthMetadataClient) GetBySiteSender(req *http.Request) (*http.Response, error)
GetBySiteSender sends the GetBySite request. The method will close the http.Response Body if it receives an error.
func (client ResourceHealthMetadataClient) GetBySiteSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadata, err error)
GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app slot - name of web app slot. If not specified then will default to production slot.
func (client ResourceHealthMetadataClient) GetBySiteSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
GetBySiteSlotPreparer prepares the GetBySiteSlot request.
func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Response) (result ResourceHealthMetadata, err error)
GetBySiteSlotResponder handles the response to the GetBySiteSlot request. The method always closes the http.Response Body.
func (client ResourceHealthMetadataClient) GetBySiteSlotSender(req *http.Request) (*http.Response, error)
GetBySiteSlotSender sends the GetBySiteSlot request. The method will close the http.Response Body if it receives an error.
func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error)
List list all ResourceHealthMetadata for all sites in the subscription.
func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error)
ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. Parameters: resourceGroupName - name of the resource group to which the resource belongs.
func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client ResourceHealthMetadataClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client ResourceHealthMetadataClient) ListByResourceGroupResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (client ResourceHealthMetadataClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client ResourceHealthMetadataClient) ListBySite(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadataCollectionPage, err error)
ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app.
func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadataCollectionIterator, err error)
ListBySiteComplete enumerates all values, automatically crossing page boundaries as required.
func (client ResourceHealthMetadataClient) ListBySitePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
ListBySitePreparer prepares the ListBySite request.
func (client ResourceHealthMetadataClient) ListBySiteResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error)
ListBySiteResponder handles the response to the ListBySite request. The method always closes the http.Response Body.
func (client ResourceHealthMetadataClient) ListBySiteSender(req *http.Request) (*http.Response, error)
ListBySiteSender sends the ListBySite request. The method will close the http.Response Body if it receives an error.
func (client ResourceHealthMetadataClient) ListBySiteSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadataCollectionPage, err error)
ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection Parameters: resourceGroupName - name of the resource group to which the resource belongs. name - name of web app. slot - name of web app slot. If not specified then will default to production slot.
func (client ResourceHealthMetadataClient) ListBySiteSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadataCollectionIterator, err error)
ListBySiteSlotComplete enumerates all values, automatically crossing page boundaries as required.
func (client ResourceHealthMetadataClient) ListBySiteSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error)
ListBySiteSlotPreparer prepares the ListBySiteSlot request.
func (client ResourceHealthMetadataClient) ListBySiteSlotResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error)
ListBySiteSlotResponder handles the response to the ListBySiteSlot request. The method always closes the http.Response Body.
func (client ResourceHealthMetadataClient) ListBySiteSlotSender(req *http.Request) (*http.Response, error)
ListBySiteSlotSender sends the ListBySiteSlot request. The method will close the http.Response Body if it receives an error.
func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (result ResourceHealthMetadataCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client ResourceHealthMetadataClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client ResourceHealthMetadataClient) ListResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client ResourceHealthMetadataClient) 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.
ResourceHealthMetadataCollection collection of resource health metadata.
type ResourceHealthMetadataCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ResourceHealthMetadata `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (rhmc ResourceHealthMetadataCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (rhmc ResourceHealthMetadataCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceHealthMetadataCollection.
ResourceHealthMetadataCollectionIterator provides access to a complete listing of ResourceHealthMetadata values.
type ResourceHealthMetadataCollectionIterator struct {
// contains filtered or unexported fields
}
func NewResourceHealthMetadataCollectionIterator(page ResourceHealthMetadataCollectionPage) ResourceHealthMetadataCollectionIterator
Creates a new instance of the ResourceHealthMetadataCollectionIterator type.
func (iter *ResourceHealthMetadataCollectionIterator) 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 (iter *ResourceHealthMetadataCollectionIterator) 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 (iter ResourceHealthMetadataCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ResourceHealthMetadataCollectionIterator) Response() ResourceHealthMetadataCollection
Response returns the raw server response from the last page request.
func (iter ResourceHealthMetadataCollectionIterator) Value() ResourceHealthMetadata
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ResourceHealthMetadataCollectionPage contains a page of ResourceHealthMetadata values.
type ResourceHealthMetadataCollectionPage struct {
// contains filtered or unexported fields
}
func NewResourceHealthMetadataCollectionPage(cur ResourceHealthMetadataCollection, getNextPage func(context.Context, ResourceHealthMetadataCollection) (ResourceHealthMetadataCollection, error)) ResourceHealthMetadataCollectionPage
Creates a new instance of the ResourceHealthMetadataCollectionPage type.
func (page *ResourceHealthMetadataCollectionPage) 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 (page *ResourceHealthMetadataCollectionPage) 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 (page ResourceHealthMetadataCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ResourceHealthMetadataCollectionPage) Response() ResourceHealthMetadataCollection
Response returns the raw server response from the last page request.
func (page ResourceHealthMetadataCollectionPage) Values() []ResourceHealthMetadata
Values returns the slice of values for the current page or nil if there are no values.
ResourceHealthMetadataProperties resourceHealthMetadata resource specific properties
type ResourceHealthMetadataProperties struct { // Category - The category that the resource matches in the RHC Policy File Category *string `json:"category,omitempty"` // SignalAvailability - Is there a health signal for the resource SignalAvailability *bool `json:"signalAvailability,omitempty"` }
ResourceMetric object representing a metric for any resource .
type ResourceMetric struct { // Name - READ-ONLY; Name of metric. Name *ResourceMetricName `json:"name,omitempty"` // Unit - READ-ONLY; Metric unit. Unit *string `json:"unit,omitempty"` // TimeGrain - READ-ONLY; Metric granularity. E.g PT1H, PT5M, P1D TimeGrain *string `json:"timeGrain,omitempty"` // StartTime - READ-ONLY; Metric start time. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - READ-ONLY; Metric end time. EndTime *date.Time `json:"endTime,omitempty"` // ResourceID - READ-ONLY; Metric resource Id. ResourceID *string `json:"resourceId,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // MetricValues - READ-ONLY; Metric values. MetricValues *[]ResourceMetricValue `json:"metricValues,omitempty"` // Properties - READ-ONLY; Resource metric properties collection. Properties *[]ResourceMetricProperty `json:"properties,omitempty"` }
func (rm ResourceMetric) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetric.
ResourceMetricAvailability metrics availability and retention.
type ResourceMetricAvailability struct { // TimeGrain - READ-ONLY; Time grain . TimeGrain *string `json:"timeGrain,omitempty"` // Retention - READ-ONLY; Retention period for the current time grain. Retention *string `json:"retention,omitempty"` }
func (rma ResourceMetricAvailability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricAvailability.
ResourceMetricCollection collection of metric responses.
type ResourceMetricCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ResourceMetric `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (rmc ResourceMetricCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (rmc ResourceMetricCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricCollection.
ResourceMetricCollectionIterator provides access to a complete listing of ResourceMetric values.
type ResourceMetricCollectionIterator struct {
// contains filtered or unexported fields
}
func NewResourceMetricCollectionIterator(page ResourceMetricCollectionPage) ResourceMetricCollectionIterator
Creates a new instance of the ResourceMetricCollectionIterator type.
func (iter *ResourceMetricCollectionIterator) 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 (iter *ResourceMetricCollectionIterator) 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 (iter ResourceMetricCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ResourceMetricCollectionIterator) Response() ResourceMetricCollection
Response returns the raw server response from the last page request.
func (iter ResourceMetricCollectionIterator) Value() ResourceMetric
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ResourceMetricCollectionPage contains a page of ResourceMetric values.
type ResourceMetricCollectionPage struct {
// contains filtered or unexported fields
}
func NewResourceMetricCollectionPage(cur ResourceMetricCollection, getNextPage func(context.Context, ResourceMetricCollection) (ResourceMetricCollection, error)) ResourceMetricCollectionPage
Creates a new instance of the ResourceMetricCollectionPage type.
func (page *ResourceMetricCollectionPage) 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 (page *ResourceMetricCollectionPage) 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 (page ResourceMetricCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ResourceMetricCollectionPage) Response() ResourceMetricCollection
Response returns the raw server response from the last page request.
func (page ResourceMetricCollectionPage) Values() []ResourceMetric
Values returns the slice of values for the current page or nil if there are no values.
ResourceMetricDefinition metadata for the metrics.
type ResourceMetricDefinition struct { // ResourceMetricDefinitionProperties - ResourceMetricDefinition resource specific properties *ResourceMetricDefinitionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rmd ResourceMetricDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricDefinition.
func (rmd *ResourceMetricDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ResourceMetricDefinition struct.
ResourceMetricDefinitionCollection collection of metric definitions.
type ResourceMetricDefinitionCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]ResourceMetricDefinition `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (rmdc ResourceMetricDefinitionCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (rmdc ResourceMetricDefinitionCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricDefinitionCollection.
ResourceMetricDefinitionCollectionIterator provides access to a complete listing of ResourceMetricDefinition values.
type ResourceMetricDefinitionCollectionIterator struct {
// contains filtered or unexported fields
}
func NewResourceMetricDefinitionCollectionIterator(page ResourceMetricDefinitionCollectionPage) ResourceMetricDefinitionCollectionIterator
Creates a new instance of the ResourceMetricDefinitionCollectionIterator type.
func (iter *ResourceMetricDefinitionCollectionIterator) 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 (iter *ResourceMetricDefinitionCollectionIterator) 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 (iter ResourceMetricDefinitionCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ResourceMetricDefinitionCollectionIterator) Response() ResourceMetricDefinitionCollection
Response returns the raw server response from the last page request.
func (iter ResourceMetricDefinitionCollectionIterator) Value() ResourceMetricDefinition
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ResourceMetricDefinitionCollectionPage contains a page of ResourceMetricDefinition values.
type ResourceMetricDefinitionCollectionPage struct {
// contains filtered or unexported fields
}
func NewResourceMetricDefinitionCollectionPage(cur ResourceMetricDefinitionCollection, getNextPage func(context.Context, ResourceMetricDefinitionCollection) (ResourceMetricDefinitionCollection, error)) ResourceMetricDefinitionCollectionPage
Creates a new instance of the ResourceMetricDefinitionCollectionPage type.
func (page *ResourceMetricDefinitionCollectionPage) 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 (page *ResourceMetricDefinitionCollectionPage) 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 (page ResourceMetricDefinitionCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ResourceMetricDefinitionCollectionPage) Response() ResourceMetricDefinitionCollection
Response returns the raw server response from the last page request.
func (page ResourceMetricDefinitionCollectionPage) Values() []ResourceMetricDefinition
Values returns the slice of values for the current page or nil if there are no values.
ResourceMetricDefinitionProperties resourceMetricDefinition resource specific properties
type ResourceMetricDefinitionProperties struct { // Name - READ-ONLY; Name of the metric. Name *ResourceMetricName `json:"name,omitempty"` // Unit - READ-ONLY; Unit of the metric. Unit *string `json:"unit,omitempty"` // PrimaryAggregationType - READ-ONLY; Primary aggregation type. PrimaryAggregationType *string `json:"primaryAggregationType,omitempty"` // MetricAvailabilities - READ-ONLY; List of time grains supported for the metric together with retention period. MetricAvailabilities *[]ResourceMetricAvailability `json:"metricAvailabilities,omitempty"` // ResourceURI - READ-ONLY; Resource URI. ResourceURI *string `json:"resourceUri,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Properties - READ-ONLY; Resource metric definition properties. Properties map[string]*string `json:"properties"` }
func (rmd ResourceMetricDefinitionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricDefinitionProperties.
ResourceMetricName name of a metric for any resource .
type ResourceMetricName struct { // Value - READ-ONLY; metric name value. Value *string `json:"value,omitempty"` // LocalizedValue - READ-ONLY; Localized metric name value. LocalizedValue *string `json:"localizedValue,omitempty"` }
func (rmn ResourceMetricName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricName.
ResourceMetricProperty resource metric property.
type ResourceMetricProperty struct { // Key - Key for resource metric property. Key *string `json:"key,omitempty"` // Value - Value of pair. Value *string `json:"value,omitempty"` }
ResourceMetricValue value of resource metric.
type ResourceMetricValue struct { // Timestamp - READ-ONLY; Value timestamp. Timestamp *string `json:"timestamp,omitempty"` // Average - READ-ONLY; Value average. Average *float64 `json:"average,omitempty"` // Minimum - READ-ONLY; Value minimum. Minimum *float64 `json:"minimum,omitempty"` // Maximum - READ-ONLY; Value maximum. Maximum *float64 `json:"maximum,omitempty"` // Total - READ-ONLY; Value total. Total *float64 `json:"total,omitempty"` // Count - READ-ONLY; Value count. Count *float64 `json:"count,omitempty"` // Properties - READ-ONLY; Resource metric properties collection. Properties *[]ResourceMetricProperty `json:"properties,omitempty"` }
func (rmv ResourceMetricValue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceMetricValue.
ResourceNameAvailability information regarding availability of a resource name.
type ResourceNameAvailability struct { autorest.Response `json:"-"` // NameAvailable - <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists' Reason InAvailabilityReasonType `json:"reason,omitempty"` // Message - If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. Message *string `json:"message,omitempty"` }
ResourceNameAvailabilityRequest resource name availability request content.
type ResourceNameAvailabilityRequest struct { // Name - Resource name to verify. Name *string `json:"name,omitempty"` // Type - Resource type used for verification. Possible values include: 'CheckNameResourceTypesSite', 'CheckNameResourceTypesSlot', 'CheckNameResourceTypesHostingEnvironment', 'CheckNameResourceTypesPublishingUser', 'CheckNameResourceTypesMicrosoftWebsites', 'CheckNameResourceTypesMicrosoftWebsitesslots', 'CheckNameResourceTypesMicrosoftWebhostingEnvironments', 'CheckNameResourceTypesMicrosoftWebpublishingUsers' Type CheckNameResourceTypes `json:"type,omitempty"` // IsFqdn - Is fully qualified domain name. IsFqdn *bool `json:"isFqdn,omitempty"` }
ResourceScopeType enumerates the values for resource scope type.
type ResourceScopeType string
const ( // ServerFarm ... ServerFarm ResourceScopeType = "ServerFarm" // Subscription ... Subscription ResourceScopeType = "Subscription" // WebSite ... WebSite ResourceScopeType = "WebSite" )
func PossibleResourceScopeTypeValues() []ResourceScopeType
PossibleResourceScopeTypeValues returns an array of possible values for the ResourceScopeType const type.
ResponseMetaData ...
type ResponseMetaData struct { // DataSource - Source of the Data DataSource *DataSource `json:"dataSource,omitempty"` }
RestoreRequest description of a restore request.
type RestoreRequest struct { autorest.Response `json:"-"` // RestoreRequestProperties - RestoreRequest resource specific properties *RestoreRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rr RestoreRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestoreRequest.
func (rr *RestoreRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestoreRequest struct.
RestoreRequestProperties restoreRequest resource specific properties
type RestoreRequestProperties struct { // StorageAccountURL - SAS URL to the container. StorageAccountURL *string `json:"storageAccountUrl,omitempty"` // BlobName - Name of a blob which contains the backup. BlobName *string `json:"blobName,omitempty"` // Overwrite - <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app. Overwrite *bool `json:"overwrite,omitempty"` // SiteName - Name of an app. SiteName *string `json:"siteName,omitempty"` // Databases - Collection of databases which should be restored. This list has to match the list of databases included in the backup. Databases *[]DatabaseBackupSetting `json:"databases,omitempty"` // IgnoreConflictingHostNames - Changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to // the app's object when it is being restored, but that might fail due to conflicts during the operation. IgnoreConflictingHostNames *bool `json:"ignoreConflictingHostNames,omitempty"` // IgnoreDatabases - Ignore the databases and only restore the site content IgnoreDatabases *bool `json:"ignoreDatabases,omitempty"` // AppServicePlan - Specify app service plan that will own restored site. AppServicePlan *string `json:"appServicePlan,omitempty"` // OperationType - Operation type. Possible values include: 'BackupRestoreOperationTypeDefault', 'BackupRestoreOperationTypeClone', 'BackupRestoreOperationTypeRelocation', 'BackupRestoreOperationTypeSnapshot' OperationType BackupRestoreOperationType `json:"operationType,omitempty"` // AdjustConnectionStrings - <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. AdjustConnectionStrings *bool `json:"adjustConnectionStrings,omitempty"` // HostingEnvironment - App Service Environment name, if needed (only when restoring an app to an App Service Environment). HostingEnvironment *string `json:"hostingEnvironment,omitempty"` }
RestoreResponse response for an app restore request.
type RestoreResponse struct { autorest.Response `json:"-"` // RestoreResponseProperties - RestoreResponse resource specific properties *RestoreResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (rr RestoreResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestoreResponse.
func (rr *RestoreResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestoreResponse struct.
RestoreResponseProperties restoreResponse resource specific properties
type RestoreResponseProperties struct { // OperationID - READ-ONLY; When server starts the restore process, it will return an operation ID identifying that particular restore operation. OperationID *string `json:"operationId,omitempty"` }
func (rr RestoreResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestoreResponseProperties.
RouteType enumerates the values for route type.
type RouteType string
const ( // DEFAULT ... DEFAULT RouteType = "DEFAULT" // INHERITED ... INHERITED RouteType = "INHERITED" // STATIC ... STATIC RouteType = "STATIC" )
func PossibleRouteTypeValues() []RouteType
PossibleRouteTypeValues returns an array of possible values for the RouteType const type.
ScmType enumerates the values for scm type.
type ScmType string
const ( // ScmTypeBitbucketGit ... ScmTypeBitbucketGit ScmType = "BitbucketGit" // ScmTypeBitbucketHg ... ScmTypeBitbucketHg ScmType = "BitbucketHg" // ScmTypeCodePlexGit ... ScmTypeCodePlexGit ScmType = "CodePlexGit" // ScmTypeCodePlexHg ... ScmTypeCodePlexHg ScmType = "CodePlexHg" // ScmTypeDropbox ... ScmTypeDropbox ScmType = "Dropbox" // ScmTypeExternalGit ... ScmTypeExternalGit ScmType = "ExternalGit" // ScmTypeExternalHg ... ScmTypeExternalHg ScmType = "ExternalHg" // ScmTypeGitHub ... ScmTypeGitHub ScmType = "GitHub" // ScmTypeLocalGit ... ScmTypeLocalGit ScmType = "LocalGit" // ScmTypeNone ... ScmTypeNone ScmType = "None" // ScmTypeOneDrive ... ScmTypeOneDrive ScmType = "OneDrive" // ScmTypeTfs ... ScmTypeTfs ScmType = "Tfs" // ScmTypeVSO ... ScmTypeVSO ScmType = "VSO" )
func PossibleScmTypeValues() []ScmType
PossibleScmTypeValues returns an array of possible values for the ScmType const type.
ServiceSpecification resource metrics service provided by Microsoft.Insights resource provider.
type ServiceSpecification struct { MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"` }
SetObject ...
type SetObject struct { autorest.Response `json:"-"` Value interface{} `json:"value,omitempty"` }
Site a web app, a mobile app backend, or an API app.
type Site struct { autorest.Response `json:"-"` // SiteProperties - Site resource specific properties *SiteProperties `json:"properties,omitempty"` Identity *ManagedServiceIdentity `json:"identity,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; 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 - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
func (s Site) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Site.
func (s *Site) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Site struct.
SiteAuthSettings configuration settings for the Azure App Service Authentication / Authorization feature.
type SiteAuthSettings struct { autorest.Response `json:"-"` // SiteAuthSettingsProperties - SiteAuthSettings resource specific properties *SiteAuthSettingsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (sas SiteAuthSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteAuthSettings.
func (sas *SiteAuthSettings) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteAuthSettings struct.
SiteAuthSettingsProperties siteAuthSettings resource specific properties
type SiteAuthSettingsProperties struct { // Enabled - <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>. Enabled *bool `json:"enabled,omitempty"` // RuntimeVersion - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. // The setting in this value can control the behavior of certain features in the Authentication / Authorization module. RuntimeVersion *string `json:"runtimeVersion,omitempty"` // UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app. Possible values include: 'RedirectToLoginPage', 'AllowAnonymous' UnauthenticatedClientAction UnauthenticatedClientAction `json:"unauthenticatedClientAction,omitempty"` // TokenStoreEnabled - <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>. // The default is <code>false</code>. TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty"` // AllowedExternalRedirectUrls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. // This is an advanced setting typically only needed by Windows Store application backends. // Note that URLs within the current domain are always implicitly allowed. AllowedExternalRedirectUrls *[]string `json:"allowedExternalRedirectUrls,omitempty"` // DefaultProvider - The default authentication provider to use when multiple providers are configured. // This setting is only needed if multiple providers are configured and the unauthenticated client // action is set to "RedirectToLoginPage". Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter' DefaultProvider BuiltInAuthenticationProvider `json:"defaultProvider,omitempty"` // TokenRefreshExtensionHours - The number of hours after session token expiration that a session token can be used to // call the token refresh API. The default is 72 hours. TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty"` // ClientID - The Client ID of this relying party application, known as the client_id. // This setting is required for enabling OpenID Connection authentication with Azure Active Directory or // other 3rd party OpenID Connect providers. // More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html ClientID *string `json:"clientId,omitempty"` // ClientSecret - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). // This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. // Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. // More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html ClientSecret *string `json:"clientSecret,omitempty"` // Issuer - The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. // When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. // This URI is a case-sensitive identifier for the token issuer. // More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html Issuer *string `json:"issuer,omitempty"` // AllowedAudiences - Allowed audience values to consider when validating JWTs issued by // Azure Active Directory. Note that the <code>ClientID</code> value is always considered an // allowed audience, regardless of this setting. AllowedAudiences *[]string `json:"allowedAudiences,omitempty"` // AdditionalLoginParams - Login parameters to send to the OpenID Connect authorization endpoint when // a user logs in. Each parameter must be in the form "key=value". AdditionalLoginParams *[]string `json:"additionalLoginParams,omitempty"` // GoogleClientID - The OpenID Connect Client ID for the Google web application. // This setting is required for enabling Google Sign-In. // Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ GoogleClientID *string `json:"googleClientId,omitempty"` // GoogleClientSecret - The client secret associated with the Google web application. // This setting is required for enabling Google Sign-In. // Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ GoogleClientSecret *string `json:"googleClientSecret,omitempty"` // GoogleOAuthScopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. // This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. // Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ GoogleOAuthScopes *[]string `json:"googleOAuthScopes,omitempty"` // FacebookAppID - The App ID of the Facebook app used for login. // This setting is required for enabling Facebook Login. // Facebook Login documentation: https://developers.facebook.com/docs/facebook-login FacebookAppID *string `json:"facebookAppId,omitempty"` // FacebookAppSecret - The App Secret of the Facebook app used for Facebook Login. // This setting is required for enabling Facebook Login. // Facebook Login documentation: https://developers.facebook.com/docs/facebook-login FacebookAppSecret *string `json:"facebookAppSecret,omitempty"` // FacebookOAuthScopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. // This setting is optional. // Facebook Login documentation: https://developers.facebook.com/docs/facebook-login FacebookOAuthScopes *[]string `json:"facebookOAuthScopes,omitempty"` // TwitterConsumerKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. // This setting is required for enabling Twitter Sign-In. // Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in TwitterConsumerKey *string `json:"twitterConsumerKey,omitempty"` // TwitterConsumerSecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. // This setting is required for enabling Twitter Sign-In. // Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in TwitterConsumerSecret *string `json:"twitterConsumerSecret,omitempty"` // MicrosoftAccountClientID - The OAuth 2.0 client ID that was created for the app used for authentication. // This setting is required for enabling Microsoft Account authentication. // Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm MicrosoftAccountClientID *string `json:"microsoftAccountClientId,omitempty"` // MicrosoftAccountClientSecret - The OAuth 2.0 client secret that was created for the app used for authentication. // This setting is required for enabling Microsoft Account authentication. // Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm MicrosoftAccountClientSecret *string `json:"microsoftAccountClientSecret,omitempty"` // MicrosoftAccountOAuthScopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. // This setting is optional. If not specified, "wl.basic" is used as the default scope. // Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx MicrosoftAccountOAuthScopes *[]string `json:"microsoftAccountOAuthScopes,omitempty"` }
SiteAvailabilityState enumerates the values for site availability state.
type SiteAvailabilityState string
const ( // DisasterRecoveryMode ... DisasterRecoveryMode SiteAvailabilityState = "DisasterRecoveryMode" // Limited ... Limited SiteAvailabilityState = "Limited" // Normal ... Normal SiteAvailabilityState = "Normal" )
func PossibleSiteAvailabilityStateValues() []SiteAvailabilityState
PossibleSiteAvailabilityStateValues returns an array of possible values for the SiteAvailabilityState const type.
SiteCloneability represents whether or not an app is cloneable.
type SiteCloneability struct { autorest.Response `json:"-"` // Result - Name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable' Result CloneAbilityResult `json:"result,omitempty"` // BlockingFeatures - List of features enabled on app that prevent cloning. BlockingFeatures *[]SiteCloneabilityCriterion `json:"blockingFeatures,omitempty"` // UnsupportedFeatures - List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned // but the features in this list will not be set up on cloned app. UnsupportedFeatures *[]SiteCloneabilityCriterion `json:"unsupportedFeatures,omitempty"` // BlockingCharacteristics - List of blocking application characteristics. BlockingCharacteristics *[]SiteCloneabilityCriterion `json:"blockingCharacteristics,omitempty"` }
SiteCloneabilityCriterion an app cloneability criterion.
type SiteCloneabilityCriterion struct { // Name - Name of criterion. Name *string `json:"name,omitempty"` // Description - Description of criterion. Description *string `json:"description,omitempty"` }
SiteConfig configuration of an App Service app.
type SiteConfig struct { // NumberOfWorkers - Number of workers. NumberOfWorkers *int32 `json:"numberOfWorkers,omitempty"` // DefaultDocuments - Default documents. DefaultDocuments *[]string `json:"defaultDocuments,omitempty"` // NetFrameworkVersion - .NET Framework version. NetFrameworkVersion *string `json:"netFrameworkVersion,omitempty"` // PhpVersion - Version of PHP. PhpVersion *string `json:"phpVersion,omitempty"` // PythonVersion - Version of Python. PythonVersion *string `json:"pythonVersion,omitempty"` // NodeVersion - Version of Node.js. NodeVersion *string `json:"nodeVersion,omitempty"` // LinuxFxVersion - Linux App Framework and version LinuxFxVersion *string `json:"linuxFxVersion,omitempty"` // RequestTracingEnabled - <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. RequestTracingEnabled *bool `json:"requestTracingEnabled,omitempty"` // RequestTracingExpirationTime - Request tracing expiration time. RequestTracingExpirationTime *date.Time `json:"requestTracingExpirationTime,omitempty"` // RemoteDebuggingEnabled - <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. RemoteDebuggingEnabled *bool `json:"remoteDebuggingEnabled,omitempty"` // RemoteDebuggingVersion - Remote debugging version. RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty"` // HTTPLoggingEnabled - <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. HTTPLoggingEnabled *bool `json:"httpLoggingEnabled,omitempty"` // LogsDirectorySizeLimit - HTTP logs directory size limit. LogsDirectorySizeLimit *int32 `json:"logsDirectorySizeLimit,omitempty"` // DetailedErrorLoggingEnabled - <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. DetailedErrorLoggingEnabled *bool `json:"detailedErrorLoggingEnabled,omitempty"` // PublishingUsername - Publishing user name. PublishingUsername *string `json:"publishingUsername,omitempty"` // AppSettings - Application settings. AppSettings *[]NameValuePair `json:"appSettings,omitempty"` // ConnectionStrings - Connection strings. ConnectionStrings *[]ConnStringInfo `json:"connectionStrings,omitempty"` // MachineKey - READ-ONLY; Site MachineKey. MachineKey *SiteMachineKey `json:"machineKey,omitempty"` // HandlerMappings - Handler mappings. HandlerMappings *[]HandlerMapping `json:"handlerMappings,omitempty"` // DocumentRoot - Document root. DocumentRoot *string `json:"documentRoot,omitempty"` // ScmType - SCM type. Possible values include: 'ScmTypeNone', 'ScmTypeDropbox', 'ScmTypeTfs', 'ScmTypeLocalGit', 'ScmTypeGitHub', 'ScmTypeCodePlexGit', 'ScmTypeCodePlexHg', 'ScmTypeBitbucketGit', 'ScmTypeBitbucketHg', 'ScmTypeExternalGit', 'ScmTypeExternalHg', 'ScmTypeOneDrive', 'ScmTypeVSO' ScmType ScmType `json:"scmType,omitempty"` // Use32BitWorkerProcess - <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty"` // WebSocketsEnabled - <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. WebSocketsEnabled *bool `json:"webSocketsEnabled,omitempty"` // AlwaysOn - <code>true</code> if Always On is enabled; otherwise, <code>false</code>. AlwaysOn *bool `json:"alwaysOn,omitempty"` // JavaVersion - Java version. JavaVersion *string `json:"javaVersion,omitempty"` // JavaContainer - Java container. JavaContainer *string `json:"javaContainer,omitempty"` // JavaContainerVersion - Java container version. JavaContainerVersion *string `json:"javaContainerVersion,omitempty"` // AppCommandLine - App command line to launch. AppCommandLine *string `json:"appCommandLine,omitempty"` // ManagedPipelineMode - Managed pipeline mode. Possible values include: 'Integrated', 'Classic' ManagedPipelineMode ManagedPipelineMode `json:"managedPipelineMode,omitempty"` // VirtualApplications - Virtual applications. VirtualApplications *[]VirtualApplication `json:"virtualApplications,omitempty"` // LoadBalancing - Site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash' LoadBalancing SiteLoadBalancing `json:"loadBalancing,omitempty"` // Experiments - This is work around for polymorphic types. Experiments *Experiments `json:"experiments,omitempty"` // Limits - Site limits. Limits *SiteLimits `json:"limits,omitempty"` // AutoHealEnabled - <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. AutoHealEnabled *bool `json:"autoHealEnabled,omitempty"` // AutoHealRules - Auto Heal rules. AutoHealRules *AutoHealRules `json:"autoHealRules,omitempty"` // TracingOptions - Tracing options. TracingOptions *string `json:"tracingOptions,omitempty"` // VnetName - Virtual Network name. VnetName *string `json:"vnetName,omitempty"` // Cors - Cross-Origin Resource Sharing (CORS) settings. Cors *CorsSettings `json:"cors,omitempty"` // Push - Push endpoint settings. Push *PushSettings `json:"push,omitempty"` // APIDefinition - Information about the formal API definition for the app. APIDefinition *APIDefinitionInfo `json:"apiDefinition,omitempty"` // AutoSwapSlotName - Auto-swap slot name. AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty"` // LocalMySQLEnabled - <code>true</code> to enable local MySQL; otherwise, <code>false</code>. LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"` // IPSecurityRestrictions - IP security restrictions. IPSecurityRestrictions *[]IPSecurityRestriction `json:"ipSecurityRestrictions,omitempty"` // HTTP20Enabled - Http20Enabled: configures a web site to allow clients to connect over http2.0 HTTP20Enabled *bool `json:"http20Enabled,omitempty"` // MinTLSVersion - MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: 'OneFullStopZero', 'OneFullStopOne', 'OneFullStopTwo' MinTLSVersion SupportedTLSVersions `json:"minTlsVersion,omitempty"` }
func (sc SiteConfig) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteConfig.
SiteConfigResource web app configuration ARM resource.
type SiteConfigResource struct { autorest.Response `json:"-"` // SiteConfig - Core resource properties *SiteConfig `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (scr SiteConfigResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteConfigResource.
func (scr *SiteConfigResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteConfigResource struct.
SiteConfigResourceCollection collection of site configurations.
type SiteConfigResourceCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SiteConfigResource `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (scrc SiteConfigResourceCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (scrc SiteConfigResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteConfigResourceCollection.
SiteConfigResourceCollectionIterator provides access to a complete listing of SiteConfigResource values.
type SiteConfigResourceCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSiteConfigResourceCollectionIterator(page SiteConfigResourceCollectionPage) SiteConfigResourceCollectionIterator
Creates a new instance of the SiteConfigResourceCollectionIterator type.
func (iter *SiteConfigResourceCollectionIterator) 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 (iter *SiteConfigResourceCollectionIterator) 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 (iter SiteConfigResourceCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SiteConfigResourceCollectionIterator) Response() SiteConfigResourceCollection
Response returns the raw server response from the last page request.
func (iter SiteConfigResourceCollectionIterator) Value() SiteConfigResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SiteConfigResourceCollectionPage contains a page of SiteConfigResource values.
type SiteConfigResourceCollectionPage struct {
// contains filtered or unexported fields
}
func NewSiteConfigResourceCollectionPage(cur SiteConfigResourceCollection, getNextPage func(context.Context, SiteConfigResourceCollection) (SiteConfigResourceCollection, error)) SiteConfigResourceCollectionPage
Creates a new instance of the SiteConfigResourceCollectionPage type.
func (page *SiteConfigResourceCollectionPage) 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 (page *SiteConfigResourceCollectionPage) 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 (page SiteConfigResourceCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SiteConfigResourceCollectionPage) Response() SiteConfigResourceCollection
Response returns the raw server response from the last page request.
func (page SiteConfigResourceCollectionPage) Values() []SiteConfigResource
Values returns the slice of values for the current page or nil if there are no values.
SiteConfigurationSnapshotInfo a snapshot of a web app configuration.
type SiteConfigurationSnapshotInfo struct { // SiteConfigurationSnapshotInfoProperties - SiteConfigurationSnapshotInfo resource specific properties *SiteConfigurationSnapshotInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (scsi SiteConfigurationSnapshotInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteConfigurationSnapshotInfo.
func (scsi *SiteConfigurationSnapshotInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteConfigurationSnapshotInfo struct.
SiteConfigurationSnapshotInfoCollection collection of metadata for the app configuration snapshots that can be restored.
type SiteConfigurationSnapshotInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SiteConfigurationSnapshotInfo `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (scsic SiteConfigurationSnapshotInfoCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (scsic SiteConfigurationSnapshotInfoCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteConfigurationSnapshotInfoCollection.
SiteConfigurationSnapshotInfoCollectionIterator provides access to a complete listing of SiteConfigurationSnapshotInfo values.
type SiteConfigurationSnapshotInfoCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSiteConfigurationSnapshotInfoCollectionIterator(page SiteConfigurationSnapshotInfoCollectionPage) SiteConfigurationSnapshotInfoCollectionIterator
Creates a new instance of the SiteConfigurationSnapshotInfoCollectionIterator type.
func (iter *SiteConfigurationSnapshotInfoCollectionIterator) 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 (iter *SiteConfigurationSnapshotInfoCollectionIterator) 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 (iter SiteConfigurationSnapshotInfoCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SiteConfigurationSnapshotInfoCollectionIterator) Response() SiteConfigurationSnapshotInfoCollection
Response returns the raw server response from the last page request.
func (iter SiteConfigurationSnapshotInfoCollectionIterator) Value() SiteConfigurationSnapshotInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SiteConfigurationSnapshotInfoCollectionPage contains a page of SiteConfigurationSnapshotInfo values.
type SiteConfigurationSnapshotInfoCollectionPage struct {
// contains filtered or unexported fields
}
func NewSiteConfigurationSnapshotInfoCollectionPage(cur SiteConfigurationSnapshotInfoCollection, getNextPage func(context.Context, SiteConfigurationSnapshotInfoCollection) (SiteConfigurationSnapshotInfoCollection, error)) SiteConfigurationSnapshotInfoCollectionPage
Creates a new instance of the SiteConfigurationSnapshotInfoCollectionPage type.
func (page *SiteConfigurationSnapshotInfoCollectionPage) 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 (page *SiteConfigurationSnapshotInfoCollectionPage) 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 (page SiteConfigurationSnapshotInfoCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SiteConfigurationSnapshotInfoCollectionPage) Response() SiteConfigurationSnapshotInfoCollection
Response returns the raw server response from the last page request.
func (page SiteConfigurationSnapshotInfoCollectionPage) Values() []SiteConfigurationSnapshotInfo
Values returns the slice of values for the current page or nil if there are no values.
SiteConfigurationSnapshotInfoProperties siteConfigurationSnapshotInfo resource specific properties
type SiteConfigurationSnapshotInfoProperties struct { // Time - READ-ONLY; The time the snapshot was taken. Time *date.Time `json:"time,omitempty"` // ID - READ-ONLY; The id of the snapshot ID *int32 `json:"id,omitempty"` }
func (scsi SiteConfigurationSnapshotInfoProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteConfigurationSnapshotInfoProperties.
SiteExtensionInfo site Extension Information.
type SiteExtensionInfo struct { autorest.Response `json:"-"` // SiteExtensionInfoProperties - SiteExtensionInfo resource specific properties *SiteExtensionInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (sei SiteExtensionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteExtensionInfo.
func (sei *SiteExtensionInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteExtensionInfo struct.
SiteExtensionInfoCollection collection of Kudu site extension information elements.
type SiteExtensionInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SiteExtensionInfo `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (seic SiteExtensionInfoCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (seic SiteExtensionInfoCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteExtensionInfoCollection.
SiteExtensionInfoCollectionIterator provides access to a complete listing of SiteExtensionInfo values.
type SiteExtensionInfoCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSiteExtensionInfoCollectionIterator(page SiteExtensionInfoCollectionPage) SiteExtensionInfoCollectionIterator
Creates a new instance of the SiteExtensionInfoCollectionIterator type.
func (iter *SiteExtensionInfoCollectionIterator) 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 (iter *SiteExtensionInfoCollectionIterator) 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 (iter SiteExtensionInfoCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SiteExtensionInfoCollectionIterator) Response() SiteExtensionInfoCollection
Response returns the raw server response from the last page request.
func (iter SiteExtensionInfoCollectionIterator) Value() SiteExtensionInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SiteExtensionInfoCollectionPage contains a page of SiteExtensionInfo values.
type SiteExtensionInfoCollectionPage struct {
// contains filtered or unexported fields
}
func NewSiteExtensionInfoCollectionPage(cur SiteExtensionInfoCollection, getNextPage func(context.Context, SiteExtensionInfoCollection) (SiteExtensionInfoCollection, error)) SiteExtensionInfoCollectionPage
Creates a new instance of the SiteExtensionInfoCollectionPage type.
func (page *SiteExtensionInfoCollectionPage) 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 (page *SiteExtensionInfoCollectionPage) 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 (page SiteExtensionInfoCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SiteExtensionInfoCollectionPage) Response() SiteExtensionInfoCollection
Response returns the raw server response from the last page request.
func (page SiteExtensionInfoCollectionPage) Values() []SiteExtensionInfo
Values returns the slice of values for the current page or nil if there are no values.
SiteExtensionInfoProperties siteExtensionInfo resource specific properties
type SiteExtensionInfoProperties struct { // ID - Site extension ID. ID *string `json:"id,omitempty"` // Title - Site extension title. Title *string `json:"title,omitempty"` // Type - Site extension type. Possible values include: 'Gallery', 'WebRoot' Type SiteExtensionType `json:"type,omitempty"` // Summary - Summary description. Summary *string `json:"summary,omitempty"` // Description - Detailed description. Description *string `json:"description,omitempty"` // Version - Version information. Version *string `json:"version,omitempty"` // ExtensionURL - Extension URL. ExtensionURL *string `json:"extensionUrl,omitempty"` // ProjectURL - Project URL. ProjectURL *string `json:"projectUrl,omitempty"` // IconURL - Icon URL. IconURL *string `json:"iconUrl,omitempty"` // LicenseURL - License URL. LicenseURL *string `json:"licenseUrl,omitempty"` // FeedURL - Feed URL. FeedURL *string `json:"feedUrl,omitempty"` // Authors - List of authors. Authors *[]string `json:"authors,omitempty"` // InstallationArgs - Installer command line parameters. InstallationArgs *string `json:"installationArgs,omitempty"` // PublishedDateTime - Published timestamp. PublishedDateTime *date.Time `json:"publishedDateTime,omitempty"` // DownloadCount - Count of downloads. DownloadCount *int32 `json:"downloadCount,omitempty"` // LocalIsLatestVersion - <code>true</code> if the local version is the latest version; <code>false</code> otherwise. LocalIsLatestVersion *bool `json:"localIsLatestVersion,omitempty"` // LocalPath - Local path. LocalPath *string `json:"localPath,omitempty"` // InstalledDateTime - Installed timestamp. InstalledDateTime *date.Time `json:"installedDateTime,omitempty"` // ProvisioningState - Provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // Comment - Site Extension comment. Comment *string `json:"comment,omitempty"` }
SiteExtensionType enumerates the values for site extension type.
type SiteExtensionType string
const ( // Gallery ... Gallery SiteExtensionType = "Gallery" // WebRoot ... WebRoot SiteExtensionType = "WebRoot" )
func PossibleSiteExtensionTypeValues() []SiteExtensionType
PossibleSiteExtensionTypeValues returns an array of possible values for the SiteExtensionType const type.
SiteInstance instance of an app.
type SiteInstance struct { // SiteInstanceProperties - SiteInstance resource specific properties *SiteInstanceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (si SiteInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteInstance.
func (si *SiteInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteInstance struct.
SiteInstanceProperties siteInstance resource specific properties
type SiteInstanceProperties struct { // Name - READ-ONLY; Name of instance. Name *string `json:"name,omitempty"` }
func (si SiteInstanceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteInstanceProperties.
SiteLimits metric limits set on an app.
type SiteLimits struct { // MaxPercentageCPU - Maximum allowed CPU usage percentage. MaxPercentageCPU *float64 `json:"maxPercentageCpu,omitempty"` // MaxMemoryInMb - Maximum allowed memory usage in MB. MaxMemoryInMb *int64 `json:"maxMemoryInMb,omitempty"` // MaxDiskSizeInMb - Maximum allowed disk size usage in MB. MaxDiskSizeInMb *int64 `json:"maxDiskSizeInMb,omitempty"` }
SiteLoadBalancing enumerates the values for site load balancing.
type SiteLoadBalancing string
const ( // LeastRequests ... LeastRequests SiteLoadBalancing = "LeastRequests" // LeastResponseTime ... LeastResponseTime SiteLoadBalancing = "LeastResponseTime" // RequestHash ... RequestHash SiteLoadBalancing = "RequestHash" // WeightedRoundRobin ... WeightedRoundRobin SiteLoadBalancing = "WeightedRoundRobin" // WeightedTotalTraffic ... WeightedTotalTraffic SiteLoadBalancing = "WeightedTotalTraffic" )
func PossibleSiteLoadBalancingValues() []SiteLoadBalancing
PossibleSiteLoadBalancingValues returns an array of possible values for the SiteLoadBalancing const type.
SiteLogsConfig configuration of App Service site logs.
type SiteLogsConfig struct { autorest.Response `json:"-"` // SiteLogsConfigProperties - SiteLogsConfig resource specific properties *SiteLogsConfigProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (slc SiteLogsConfig) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteLogsConfig.
func (slc *SiteLogsConfig) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteLogsConfig struct.
SiteLogsConfigProperties siteLogsConfig resource specific properties
type SiteLogsConfigProperties struct { // ApplicationLogs - Application logs configuration. ApplicationLogs *ApplicationLogsConfig `json:"applicationLogs,omitempty"` // HTTPLogs - HTTP logs configuration. HTTPLogs *HTTPLogsConfig `json:"httpLogs,omitempty"` // FailedRequestsTracing - Failed requests tracing configuration. FailedRequestsTracing *EnabledConfig `json:"failedRequestsTracing,omitempty"` // DetailedErrorMessages - Detailed error messages configuration. DetailedErrorMessages *EnabledConfig `json:"detailedErrorMessages,omitempty"` }
SiteMachineKey machineKey of an app.
type SiteMachineKey struct { // Validation - MachineKey validation. Validation *string `json:"validation,omitempty"` // ValidationKey - Validation key. ValidationKey *string `json:"validationKey,omitempty"` // Decryption - Algorithm used for decryption. Decryption *string `json:"decryption,omitempty"` // DecryptionKey - Decryption key. DecryptionKey *string `json:"decryptionKey,omitempty"` }
SitePatchResource ARM resource for a site.
type SitePatchResource struct { // SitePatchResourceProperties - SitePatchResource resource specific properties *SitePatchResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (spr SitePatchResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SitePatchResource.
func (spr *SitePatchResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SitePatchResource struct.
SitePatchResourceProperties sitePatchResource resource specific properties
type SitePatchResourceProperties struct { // State - READ-ONLY; Current state of the app. State *string `json:"state,omitempty"` // HostNames - READ-ONLY; Hostnames associated with the app. HostNames *[]string `json:"hostNames,omitempty"` // RepositorySiteName - READ-ONLY; Name of the repository site. RepositorySiteName *string `json:"repositorySiteName,omitempty"` // UsageState - READ-ONLY; State indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'UsageStateNormal', 'UsageStateExceeded' UsageState UsageState `json:"usageState,omitempty"` // Enabled - <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). Enabled *bool `json:"enabled,omitempty"` // EnabledHostNames - READ-ONLY; Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, // the app is not served on those hostnames. EnabledHostNames *[]string `json:"enabledHostNames,omitempty"` // AvailabilityState - READ-ONLY; Management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode' AvailabilityState SiteAvailabilityState `json:"availabilityState,omitempty"` // HostNameSslStates - Hostname SSL states are used to manage the SSL bindings for app's hostnames. HostNameSslStates *[]HostNameSslState `json:"hostNameSslStates,omitempty"` // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ServerFarmID *string `json:"serverFarmId,omitempty"` // Reserved - <code>true</code> if reserved; otherwise, <code>false</code>. Reserved *bool `json:"reserved,omitempty"` // LastModifiedTimeUtc - READ-ONLY; Last time the app was modified, in UTC. Read-only. LastModifiedTimeUtc *date.Time `json:"lastModifiedTimeUtc,omitempty"` // SiteConfig - Configuration of the app. SiteConfig *SiteConfig `json:"siteConfig,omitempty"` // TrafficManagerHostNames - READ-ONLY; Azure Traffic Manager hostnames associated with the app. Read-only. TrafficManagerHostNames *[]string `json:"trafficManagerHostNames,omitempty"` // ScmSiteAlsoStopped - <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. ScmSiteAlsoStopped *bool `json:"scmSiteAlsoStopped,omitempty"` // TargetSwapSlot - READ-ONLY; Specifies which deployment slot this app will swap into. Read-only. TargetSwapSlot *string `json:"targetSwapSlot,omitempty"` // HostingEnvironmentProfile - App Service Environment to use for the app. HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` // ClientAffinityEnabled - <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty"` // ClientCertEnabled - <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"` // HostNamesDisabled - <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. // If <code>true</code>, the app is only accessible via API management process. HostNamesDisabled *bool `json:"hostNamesDisabled,omitempty"` // OutboundIPAddresses - READ-ONLY; List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty"` // PossibleOutboundIPAddresses - READ-ONLY; List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty"` // ContainerSize - Size of the function container. ContainerSize *int32 `json:"containerSize,omitempty"` // DailyMemoryTimeQuota - Maximum allowed daily memory-time quota (applicable on dynamic apps only). DailyMemoryTimeQuota *int32 `json:"dailyMemoryTimeQuota,omitempty"` // SuspendedTill - READ-ONLY; App suspended till in case memory-time quota is exceeded. SuspendedTill *date.Time `json:"suspendedTill,omitempty"` // MaxNumberOfWorkers - READ-ONLY; Maximum number of workers. // This only applies to Functions container. MaxNumberOfWorkers *int32 `json:"maxNumberOfWorkers,omitempty"` // CloningInfo - If specified during app creation, the app is cloned from a source app. CloningInfo *CloningInfo `json:"cloningInfo,omitempty"` // SnapshotInfo - If specified during app creation, the app is created from a previous snapshot. SnapshotInfo *SnapshotRecoveryRequest `json:"snapshotInfo,omitempty"` // ResourceGroup - READ-ONLY; Name of the resource group the app belongs to. Read-only. ResourceGroup *string `json:"resourceGroup,omitempty"` // IsDefaultContainer - READ-ONLY; <code>true</code> if the app is a default container; otherwise, <code>false</code>. IsDefaultContainer *bool `json:"isDefaultContainer,omitempty"` // DefaultHostName - READ-ONLY; Default hostname of the app. Read-only. DefaultHostName *string `json:"defaultHostName,omitempty"` // SlotSwapStatus - READ-ONLY; Status of the last deployment slot swap operation. SlotSwapStatus *SlotSwapStatus `json:"slotSwapStatus,omitempty"` // HTTPSOnly - HttpsOnly: configures a web site to accept only https requests. Issues redirect for // http requests HTTPSOnly *bool `json:"httpsOnly,omitempty"` }
func (spr SitePatchResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SitePatchResourceProperties.
SitePhpErrorLogFlag used for getting PHP error logging flag.
type SitePhpErrorLogFlag struct { autorest.Response `json:"-"` // SitePhpErrorLogFlagProperties - SitePhpErrorLogFlag resource specific properties *SitePhpErrorLogFlagProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (spelf SitePhpErrorLogFlag) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SitePhpErrorLogFlag.
func (spelf *SitePhpErrorLogFlag) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SitePhpErrorLogFlag struct.
SitePhpErrorLogFlagProperties sitePhpErrorLogFlag resource specific properties
type SitePhpErrorLogFlagProperties struct { // LocalLogErrors - Local log_errors setting. LocalLogErrors *string `json:"localLogErrors,omitempty"` // MasterLogErrors - Master log_errors setting. MasterLogErrors *string `json:"masterLogErrors,omitempty"` // LocalLogErrorsMaxLength - Local log_errors_max_len setting. LocalLogErrorsMaxLength *string `json:"localLogErrorsMaxLength,omitempty"` // MasterLogErrorsMaxLength - Master log_errors_max_len setting. MasterLogErrorsMaxLength *string `json:"masterLogErrorsMaxLength,omitempty"` }
SiteProperties site resource specific properties
type SiteProperties struct { // State - READ-ONLY; Current state of the app. State *string `json:"state,omitempty"` // HostNames - READ-ONLY; Hostnames associated with the app. HostNames *[]string `json:"hostNames,omitempty"` // RepositorySiteName - READ-ONLY; Name of the repository site. RepositorySiteName *string `json:"repositorySiteName,omitempty"` // UsageState - READ-ONLY; State indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'UsageStateNormal', 'UsageStateExceeded' UsageState UsageState `json:"usageState,omitempty"` // Enabled - <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). Enabled *bool `json:"enabled,omitempty"` // EnabledHostNames - READ-ONLY; Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, // the app is not served on those hostnames. EnabledHostNames *[]string `json:"enabledHostNames,omitempty"` // AvailabilityState - READ-ONLY; Management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode' AvailabilityState SiteAvailabilityState `json:"availabilityState,omitempty"` // HostNameSslStates - Hostname SSL states are used to manage the SSL bindings for app's hostnames. HostNameSslStates *[]HostNameSslState `json:"hostNameSslStates,omitempty"` // ServerFarmID - Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ServerFarmID *string `json:"serverFarmId,omitempty"` // Reserved - <code>true</code> if reserved; otherwise, <code>false</code>. Reserved *bool `json:"reserved,omitempty"` // LastModifiedTimeUtc - READ-ONLY; Last time the app was modified, in UTC. Read-only. LastModifiedTimeUtc *date.Time `json:"lastModifiedTimeUtc,omitempty"` // SiteConfig - Configuration of the app. SiteConfig *SiteConfig `json:"siteConfig,omitempty"` // TrafficManagerHostNames - READ-ONLY; Azure Traffic Manager hostnames associated with the app. Read-only. TrafficManagerHostNames *[]string `json:"trafficManagerHostNames,omitempty"` // ScmSiteAlsoStopped - <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. ScmSiteAlsoStopped *bool `json:"scmSiteAlsoStopped,omitempty"` // TargetSwapSlot - READ-ONLY; Specifies which deployment slot this app will swap into. Read-only. TargetSwapSlot *string `json:"targetSwapSlot,omitempty"` // HostingEnvironmentProfile - App Service Environment to use for the app. HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` // ClientAffinityEnabled - <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty"` // ClientCertEnabled - <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"` // HostNamesDisabled - <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. // If <code>true</code>, the app is only accessible via API management process. HostNamesDisabled *bool `json:"hostNamesDisabled,omitempty"` // OutboundIPAddresses - READ-ONLY; List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty"` // PossibleOutboundIPAddresses - READ-ONLY; List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty"` // ContainerSize - Size of the function container. ContainerSize *int32 `json:"containerSize,omitempty"` // DailyMemoryTimeQuota - Maximum allowed daily memory-time quota (applicable on dynamic apps only). DailyMemoryTimeQuota *int32 `json:"dailyMemoryTimeQuota,omitempty"` // SuspendedTill - READ-ONLY; App suspended till in case memory-time quota is exceeded. SuspendedTill *date.Time `json:"suspendedTill,omitempty"` // MaxNumberOfWorkers - READ-ONLY; Maximum number of workers. // This only applies to Functions container. MaxNumberOfWorkers *int32 `json:"maxNumberOfWorkers,omitempty"` // CloningInfo - If specified during app creation, the app is cloned from a source app. CloningInfo *CloningInfo `json:"cloningInfo,omitempty"` // SnapshotInfo - If specified during app creation, the app is created from a previous snapshot. SnapshotInfo *SnapshotRecoveryRequest `json:"snapshotInfo,omitempty"` // ResourceGroup - READ-ONLY; Name of the resource group the app belongs to. Read-only. ResourceGroup *string `json:"resourceGroup,omitempty"` // IsDefaultContainer - READ-ONLY; <code>true</code> if the app is a default container; otherwise, <code>false</code>. IsDefaultContainer *bool `json:"isDefaultContainer,omitempty"` // DefaultHostName - READ-ONLY; Default hostname of the app. Read-only. DefaultHostName *string `json:"defaultHostName,omitempty"` // SlotSwapStatus - READ-ONLY; Status of the last deployment slot swap operation. SlotSwapStatus *SlotSwapStatus `json:"slotSwapStatus,omitempty"` // HTTPSOnly - HttpsOnly: configures a web site to accept only https requests. Issues redirect for // http requests HTTPSOnly *bool `json:"httpsOnly,omitempty"` }
func (s SiteProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteProperties.
SiteSeal site seal
type SiteSeal struct { autorest.Response `json:"-"` // HTML - HTML snippet HTML *string `json:"html,omitempty"` }
SiteSealRequest site seal request.
type SiteSealRequest struct { // LightTheme - If <code>true</code> use the light color theme for site seal; otherwise, use the default color theme. LightTheme *bool `json:"lightTheme,omitempty"` // Locale - Locale of site seal. Locale *string `json:"locale,omitempty"` }
SiteSourceControl source control configuration for an app.
type SiteSourceControl struct { autorest.Response `json:"-"` // SiteSourceControlProperties - SiteSourceControl resource specific properties *SiteSourceControlProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (ssc SiteSourceControl) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteSourceControl.
func (ssc *SiteSourceControl) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SiteSourceControl struct.
SiteSourceControlProperties siteSourceControl resource specific properties
type SiteSourceControlProperties struct { // RepoURL - Repository or source control URL. RepoURL *string `json:"repoUrl,omitempty"` // Branch - Name of branch to use for deployment. Branch *string `json:"branch,omitempty"` // IsManualIntegration - <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). IsManualIntegration *bool `json:"isManualIntegration,omitempty"` // DeploymentRollbackEnabled - <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. DeploymentRollbackEnabled *bool `json:"deploymentRollbackEnabled,omitempty"` // IsMercurial - <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. IsMercurial *bool `json:"isMercurial,omitempty"` }
SkuCapacity description of the App Service plan scale options.
type SkuCapacity struct { // Minimum - Minimum number of workers for this App Service plan SKU. Minimum *int32 `json:"minimum,omitempty"` // Maximum - Maximum number of workers for this App Service plan SKU. Maximum *int32 `json:"maximum,omitempty"` // Default - Default number of workers for this App Service plan SKU. Default *int32 `json:"default,omitempty"` // ScaleType - Available scale configurations for an App Service plan. ScaleType *string `json:"scaleType,omitempty"` }
SkuDescription description of a SKU for a scalable resource.
type SkuDescription struct { // Name - Name of the resource SKU. Name *string `json:"name,omitempty"` // Tier - Service tier of the resource SKU. Tier *string `json:"tier,omitempty"` // Size - Size specifier of the resource SKU. Size *string `json:"size,omitempty"` // Family - Family code of the resource SKU. Family *string `json:"family,omitempty"` // Capacity - Current number of instances assigned to the resource. Capacity *int32 `json:"capacity,omitempty"` // SkuCapacity - Min, max, and default scale values of the SKU. SkuCapacity *SkuCapacity `json:"skuCapacity,omitempty"` // Locations - Locations of the SKU. Locations *[]string `json:"locations,omitempty"` // Capabilities - Capabilities of the SKU, e.g., is traffic manager enabled? Capabilities *[]Capability `json:"capabilities,omitempty"` }
SkuInfo SKU discovery information.
type SkuInfo struct { // ResourceType - Resource type that this SKU applies to. ResourceType *string `json:"resourceType,omitempty"` // Sku - Name and tier of the SKU. Sku *SkuDescription `json:"sku,omitempty"` // Capacity - Min, max, and default scale values of the SKU. Capacity *SkuCapacity `json:"capacity,omitempty"` }
SkuInfoCollection collection of SKU information.
type SkuInfoCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SkuInfo `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (sic SkuInfoCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (sic SkuInfoCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuInfoCollection.
SkuInfoCollectionIterator provides access to a complete listing of SkuInfo values.
type SkuInfoCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSkuInfoCollectionIterator(page SkuInfoCollectionPage) SkuInfoCollectionIterator
Creates a new instance of the SkuInfoCollectionIterator type.
func (iter *SkuInfoCollectionIterator) 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 (iter *SkuInfoCollectionIterator) 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 (iter SkuInfoCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SkuInfoCollectionIterator) Response() SkuInfoCollection
Response returns the raw server response from the last page request.
func (iter SkuInfoCollectionIterator) Value() SkuInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SkuInfoCollectionPage contains a page of SkuInfo values.
type SkuInfoCollectionPage struct {
// contains filtered or unexported fields
}
func NewSkuInfoCollectionPage(cur SkuInfoCollection, getNextPage func(context.Context, SkuInfoCollection) (SkuInfoCollection, error)) SkuInfoCollectionPage
Creates a new instance of the SkuInfoCollectionPage type.
func (page *SkuInfoCollectionPage) 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 (page *SkuInfoCollectionPage) 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 (page SkuInfoCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SkuInfoCollectionPage) Response() SkuInfoCollection
Response returns the raw server response from the last page request.
func (page SkuInfoCollectionPage) Values() []SkuInfo
Values returns the slice of values for the current page or nil if there are no values.
SkuInfos collection of SKU information.
type SkuInfos struct { autorest.Response `json:"-"` // ResourceType - Resource type that this SKU applies to. ResourceType *string `json:"resourceType,omitempty"` // Skus - List of SKUs the subscription is able to use. Skus *[]GlobalCsmSkuDescription `json:"skus,omitempty"` }
SkuName enumerates the values for sku name.
type SkuName string
const ( // SkuNameBasic ... SkuNameBasic SkuName = "Basic" // SkuNameDynamic ... SkuNameDynamic SkuName = "Dynamic" // SkuNameFree ... SkuNameFree SkuName = "Free" // SkuNameIsolated ... SkuNameIsolated SkuName = "Isolated" // SkuNamePremium ... SkuNamePremium SkuName = "Premium" // SkuNamePremiumV2 ... SkuNamePremiumV2 SkuName = "PremiumV2" // SkuNameShared ... SkuName = "Shared" // SkuNameStandard ... SkuNameStandard SkuName = "Standard" )
func PossibleSkuNameValues() []SkuName
PossibleSkuNameValues returns an array of possible values for the SkuName const type.
SlotConfigNames names for connection strings and application settings to be marked as sticky to the deployment slot and not moved during a swap operation. This is valid for all deployment slots in an app.
type SlotConfigNames struct { // ConnectionStringNames - List of connection string names. ConnectionStringNames *[]string `json:"connectionStringNames,omitempty"` // AppSettingNames - List of application settings names. AppSettingNames *[]string `json:"appSettingNames,omitempty"` }
SlotConfigNamesResource slot Config names azure resource.
type SlotConfigNamesResource struct { autorest.Response `json:"-"` // SlotConfigNames - Core resource properties *SlotConfigNames `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (scnr SlotConfigNamesResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SlotConfigNamesResource.
func (scnr *SlotConfigNamesResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SlotConfigNamesResource struct.
SlotDifference a setting difference between two deployment slots of an app.
type SlotDifference struct { // SlotDifferenceProperties - SlotDifference resource specific properties *SlotDifferenceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (sd SlotDifference) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SlotDifference.
func (sd *SlotDifference) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SlotDifference struct.
SlotDifferenceCollection collection of slot differences.
type SlotDifferenceCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SlotDifference `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (sdc SlotDifferenceCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (sdc SlotDifferenceCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SlotDifferenceCollection.
SlotDifferenceCollectionIterator provides access to a complete listing of SlotDifference values.
type SlotDifferenceCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSlotDifferenceCollectionIterator(page SlotDifferenceCollectionPage) SlotDifferenceCollectionIterator
Creates a new instance of the SlotDifferenceCollectionIterator type.
func (iter *SlotDifferenceCollectionIterator) 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 (iter *SlotDifferenceCollectionIterator) 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 (iter SlotDifferenceCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SlotDifferenceCollectionIterator) Response() SlotDifferenceCollection
Response returns the raw server response from the last page request.
func (iter SlotDifferenceCollectionIterator) Value() SlotDifference
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SlotDifferenceCollectionPage contains a page of SlotDifference values.
type SlotDifferenceCollectionPage struct {
// contains filtered or unexported fields
}
func NewSlotDifferenceCollectionPage(cur SlotDifferenceCollection, getNextPage func(context.Context, SlotDifferenceCollection) (SlotDifferenceCollection, error)) SlotDifferenceCollectionPage
Creates a new instance of the SlotDifferenceCollectionPage type.
func (page *SlotDifferenceCollectionPage) 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 (page *SlotDifferenceCollectionPage) 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 (page SlotDifferenceCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SlotDifferenceCollectionPage) Response() SlotDifferenceCollection
Response returns the raw server response from the last page request.
func (page SlotDifferenceCollectionPage) Values() []SlotDifference
Values returns the slice of values for the current page or nil if there are no values.
SlotDifferenceProperties slotDifference resource specific properties
type SlotDifferenceProperties struct { // Type - READ-ONLY; Type of the difference: Information, Warning or Error. Type *string `json:"type,omitempty"` // SettingType - READ-ONLY; The type of the setting: General, AppSetting or ConnectionString. SettingType *string `json:"settingType,omitempty"` // DiffRule - READ-ONLY; Rule that describes how to process the setting difference during a slot swap. DiffRule *string `json:"diffRule,omitempty"` // SettingName - READ-ONLY; Name of the setting. SettingName *string `json:"settingName,omitempty"` // ValueInCurrentSlot - READ-ONLY; Value of the setting in the current slot. ValueInCurrentSlot *string `json:"valueInCurrentSlot,omitempty"` // ValueInTargetSlot - READ-ONLY; Value of the setting in the target slot. ValueInTargetSlot *string `json:"valueInTargetSlot,omitempty"` // Description - READ-ONLY; Description of the setting difference. Description *string `json:"description,omitempty"` }
func (sd SlotDifferenceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SlotDifferenceProperties.
SlotSwapStatus the status of the last successful slot swap operation.
type SlotSwapStatus struct { // TimestampUtc - READ-ONLY; The time the last successful slot swap completed. TimestampUtc *date.Time `json:"timestampUtc,omitempty"` // SourceSlotName - READ-ONLY; The source slot of the last swap operation. SourceSlotName *string `json:"sourceSlotName,omitempty"` // DestinationSlotName - READ-ONLY; The destination slot of the last swap operation. DestinationSlotName *string `json:"destinationSlotName,omitempty"` }
func (sss SlotSwapStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SlotSwapStatus.
SlowRequestsBasedTrigger trigger based on request execution time.
type SlowRequestsBasedTrigger struct { // TimeTaken - Time taken. TimeTaken *string `json:"timeTaken,omitempty"` // Count - Request Count. Count *int32 `json:"count,omitempty"` // TimeInterval - Time interval. TimeInterval *string `json:"timeInterval,omitempty"` }
Snapshot a snapshot of an app.
type Snapshot struct { // SnapshotProperties - Snapshot resource specific properties *SnapshotProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (s Snapshot) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Snapshot.
func (s *Snapshot) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Snapshot struct.
SnapshotCollection collection of snapshots which can be used to revert an app to a previous time.
type SnapshotCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Snapshot `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (sc SnapshotCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (sc SnapshotCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotCollection.
SnapshotCollectionIterator provides access to a complete listing of Snapshot values.
type SnapshotCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSnapshotCollectionIterator(page SnapshotCollectionPage) SnapshotCollectionIterator
Creates a new instance of the SnapshotCollectionIterator type.
func (iter *SnapshotCollectionIterator) 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 (iter *SnapshotCollectionIterator) 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 (iter SnapshotCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SnapshotCollectionIterator) Response() SnapshotCollection
Response returns the raw server response from the last page request.
func (iter SnapshotCollectionIterator) Value() Snapshot
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SnapshotCollectionPage contains a page of Snapshot values.
type SnapshotCollectionPage struct {
// contains filtered or unexported fields
}
func NewSnapshotCollectionPage(cur SnapshotCollection, getNextPage func(context.Context, SnapshotCollection) (SnapshotCollection, error)) SnapshotCollectionPage
Creates a new instance of the SnapshotCollectionPage type.
func (page *SnapshotCollectionPage) 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 (page *SnapshotCollectionPage) 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 (page SnapshotCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SnapshotCollectionPage) Response() SnapshotCollection
Response returns the raw server response from the last page request.
func (page SnapshotCollectionPage) Values() []Snapshot
Values returns the slice of values for the current page or nil if there are no values.
SnapshotProperties snapshot resource specific properties
type SnapshotProperties struct { // Time - READ-ONLY; The time the snapshot was taken. Time *string `json:"time,omitempty"` }
func (s SnapshotProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotProperties.
SnapshotRecoveryRequest details about app recovery operation.
type SnapshotRecoveryRequest struct { // SnapshotRecoveryRequestProperties - SnapshotRecoveryRequest resource specific properties *SnapshotRecoveryRequestProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (srr SnapshotRecoveryRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotRecoveryRequest.
func (srr *SnapshotRecoveryRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SnapshotRecoveryRequest struct.
SnapshotRecoveryRequestProperties snapshotRecoveryRequest resource specific properties
type SnapshotRecoveryRequestProperties struct { // SnapshotTime - Point in time in which the app recovery should be attempted, formatted as a DateTime string. SnapshotTime *string `json:"snapshotTime,omitempty"` // RecoveryTarget - Specifies the web app that snapshot contents will be written to. RecoveryTarget *SnapshotRecoveryTarget `json:"recoveryTarget,omitempty"` // Overwrite - If <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. Overwrite *bool `json:"overwrite,omitempty"` // RecoverConfiguration - If true, site configuration, in addition to content, will be reverted. RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"` // IgnoreConflictingHostNames - If true, custom hostname conflicts will be ignored when recovering to a target web app. // This setting is only necessary when RecoverConfiguration is enabled. IgnoreConflictingHostNames *bool `json:"ignoreConflictingHostNames,omitempty"` }
SnapshotRecoveryTarget specifies the web app that snapshot contents will be written to.
type SnapshotRecoveryTarget struct { // Location - Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS Location *string `json:"location,omitempty"` // ID - ARM resource ID of the target app. // /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. ID *string `json:"id,omitempty"` }
Solution class Representing Solution for problems detected.
type Solution struct { // ID - Solution Id. ID *float64 `json:"id,omitempty"` // DisplayName - Display Name of the solution DisplayName *string `json:"displayName,omitempty"` // Order - Order of the solution. Order *float64 `json:"order,omitempty"` // Description - Description of the solution Description *string `json:"description,omitempty"` // Type - Type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices' Type SolutionType `json:"type,omitempty"` // Data - Solution Data. Data *[][]NameValuePair `json:"data,omitempty"` // Metadata - Solution Metadata. Metadata *[][]NameValuePair `json:"metadata,omitempty"` }
SolutionType enumerates the values for solution type.
type SolutionType string
const ( // BestPractices ... BestPractices SolutionType = "BestPractices" // DeepInvestigation ... DeepInvestigation SolutionType = "DeepInvestigation" // QuickSolution ... QuickSolution SolutionType = "QuickSolution" )
func PossibleSolutionTypeValues() []SolutionType
PossibleSolutionTypeValues returns an array of possible values for the SolutionType const type.
SourceControl the source control OAuth token.
type SourceControl struct { autorest.Response `json:"-"` // SourceControlProperties - SourceControl resource specific properties *SourceControlProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (sc SourceControl) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SourceControl.
func (sc *SourceControl) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SourceControl struct.
SourceControlCollection collection of source controls.
type SourceControlCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]SourceControl `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (scc SourceControlCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (scc SourceControlCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SourceControlCollection.
SourceControlCollectionIterator provides access to a complete listing of SourceControl values.
type SourceControlCollectionIterator struct {
// contains filtered or unexported fields
}
func NewSourceControlCollectionIterator(page SourceControlCollectionPage) SourceControlCollectionIterator
Creates a new instance of the SourceControlCollectionIterator type.
func (iter *SourceControlCollectionIterator) 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 (iter *SourceControlCollectionIterator) 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 (iter SourceControlCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SourceControlCollectionIterator) Response() SourceControlCollection
Response returns the raw server response from the last page request.
func (iter SourceControlCollectionIterator) Value() SourceControl
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SourceControlCollectionPage contains a page of SourceControl values.
type SourceControlCollectionPage struct {
// contains filtered or unexported fields
}
func NewSourceControlCollectionPage(cur SourceControlCollection, getNextPage func(context.Context, SourceControlCollection) (SourceControlCollection, error)) SourceControlCollectionPage
Creates a new instance of the SourceControlCollectionPage type.
func (page *SourceControlCollectionPage) 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 (page *SourceControlCollectionPage) 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 (page SourceControlCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SourceControlCollectionPage) Response() SourceControlCollection
Response returns the raw server response from the last page request.
func (page SourceControlCollectionPage) Values() []SourceControl
Values returns the slice of values for the current page or nil if there are no values.
SourceControlProperties sourceControl resource specific properties
type SourceControlProperties struct { // Name - Name or source control type. Name *string `json:"name,omitempty"` // Token - OAuth access token. Token *string `json:"token,omitempty"` // TokenSecret - OAuth access token secret. TokenSecret *string `json:"tokenSecret,omitempty"` // RefreshToken - OAuth refresh token. RefreshToken *string `json:"refreshToken,omitempty"` // ExpirationTime - OAuth token expiration. ExpirationTime *date.Time `json:"expirationTime,omitempty"` }
SslState enumerates the values for ssl state.
type SslState string
const ( // Disabled ... Disabled SslState = "Disabled" // IPBasedEnabled ... IPBasedEnabled SslState = "IpBasedEnabled" // SniEnabled ... SniEnabled SslState = "SniEnabled" )
func PossibleSslStateValues() []SslState
PossibleSslStateValues returns an array of possible values for the SslState const type.
StackMajorVersion application stack major version.
type StackMajorVersion struct { // DisplayVersion - Application stack major version (display only). DisplayVersion *string `json:"displayVersion,omitempty"` // RuntimeVersion - Application stack major version (runtime only). RuntimeVersion *string `json:"runtimeVersion,omitempty"` // IsDefault - <code>true</code> if this is the default major version; otherwise, <code>false</code>. IsDefault *bool `json:"isDefault,omitempty"` // MinorVersions - Minor versions associated with the major version. MinorVersions *[]StackMinorVersion `json:"minorVersions,omitempty"` }
StackMinorVersion application stack minor version.
type StackMinorVersion struct { // DisplayVersion - Application stack minor version (display only). DisplayVersion *string `json:"displayVersion,omitempty"` // RuntimeVersion - Application stack minor version (runtime only). RuntimeVersion *string `json:"runtimeVersion,omitempty"` // IsDefault - <code>true</code> if this is the default minor version; otherwise, <code>false</code>. IsDefault *bool `json:"isDefault,omitempty"` }
StampCapacity stamp capacity information.
type StampCapacity struct { // Name - Name of the stamp. Name *string `json:"name,omitempty"` // AvailableCapacity - Available capacity (# of machines, bytes of storage etc...). AvailableCapacity *int64 `json:"availableCapacity,omitempty"` // TotalCapacity - Total capacity (# of machines, bytes of storage etc...). TotalCapacity *int64 `json:"totalCapacity,omitempty"` // Unit - Name of the unit. Unit *string `json:"unit,omitempty"` // ComputeMode - Shared/dedicated workers. Possible values include: 'ComputeModeOptionsShared', 'ComputeModeOptionsDedicated', 'ComputeModeOptionsDynamic' ComputeMode ComputeModeOptions `json:"computeMode,omitempty"` // WorkerSize - Size of the machines. Possible values include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3' WorkerSize WorkerSizeOptions `json:"workerSize,omitempty"` // WorkerSizeID - Size ID of machines: // 0 - Small // 1 - Medium // 2 - Large WorkerSizeID *int32 `json:"workerSizeId,omitempty"` // ExcludeFromCapacityAllocation - If <code>true</code>, it includes basic apps. // Basic apps are not used for capacity allocation. ExcludeFromCapacityAllocation *bool `json:"excludeFromCapacityAllocation,omitempty"` // IsApplicableForAllComputeModes - <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. IsApplicableForAllComputeModes *bool `json:"isApplicableForAllComputeModes,omitempty"` // SiteMode - Shared or Dedicated. SiteMode *string `json:"siteMode,omitempty"` }
StampCapacityCollection collection of stamp capacities.
type StampCapacityCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]StampCapacity `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (scc StampCapacityCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (scc StampCapacityCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StampCapacityCollection.
StampCapacityCollectionIterator provides access to a complete listing of StampCapacity values.
type StampCapacityCollectionIterator struct {
// contains filtered or unexported fields
}
func NewStampCapacityCollectionIterator(page StampCapacityCollectionPage) StampCapacityCollectionIterator
Creates a new instance of the StampCapacityCollectionIterator type.
func (iter *StampCapacityCollectionIterator) 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 (iter *StampCapacityCollectionIterator) 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 (iter StampCapacityCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter StampCapacityCollectionIterator) Response() StampCapacityCollection
Response returns the raw server response from the last page request.
func (iter StampCapacityCollectionIterator) Value() StampCapacity
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
StampCapacityCollectionPage contains a page of StampCapacity values.
type StampCapacityCollectionPage struct {
// contains filtered or unexported fields
}
func NewStampCapacityCollectionPage(cur StampCapacityCollection, getNextPage func(context.Context, StampCapacityCollection) (StampCapacityCollection, error)) StampCapacityCollectionPage
Creates a new instance of the StampCapacityCollectionPage type.
func (page *StampCapacityCollectionPage) 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 (page *StampCapacityCollectionPage) 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 (page StampCapacityCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page StampCapacityCollectionPage) Response() StampCapacityCollection
Response returns the raw server response from the last page request.
func (page StampCapacityCollectionPage) Values() []StampCapacity
Values returns the slice of values for the current page or nil if there are no values.
StatusCodesBasedTrigger trigger based on status code.
type StatusCodesBasedTrigger struct { // Status - HTTP status code. Status *int32 `json:"status,omitempty"` // SubStatus - Request Sub Status. SubStatus *int32 `json:"subStatus,omitempty"` // Win32Status - Win32 error code. Win32Status *int32 `json:"win32Status,omitempty"` // Count - Request Count. Count *int32 `json:"count,omitempty"` // TimeInterval - Time interval. TimeInterval *string `json:"timeInterval,omitempty"` }
StatusOptions enumerates the values for status options.
type StatusOptions string
const ( // StatusOptionsCreating ... StatusOptionsCreating StatusOptions = "Creating" // StatusOptionsPending ... StatusOptionsPending StatusOptions = "Pending" // StatusOptionsReady ... StatusOptionsReady StatusOptions = "Ready" )
func PossibleStatusOptionsValues() []StatusOptions
PossibleStatusOptionsValues returns an array of possible values for the StatusOptions const type.
StorageMigrationOptions options for app content migration.
type StorageMigrationOptions struct { // StorageMigrationOptionsProperties - StorageMigrationOptions resource specific properties *StorageMigrationOptionsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (smo StorageMigrationOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageMigrationOptions.
func (smo *StorageMigrationOptions) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StorageMigrationOptions struct.
StorageMigrationOptionsProperties storageMigrationOptions resource specific properties
type StorageMigrationOptionsProperties struct { // AzurefilesConnectionString - AzureFiles connection string. AzurefilesConnectionString *string `json:"azurefilesConnectionString,omitempty"` // AzurefilesShare - AzureFiles share. AzurefilesShare *string `json:"azurefilesShare,omitempty"` // SwitchSiteAfterMigration - <code>true</code>if the app should be switched over; otherwise, <code>false</code>. SwitchSiteAfterMigration *bool `json:"switchSiteAfterMigration,omitempty"` // BlockWriteAccessToSite - <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. BlockWriteAccessToSite *bool `json:"blockWriteAccessToSite,omitempty"` }
StorageMigrationResponse response for a migration of app content request.
type StorageMigrationResponse struct { autorest.Response `json:"-"` // StorageMigrationResponseProperties - StorageMigrationResponse resource specific properties *StorageMigrationResponseProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (smr StorageMigrationResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageMigrationResponse.
func (smr *StorageMigrationResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StorageMigrationResponse struct.
StorageMigrationResponseProperties storageMigrationResponse resource specific properties
type StorageMigrationResponseProperties struct { // OperationID - READ-ONLY; When server starts the migration process, it will return an operation ID identifying that particular migration operation. OperationID *string `json:"operationId,omitempty"` }
func (smr StorageMigrationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageMigrationResponseProperties.
String ...
type String struct { autorest.Response `json:"-"` Value *string `json:"value,omitempty"` }
StringDictionary string dictionary resource.
type StringDictionary struct { autorest.Response `json:"-"` // Properties - Settings. Properties map[string]*string `json:"properties"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (sd StringDictionary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StringDictionary.
SupportedTLSVersions enumerates the values for supported tls versions.
type SupportedTLSVersions string
const ( // OneFullStopOne ... OneFullStopOne SupportedTLSVersions = "1.1" // OneFullStopTwo ... OneFullStopTwo SupportedTLSVersions = "1.2" // OneFullStopZero ... OneFullStopZero SupportedTLSVersions = "1.0" )
func PossibleSupportedTLSVersionsValues() []SupportedTLSVersions
PossibleSupportedTLSVersionsValues returns an array of possible values for the SupportedTLSVersions const type.
TldLegalAgreement legal agreement for a top level domain.
type TldLegalAgreement struct { // AgreementKey - Unique identifier for the agreement. AgreementKey *string `json:"agreementKey,omitempty"` // Title - Agreement title. Title *string `json:"title,omitempty"` // Content - Agreement details. Content *string `json:"content,omitempty"` // URL - URL where a copy of the agreement details is hosted. URL *string `json:"url,omitempty"` }
TldLegalAgreementCollection collection of top-level domain legal agreements.
type TldLegalAgreementCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]TldLegalAgreement `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (tlac TldLegalAgreementCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (tlac TldLegalAgreementCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TldLegalAgreementCollection.
TldLegalAgreementCollectionIterator provides access to a complete listing of TldLegalAgreement values.
type TldLegalAgreementCollectionIterator struct {
// contains filtered or unexported fields
}
func NewTldLegalAgreementCollectionIterator(page TldLegalAgreementCollectionPage) TldLegalAgreementCollectionIterator
Creates a new instance of the TldLegalAgreementCollectionIterator type.
func (iter *TldLegalAgreementCollectionIterator) 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 (iter *TldLegalAgreementCollectionIterator) 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 (iter TldLegalAgreementCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter TldLegalAgreementCollectionIterator) Response() TldLegalAgreementCollection
Response returns the raw server response from the last page request.
func (iter TldLegalAgreementCollectionIterator) Value() TldLegalAgreement
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
TldLegalAgreementCollectionPage contains a page of TldLegalAgreement values.
type TldLegalAgreementCollectionPage struct {
// contains filtered or unexported fields
}
func NewTldLegalAgreementCollectionPage(cur TldLegalAgreementCollection, getNextPage func(context.Context, TldLegalAgreementCollection) (TldLegalAgreementCollection, error)) TldLegalAgreementCollectionPage
Creates a new instance of the TldLegalAgreementCollectionPage type.
func (page *TldLegalAgreementCollectionPage) 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 (page *TldLegalAgreementCollectionPage) 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 (page TldLegalAgreementCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page TldLegalAgreementCollectionPage) Response() TldLegalAgreementCollection
Response returns the raw server response from the last page request.
func (page TldLegalAgreementCollectionPage) Values() []TldLegalAgreement
Values returns the slice of values for the current page or nil if there are no values.
TopLevelDomain a top level domain object.
type TopLevelDomain struct { autorest.Response `json:"-"` // TopLevelDomainProperties - TopLevelDomain resource specific properties *TopLevelDomainProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (tld TopLevelDomain) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopLevelDomain.
func (tld *TopLevelDomain) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TopLevelDomain struct.
TopLevelDomainAgreementOption options for retrieving the list of top level domain legal agreements.
type TopLevelDomainAgreementOption struct { // IncludePrivacy - If <code>true</code>, then the list of agreements will include agreements for domain privacy as well; otherwise, <code>false</code>. IncludePrivacy *bool `json:"includePrivacy,omitempty"` // ForTransfer - If <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>. ForTransfer *bool `json:"forTransfer,omitempty"` }
TopLevelDomainCollection collection of Top-level domains.
type TopLevelDomainCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]TopLevelDomain `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (tldc TopLevelDomainCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (tldc TopLevelDomainCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopLevelDomainCollection.
TopLevelDomainCollectionIterator provides access to a complete listing of TopLevelDomain values.
type TopLevelDomainCollectionIterator struct {
// contains filtered or unexported fields
}
func NewTopLevelDomainCollectionIterator(page TopLevelDomainCollectionPage) TopLevelDomainCollectionIterator
Creates a new instance of the TopLevelDomainCollectionIterator type.
func (iter *TopLevelDomainCollectionIterator) 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 (iter *TopLevelDomainCollectionIterator) 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 (iter TopLevelDomainCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter TopLevelDomainCollectionIterator) Response() TopLevelDomainCollection
Response returns the raw server response from the last page request.
func (iter TopLevelDomainCollectionIterator) Value() TopLevelDomain
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
TopLevelDomainCollectionPage contains a page of TopLevelDomain values.
type TopLevelDomainCollectionPage struct {
// contains filtered or unexported fields
}
func NewTopLevelDomainCollectionPage(cur TopLevelDomainCollection, getNextPage func(context.Context, TopLevelDomainCollection) (TopLevelDomainCollection, error)) TopLevelDomainCollectionPage
Creates a new instance of the TopLevelDomainCollectionPage type.
func (page *TopLevelDomainCollectionPage) 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 (page *TopLevelDomainCollectionPage) 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 (page TopLevelDomainCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page TopLevelDomainCollectionPage) Response() TopLevelDomainCollection
Response returns the raw server response from the last page request.
func (page TopLevelDomainCollectionPage) Values() []TopLevelDomain
Values returns the slice of values for the current page or nil if there are no values.
TopLevelDomainProperties topLevelDomain resource specific properties
type TopLevelDomainProperties struct { // DomainName - READ-ONLY; Name of the top level domain. DomainName *string `json:"name,omitempty"` // Privacy - If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>. Privacy *bool `json:"privacy,omitempty"` }
func (tld TopLevelDomainProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopLevelDomainProperties.
TopLevelDomainsClient is the webSite Management Client
type TopLevelDomainsClient struct { BaseClient }
func NewTopLevelDomainsClient(subscriptionID string) TopLevelDomainsClient
NewTopLevelDomainsClient creates an instance of the TopLevelDomainsClient client.
func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) TopLevelDomainsClient
NewTopLevelDomainsClientWithBaseURI creates an instance of the TopLevelDomainsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error)
Get get details of a top-level domain. Parameters: name - name of the top-level domain.
func (client TopLevelDomainsClient) GetPreparer(ctx context.Context, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client TopLevelDomainsClient) GetResponder(resp *http.Response) (result TopLevelDomain, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (client TopLevelDomainsClient) 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 (client TopLevelDomainsClient) List(ctx context.Context) (result TopLevelDomainCollectionPage, err error)
List get all top-level domains supported for registration.
func (client TopLevelDomainsClient) ListAgreements(ctx context.Context, name string, agreementOption TopLevelDomainAgreementOption) (result TldLegalAgreementCollectionPage, err error)
ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. Parameters: name - name of the top-level domain. agreementOption - domain agreement options.
func (client TopLevelDomainsClient) ListAgreementsComplete(ctx context.Context, name string, agreementOption TopLevelDomainAgreementOption) (result TldLegalAgreementCollectionIterator, err error)
ListAgreementsComplete enumerates all values, automatically crossing page boundaries as required.
func (client TopLevelDomainsClient) ListAgreementsPreparer(ctx context.Context, name string, agreementOption TopLevelDomainAgreementOption) (*http.Request, error)
ListAgreementsPreparer prepares the ListAgreements request.
func (client TopLevelDomainsClient) ListAgreementsResponder(resp *http.Response) (result TldLegalAgreementCollection, err error)
ListAgreementsResponder handles the response to the ListAgreements request. The method always closes the http.Response Body.
func (client TopLevelDomainsClient) ListAgreementsSender(req *http.Request) (*http.Response, error)
ListAgreementsSender sends the ListAgreements request. The method will close the http.Response Body if it receives an error.
func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result TopLevelDomainCollectionIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client TopLevelDomainsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (client TopLevelDomainsClient) ListResponder(resp *http.Response) (result TopLevelDomainCollection, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (client TopLevelDomainsClient) 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.
TriggeredJobHistory triggered Web Job History. List of Triggered Web Job Run Information elements.
type TriggeredJobHistory struct { autorest.Response `json:"-"` // TriggeredJobHistoryProperties - TriggeredJobHistory resource specific properties *TriggeredJobHistoryProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (tjh TriggeredJobHistory) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredJobHistory.
func (tjh *TriggeredJobHistory) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TriggeredJobHistory struct.
TriggeredJobHistoryCollection collection of Kudu continuous web job information elements.
type TriggeredJobHistoryCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]TriggeredJobHistory `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (tjhc TriggeredJobHistoryCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (tjhc TriggeredJobHistoryCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredJobHistoryCollection.
TriggeredJobHistoryCollectionIterator provides access to a complete listing of TriggeredJobHistory values.
type TriggeredJobHistoryCollectionIterator struct {
// contains filtered or unexported fields
}
func NewTriggeredJobHistoryCollectionIterator(page TriggeredJobHistoryCollectionPage) TriggeredJobHistoryCollectionIterator
Creates a new instance of the TriggeredJobHistoryCollectionIterator type.
func (iter *TriggeredJobHistoryCollectionIterator) 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 (iter *TriggeredJobHistoryCollectionIterator) 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 (iter TriggeredJobHistoryCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter TriggeredJobHistoryCollectionIterator) Response() TriggeredJobHistoryCollection
Response returns the raw server response from the last page request.
func (iter TriggeredJobHistoryCollectionIterator) Value() TriggeredJobHistory
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
TriggeredJobHistoryCollectionPage contains a page of TriggeredJobHistory values.
type TriggeredJobHistoryCollectionPage struct {
// contains filtered or unexported fields
}
func NewTriggeredJobHistoryCollectionPage(cur TriggeredJobHistoryCollection, getNextPage func(context.Context, TriggeredJobHistoryCollection) (TriggeredJobHistoryCollection, error)) TriggeredJobHistoryCollectionPage
Creates a new instance of the TriggeredJobHistoryCollectionPage type.
func (page *TriggeredJobHistoryCollectionPage) 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 (page *TriggeredJobHistoryCollectionPage) 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 (page TriggeredJobHistoryCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page TriggeredJobHistoryCollectionPage) Response() TriggeredJobHistoryCollection
Response returns the raw server response from the last page request.
func (page TriggeredJobHistoryCollectionPage) Values() []TriggeredJobHistory
Values returns the slice of values for the current page or nil if there are no values.
TriggeredJobHistoryProperties triggeredJobHistory resource specific properties
type TriggeredJobHistoryProperties struct { // TriggeredJobRuns - List of triggered web job runs. TriggeredJobRuns *[]TriggeredJobRun `json:"triggeredJobRuns,omitempty"` }
TriggeredJobRun triggered Web Job Run Information.
type TriggeredJobRun struct { // TriggeredJobRunProperties - TriggeredJobRun resource specific properties *TriggeredJobRunProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (tjr TriggeredJobRun) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredJobRun.
func (tjr *TriggeredJobRun) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TriggeredJobRun struct.
TriggeredJobRunProperties triggeredJobRun resource specific properties
type TriggeredJobRunProperties struct { // ID - Job ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Job name. Name *string `json:"name,omitempty"` // Status - Job status. Possible values include: 'TriggeredWebJobStatusSuccess', 'TriggeredWebJobStatusFailed', 'TriggeredWebJobStatusError' Status TriggeredWebJobStatus `json:"status,omitempty"` // StartTime - Start time. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time. EndTime *date.Time `json:"endTime,omitempty"` // Duration - Job duration. Duration *string `json:"duration,omitempty"` // OutputURL - Output URL. OutputURL *string `json:"outputUrl,omitempty"` // ErrorURL - Error URL. ErrorURL *string `json:"errorUrl,omitempty"` // URL - Job URL. URL *string `json:"url,omitempty"` // JobName - Job name. JobName *string `json:"jobName,omitempty"` // Trigger - Job trigger. Trigger *string `json:"trigger,omitempty"` }
func (tjr TriggeredJobRunProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredJobRunProperties.
TriggeredWebJob triggered Web Job Information.
type TriggeredWebJob struct { autorest.Response `json:"-"` // TriggeredWebJobProperties - TriggeredWebJob resource specific properties *TriggeredWebJobProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (twj TriggeredWebJob) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredWebJob.
func (twj *TriggeredWebJob) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TriggeredWebJob struct.
TriggeredWebJobCollection collection of Kudu continuous web job information elements.
type TriggeredWebJobCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]TriggeredWebJob `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (twjc TriggeredWebJobCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (twjc TriggeredWebJobCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredWebJobCollection.
TriggeredWebJobCollectionIterator provides access to a complete listing of TriggeredWebJob values.
type TriggeredWebJobCollectionIterator struct {
// contains filtered or unexported fields
}
func NewTriggeredWebJobCollectionIterator(page TriggeredWebJobCollectionPage) TriggeredWebJobCollectionIterator
Creates a new instance of the TriggeredWebJobCollectionIterator type.
func (iter *TriggeredWebJobCollectionIterator) 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 (iter *TriggeredWebJobCollectionIterator) 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 (iter TriggeredWebJobCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter TriggeredWebJobCollectionIterator) Response() TriggeredWebJobCollection
Response returns the raw server response from the last page request.
func (iter TriggeredWebJobCollectionIterator) Value() TriggeredWebJob
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
TriggeredWebJobCollectionPage contains a page of TriggeredWebJob values.
type TriggeredWebJobCollectionPage struct {
// contains filtered or unexported fields
}
func NewTriggeredWebJobCollectionPage(cur TriggeredWebJobCollection, getNextPage func(context.Context, TriggeredWebJobCollection) (TriggeredWebJobCollection, error)) TriggeredWebJobCollectionPage
Creates a new instance of the TriggeredWebJobCollectionPage type.
func (page *TriggeredWebJobCollectionPage) 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 (page *TriggeredWebJobCollectionPage) 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 (page TriggeredWebJobCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page TriggeredWebJobCollectionPage) Response() TriggeredWebJobCollection
Response returns the raw server response from the last page request.
func (page TriggeredWebJobCollectionPage) Values() []TriggeredWebJob
Values returns the slice of values for the current page or nil if there are no values.
TriggeredWebJobProperties triggeredWebJob resource specific properties
type TriggeredWebJobProperties struct { // LatestRun - Latest job run information. LatestRun *TriggeredJobRun `json:"latestRun,omitempty"` // HistoryURL - History URL. HistoryURL *string `json:"historyUrl,omitempty"` // SchedulerLogsURL - Scheduler Logs URL. SchedulerLogsURL *string `json:"schedulerLogsUrl,omitempty"` // Name - READ-ONLY; Job name. Used as job identifier in ARM resource URI. Name *string `json:"name,omitempty"` // RunCommand - Run command. RunCommand *string `json:"runCommand,omitempty"` // URL - Job URL. URL *string `json:"url,omitempty"` // ExtraInfoURL - Extra Info URL. ExtraInfoURL *string `json:"extraInfoUrl,omitempty"` // JobType - Job type. Possible values include: 'Continuous', 'Triggered' JobType JobType `json:"jobType,omitempty"` // Error - Error information. Error *string `json:"error,omitempty"` // UsingSdk - Using SDK? UsingSdk *bool `json:"usingSdk,omitempty"` // Settings - Job settings. Settings map[string]interface{} `json:"settings"` }
func (twj TriggeredWebJobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TriggeredWebJobProperties.
TriggeredWebJobStatus enumerates the values for triggered web job status.
type TriggeredWebJobStatus string
const ( // TriggeredWebJobStatusError ... TriggeredWebJobStatusError TriggeredWebJobStatus = "Error" // TriggeredWebJobStatusFailed ... TriggeredWebJobStatusFailed TriggeredWebJobStatus = "Failed" // TriggeredWebJobStatusSuccess ... TriggeredWebJobStatusSuccess TriggeredWebJobStatus = "Success" )
func PossibleTriggeredWebJobStatusValues() []TriggeredWebJobStatus
PossibleTriggeredWebJobStatusValues returns an array of possible values for the TriggeredWebJobStatus const type.
UnauthenticatedClientAction enumerates the values for unauthenticated client action.
type UnauthenticatedClientAction string
const ( // AllowAnonymous ... AllowAnonymous UnauthenticatedClientAction = "AllowAnonymous" // RedirectToLoginPage ... RedirectToLoginPage UnauthenticatedClientAction = "RedirectToLoginPage" )
func PossibleUnauthenticatedClientActionValues() []UnauthenticatedClientAction
PossibleUnauthenticatedClientActionValues returns an array of possible values for the UnauthenticatedClientAction const type.
Usage usage of the quota resource.
type Usage struct { // UsageProperties - Usage resource specific properties *UsageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (u Usage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Usage.
func (u *Usage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Usage struct.
UsageCollection collection of usages.
type UsageCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]Usage `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (uc UsageCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (uc UsageCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UsageCollection.
UsageCollectionIterator provides access to a complete listing of Usage values.
type UsageCollectionIterator struct {
// contains filtered or unexported fields
}
func NewUsageCollectionIterator(page UsageCollectionPage) UsageCollectionIterator
Creates a new instance of the UsageCollectionIterator type.
func (iter *UsageCollectionIterator) 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 (iter *UsageCollectionIterator) 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 (iter UsageCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter UsageCollectionIterator) Response() UsageCollection
Response returns the raw server response from the last page request.
func (iter UsageCollectionIterator) Value() Usage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
UsageCollectionPage contains a page of Usage values.
type UsageCollectionPage struct {
// contains filtered or unexported fields
}
func NewUsageCollectionPage(cur UsageCollection, getNextPage func(context.Context, UsageCollection) (UsageCollection, error)) UsageCollectionPage
Creates a new instance of the UsageCollectionPage type.
func (page *UsageCollectionPage) 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 (page *UsageCollectionPage) 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 (page UsageCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page UsageCollectionPage) Response() UsageCollection
Response returns the raw server response from the last page request.
func (page UsageCollectionPage) Values() []Usage
Values returns the slice of values for the current page or nil if there are no values.
UsageProperties usage resource specific properties
type UsageProperties struct { // DisplayName - READ-ONLY; Friendly name shown in the UI. DisplayName *string `json:"displayName,omitempty"` // Name - READ-ONLY; Name of the quota. Name *string `json:"name,omitempty"` // ResourceName - READ-ONLY; Name of the quota resource. ResourceName *string `json:"resourceName,omitempty"` // Unit - READ-ONLY; Units of measurement for the quota resource. Unit *string `json:"unit,omitempty"` // CurrentValue - READ-ONLY; The current value of the resource counter. CurrentValue *int64 `json:"currentValue,omitempty"` // Limit - READ-ONLY; The resource limit. Limit *int64 `json:"limit,omitempty"` // NextResetTime - READ-ONLY; Next reset time for the resource counter. NextResetTime *date.Time `json:"nextResetTime,omitempty"` // ComputeMode - READ-ONLY; Compute mode used for this usage. Possible values include: 'ComputeModeOptionsShared', 'ComputeModeOptionsDedicated', 'ComputeModeOptionsDynamic' ComputeMode ComputeModeOptions `json:"computeMode,omitempty"` // SiteMode - READ-ONLY; Site mode used for this usage. SiteMode *string `json:"siteMode,omitempty"` }
func (u UsageProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UsageProperties.
UsageState enumerates the values for usage state.
type UsageState string
const ( // UsageStateExceeded ... UsageStateExceeded UsageState = "Exceeded" // UsageStateNormal ... UsageStateNormal UsageState = "Normal" )
func PossibleUsageStateValues() []UsageState
PossibleUsageStateValues returns an array of possible values for the UsageState const type.
User user credentials used for publishing activity.
type User struct { autorest.Response `json:"-"` // UserProperties - User resource specific properties *UserProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (u User) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for User.
func (u *User) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for User struct.
UserProperties user resource specific properties
type UserProperties struct { // UserName - Username UserName *string `json:"name,omitempty"` // PublishingUserName - Username used for publishing. PublishingUserName *string `json:"publishingUserName,omitempty"` // PublishingPassword - Password used for publishing. PublishingPassword *string `json:"publishingPassword,omitempty"` // PublishingPasswordHash - Password hash used for publishing. PublishingPasswordHash *string `json:"publishingPasswordHash,omitempty"` // PublishingPasswordHashSalt - Password hash salt used for publishing. PublishingPasswordHashSalt *string `json:"publishingPasswordHashSalt,omitempty"` }
ValidateProperties app properties used for validation.
type ValidateProperties struct { // ServerFarmID - ARM resource ID of an App Service plan that would host the app. ServerFarmID *string `json:"serverFarmId,omitempty"` // SkuName - Name of the target SKU for the App Service plan. SkuName *string `json:"skuName,omitempty"` // NeedLinuxWorkers - <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>. NeedLinuxWorkers *bool `json:"needLinuxWorkers,omitempty"` // IsSpot - <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>. IsSpot *bool `json:"isSpot,omitempty"` // Capacity - Target capacity of the App Service plan (number of VMs). Capacity *int32 `json:"capacity,omitempty"` // HostingEnvironment - Name of App Service Environment where app or App Service plan should be created. HostingEnvironment *string `json:"hostingEnvironment,omitempty"` }
ValidateRequest resource validation request content.
type ValidateRequest struct { // Name - Resource name to verify. Name *string `json:"name,omitempty"` // Type - Resource type used for verification. Possible values include: 'ValidateResourceTypesServerFarm', 'ValidateResourceTypesSite' Type ValidateResourceTypes `json:"type,omitempty"` // Location - Expected location of the resource. Location *string `json:"location,omitempty"` // ValidateProperties - Properties of the resource to validate. *ValidateProperties `json:"properties,omitempty"` }
func (vr ValidateRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidateRequest.
func (vr *ValidateRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ValidateRequest struct.
ValidateResourceTypes enumerates the values for validate resource types.
type ValidateResourceTypes string
const ( // ValidateResourceTypesServerFarm ... ValidateResourceTypesServerFarm ValidateResourceTypes = "ServerFarm" // ValidateResourceTypesSite ... ValidateResourceTypesSite ValidateResourceTypes = "Site" )
func PossibleValidateResourceTypesValues() []ValidateResourceTypes
PossibleValidateResourceTypesValues returns an array of possible values for the ValidateResourceTypes const type.
ValidateResponse describes the result of resource validation.
type ValidateResponse struct { autorest.Response `json:"-"` // Status - Result of validation. Status *string `json:"status,omitempty"` // Error - Error details for the case when validation fails. Error *ValidateResponseError `json:"error,omitempty"` }
ValidateResponseError error details for when validation fails.
type ValidateResponseError struct { // Code - Validation error code. Code *string `json:"code,omitempty"` // Message - Validation error message. Message *string `json:"message,omitempty"` }
VirtualApplication virtual application in an app.
type VirtualApplication struct { // VirtualPath - Virtual path. VirtualPath *string `json:"virtualPath,omitempty"` // PhysicalPath - Physical path. PhysicalPath *string `json:"physicalPath,omitempty"` // PreloadEnabled - <code>true</code> if preloading is enabled; otherwise, <code>false</code>. PreloadEnabled *bool `json:"preloadEnabled,omitempty"` // VirtualDirectories - Virtual directories for virtual application. VirtualDirectories *[]VirtualDirectory `json:"virtualDirectories,omitempty"` }
VirtualDirectory directory for virtual application.
type VirtualDirectory struct { // VirtualPath - Path to virtual application. VirtualPath *string `json:"virtualPath,omitempty"` // PhysicalPath - Physical path. PhysicalPath *string `json:"physicalPath,omitempty"` }
VirtualIPMapping virtual IP mapping.
type VirtualIPMapping struct { // VirtualIP - Virtual IP address. VirtualIP *string `json:"virtualIP,omitempty"` // InternalHTTPPort - Internal HTTP port. InternalHTTPPort *int32 `json:"internalHttpPort,omitempty"` // InternalHTTPSPort - Internal HTTPS port. InternalHTTPSPort *int32 `json:"internalHttpsPort,omitempty"` // InUse - Is virtual IP mapping in use. InUse *bool `json:"inUse,omitempty"` }
VirtualNetworkProfile specification for using a Virtual Network.
type VirtualNetworkProfile struct { // ID - Resource id of the Virtual Network. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the Virtual Network (read-only). Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type of the Virtual Network (read-only). Type *string `json:"type,omitempty"` // Subnet - Subnet within the Virtual Network. Subnet *string `json:"subnet,omitempty"` }
func (vnp VirtualNetworkProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkProfile.
VnetGateway the Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
type VnetGateway struct { autorest.Response `json:"-"` // VnetGatewayProperties - VnetGateway resource specific properties *VnetGatewayProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (vg VnetGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetGateway.
func (vg *VnetGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VnetGateway struct.
VnetGatewayProperties vnetGateway resource specific properties
type VnetGatewayProperties struct { // VnetName - The Virtual Network name. VnetName *string `json:"vnetName,omitempty"` // VpnPackageURI - The URI where the VPN package can be downloaded. VpnPackageURI *string `json:"vpnPackageUri,omitempty"` }
VnetInfo virtual Network information contract.
type VnetInfo struct { autorest.Response `json:"-"` // VnetInfoProperties - VnetInfo resource specific properties *VnetInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (vi VnetInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetInfo.
func (vi *VnetInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VnetInfo struct.
VnetInfoProperties vnetInfo resource specific properties
type VnetInfoProperties struct { // VnetResourceID - The Virtual Network's resource ID. VnetResourceID *string `json:"vnetResourceId,omitempty"` // CertThumbprint - READ-ONLY; The client certificate thumbprint. CertThumbprint *string `json:"certThumbprint,omitempty"` // CertBlob - A certificate file (.cer) blob containing the public key of the private key used to authenticate a // Point-To-Site VPN connection. CertBlob *[]byte `json:"certBlob,omitempty"` // Routes - READ-ONLY; The routes that this Virtual Network connection uses. Routes *[]VnetRoute `json:"routes,omitempty"` // ResyncRequired - READ-ONLY; <code>true</code> if a resync is required; otherwise, <code>false</code>. ResyncRequired *bool `json:"resyncRequired,omitempty"` // DNSServers - DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. DNSServers *string `json:"dnsServers,omitempty"` }
func (vi VnetInfoProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetInfoProperties.
VnetParameters the required set of inputs to validate a VNET
type VnetParameters struct { // VnetParametersProperties - VnetParameters resource specific properties *VnetParametersProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (vp VnetParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetParameters.
func (vp *VnetParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VnetParameters struct.
VnetParametersProperties vnetParameters resource specific properties
type VnetParametersProperties struct { // VnetResourceGroup - The Resource Group of the VNET to be validated VnetResourceGroup *string `json:"vnetResourceGroup,omitempty"` // VnetName - The name of the VNET to be validated VnetName *string `json:"vnetName,omitempty"` // VnetSubnetName - The subnet name to be validated VnetSubnetName *string `json:"vnetSubnetName,omitempty"` }
VnetRoute virtual Network route contract used to pass routing information for a Virtual Network.
type VnetRoute struct { autorest.Response `json:"-"` // VnetRouteProperties - VnetRoute resource specific properties *VnetRouteProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (vr VnetRoute) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetRoute.
func (vr *VnetRoute) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VnetRoute struct.
VnetRouteProperties vnetRoute resource specific properties
type VnetRouteProperties struct { // VnetRouteName - The name of this route. This is only returned by the server and does not need to be set by the client. VnetRouteName *string `json:"name,omitempty"` // StartAddress - The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. StartAddress *string `json:"startAddress,omitempty"` // EndAddress - The ending address for this route. If the start address is specified in CIDR notation, this must be omitted. EndAddress *string `json:"endAddress,omitempty"` // RouteType - The type of route this is: // DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 // INHERITED - Routes inherited from the real Virtual Network routes // STATIC - Static route set on the app only // These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: 'DEFAULT', 'INHERITED', 'STATIC' RouteType RouteType `json:"routeType,omitempty"` }
VnetValidationFailureDetails a class that describes the reason for a validation failure.
type VnetValidationFailureDetails struct { autorest.Response `json:"-"` // VnetValidationFailureDetailsProperties - VnetValidationFailureDetails resource specific properties *VnetValidationFailureDetailsProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (vvfd VnetValidationFailureDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetValidationFailureDetails.
func (vvfd *VnetValidationFailureDetails) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VnetValidationFailureDetails struct.
VnetValidationFailureDetailsProperties vnetValidationFailureDetails resource specific properties
type VnetValidationFailureDetailsProperties struct { // Failed - A flag describing whether or not validation failed. Failed *bool `json:"failed,omitempty"` // FailedTests - A list of tests that failed in the validation. FailedTests *[]VnetValidationTestFailure `json:"failedTests,omitempty"` }
VnetValidationTestFailure a class that describes a test that failed during NSG and UDR validation.
type VnetValidationTestFailure struct { // VnetValidationTestFailureProperties - VnetValidationTestFailure resource specific properties *VnetValidationTestFailureProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (vvtf VnetValidationTestFailure) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VnetValidationTestFailure.
func (vvtf *VnetValidationTestFailure) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VnetValidationTestFailure struct.
VnetValidationTestFailureProperties vnetValidationTestFailure resource specific properties
type VnetValidationTestFailureProperties struct { // TestName - The name of the test that failed. TestName *string `json:"testName,omitempty"` // Details - The details of what caused the failure, e.g. the blocking rule name, etc. Details *string `json:"details,omitempty"` }
WorkerPool worker pool of an App Service Environment.
type WorkerPool struct { // WorkerSizeID - Worker size ID for referencing this worker pool. WorkerSizeID *int32 `json:"workerSizeId,omitempty"` // ComputeMode - Shared or dedicated app hosting. Possible values include: 'ComputeModeOptionsShared', 'ComputeModeOptionsDedicated', 'ComputeModeOptionsDynamic' ComputeMode ComputeModeOptions `json:"computeMode,omitempty"` // WorkerSize - VM size of the worker pool instances. WorkerSize *string `json:"workerSize,omitempty"` // WorkerCount - Number of instances in the worker pool. WorkerCount *int32 `json:"workerCount,omitempty"` // InstanceNames - READ-ONLY; Names of all instances in the worker pool (read only). InstanceNames *[]string `json:"instanceNames,omitempty"` }
func (wp WorkerPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkerPool.
WorkerPoolCollection collection of worker pools.
type WorkerPoolCollection struct { autorest.Response `json:"-"` // Value - Collection of resources. Value *[]WorkerPoolResource `json:"value,omitempty"` // NextLink - READ-ONLY; Link to next page of resources. NextLink *string `json:"nextLink,omitempty"` }
func (wpc WorkerPoolCollection) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (wpc WorkerPoolCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkerPoolCollection.
WorkerPoolCollectionIterator provides access to a complete listing of WorkerPoolResource values.
type WorkerPoolCollectionIterator struct {
// contains filtered or unexported fields
}
func NewWorkerPoolCollectionIterator(page WorkerPoolCollectionPage) WorkerPoolCollectionIterator
Creates a new instance of the WorkerPoolCollectionIterator type.
func (iter *WorkerPoolCollectionIterator) 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 (iter *WorkerPoolCollectionIterator) 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 (iter WorkerPoolCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter WorkerPoolCollectionIterator) Response() WorkerPoolCollection
Response returns the raw server response from the last page request.
func (iter WorkerPoolCollectionIterator) Value() WorkerPoolResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
WorkerPoolCollectionPage contains a page of WorkerPoolResource values.
type WorkerPoolCollectionPage struct {
// contains filtered or unexported fields
}
func NewWorkerPoolCollectionPage(cur WorkerPoolCollection, getNextPage func(context.Context, WorkerPoolCollection) (WorkerPoolCollection, error)) WorkerPoolCollectionPage
Creates a new instance of the WorkerPoolCollectionPage type.
func (page *WorkerPoolCollectionPage) 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 (page *WorkerPoolCollectionPage) 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 (page WorkerPoolCollectionPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page WorkerPoolCollectionPage) Response() WorkerPoolCollection
Response returns the raw server response from the last page request.
func (page WorkerPoolCollectionPage) Values() []WorkerPoolResource
Values returns the slice of values for the current page or nil if there are no values.
WorkerPoolResource worker pool of an App Service Environment ARM resource.
type WorkerPoolResource struct { autorest.Response `json:"-"` // WorkerPool - Core resource properties *WorkerPool `json:"properties,omitempty"` Sku *SkuDescription `json:"sku,omitempty"` // ID - READ-ONLY; Resource Id. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource Name. Name *string `json:"name,omitempty"` // Kind - Kind of resource. Kind *string `json:"kind,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
func (wpr WorkerPoolResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkerPoolResource.
func (wpr *WorkerPoolResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkerPoolResource struct.
WorkerSizeOptions enumerates the values for worker size options.
type WorkerSizeOptions string
const ( // D1 ... D1 WorkerSizeOptions = "D1" // D2 ... D2 WorkerSizeOptions = "D2" // D3 ... D3 WorkerSizeOptions = "D3" // Default ... Default WorkerSizeOptions = "Default" // Large ... Large WorkerSizeOptions = "Large" // Medium ... Medium WorkerSizeOptions = "Medium" // Small ... Small WorkerSizeOptions = "Small" )
func PossibleWorkerSizeOptionsValues() []WorkerSizeOptions
PossibleWorkerSizeOptionsValues returns an array of possible values for the WorkerSizeOptions const type.