armappservice

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2022 License: MIT Imports: 18 Imported by: 9

README

Azure App Service Module for Go

PkgGoDev

The armappservice module provides operations for working with Azure App Service.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure App Service module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure App Service. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Clients

Azure App Service modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your credential.

client, err := armappservice.NewWebAppsClient(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options := arm.ClientOptions {
    ClientOptions: azcore.ClientOptions {
        Cloud: cloud.AzureChina,
    },
}
client, err := armappservice.NewWebAppsClient(<subscription ID>, cred, &options)

More sample code

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the App Service label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDefinitionInfo

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

APIDefinitionInfo - Information about the formal API definition for the app.

type APIKVReference

type APIKVReference struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ApiKVReference resource specific properties
	Properties *APIKVReferenceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

APIKVReference - Description of site key vault references.

type APIKVReferenceCollection

type APIKVReferenceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*APIKVReference `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

type APIKVReferenceProperties

type APIKVReferenceProperties struct {
	ActiveVersion *string `json:"activeVersion,omitempty"`
	Details       *string `json:"details,omitempty"`

	// Managed service identity.
	IdentityType  *ManagedServiceIdentity `json:"identityType,omitempty"`
	Reference     *string                 `json:"reference,omitempty"`
	SecretName    *string                 `json:"secretName,omitempty"`
	SecretVersion *string                 `json:"secretVersion,omitempty"`
	Source        *string                 `json:"source,omitempty"`
	Status        *ResolveStatus          `json:"status,omitempty"`
	VaultName     *string                 `json:"vaultName,omitempty"`
}

APIKVReferenceProperties - ApiKVReference resource specific properties

type APIManagementConfig

type APIManagementConfig struct {
	// APIM-Api Identifier.
	ID *string `json:"id,omitempty"`
}

APIManagementConfig - Azure API management (APIM) configuration linked to the app.

type AbnormalTimePeriod

type AbnormalTimePeriod struct {
	// End time of the downtime
	EndTime *time.Time `json:"endTime,omitempty"`

	// List of Possible Cause of downtime
	Events []*DetectorAbnormalTimePeriod `json:"events,omitempty"`

	// List of proposed solutions
	Solutions []*Solution `json:"solutions,omitempty"`

	// Start time of the downtime
	StartTime *time.Time `json:"startTime,omitempty"`
}

AbnormalTimePeriod - Class representing Abnormal Time Period identified in diagnosis

func (AbnormalTimePeriod) MarshalJSON

func (a AbnormalTimePeriod) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AbnormalTimePeriod.

func (*AbnormalTimePeriod) UnmarshalJSON

func (a *AbnormalTimePeriod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AbnormalTimePeriod.

type ActiveRevisionsMode added in v0.2.0

type ActiveRevisionsMode string

ActiveRevisionsMode - ActiveRevisionsMode controls how active revisions are handled for the Container app:Multiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode

const (
	ActiveRevisionsModeMultiple ActiveRevisionsMode = "multiple"
	ActiveRevisionsModeSingle   ActiveRevisionsMode = "single"
)

func PossibleActiveRevisionsModeValues added in v0.2.0

func PossibleActiveRevisionsModeValues() []ActiveRevisionsMode

PossibleActiveRevisionsModeValues returns the possible values for the ActiveRevisionsMode const type.

type Address

type Address struct {
	// REQUIRED; First line of an Address.
	Address1 *string `json:"address1,omitempty"`

	// REQUIRED; The city for the address.
	City *string `json:"city,omitempty"`

	// REQUIRED; The country for the address.
	Country *string `json:"country,omitempty"`

	// REQUIRED; The postal code for the address.
	PostalCode *string `json:"postalCode,omitempty"`

	// REQUIRED; The state or province for the address.
	State *string `json:"state,omitempty"`

	// The second line of the Address. Optional.
	Address2 *string `json:"address2,omitempty"`
}

Address information for domain registration.

type AddressResponse

type AddressResponse struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AddressResponse resource specific properties
	Properties *AddressResponseProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AddressResponse - Describes main public IP address and any extra virtual IPs.

type AddressResponseProperties

type AddressResponseProperties struct {
	// Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.
	InternalIPAddress *string `json:"internalIpAddress,omitempty"`

	// IP addresses appearing on outbound connections.
	OutboundIPAddresses []*string `json:"outboundIpAddresses,omitempty"`

	// Main public virtual IP.
	ServiceIPAddress *string `json:"serviceIpAddress,omitempty"`

	// Additional virtual IPs.
	VipMappings []*VirtualIPMapping `json:"vipMappings,omitempty"`
}

AddressResponseProperties - AddressResponse resource specific properties

func (AddressResponseProperties) MarshalJSON

func (a AddressResponseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AddressResponseProperties.

type AllowedAudiencesValidation

type AllowedAudiencesValidation struct {
	// The configuration settings of the allowed list of audiences from which to validate the JWT token.
	AllowedAudiences []*string `json:"allowedAudiences,omitempty"`
}

AllowedAudiencesValidation - The configuration settings of the Allowed Audiences validation flow.

func (AllowedAudiencesValidation) MarshalJSON

func (a AllowedAudiencesValidation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AllowedAudiencesValidation.

type AllowedPrincipals

type AllowedPrincipals struct {
	// The list of the allowed groups.
	Groups []*string `json:"groups,omitempty"`

	// The list of the allowed identities.
	Identities []*string `json:"identities,omitempty"`
}

AllowedPrincipals - The configuration settings of the Azure Active Directory allowed principals.

func (AllowedPrincipals) MarshalJSON

func (a AllowedPrincipals) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AllowedPrincipals.

type AnalysisData

type AnalysisData struct {
	// Additional Source Data
	Data [][]*NameValuePair `json:"data,omitempty"`

	// Detector Definition
	DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"`

	// Detector Meta Data
	DetectorMetaData *ResponseMetaData `json:"detectorMetaData,omitempty"`

	// Source Metrics
	Metrics []*DiagnosticMetricSet `json:"metrics,omitempty"`

	// Name of the Detector
	Source *string `json:"source,omitempty"`
}

AnalysisData - Class Representing Detector Evidence used for analysis

func (AnalysisData) MarshalJSON

func (a AnalysisData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AnalysisData.

type AnalysisDefinition

type AnalysisDefinition struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AnalysisDefinition resource specific properties
	Properties *AnalysisDefinitionProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AnalysisDefinition - Definition of Analysis

type AnalysisDefinitionProperties

type AnalysisDefinitionProperties struct {
	// READ-ONLY; Description of the Analysis
	Description *string `json:"description,omitempty" azure:"ro"`
}

AnalysisDefinitionProperties - AnalysisDefinition resource specific properties

type AppCertificate added in v0.2.0

type AppCertificate struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Certificate resource specific properties
	Properties *AppCertificateProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AppCertificate - SSL certificate for an app.

func (AppCertificate) MarshalJSON added in v0.2.0

func (a AppCertificate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppCertificate.

type AppCertificateCollection added in v0.2.0

type AppCertificateCollection struct {
	// REQUIRED; Collection of resources.
	Value []*AppCertificate `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

AppCertificateCollection - Collection of certificates.

type AppCertificatePatchResource added in v0.2.0

type AppCertificatePatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// CertificatePatchResource resource specific properties
	Properties *AppCertificatePatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AppCertificatePatchResource - ARM resource for a certificate.

func (AppCertificatePatchResource) MarshalJSON added in v0.2.0

func (a AppCertificatePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppCertificatePatchResource.

type AppCertificatePatchResourceProperties added in v0.2.0

type AppCertificatePatchResourceProperties struct {
	// CNAME of the certificate to be issued via free certificate
	CanonicalName *string `json:"canonicalName,omitempty"`

	// Method of domain validation for free cert
	DomainValidationMethod *string `json:"domainValidationMethod,omitempty"`

	// Host names the certificate applies to.
	HostNames []*string `json:"hostNames,omitempty"`

	// Key Vault Csm resource Id.
	KeyVaultID *string `json:"keyVaultId,omitempty"`

	// Key Vault secret name.
	KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`

	// Certificate password.
	Password *string `json:"password,omitempty"`

	// Pfx blob.
	PfxBlob []byte `json:"pfxBlob,omitempty"`

	// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
	ServerFarmID *string `json:"serverFarmId,omitempty"`

	// READ-ONLY; Raw bytes of .cer file
	CerBlob []byte `json:"cerBlob,omitempty" azure:"ro"`

	// READ-ONLY; Certificate expiration date.
	ExpirationDate *time.Time `json:"expirationDate,omitempty" azure:"ro"`

	// READ-ONLY; Friendly name of the certificate.
	FriendlyName *string `json:"friendlyName,omitempty" azure:"ro"`

	// READ-ONLY; Specification for the App Service Environment to use for the certificate.
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty" azure:"ro"`

	// READ-ONLY; Certificate issue Date.
	IssueDate *time.Time `json:"issueDate,omitempty" azure:"ro"`

	// READ-ONLY; Certificate issuer.
	Issuer *string `json:"issuer,omitempty" azure:"ro"`

	// READ-ONLY; Status of the Key Vault secret.
	KeyVaultSecretStatus *KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty" azure:"ro"`

	// READ-ONLY; Public key hash.
	PublicKeyHash *string `json:"publicKeyHash,omitempty" azure:"ro"`

	// READ-ONLY; Self link.
	SelfLink *string `json:"selfLink,omitempty" azure:"ro"`

	// READ-ONLY; App name.
	SiteName *string `json:"siteName,omitempty" azure:"ro"`

	// READ-ONLY; Subject name of the certificate.
	SubjectName *string `json:"subjectName,omitempty" azure:"ro"`

	// READ-ONLY; Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"`

	// READ-ONLY; Is the certificate valid?.
	Valid *bool `json:"valid,omitempty" azure:"ro"`
}

AppCertificatePatchResourceProperties - CertificatePatchResource resource specific properties

func (AppCertificatePatchResourceProperties) MarshalJSON added in v0.2.0

func (a AppCertificatePatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppCertificatePatchResourceProperties.

func (*AppCertificatePatchResourceProperties) UnmarshalJSON added in v0.2.0

func (a *AppCertificatePatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppCertificatePatchResourceProperties.

type AppCertificateProperties added in v0.2.0

type AppCertificateProperties struct {
	// CNAME of the certificate to be issued via free certificate
	CanonicalName *string `json:"canonicalName,omitempty"`

	// Method of domain validation for free cert
	DomainValidationMethod *string `json:"domainValidationMethod,omitempty"`

	// Host names the certificate applies to.
	HostNames []*string `json:"hostNames,omitempty"`

	// Key Vault Csm resource Id.
	KeyVaultID *string `json:"keyVaultId,omitempty"`

	// Key Vault secret name.
	KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`

	// Certificate password.
	Password *string `json:"password,omitempty"`

	// Pfx blob.
	PfxBlob []byte `json:"pfxBlob,omitempty"`

	// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
	ServerFarmID *string `json:"serverFarmId,omitempty"`

	// READ-ONLY; Raw bytes of .cer file
	CerBlob []byte `json:"cerBlob,omitempty" azure:"ro"`

	// READ-ONLY; Certificate expiration date.
	ExpirationDate *time.Time `json:"expirationDate,omitempty" azure:"ro"`

	// READ-ONLY; Friendly name of the certificate.
	FriendlyName *string `json:"friendlyName,omitempty" azure:"ro"`

	// READ-ONLY; Specification for the App Service Environment to use for the certificate.
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty" azure:"ro"`

	// READ-ONLY; Certificate issue Date.
	IssueDate *time.Time `json:"issueDate,omitempty" azure:"ro"`

	// READ-ONLY; Certificate issuer.
	Issuer *string `json:"issuer,omitempty" azure:"ro"`

	// READ-ONLY; Status of the Key Vault secret.
	KeyVaultSecretStatus *KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty" azure:"ro"`

	// READ-ONLY; Public key hash.
	PublicKeyHash *string `json:"publicKeyHash,omitempty" azure:"ro"`

	// READ-ONLY; Self link.
	SelfLink *string `json:"selfLink,omitempty" azure:"ro"`

	// READ-ONLY; App name.
	SiteName *string `json:"siteName,omitempty" azure:"ro"`

	// READ-ONLY; Subject name of the certificate.
	SubjectName *string `json:"subjectName,omitempty" azure:"ro"`

	// READ-ONLY; Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"`

	// READ-ONLY; Is the certificate valid?.
	Valid *bool `json:"valid,omitempty" azure:"ro"`
}

AppCertificateProperties - Certificate resource specific properties

func (AppCertificateProperties) MarshalJSON added in v0.2.0

func (a AppCertificateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppCertificateProperties.

func (*AppCertificateProperties) UnmarshalJSON added in v0.2.0

func (a *AppCertificateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppCertificateProperties.

type AppInsightsWebAppStackSettings

type AppInsightsWebAppStackSettings struct {
	// READ-ONLY; true if Application Insights is disabled by default for the stack; otherwise, false.
	IsDefaultOff *bool `json:"isDefaultOff,omitempty" azure:"ro"`

	// READ-ONLY; true if remote Application Insights is supported for the stack; otherwise, false.
	IsSupported *bool `json:"isSupported,omitempty" azure:"ro"`
}

AppInsightsWebAppStackSettings - App Insights Web App stack settings.

type AppLogsConfiguration

type AppLogsConfiguration struct {
	Destination               *string                    `json:"destination,omitempty"`
	LogAnalyticsConfiguration *LogAnalyticsConfiguration `json:"logAnalyticsConfiguration,omitempty"`
}

type AppRegistration

type AppRegistration struct {
	// The App ID of the app used for login.
	AppID *string `json:"appId,omitempty"`

	// The app setting name that contains the app secret.
	AppSecretSettingName *string `json:"appSecretSettingName,omitempty"`
}

AppRegistration - The configuration settings of the app registration for providers that have app ids and app secrets

type AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem

type AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem string
const (
	AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItemExpirationNotInRenewalTimeRange          AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem = "ExpirationNotInRenewalTimeRange"
	AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItemRegistrationStatusNotSupportedForRenewal AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem = "RegistrationStatusNotSupportedForRenewal"
	AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItemSubscriptionNotActive                    AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem = "SubscriptionNotActive"
)

func PossibleAppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItemValues

func PossibleAppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItemValues() []AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem

PossibleAppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItemValues returns the possible values for the AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem const type.

type AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem

type AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem string
const (
	AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItemExpirationNotInRenewalTimeRange          AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem = "ExpirationNotInRenewalTimeRange"
	AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItemRegistrationStatusNotSupportedForRenewal AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem = "RegistrationStatusNotSupportedForRenewal"
	AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItemSubscriptionNotActive                    AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem = "SubscriptionNotActive"
)

func PossibleAppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItemValues

func PossibleAppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItemValues() []AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem

PossibleAppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItemValues returns the possible values for the AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem const type.

type AppServicePlanRestrictions

type AppServicePlanRestrictions string

AppServicePlanRestrictions - App Service plans this offer is restricted to.

const (
	AppServicePlanRestrictionsNone     AppServicePlanRestrictions = "None"
	AppServicePlanRestrictionsFree     AppServicePlanRestrictions = "Free"
	AppServicePlanRestrictionsShared   AppServicePlanRestrictions = "Shared"
	AppServicePlanRestrictionsBasic    AppServicePlanRestrictions = "Basic"
	AppServicePlanRestrictionsStandard AppServicePlanRestrictions = "Standard"
	AppServicePlanRestrictionsPremium  AppServicePlanRestrictions = "Premium"
)

func PossibleAppServicePlanRestrictionsValues

func PossibleAppServicePlanRestrictionsValues() []AppServicePlanRestrictions

PossibleAppServicePlanRestrictionsValues returns the possible values for the AppServicePlanRestrictions const type.

type Apple

type Apple struct {
	// false if the Apple provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the login flow.
	Login *LoginScopes `json:"login,omitempty"`

	// The configuration settings of the Apple registration.
	Registration *AppleRegistration `json:"registration,omitempty"`
}

Apple - The configuration settings of the Apple provider.

type AppleRegistration

type AppleRegistration struct {
	// The Client ID of the app used for login.
	ClientID *string `json:"clientId,omitempty"`

	// The app setting name that contains the client secret.
	ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"`
}

AppleRegistration - The configuration settings of the registration for the Apple provider

type ApplicationLogsConfig

type ApplicationLogsConfig struct {
	// Application logs to blob storage configuration.
	AzureBlobStorage *AzureBlobStorageApplicationLogsConfig `json:"azureBlobStorage,omitempty"`

	// Application logs to azure table storage configuration.
	AzureTableStorage *AzureTableStorageApplicationLogsConfig `json:"azureTableStorage,omitempty"`

	// Application logs to file system configuration.
	FileSystem *FileSystemApplicationLogsConfig `json:"fileSystem,omitempty"`
}

ApplicationLogsConfig - Application logs configuration.

type ApplicationStack

type ApplicationStack struct {
	// Application stack dependency.
	Dependency *string `json:"dependency,omitempty"`

	// Application stack display name.
	Display *string `json:"display,omitempty"`

	// List of frameworks associated with application stack.
	Frameworks []*ApplicationStack `json:"frameworks,omitempty"`

	// true if this is the stack is deprecated; otherwise, false.
	IsDeprecated []*ApplicationStack `json:"isDeprecated,omitempty"`

	// List of major versions available.
	MajorVersions []*StackMajorVersion `json:"majorVersions,omitempty"`

	// Application stack name.
	Name *string `json:"name,omitempty"`
}

ApplicationStack - Application stack.

func (ApplicationStack) MarshalJSON

func (a ApplicationStack) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationStack.

type ApplicationStackCollection

type ApplicationStackCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ApplicationStackResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ApplicationStackCollection - Collection of Application Stacks

type ApplicationStackResource

type ApplicationStackResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *ApplicationStack `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationStackResource - ARM resource for a ApplicationStack.

type ArcConfiguration

type ArcConfiguration struct {
	ArtifactStorageAccessMode    *string                `json:"artifactStorageAccessMode,omitempty"`
	ArtifactStorageClassName     *string                `json:"artifactStorageClassName,omitempty"`
	ArtifactStorageMountPath     *string                `json:"artifactStorageMountPath,omitempty"`
	ArtifactStorageNodeName      *string                `json:"artifactStorageNodeName,omitempty"`
	ArtifactsStorageType         *StorageType           `json:"artifactsStorageType,omitempty"`
	FrontEndServiceConfiguration *FrontEndConfiguration `json:"frontEndServiceConfiguration,omitempty"`
	KubeConfig                   *string                `json:"kubeConfig,omitempty"`
}

type ArmIDWrapper

type ArmIDWrapper struct {
	// READ-ONLY
	ID *string `json:"id,omitempty" azure:"ro"`
}

ArmIDWrapper - A wrapper for an ARM resource id

type ArmPlan

type ArmPlan struct {
	// The name.
	Name *string `json:"name,omitempty"`

	// The product.
	Product *string `json:"product,omitempty"`

	// The promotion code.
	PromotionCode *string `json:"promotionCode,omitempty"`

	// The publisher.
	Publisher *string `json:"publisher,omitempty"`

	// Version of product.
	Version *string `json:"version,omitempty"`
}

ArmPlan - The plan object in Azure Resource Manager, represents a marketplace plan.

type AseV3NetworkingConfiguration

type AseV3NetworkingConfiguration struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AseV3NetworkingConfiguration resource specific properties
	Properties *AseV3NetworkingConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AseV3NetworkingConfiguration - Full view of networking configuration for an ASE.

type AseV3NetworkingConfigurationProperties

type AseV3NetworkingConfigurationProperties struct {
	// Property to enable and disable new private endpoint connection creation on ASE
	AllowNewPrivateEndpointConnections *bool `json:"allowNewPrivateEndpointConnections,omitempty"`

	// READ-ONLY
	ExternalInboundIPAddresses []*string `json:"externalInboundIpAddresses,omitempty" azure:"ro"`

	// READ-ONLY
	InternalInboundIPAddresses []*string `json:"internalInboundIpAddresses,omitempty" azure:"ro"`

	// READ-ONLY
	LinuxOutboundIPAddresses []*string `json:"linuxOutboundIpAddresses,omitempty" azure:"ro"`

	// READ-ONLY
	WindowsOutboundIPAddresses []*string `json:"windowsOutboundIpAddresses,omitempty" azure:"ro"`
}

AseV3NetworkingConfigurationProperties - AseV3NetworkingConfiguration resource specific properties

func (AseV3NetworkingConfigurationProperties) MarshalJSON

func (a AseV3NetworkingConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AseV3NetworkingConfigurationProperties.

type AuthPlatform

type AuthPlatform struct {
	// The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's
	// root directory.
	ConfigFilePath *string `json:"configFilePath,omitempty"`

	// true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
	Enabled *bool `json:"enabled,omitempty"`

	// 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"`
}

AuthPlatform - The configuration settings of the platform of App Service Authentication/Authorization.

type AutoHealActionType

type AutoHealActionType string

AutoHealActionType - Predefined action to be taken.

const (
	AutoHealActionTypeRecycle      AutoHealActionType = "Recycle"
	AutoHealActionTypeLogEvent     AutoHealActionType = "LogEvent"
	AutoHealActionTypeCustomAction AutoHealActionType = "CustomAction"
)

func PossibleAutoHealActionTypeValues

func PossibleAutoHealActionTypeValues() []AutoHealActionType

PossibleAutoHealActionTypeValues returns the possible values for the AutoHealActionType const type.

type AutoHealActions

type AutoHealActions struct {
	// Predefined action to be taken.
	ActionType *AutoHealActionType `json:"actionType,omitempty"`

	// Custom action to be taken.
	CustomAction *AutoHealCustomAction `json:"customAction,omitempty"`

	// Minimum time the process must execute before taking the action
	MinProcessExecutionTime *string `json:"minProcessExecutionTime,omitempty"`
}

AutoHealActions - Actions which to take by the auto-heal module when a rule is triggered.

type AutoHealCustomAction

type AutoHealCustomAction struct {
	// Executable to be run.
	Exe *string `json:"exe,omitempty"`

	// Parameters for the executable.
	Parameters *string `json:"parameters,omitempty"`
}

AutoHealCustomAction - Custom action to be executed when an auto heal rule is triggered.

type AutoHealRules

type AutoHealRules struct {
	// Actions to be executed when a rule is triggered.
	Actions *AutoHealActions `json:"actions,omitempty"`

	// Conditions that describe when to execute the auto-heal actions.
	Triggers *AutoHealTriggers `json:"triggers,omitempty"`
}

AutoHealRules - Rules that can be defined for auto-heal.

type AutoHealTriggers

type AutoHealTriggers struct {
	// A rule based on private bytes.
	PrivateBytesInKB *int32 `json:"privateBytesInKB,omitempty"`

	// A rule based on total requests.
	Requests *RequestsBasedTrigger `json:"requests,omitempty"`

	// A rule based on request execution time.
	SlowRequests *SlowRequestsBasedTrigger `json:"slowRequests,omitempty"`

	// A rule based on multiple Slow Requests Rule with path
	SlowRequestsWithPath []*SlowRequestsBasedTrigger `json:"slowRequestsWithPath,omitempty"`

	// A rule based on status codes.
	StatusCodes []*StatusCodesBasedTrigger `json:"statusCodes,omitempty"`

	// A rule based on status codes ranges.
	StatusCodesRange []*StatusCodesRangeBasedTrigger `json:"statusCodesRange,omitempty"`
}

AutoHealTriggers - Triggers for auto-heal.

func (AutoHealTriggers) MarshalJSON

func (a AutoHealTriggers) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AutoHealTriggers.

type AzureActiveDirectory

type AzureActiveDirectory struct {
	// false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal
	// flag primarily intended to support the Azure Management Portal. Users
	// should not read or write to this property.
	IsAutoProvisioned *bool `json:"isAutoProvisioned,omitempty"`

	// The configuration settings of the Azure Active Directory login flow.
	Login *AzureActiveDirectoryLogin `json:"login,omitempty"`

	// The configuration settings of the Azure Active Directory app registration.
	Registration *AzureActiveDirectoryRegistration `json:"registration,omitempty"`

	// The configuration settings of the Azure Active Directory token validation flow.
	Validation *AzureActiveDirectoryValidation `json:"validation,omitempty"`
}

AzureActiveDirectory - The configuration settings of the Azure Active directory provider.

type AzureActiveDirectoryLogin

type AzureActiveDirectoryLogin struct {
	// true if the www-authenticate provider should be omitted from the request; otherwise, false.
	DisableWWWAuthenticate *bool `json:"disableWWWAuthenticate,omitempty"`

	// Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the
	// form "key=value".
	LoginParameters []*string `json:"loginParameters,omitempty"`
}

AzureActiveDirectoryLogin - The configuration settings of the Azure Active Directory login flow.

func (AzureActiveDirectoryLogin) MarshalJSON

func (a AzureActiveDirectoryLogin) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureActiveDirectoryLogin.

type AzureActiveDirectoryRegistration

type AzureActiveDirectoryRegistration struct {
	// The Client ID of this relying party application, known as the clientid. 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-10.html
	ClientID *string `json:"clientId,omitempty"`

	// An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property
	// acts as a replacement for the Client Secret Certificate Thumbprint. It is
	// also optional.
	ClientSecretCertificateIssuer *string `json:"clientSecretCertificateIssuer,omitempty"`

	// An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing
	// purposes. This property acts as a replacement for the Client Secret Certificate
	// Thumbprint. It is also optional.
	ClientSecretCertificateSubjectAlternativeName *string `json:"clientSecretCertificateSubjectAlternativeName,omitempty"`

	// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts
	// as a replacement for the Client Secret. It is also optional.
	ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"`

	// The app setting name that contains the client secret of the relying party application.
	ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"`

	// 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://login.microsoftonline.com/v2.0/{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
	OpenIDIssuer *string `json:"openIdIssuer,omitempty"`
}

AzureActiveDirectoryRegistration - The configuration settings of the Azure Active Directory app registration.

type AzureActiveDirectoryValidation

type AzureActiveDirectoryValidation struct {
	// The list of audiences that can make successful authentication/authorization requests.
	AllowedAudiences []*string `json:"allowedAudiences,omitempty"`

	// The configuration settings of the default authorization policy.
	DefaultAuthorizationPolicy *DefaultAuthorizationPolicy `json:"defaultAuthorizationPolicy,omitempty"`

	// The configuration settings of the checks that should be made while validating the JWT Claims.
	JwtClaimChecks *JwtClaimChecks `json:"jwtClaimChecks,omitempty"`
}

AzureActiveDirectoryValidation - The configuration settings of the Azure Active Directory token validation flow.

func (AzureActiveDirectoryValidation) MarshalJSON

func (a AzureActiveDirectoryValidation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureActiveDirectoryValidation.

type AzureBlobStorageApplicationLogsConfig

type AzureBlobStorageApplicationLogsConfig struct {
	// Log level.
	Level *LogLevel `json:"level,omitempty"`

	// Retention in days. Remove blobs older than X days. 0 or lower means no retention.
	RetentionInDays *int32 `json:"retentionInDays,omitempty"`

	// SAS url to a azure blob container with read/write/list/delete permissions.
	SasURL *string `json:"sasUrl,omitempty"`
}

AzureBlobStorageApplicationLogsConfig - Application logs azure blob storage configuration.

type AzureBlobStorageHTTPLogsConfig

type AzureBlobStorageHTTPLogsConfig struct {
	// True if configuration is enabled, false if it is disabled and null if configuration is not set.
	Enabled *bool `json:"enabled,omitempty"`

	// Retention in days. Remove blobs older than X days. 0 or lower means no retention.
	RetentionInDays *int32 `json:"retentionInDays,omitempty"`

	// SAS url to a azure blob container with read/write/list/delete permissions.
	SasURL *string `json:"sasUrl,omitempty"`
}

AzureBlobStorageHTTPLogsConfig - Http logs to azure blob storage configuration.

type AzureResourceType

type AzureResourceType string

AzureResourceType - Type of the Azure resource the hostname is assigned to.

const (
	AzureResourceTypeWebsite        AzureResourceType = "Website"
	AzureResourceTypeTrafficManager AzureResourceType = "TrafficManager"
)

func PossibleAzureResourceTypeValues

func PossibleAzureResourceTypeValues() []AzureResourceType

PossibleAzureResourceTypeValues returns the possible values for the AzureResourceType const type.

type AzureStaticWebApps

type AzureStaticWebApps struct {
	// false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the Azure Static Web Apps registration.
	Registration *AzureStaticWebAppsRegistration `json:"registration,omitempty"`
}

AzureStaticWebApps - The configuration settings of the Azure Static Web Apps provider.

type AzureStaticWebAppsRegistration

type AzureStaticWebAppsRegistration struct {
	// The Client ID of the app used for login.
	ClientID *string `json:"clientId,omitempty"`
}

AzureStaticWebAppsRegistration - The configuration settings of the registration for the Azure Static Web Apps provider

type AzureStorageInfoValue

type AzureStorageInfoValue struct {
	// Access key for the storage account.
	AccessKey *string `json:"accessKey,omitempty"`

	// Name of the storage account.
	AccountName *string `json:"accountName,omitempty"`

	// Path to mount the storage within the site's runtime environment.
	MountPath *string `json:"mountPath,omitempty"`

	// Name of the file share (container name, for Blob storage).
	ShareName *string `json:"shareName,omitempty"`

	// Type of storage.
	Type *AzureStorageType `json:"type,omitempty"`

	// READ-ONLY; State of the storage account.
	State *AzureStorageState `json:"state,omitempty" azure:"ro"`
}

AzureStorageInfoValue - Azure Files or Blob Storage access information value for dictionary storage.

type AzureStoragePropertyDictionaryResource

type AzureStoragePropertyDictionaryResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Azure storage accounts.
	Properties map[string]*AzureStorageInfoValue `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AzureStoragePropertyDictionaryResource - AzureStorageInfo dictionary resource.

func (AzureStoragePropertyDictionaryResource) MarshalJSON

func (a AzureStoragePropertyDictionaryResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureStoragePropertyDictionaryResource.

type AzureStorageState

type AzureStorageState string

AzureStorageState - State of the storage account.

const (
	AzureStorageStateOk                 AzureStorageState = "Ok"
	AzureStorageStateInvalidCredentials AzureStorageState = "InvalidCredentials"
	AzureStorageStateInvalidShare       AzureStorageState = "InvalidShare"
	AzureStorageStateNotValidated       AzureStorageState = "NotValidated"
)

func PossibleAzureStorageStateValues

func PossibleAzureStorageStateValues() []AzureStorageState

PossibleAzureStorageStateValues returns the possible values for the AzureStorageState const type.

type AzureStorageType

type AzureStorageType string

AzureStorageType - Type of storage.

const (
	AzureStorageTypeAzureFiles AzureStorageType = "AzureFiles"
	AzureStorageTypeAzureBlob  AzureStorageType = "AzureBlob"
)

func PossibleAzureStorageTypeValues

func PossibleAzureStorageTypeValues() []AzureStorageType

PossibleAzureStorageTypeValues returns the possible values for the AzureStorageType const type.

type AzureTableStorageApplicationLogsConfig

type AzureTableStorageApplicationLogsConfig struct {
	// REQUIRED; SAS URL to an Azure table with add/query/delete permissions.
	SasURL *string `json:"sasUrl,omitempty"`

	// Log level.
	Level *LogLevel `json:"level,omitempty"`
}

AzureTableStorageApplicationLogsConfig - Application logs to Azure table storage configuration.

type BackupItem

type BackupItem struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// BackupItem resource specific properties
	Properties *BackupItemProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

BackupItem - Backup description.

type BackupItemCollection

type BackupItemCollection struct {
	// REQUIRED; Collection of resources.
	Value []*BackupItem `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

BackupItemCollection - Collection of backup items.

type BackupItemProperties

type BackupItemProperties struct {
	// READ-ONLY; Id of the backup.
	BackupID *int32 `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Name of the blob which contains data for this backup.
	BlobName *string `json:"blobName,omitempty" azure:"ro"`

	// READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
	CorrelationID *string `json:"correlationId,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp of the backup creation.
	Created *time.Time `json:"created,omitempty" azure:"ro"`

	// READ-ONLY; List of databases included in the backup.
	Databases []*DatabaseBackupSetting `json:"databases,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp when this backup finished.
	FinishedTimeStamp *time.Time `json:"finishedTimeStamp,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp of a last restore operation which used this backup.
	LastRestoreTimeStamp *time.Time `json:"lastRestoreTimeStamp,omitempty" azure:"ro"`

	// READ-ONLY; Details regarding this backup. Might contain an error message.
	Log *string `json:"log,omitempty" azure:"ro"`

	// READ-ONLY; Name of this backup.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; True if this backup has been created due to a schedule being triggered.
	Scheduled *bool `json:"scheduled,omitempty" azure:"ro"`

	// READ-ONLY; Size of the backup in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty" azure:"ro"`

	// READ-ONLY; Backup status.
	Status *BackupItemStatus `json:"status,omitempty" azure:"ro"`

	// READ-ONLY; SAS URL for the storage account container which contains this backup.
	StorageAccountURL *string `json:"storageAccountUrl,omitempty" azure:"ro"`

	// READ-ONLY; Size of the original web app which has been backed up.
	WebsiteSizeInBytes *int64 `json:"websiteSizeInBytes,omitempty" azure:"ro"`
}

BackupItemProperties - BackupItem resource specific properties

func (BackupItemProperties) MarshalJSON

func (b BackupItemProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BackupItemProperties.

func (*BackupItemProperties) UnmarshalJSON

func (b *BackupItemProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BackupItemProperties.

type BackupItemStatus

type BackupItemStatus string

BackupItemStatus - Backup status.

const (
	BackupItemStatusInProgress         BackupItemStatus = "InProgress"
	BackupItemStatusFailed             BackupItemStatus = "Failed"
	BackupItemStatusSucceeded          BackupItemStatus = "Succeeded"
	BackupItemStatusTimedOut           BackupItemStatus = "TimedOut"
	BackupItemStatusCreated            BackupItemStatus = "Created"
	BackupItemStatusSkipped            BackupItemStatus = "Skipped"
	BackupItemStatusPartiallySucceeded BackupItemStatus = "PartiallySucceeded"
	BackupItemStatusDeleteInProgress   BackupItemStatus = "DeleteInProgress"
	BackupItemStatusDeleteFailed       BackupItemStatus = "DeleteFailed"
	BackupItemStatusDeleted            BackupItemStatus = "Deleted"
)

func PossibleBackupItemStatusValues

func PossibleBackupItemStatusValues() []BackupItemStatus

PossibleBackupItemStatusValues returns the possible values for the BackupItemStatus const type.

type BackupRequest

type BackupRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// BackupRequest resource specific properties
	Properties *BackupRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

BackupRequest - Description of a backup which will be performed.

type BackupRequestProperties

type BackupRequestProperties struct {
	// REQUIRED; SAS URL to the container.
	StorageAccountURL *string `json:"storageAccountUrl,omitempty"`

	// Name of the backup.
	BackupName *string `json:"backupName,omitempty"`

	// Schedule for the backup if it is executed periodically.
	BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"`

	// Databases included in the backup.
	Databases []*DatabaseBackupSetting `json:"databases,omitempty"`

	// 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"`
}

BackupRequestProperties - BackupRequest resource specific properties

func (BackupRequestProperties) MarshalJSON

func (b BackupRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BackupRequestProperties.

type BackupRestoreOperationType

type BackupRestoreOperationType string

BackupRestoreOperationType - Operation type.

const (
	BackupRestoreOperationTypeDefault    BackupRestoreOperationType = "Default"
	BackupRestoreOperationTypeClone      BackupRestoreOperationType = "Clone"
	BackupRestoreOperationTypeRelocation BackupRestoreOperationType = "Relocation"
	BackupRestoreOperationTypeSnapshot   BackupRestoreOperationType = "Snapshot"
	BackupRestoreOperationTypeCloudFS    BackupRestoreOperationType = "CloudFS"
)

func PossibleBackupRestoreOperationTypeValues

func PossibleBackupRestoreOperationTypeValues() []BackupRestoreOperationType

PossibleBackupRestoreOperationTypeValues returns the possible values for the BackupRestoreOperationType const type.

type BackupSchedule

type BackupSchedule struct {
	// REQUIRED; 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"`

	// REQUIRED; 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)
	FrequencyUnit *FrequencyUnit `json:"frequencyUnit,omitempty"`

	// REQUIRED; 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"`

	// REQUIRED; After how many days backups should be deleted.
	RetentionPeriodInDays *int32 `json:"retentionPeriodInDays,omitempty"`

	// When the schedule should start working.
	StartTime *time.Time `json:"startTime,omitempty"`

	// READ-ONLY; Last time when this schedule was triggered.
	LastExecutionTime *time.Time `json:"lastExecutionTime,omitempty" azure:"ro"`
}

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

func (BackupSchedule) MarshalJSON

func (b BackupSchedule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BackupSchedule.

func (*BackupSchedule) UnmarshalJSON

func (b *BackupSchedule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BackupSchedule.

type BillingMeter

type BillingMeter struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// BillingMeter resource specific properties
	Properties *BillingMeterProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

BillingMeter - App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.

type BillingMeterCollection

type BillingMeterCollection struct {
	// REQUIRED; Collection of resources.
	Value []*BillingMeter `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

BillingMeterCollection - Collection of Billing Meters

type BillingMeterProperties

type BillingMeterProperties struct {
	// Azure Location of billable resource
	BillingLocation *string `json:"billingLocation,omitempty"`

	// Friendly name of the meter
	FriendlyName *string `json:"friendlyName,omitempty"`

	// Meter GUID onboarded in Commerce
	MeterID *string `json:"meterId,omitempty"`

	// Meter Multiplier
	Multiplier *float64 `json:"multiplier,omitempty"`

	// App Service OS type meter used for
	OSType *string `json:"osType,omitempty"`

	// App Service ResourceType meter used for
	ResourceType *string `json:"resourceType,omitempty"`

	// Short Name from App Service Azure pricing Page
	ShortName *string `json:"shortName,omitempty"`
}

BillingMeterProperties - BillingMeter resource specific properties

type BlobStorageTokenStore

type BlobStorageTokenStore struct {
	// The name of the app setting containing the SAS URL of the blob storage containing the tokens.
	SasURLSettingName *string `json:"sasUrlSettingName,omitempty"`
}

BlobStorageTokenStore - The configuration settings of the storage of the tokens if blob storage is used.

type BuildStatus

type BuildStatus string

BuildStatus - The status of the static site build.

const (
	BuildStatusDeleting             BuildStatus = "Deleting"
	BuildStatusDeploying            BuildStatus = "Deploying"
	BuildStatusDetached             BuildStatus = "Detached"
	BuildStatusFailed               BuildStatus = "Failed"
	BuildStatusReady                BuildStatus = "Ready"
	BuildStatusUploading            BuildStatus = "Uploading"
	BuildStatusWaitingForDeployment BuildStatus = "WaitingForDeployment"
)

func PossibleBuildStatusValues

func PossibleBuildStatusValues() []BuildStatus

PossibleBuildStatusValues returns the possible values for the BuildStatus const type.

type BuiltInAuthenticationProvider

type BuiltInAuthenticationProvider string

BuiltInAuthenticationProvider - 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".

const (
	BuiltInAuthenticationProviderAzureActiveDirectory BuiltInAuthenticationProvider = "AzureActiveDirectory"
	BuiltInAuthenticationProviderFacebook             BuiltInAuthenticationProvider = "Facebook"
	BuiltInAuthenticationProviderGoogle               BuiltInAuthenticationProvider = "Google"
	BuiltInAuthenticationProviderMicrosoftAccount     BuiltInAuthenticationProvider = "MicrosoftAccount"
	BuiltInAuthenticationProviderTwitter              BuiltInAuthenticationProvider = "Twitter"
	BuiltInAuthenticationProviderGithub               BuiltInAuthenticationProvider = "Github"
)

func PossibleBuiltInAuthenticationProviderValues

func PossibleBuiltInAuthenticationProviderValues() []BuiltInAuthenticationProvider

PossibleBuiltInAuthenticationProviderValues returns the possible values for the BuiltInAuthenticationProvider const type.

type Capability

type Capability struct {
	// Name of the SKU capability.
	Name *string `json:"name,omitempty"`

	// Reason of the SKU capability.
	Reason *string `json:"reason,omitempty"`

	// Value of the SKU capability.
	Value *string `json:"value,omitempty"`
}

Capability - Describes the capabilities/features allowed for a specific SKU.

type Certificate

type Certificate struct {
	// Key Vault resource Id.
	KeyVaultID *string `json:"keyVaultId,omitempty"`

	// Key Vault secret name.
	KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`

	// READ-ONLY; Status of the Key Vault secret.
	ProvisioningState *KeyVaultSecretStatus `json:"provisioningState,omitempty" azure:"ro"`
}

Certificate - Key Vault container for a certificate that is purchased through Azure.

type CertificateCollection

type CertificateCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CertificateResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

CertificateCollection - Collection of certificate order certificates.

type CertificateDetails

type CertificateDetails struct {
	// READ-ONLY; Certificate Issuer.
	Issuer *string `json:"issuer,omitempty" azure:"ro"`

	// READ-ONLY; Date Certificate is valid to.
	NotAfter *time.Time `json:"notAfter,omitempty" azure:"ro"`

	// READ-ONLY; Date Certificate is valid from.
	NotBefore *time.Time `json:"notBefore,omitempty" azure:"ro"`

	// READ-ONLY; Raw certificate data.
	RawData *string `json:"rawData,omitempty" azure:"ro"`

	// READ-ONLY; Certificate Serial Number.
	SerialNumber *string `json:"serialNumber,omitempty" azure:"ro"`

	// READ-ONLY; Certificate Signature algorithm.
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" azure:"ro"`

	// READ-ONLY; Certificate Subject.
	Subject *string `json:"subject,omitempty" azure:"ro"`

	// READ-ONLY; Certificate Thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"`

	// READ-ONLY; Certificate Version.
	Version *int32 `json:"version,omitempty" azure:"ro"`
}

CertificateDetails - SSL certificate details.

func (CertificateDetails) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateDetails.

func (*CertificateDetails) UnmarshalJSON

func (c *CertificateDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateDetails.

type CertificateEmail

type CertificateEmail struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// CertificateEmail resource specific properties
	Properties *CertificateEmailProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CertificateEmail - SSL certificate email.

type CertificateEmailProperties

type CertificateEmailProperties struct {
	// Email id.
	EmailID *string `json:"emailId,omitempty"`

	// Time stamp.
	TimeStamp *time.Time `json:"timeStamp,omitempty"`
}

CertificateEmailProperties - CertificateEmail resource specific properties

func (CertificateEmailProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateEmailProperties.

func (*CertificateEmailProperties) UnmarshalJSON

func (c *CertificateEmailProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateEmailProperties.

type CertificateOrder added in v0.2.0

type CertificateOrder struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AppServiceCertificateOrder resource specific properties
	Properties *CertificateOrderProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CertificateOrder - SSL certificate purchase order.

func (CertificateOrder) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrder.

type CertificateOrderAction

type CertificateOrderAction struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// CertificateOrderAction resource specific properties
	Properties *CertificateOrderActionProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CertificateOrderAction - Certificate order action.

type CertificateOrderActionProperties

type CertificateOrderActionProperties struct {
	// READ-ONLY; Action type.
	ActionType *CertificateOrderActionType `json:"actionType,omitempty" azure:"ro"`

	// READ-ONLY; Time at which the certificate action was performed.
	CreatedAt *time.Time `json:"createdAt,omitempty" azure:"ro"`
}

CertificateOrderActionProperties - CertificateOrderAction resource specific properties

func (CertificateOrderActionProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderActionProperties.

func (*CertificateOrderActionProperties) UnmarshalJSON

func (c *CertificateOrderActionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderActionProperties.

type CertificateOrderActionType

type CertificateOrderActionType string

CertificateOrderActionType - Action type.

const (
	CertificateOrderActionTypeCertificateIssued            CertificateOrderActionType = "CertificateIssued"
	CertificateOrderActionTypeCertificateOrderCanceled     CertificateOrderActionType = "CertificateOrderCanceled"
	CertificateOrderActionTypeCertificateOrderCreated      CertificateOrderActionType = "CertificateOrderCreated"
	CertificateOrderActionTypeCertificateRevoked           CertificateOrderActionType = "CertificateRevoked"
	CertificateOrderActionTypeDomainValidationComplete     CertificateOrderActionType = "DomainValidationComplete"
	CertificateOrderActionTypeFraudDetected                CertificateOrderActionType = "FraudDetected"
	CertificateOrderActionTypeOrgNameChange                CertificateOrderActionType = "OrgNameChange"
	CertificateOrderActionTypeOrgValidationComplete        CertificateOrderActionType = "OrgValidationComplete"
	CertificateOrderActionTypeSanDrop                      CertificateOrderActionType = "SanDrop"
	CertificateOrderActionTypeFraudCleared                 CertificateOrderActionType = "FraudCleared"
	CertificateOrderActionTypeCertificateExpired           CertificateOrderActionType = "CertificateExpired"
	CertificateOrderActionTypeCertificateExpirationWarning CertificateOrderActionType = "CertificateExpirationWarning"
	CertificateOrderActionTypeFraudDocumentationRequired   CertificateOrderActionType = "FraudDocumentationRequired"
	CertificateOrderActionTypeUnknown                      CertificateOrderActionType = "Unknown"
)

func PossibleCertificateOrderActionTypeValues

func PossibleCertificateOrderActionTypeValues() []CertificateOrderActionType

PossibleCertificateOrderActionTypeValues returns the possible values for the CertificateOrderActionType const type.

type CertificateOrderCollection added in v0.2.0

type CertificateOrderCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CertificateOrder `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

CertificateOrderCollection - Collection of certificate orders.

type CertificateOrderContact

type CertificateOrderContact struct {
	Email     *string `json:"email,omitempty"`
	NameFirst *string `json:"nameFirst,omitempty"`
	NameLast  *string `json:"nameLast,omitempty"`
	Phone     *string `json:"phone,omitempty"`
}

type CertificateOrderPatchResource added in v0.2.0

type CertificateOrderPatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AppServiceCertificateOrderPatchResource resource specific properties
	Properties *CertificateOrderPatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CertificateOrderPatchResource - ARM resource for a certificate order that is purchased through Azure.

func (CertificateOrderPatchResource) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderPatchResource.

type CertificateOrderPatchResourceProperties added in v0.2.0

type CertificateOrderPatchResourceProperties struct {
	// REQUIRED; Certificate product type.
	ProductType *CertificateProductType `json:"productType,omitempty"`

	// true if the certificate should be automatically renewed when it expires; otherwise, false.
	AutoRenew *bool `json:"autoRenew,omitempty"`

	// State of the Key Vault secret.
	Certificates map[string]*Certificate `json:"certificates,omitempty"`

	// Last CSR that was created for this order.
	Csr *string `json:"csr,omitempty"`

	// Certificate distinguished name.
	DistinguishedName *string `json:"distinguishedName,omitempty"`

	// Certificate key size.
	KeySize *int32 `json:"keySize,omitempty"`

	// Duration in years (must be 1).
	ValidityInYears *int32 `json:"validityInYears,omitempty"`

	// READ-ONLY; Reasons why App Service Certificate is not renewable at the current moment.
	AppServiceCertificateNotRenewableReasons []*AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem `json:"appServiceCertificateNotRenewableReasons,omitempty" azure:"ro"`

	// READ-ONLY; Contact info
	Contact *CertificateOrderContact `json:"contact,omitempty" azure:"ro"`

	// READ-ONLY; Domain verification token.
	DomainVerificationToken *string `json:"domainVerificationToken,omitempty" azure:"ro"`

	// READ-ONLY; Certificate expiration time.
	ExpirationTime *time.Time `json:"expirationTime,omitempty" azure:"ro"`

	// READ-ONLY; Intermediate certificate.
	Intermediate *CertificateDetails `json:"intermediate,omitempty" azure:"ro"`

	// READ-ONLY; true if private key is external; otherwise, false.
	IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty" azure:"ro"`

	// READ-ONLY; Certificate last issuance time.
	LastCertificateIssuanceTime *time.Time `json:"lastCertificateIssuanceTime,omitempty" azure:"ro"`

	// READ-ONLY; Time stamp when the certificate would be auto renewed next
	NextAutoRenewalTimeStamp *time.Time `json:"nextAutoRenewalTimeStamp,omitempty" azure:"ro"`

	// READ-ONLY; Status of certificate order.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Root certificate.
	Root *CertificateDetails `json:"root,omitempty" azure:"ro"`

	// READ-ONLY; Current serial number of the certificate.
	SerialNumber *string `json:"serialNumber,omitempty" azure:"ro"`

	// READ-ONLY; Signed certificate.
	SignedCertificate *CertificateDetails `json:"signedCertificate,omitempty" azure:"ro"`

	// READ-ONLY; Current order status.
	Status *CertificateOrderStatus `json:"status,omitempty" azure:"ro"`
}

CertificateOrderPatchResourceProperties - AppServiceCertificateOrderPatchResource resource specific properties

func (CertificateOrderPatchResourceProperties) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderPatchResourceProperties.

func (*CertificateOrderPatchResourceProperties) UnmarshalJSON added in v0.2.0

func (c *CertificateOrderPatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderPatchResourceProperties.

type CertificateOrderProperties added in v0.2.0

type CertificateOrderProperties struct {
	// REQUIRED; Certificate product type.
	ProductType *CertificateProductType `json:"productType,omitempty"`

	// true if the certificate should be automatically renewed when it expires; otherwise, false.
	AutoRenew *bool `json:"autoRenew,omitempty"`

	// State of the Key Vault secret.
	Certificates map[string]*Certificate `json:"certificates,omitempty"`

	// Last CSR that was created for this order.
	Csr *string `json:"csr,omitempty"`

	// Certificate distinguished name.
	DistinguishedName *string `json:"distinguishedName,omitempty"`

	// Certificate key size.
	KeySize *int32 `json:"keySize,omitempty"`

	// Duration in years (must be 1).
	ValidityInYears *int32 `json:"validityInYears,omitempty"`

	// READ-ONLY; Reasons why App Service Certificate is not renewable at the current moment.
	AppServiceCertificateNotRenewableReasons []*AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem `json:"appServiceCertificateNotRenewableReasons,omitempty" azure:"ro"`

	// READ-ONLY; Contact info
	Contact *CertificateOrderContact `json:"contact,omitempty" azure:"ro"`

	// READ-ONLY; Domain verification token.
	DomainVerificationToken *string `json:"domainVerificationToken,omitempty" azure:"ro"`

	// READ-ONLY; Certificate expiration time.
	ExpirationTime *time.Time `json:"expirationTime,omitempty" azure:"ro"`

	// READ-ONLY; Intermediate certificate.
	Intermediate *CertificateDetails `json:"intermediate,omitempty" azure:"ro"`

	// READ-ONLY; true if private key is external; otherwise, false.
	IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty" azure:"ro"`

	// READ-ONLY; Certificate last issuance time.
	LastCertificateIssuanceTime *time.Time `json:"lastCertificateIssuanceTime,omitempty" azure:"ro"`

	// READ-ONLY; Time stamp when the certificate would be auto renewed next
	NextAutoRenewalTimeStamp *time.Time `json:"nextAutoRenewalTimeStamp,omitempty" azure:"ro"`

	// READ-ONLY; Status of certificate order.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Root certificate.
	Root *CertificateDetails `json:"root,omitempty" azure:"ro"`

	// READ-ONLY; Current serial number of the certificate.
	SerialNumber *string `json:"serialNumber,omitempty" azure:"ro"`

	// READ-ONLY; Signed certificate.
	SignedCertificate *CertificateDetails `json:"signedCertificate,omitempty" azure:"ro"`

	// READ-ONLY; Current order status.
	Status *CertificateOrderStatus `json:"status,omitempty" azure:"ro"`
}

CertificateOrderProperties - AppServiceCertificateOrder resource specific properties

func (CertificateOrderProperties) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderProperties.

func (*CertificateOrderProperties) UnmarshalJSON added in v0.2.0

func (c *CertificateOrderProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderProperties.

type CertificateOrderStatus

type CertificateOrderStatus string

CertificateOrderStatus - Current order status.

const (
	CertificateOrderStatusPendingissuance   CertificateOrderStatus = "Pendingissuance"
	CertificateOrderStatusIssued            CertificateOrderStatus = "Issued"
	CertificateOrderStatusRevoked           CertificateOrderStatus = "Revoked"
	CertificateOrderStatusCanceled          CertificateOrderStatus = "Canceled"
	CertificateOrderStatusDenied            CertificateOrderStatus = "Denied"
	CertificateOrderStatusPendingrevocation CertificateOrderStatus = "Pendingrevocation"
	CertificateOrderStatusPendingRekey      CertificateOrderStatus = "PendingRekey"
	CertificateOrderStatusUnused            CertificateOrderStatus = "Unused"
	CertificateOrderStatusExpired           CertificateOrderStatus = "Expired"
	CertificateOrderStatusNotSubmitted      CertificateOrderStatus = "NotSubmitted"
)

func PossibleCertificateOrderStatusValues

func PossibleCertificateOrderStatusValues() []CertificateOrderStatus

PossibleCertificateOrderStatusValues returns the possible values for the CertificateOrderStatus const type.

type CertificateOrdersClient added in v0.2.0

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

CertificateOrdersClient contains the methods for the AppServiceCertificateOrders group. Don't use this type directly, use NewCertificateOrdersClient() instead.

func NewCertificateOrdersClient added in v0.2.0

func NewCertificateOrdersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*CertificateOrdersClient, error)

NewCertificateOrdersClient creates a new instance of CertificateOrdersClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*CertificateOrdersClient) BeginCreateOrUpdate added in v0.2.0

func (client *CertificateOrdersClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName CertificateOrder, options *CertificateOrdersClientBeginCreateOrUpdateOptions) (*runtime.Poller[CertificateOrdersClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Create or update a certificate purchase order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - CertificateOrdersClientBeginCreateOrUpdateOptions contains the optional parameters for the CertificateOrdersClient.BeginCreateOrUpdate method.

func (*CertificateOrdersClient) BeginCreateOrUpdateCertificate added in v0.2.0

func (client *CertificateOrdersClient) BeginCreateOrUpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificateResource, options *CertificateOrdersClientBeginCreateOrUpdateCertificateOptions) (*runtime.Poller[CertificateOrdersClientCreateOrUpdateCertificateResponse], error)

BeginCreateOrUpdateCertificate - Creates or updates a certificate and associates with key vault secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - CertificateOrdersClientBeginCreateOrUpdateCertificateOptions contains the optional parameters for the CertificateOrdersClient.BeginCreateOrUpdateCertificate method.

func (*CertificateOrdersClient) Delete added in v0.2.0

func (client *CertificateOrdersClient) Delete(ctx context.Context, resourceGroupName string, certificateOrderName string, options *CertificateOrdersClientDeleteOptions) (CertificateOrdersClientDeleteResponse, error)

Delete - Delete an existing certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. options - CertificateOrdersClientDeleteOptions contains the optional parameters for the CertificateOrdersClient.Delete method.

func (*CertificateOrdersClient) DeleteCertificate added in v0.2.0

func (client *CertificateOrdersClient) DeleteCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, options *CertificateOrdersClientDeleteCertificateOptions) (CertificateOrdersClientDeleteCertificateResponse, error)

DeleteCertificate - Delete the certificate associated with a certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. name - Name of the certificate. options - CertificateOrdersClientDeleteCertificateOptions contains the optional parameters for the CertificateOrdersClient.DeleteCertificate method.

func (*CertificateOrdersClient) Get added in v0.2.0

func (client *CertificateOrdersClient) Get(ctx context.Context, resourceGroupName string, certificateOrderName string, options *CertificateOrdersClientGetOptions) (CertificateOrdersClientGetResponse, error)

Get - Get a certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order.. options - CertificateOrdersClientGetOptions contains the optional parameters for the CertificateOrdersClient.Get method.

func (*CertificateOrdersClient) GetCertificate added in v0.2.0

func (client *CertificateOrdersClient) GetCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, options *CertificateOrdersClientGetCertificateOptions) (CertificateOrdersClientGetCertificateResponse, error)

GetCertificate - Get the certificate associated with a certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. name - Name of the certificate. options - CertificateOrdersClientGetCertificateOptions contains the optional parameters for the CertificateOrdersClient.GetCertificate method.

func (*CertificateOrdersClient) NewListByResourceGroupPager added in v0.4.0

NewListByResourceGroupPager - Get certificate orders in a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - CertificateOrdersClientListByResourceGroupOptions contains the optional parameters for the CertificateOrdersClient.ListByResourceGroup method.

func (*CertificateOrdersClient) NewListCertificatesPager added in v0.4.0

func (client *CertificateOrdersClient) NewListCertificatesPager(resourceGroupName string, certificateOrderName string, options *CertificateOrdersClientListCertificatesOptions) *runtime.Pager[CertificateOrdersClientListCertificatesResponse]

NewListCertificatesPager - List all certificates associated with a certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. options - CertificateOrdersClientListCertificatesOptions contains the optional parameters for the CertificateOrdersClient.ListCertificates method.

func (*CertificateOrdersClient) NewListPager added in v0.4.0

NewListPager - List all certificate orders in a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - CertificateOrdersClientListOptions contains the optional parameters for the CertificateOrdersClient.List method.

func (*CertificateOrdersClient) Reissue added in v0.2.0

func (client *CertificateOrdersClient) Reissue(ctx context.Context, resourceGroupName string, certificateOrderName string, reissueCertificateOrderRequest ReissueCertificateOrderRequest, options *CertificateOrdersClientReissueOptions) (CertificateOrdersClientReissueResponse, error)

Reissue - Reissue an existing certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. reissueCertificateOrderRequest - Parameters for the reissue. options - CertificateOrdersClientReissueOptions contains the optional parameters for the CertificateOrdersClient.Reissue method.

func (*CertificateOrdersClient) Renew added in v0.2.0

func (client *CertificateOrdersClient) Renew(ctx context.Context, resourceGroupName string, certificateOrderName string, renewCertificateOrderRequest RenewCertificateOrderRequest, options *CertificateOrdersClientRenewOptions) (CertificateOrdersClientRenewResponse, error)

Renew - Renew an existing certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. renewCertificateOrderRequest - Renew parameters options - CertificateOrdersClientRenewOptions contains the optional parameters for the CertificateOrdersClient.Renew method.

func (*CertificateOrdersClient) ResendEmail added in v0.2.0

func (client *CertificateOrdersClient) ResendEmail(ctx context.Context, resourceGroupName string, certificateOrderName string, options *CertificateOrdersClientResendEmailOptions) (CertificateOrdersClientResendEmailResponse, error)

ResendEmail - Resend certificate email. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. options - CertificateOrdersClientResendEmailOptions contains the optional parameters for the CertificateOrdersClient.ResendEmail method.

func (*CertificateOrdersClient) ResendRequestEmails added in v0.2.0

func (client *CertificateOrdersClient) ResendRequestEmails(ctx context.Context, resourceGroupName string, certificateOrderName string, nameIdentifier NameIdentifier, options *CertificateOrdersClientResendRequestEmailsOptions) (CertificateOrdersClientResendRequestEmailsResponse, error)

ResendRequestEmails - Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. nameIdentifier - Email address options - CertificateOrdersClientResendRequestEmailsOptions contains the optional parameters for the CertificateOrdersClient.ResendRequestEmails method.

func (*CertificateOrdersClient) RetrieveCertificateActions added in v0.2.0

RetrieveCertificateActions - Retrieve the list of certificate actions. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the certificate order. options - CertificateOrdersClientRetrieveCertificateActionsOptions contains the optional parameters for the CertificateOrdersClient.RetrieveCertificateActions method.

func (*CertificateOrdersClient) RetrieveCertificateEmailHistory added in v0.2.0

RetrieveCertificateEmailHistory - Retrieve email history. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the certificate order. options - CertificateOrdersClientRetrieveCertificateEmailHistoryOptions contains the optional parameters for the CertificateOrdersClient.RetrieveCertificateEmailHistory method.

func (*CertificateOrdersClient) RetrieveSiteSeal added in v0.2.0

func (client *CertificateOrdersClient) RetrieveSiteSeal(ctx context.Context, resourceGroupName string, certificateOrderName string, siteSealRequest SiteSealRequest, options *CertificateOrdersClientRetrieveSiteSealOptions) (CertificateOrdersClientRetrieveSiteSealResponse, error)

RetrieveSiteSeal - This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted by the reseller, to minimize delays for customer page load times. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. siteSealRequest - Site seal request. options - CertificateOrdersClientRetrieveSiteSealOptions contains the optional parameters for the CertificateOrdersClient.RetrieveSiteSeal method.

func (*CertificateOrdersClient) Update added in v0.2.0

func (client *CertificateOrdersClient) Update(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName CertificateOrderPatchResource, options *CertificateOrdersClientUpdateOptions) (CertificateOrdersClientUpdateResponse, error)

Update - Create or update a certificate purchase order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - CertificateOrdersClientUpdateOptions contains the optional parameters for the CertificateOrdersClient.Update method.

func (*CertificateOrdersClient) UpdateCertificate added in v0.2.0

func (client *CertificateOrdersClient) UpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate CertificatePatchResource, options *CertificateOrdersClientUpdateCertificateOptions) (CertificateOrdersClientUpdateCertificateResponse, error)

UpdateCertificate - Creates or updates a certificate and associates with key vault secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - CertificateOrdersClientUpdateCertificateOptions contains the optional parameters for the CertificateOrdersClient.UpdateCertificate method.

func (*CertificateOrdersClient) ValidatePurchaseInformation added in v0.2.0

ValidatePurchaseInformation - Validate information for a certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 appServiceCertificateOrder - Information for a certificate order. options - CertificateOrdersClientValidatePurchaseInformationOptions contains the optional parameters for the CertificateOrdersClient.ValidatePurchaseInformation method.

func (*CertificateOrdersClient) VerifyDomainOwnership added in v0.2.0

func (client *CertificateOrdersClient) VerifyDomainOwnership(ctx context.Context, resourceGroupName string, certificateOrderName string, options *CertificateOrdersClientVerifyDomainOwnershipOptions) (CertificateOrdersClientVerifyDomainOwnershipResponse, error)

VerifyDomainOwnership - Verify domain ownership for this certificate order. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - Name of the certificate order. options - CertificateOrdersClientVerifyDomainOwnershipOptions contains the optional parameters for the CertificateOrdersClient.VerifyDomainOwnership method.

type CertificateOrdersClientBeginCreateOrUpdateCertificateOptions added in v0.2.0

type CertificateOrdersClientBeginCreateOrUpdateCertificateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

CertificateOrdersClientBeginCreateOrUpdateCertificateOptions contains the optional parameters for the CertificateOrdersClient.BeginCreateOrUpdateCertificate method.

type CertificateOrdersClientBeginCreateOrUpdateOptions added in v0.2.0

type CertificateOrdersClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

CertificateOrdersClientBeginCreateOrUpdateOptions contains the optional parameters for the CertificateOrdersClient.BeginCreateOrUpdate method.

type CertificateOrdersClientCreateOrUpdateCertificateResponse added in v0.2.0

type CertificateOrdersClientCreateOrUpdateCertificateResponse struct {
	CertificateResource
}

CertificateOrdersClientCreateOrUpdateCertificateResponse contains the response from method CertificateOrdersClient.CreateOrUpdateCertificate.

type CertificateOrdersClientCreateOrUpdateResponse added in v0.2.0

type CertificateOrdersClientCreateOrUpdateResponse struct {
	CertificateOrder
}

CertificateOrdersClientCreateOrUpdateResponse contains the response from method CertificateOrdersClient.CreateOrUpdate.

type CertificateOrdersClientDeleteCertificateOptions added in v0.2.0

type CertificateOrdersClientDeleteCertificateOptions struct {
}

CertificateOrdersClientDeleteCertificateOptions contains the optional parameters for the CertificateOrdersClient.DeleteCertificate method.

type CertificateOrdersClientDeleteCertificateResponse added in v0.2.0

type CertificateOrdersClientDeleteCertificateResponse struct {
}

CertificateOrdersClientDeleteCertificateResponse contains the response from method CertificateOrdersClient.DeleteCertificate.

type CertificateOrdersClientDeleteOptions added in v0.2.0

type CertificateOrdersClientDeleteOptions struct {
}

CertificateOrdersClientDeleteOptions contains the optional parameters for the CertificateOrdersClient.Delete method.

type CertificateOrdersClientDeleteResponse added in v0.2.0

type CertificateOrdersClientDeleteResponse struct {
}

CertificateOrdersClientDeleteResponse contains the response from method CertificateOrdersClient.Delete.

type CertificateOrdersClientGetCertificateOptions added in v0.2.0

type CertificateOrdersClientGetCertificateOptions struct {
}

CertificateOrdersClientGetCertificateOptions contains the optional parameters for the CertificateOrdersClient.GetCertificate method.

type CertificateOrdersClientGetCertificateResponse added in v0.2.0

type CertificateOrdersClientGetCertificateResponse struct {
	CertificateResource
}

CertificateOrdersClientGetCertificateResponse contains the response from method CertificateOrdersClient.GetCertificate.

type CertificateOrdersClientGetOptions added in v0.2.0

type CertificateOrdersClientGetOptions struct {
}

CertificateOrdersClientGetOptions contains the optional parameters for the CertificateOrdersClient.Get method.

type CertificateOrdersClientGetResponse added in v0.2.0

type CertificateOrdersClientGetResponse struct {
	CertificateOrder
}

CertificateOrdersClientGetResponse contains the response from method CertificateOrdersClient.Get.

type CertificateOrdersClientListByResourceGroupOptions added in v0.2.0

type CertificateOrdersClientListByResourceGroupOptions struct {
}

CertificateOrdersClientListByResourceGroupOptions contains the optional parameters for the CertificateOrdersClient.ListByResourceGroup method.

type CertificateOrdersClientListByResourceGroupResponse added in v0.2.0

type CertificateOrdersClientListByResourceGroupResponse struct {
	CertificateOrderCollection
}

CertificateOrdersClientListByResourceGroupResponse contains the response from method CertificateOrdersClient.ListByResourceGroup.

type CertificateOrdersClientListCertificatesOptions added in v0.2.0

type CertificateOrdersClientListCertificatesOptions struct {
}

CertificateOrdersClientListCertificatesOptions contains the optional parameters for the CertificateOrdersClient.ListCertificates method.

type CertificateOrdersClientListCertificatesResponse added in v0.2.0

type CertificateOrdersClientListCertificatesResponse struct {
	CertificateCollection
}

CertificateOrdersClientListCertificatesResponse contains the response from method CertificateOrdersClient.ListCertificates.

type CertificateOrdersClientListOptions added in v0.2.0

type CertificateOrdersClientListOptions struct {
}

CertificateOrdersClientListOptions contains the optional parameters for the CertificateOrdersClient.List method.

type CertificateOrdersClientListResponse added in v0.2.0

type CertificateOrdersClientListResponse struct {
	CertificateOrderCollection
}

CertificateOrdersClientListResponse contains the response from method CertificateOrdersClient.List.

type CertificateOrdersClientReissueOptions added in v0.2.0

type CertificateOrdersClientReissueOptions struct {
}

CertificateOrdersClientReissueOptions contains the optional parameters for the CertificateOrdersClient.Reissue method.

type CertificateOrdersClientReissueResponse added in v0.2.0

type CertificateOrdersClientReissueResponse struct {
}

CertificateOrdersClientReissueResponse contains the response from method CertificateOrdersClient.Reissue.

type CertificateOrdersClientRenewOptions added in v0.2.0

type CertificateOrdersClientRenewOptions struct {
}

CertificateOrdersClientRenewOptions contains the optional parameters for the CertificateOrdersClient.Renew method.

type CertificateOrdersClientRenewResponse added in v0.2.0

type CertificateOrdersClientRenewResponse struct {
}

CertificateOrdersClientRenewResponse contains the response from method CertificateOrdersClient.Renew.

type CertificateOrdersClientResendEmailOptions added in v0.2.0

type CertificateOrdersClientResendEmailOptions struct {
}

CertificateOrdersClientResendEmailOptions contains the optional parameters for the CertificateOrdersClient.ResendEmail method.

type CertificateOrdersClientResendEmailResponse added in v0.2.0

type CertificateOrdersClientResendEmailResponse struct {
}

CertificateOrdersClientResendEmailResponse contains the response from method CertificateOrdersClient.ResendEmail.

type CertificateOrdersClientResendRequestEmailsOptions added in v0.2.0

type CertificateOrdersClientResendRequestEmailsOptions struct {
}

CertificateOrdersClientResendRequestEmailsOptions contains the optional parameters for the CertificateOrdersClient.ResendRequestEmails method.

type CertificateOrdersClientResendRequestEmailsResponse added in v0.2.0

type CertificateOrdersClientResendRequestEmailsResponse struct {
}

CertificateOrdersClientResendRequestEmailsResponse contains the response from method CertificateOrdersClient.ResendRequestEmails.

type CertificateOrdersClientRetrieveCertificateActionsOptions added in v0.2.0

type CertificateOrdersClientRetrieveCertificateActionsOptions struct {
}

CertificateOrdersClientRetrieveCertificateActionsOptions contains the optional parameters for the CertificateOrdersClient.RetrieveCertificateActions method.

type CertificateOrdersClientRetrieveCertificateActionsResponse added in v0.2.0

type CertificateOrdersClientRetrieveCertificateActionsResponse struct {
	// Array of CertificateOrderAction
	CertificateOrderActionArray []*CertificateOrderAction
}

CertificateOrdersClientRetrieveCertificateActionsResponse contains the response from method CertificateOrdersClient.RetrieveCertificateActions.

type CertificateOrdersClientRetrieveCertificateEmailHistoryOptions added in v0.2.0

type CertificateOrdersClientRetrieveCertificateEmailHistoryOptions struct {
}

CertificateOrdersClientRetrieveCertificateEmailHistoryOptions contains the optional parameters for the CertificateOrdersClient.RetrieveCertificateEmailHistory method.

type CertificateOrdersClientRetrieveCertificateEmailHistoryResponse added in v0.2.0

type CertificateOrdersClientRetrieveCertificateEmailHistoryResponse struct {
	// Array of CertificateEmail
	CertificateEmailArray []*CertificateEmail
}

CertificateOrdersClientRetrieveCertificateEmailHistoryResponse contains the response from method CertificateOrdersClient.RetrieveCertificateEmailHistory.

type CertificateOrdersClientRetrieveSiteSealOptions added in v0.2.0

type CertificateOrdersClientRetrieveSiteSealOptions struct {
}

CertificateOrdersClientRetrieveSiteSealOptions contains the optional parameters for the CertificateOrdersClient.RetrieveSiteSeal method.

type CertificateOrdersClientRetrieveSiteSealResponse added in v0.2.0

type CertificateOrdersClientRetrieveSiteSealResponse struct {
	SiteSeal
}

CertificateOrdersClientRetrieveSiteSealResponse contains the response from method CertificateOrdersClient.RetrieveSiteSeal.

type CertificateOrdersClientUpdateCertificateOptions added in v0.2.0

type CertificateOrdersClientUpdateCertificateOptions struct {
}

CertificateOrdersClientUpdateCertificateOptions contains the optional parameters for the CertificateOrdersClient.UpdateCertificate method.

type CertificateOrdersClientUpdateCertificateResponse added in v0.2.0

type CertificateOrdersClientUpdateCertificateResponse struct {
	CertificateResource
}

CertificateOrdersClientUpdateCertificateResponse contains the response from method CertificateOrdersClient.UpdateCertificate.

type CertificateOrdersClientUpdateOptions added in v0.2.0

type CertificateOrdersClientUpdateOptions struct {
}

CertificateOrdersClientUpdateOptions contains the optional parameters for the CertificateOrdersClient.Update method.

type CertificateOrdersClientUpdateResponse added in v0.2.0

type CertificateOrdersClientUpdateResponse struct {
	CertificateOrder
}

CertificateOrdersClientUpdateResponse contains the response from method CertificateOrdersClient.Update.

type CertificateOrdersClientValidatePurchaseInformationOptions added in v0.2.0

type CertificateOrdersClientValidatePurchaseInformationOptions struct {
}

CertificateOrdersClientValidatePurchaseInformationOptions contains the optional parameters for the CertificateOrdersClient.ValidatePurchaseInformation method.

type CertificateOrdersClientValidatePurchaseInformationResponse added in v0.2.0

type CertificateOrdersClientValidatePurchaseInformationResponse struct {
}

CertificateOrdersClientValidatePurchaseInformationResponse contains the response from method CertificateOrdersClient.ValidatePurchaseInformation.

type CertificateOrdersClientVerifyDomainOwnershipOptions added in v0.2.0

type CertificateOrdersClientVerifyDomainOwnershipOptions struct {
}

CertificateOrdersClientVerifyDomainOwnershipOptions contains the optional parameters for the CertificateOrdersClient.VerifyDomainOwnership method.

type CertificateOrdersClientVerifyDomainOwnershipResponse added in v0.2.0

type CertificateOrdersClientVerifyDomainOwnershipResponse struct {
}

CertificateOrdersClientVerifyDomainOwnershipResponse contains the response from method CertificateOrdersClient.VerifyDomainOwnership.

type CertificateOrdersDiagnosticsClient

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

CertificateOrdersDiagnosticsClient contains the methods for the CertificateOrdersDiagnostics group. Don't use this type directly, use NewCertificateOrdersDiagnosticsClient() instead.

func NewCertificateOrdersDiagnosticsClient

func NewCertificateOrdersDiagnosticsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*CertificateOrdersDiagnosticsClient, error)

NewCertificateOrdersDiagnosticsClient creates a new instance of CertificateOrdersDiagnosticsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*CertificateOrdersDiagnosticsClient) GetAppServiceCertificateOrderDetectorResponse

GetAppServiceCertificateOrderDetectorResponse - Microsoft.CertificateRegistration call to get a detector response from App Lens. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - The certificate order name for which the response is needed. detectorName - The detector name which needs to be run. options - CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions contains the optional parameters for the CertificateOrdersDiagnosticsClient.GetAppServiceCertificateOrderDetectorResponse method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-03-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificateOrdersDiagnosticsClient("5700fc96-77b4-4f8d-afce-c353d8c443bd", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetAppServiceCertificateOrderDetectorResponse(ctx,
		"Sample-WestUSResourceGroup",
		"SampleCertificateOrderName",
		"AutoRenewStatus",
		&armappservice.CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*CertificateOrdersDiagnosticsClient) NewListAppServiceCertificateOrderDetectorResponsePager added in v0.4.0

NewListAppServiceCertificateOrderDetectorResponsePager - Microsoft.CertificateRegistration to get the list of detectors for this RP. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. certificateOrderName - The certificate order name for which the response is needed. options - CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseOptions contains the optional parameters for the CertificateOrdersDiagnosticsClient.ListAppServiceCertificateOrderDetectorResponse method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-03-01/examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificateOrdersDiagnosticsClient("5700fc96-77b4-4f8d-afce-c353d8c443bd", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListAppServiceCertificateOrderDetectorResponsePager("Sample-WestUSResourceGroup",
		"SampleCertificateOrderName",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions added in v0.2.0

type CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions struct {
	// The end time for the detector response.
	EndTime *time.Time
	// The start time for detector response.
	StartTime *time.Time
	// The time grain for the detector response.
	TimeGrain *string
}

CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions contains the optional parameters for the CertificateOrdersDiagnosticsClient.GetAppServiceCertificateOrderDetectorResponse method.

type CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseResponse added in v0.2.0

type CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseResponse struct {
	DetectorResponse
}

CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseResponse contains the response from method CertificateOrdersDiagnosticsClient.GetAppServiceCertificateOrderDetectorResponse.

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseOptions added in v0.2.0

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseOptions struct {
}

CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseOptions contains the optional parameters for the CertificateOrdersDiagnosticsClient.ListAppServiceCertificateOrderDetectorResponse method.

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseResponse added in v0.2.0

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseResponse struct {
	DetectorResponseCollection
}

CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseResponse contains the response from method CertificateOrdersDiagnosticsClient.ListAppServiceCertificateOrderDetectorResponse.

type CertificatePatchResource

type CertificatePatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *Certificate `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CertificatePatchResource - Key Vault container ARM resource for a certificate that is purchased through Azure.

func (CertificatePatchResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificatePatchResource.

type CertificateProductType

type CertificateProductType string

CertificateProductType - Certificate product type.

const (
	CertificateProductTypeStandardDomainValidatedSSL         CertificateProductType = "StandardDomainValidatedSsl"
	CertificateProductTypeStandardDomainValidatedWildCardSSL CertificateProductType = "StandardDomainValidatedWildCardSsl"
)

func PossibleCertificateProductTypeValues

func PossibleCertificateProductTypeValues() []CertificateProductType

PossibleCertificateProductTypeValues returns the possible values for the CertificateProductType const type.

type CertificateRegistrationProviderClient

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

CertificateRegistrationProviderClient contains the methods for the CertificateRegistrationProvider group. Don't use this type directly, use NewCertificateRegistrationProviderClient() instead.

func NewCertificateRegistrationProviderClient

func NewCertificateRegistrationProviderClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*CertificateRegistrationProviderClient, error)

NewCertificateRegistrationProviderClient creates a new instance of CertificateRegistrationProviderClient with the specified values. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*CertificateRegistrationProviderClient) NewListOperationsPager added in v0.4.0

NewListOperationsPager - Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - CertificateRegistrationProviderClientListOperationsOptions contains the optional parameters for the CertificateRegistrationProviderClient.ListOperations method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-03-01/examples/ListOperations.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificateRegistrationProviderClient(cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListOperationsPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type CertificateRegistrationProviderClientListOperationsOptions added in v0.2.0

type CertificateRegistrationProviderClientListOperationsOptions struct {
}

CertificateRegistrationProviderClientListOperationsOptions contains the optional parameters for the CertificateRegistrationProviderClient.ListOperations method.

type CertificateRegistrationProviderClientListOperationsResponse added in v0.2.0

type CertificateRegistrationProviderClientListOperationsResponse struct {
	CsmOperationCollection
}

CertificateRegistrationProviderClientListOperationsResponse contains the response from method CertificateRegistrationProviderClient.ListOperations.

type CertificateResource added in v0.2.0

type CertificateResource struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *Certificate `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CertificateResource - Key Vault container ARM resource for a certificate that is purchased through Azure.

func (CertificateResource) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CertificateResource.

type CertificatesClient

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

CertificatesClient contains the methods for the Certificates group. Don't use this type directly, use NewCertificatesClient() instead.

func NewCertificatesClient

func NewCertificatesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*CertificatesClient, error)

NewCertificatesClient creates a new instance of CertificatesClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*CertificatesClient) CreateOrUpdate

func (client *CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, certificateEnvelope AppCertificate, options *CertificatesClientCreateOrUpdateOptions) (CertificatesClientCreateOrUpdateResponse, error)

CreateOrUpdate - Create or update a certificate. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the certificate. certificateEnvelope - Details of certificate, if it exists already. options - CertificatesClientCreateOrUpdateOptions contains the optional parameters for the CertificatesClient.CreateOrUpdate method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateCertificate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificatesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.CreateOrUpdate(ctx,
		"testrg123",
		"testc6282",
		armappservice.AppCertificate{
			Location: to.Ptr("East US"),
			Properties: &armappservice.AppCertificateProperties{
				HostNames: []*string{
					to.Ptr("ServerCert")},
				Password: to.Ptr("<password>"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*CertificatesClient) Delete

Delete - Delete a certificate. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the certificate. options - CertificatesClientDeleteOptions contains the optional parameters for the CertificatesClient.Delete method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteCertificate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificatesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.Delete(ctx,
		"testrg123",
		"testc6282",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*CertificatesClient) Get

func (client *CertificatesClient) Get(ctx context.Context, resourceGroupName string, name string, options *CertificatesClientGetOptions) (CertificatesClientGetResponse, error)

Get - Get a certificate. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the certificate. options - CertificatesClientGetOptions contains the optional parameters for the CertificatesClient.Get method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetCertificate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificatesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Get(ctx,
		"testrg123",
		"testc6282",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*CertificatesClient) NewListByResourceGroupPager added in v0.4.0

NewListByResourceGroupPager - Get all certificates in a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - CertificatesClientListByResourceGroupOptions contains the optional parameters for the CertificatesClient.ListByResourceGroup method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListCertificatesByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificatesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListByResourceGroupPager("testrg123",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*CertificatesClient) NewListPager added in v0.4.0

NewListPager - Get all certificates for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - CertificatesClientListOptions contains the optional parameters for the CertificatesClient.List method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListCertificates.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificatesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListPager(&armappservice.CertificatesClientListOptions{Filter: nil})
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*CertificatesClient) Update

func (client *CertificatesClient) Update(ctx context.Context, resourceGroupName string, name string, certificateEnvelope AppCertificatePatchResource, options *CertificatesClientUpdateOptions) (CertificatesClientUpdateResponse, error)

Update - Create or update a certificate. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the certificate. certificateEnvelope - Details of certificate, if it exists already. options - CertificatesClientUpdateOptions contains the optional parameters for the CertificatesClient.Update method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/PatchCertificate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewCertificatesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Update(ctx,
		"testrg123",
		"testc6282",
		armappservice.AppCertificatePatchResource{
			Properties: &armappservice.AppCertificatePatchResourceProperties{
				Password: to.Ptr("<password>"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

type CertificatesClientCreateOrUpdateOptions added in v0.2.0

type CertificatesClientCreateOrUpdateOptions struct {
}

CertificatesClientCreateOrUpdateOptions contains the optional parameters for the CertificatesClient.CreateOrUpdate method.

type CertificatesClientCreateOrUpdateResponse added in v0.2.0

type CertificatesClientCreateOrUpdateResponse struct {
	AppCertificate
}

CertificatesClientCreateOrUpdateResponse contains the response from method CertificatesClient.CreateOrUpdate.

type CertificatesClientDeleteOptions added in v0.2.0

type CertificatesClientDeleteOptions struct {
}

CertificatesClientDeleteOptions contains the optional parameters for the CertificatesClient.Delete method.

type CertificatesClientDeleteResponse added in v0.2.0

type CertificatesClientDeleteResponse struct {
}

CertificatesClientDeleteResponse contains the response from method CertificatesClient.Delete.

type CertificatesClientGetOptions added in v0.2.0

type CertificatesClientGetOptions struct {
}

CertificatesClientGetOptions contains the optional parameters for the CertificatesClient.Get method.

type CertificatesClientGetResponse added in v0.2.0

type CertificatesClientGetResponse struct {
	AppCertificate
}

CertificatesClientGetResponse contains the response from method CertificatesClient.Get.

type CertificatesClientListByResourceGroupOptions added in v0.2.0

type CertificatesClientListByResourceGroupOptions struct {
}

CertificatesClientListByResourceGroupOptions contains the optional parameters for the CertificatesClient.ListByResourceGroup method.

type CertificatesClientListByResourceGroupResponse added in v0.2.0

type CertificatesClientListByResourceGroupResponse struct {
	AppCertificateCollection
}

CertificatesClientListByResourceGroupResponse contains the response from method CertificatesClient.ListByResourceGroup.

type CertificatesClientListOptions added in v0.2.0

type CertificatesClientListOptions struct {
	// Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'
	Filter *string
}

CertificatesClientListOptions contains the optional parameters for the CertificatesClient.List method.

type CertificatesClientListResponse added in v0.2.0

type CertificatesClientListResponse struct {
	AppCertificateCollection
}

CertificatesClientListResponse contains the response from method CertificatesClient.List.

type CertificatesClientUpdateOptions added in v0.2.0

type CertificatesClientUpdateOptions struct {
}

CertificatesClientUpdateOptions contains the optional parameters for the CertificatesClient.Update method.

type CertificatesClientUpdateResponse added in v0.2.0

type CertificatesClientUpdateResponse struct {
	AppCertificate
}

CertificatesClientUpdateResponse contains the response from method CertificatesClient.Update.

type Channels

type Channels string

Channels - List of channels that this recommendation can apply.

const (
	ChannelsNotification Channels = "Notification"
	ChannelsAPI          Channels = "Api"
	ChannelsEmail        Channels = "Email"
	ChannelsWebhook      Channels = "Webhook"
	ChannelsAll          Channels = "All"
)

func PossibleChannelsValues

func PossibleChannelsValues() []Channels

PossibleChannelsValues returns the possible values for the Channels const type.

type CheckNameResourceTypes

type CheckNameResourceTypes string

CheckNameResourceTypes - Resource type used for verification.

const (
	CheckNameResourceTypesHostingEnvironment              CheckNameResourceTypes = "HostingEnvironment"
	CheckNameResourceTypesMicrosoftWebHostingEnvironments CheckNameResourceTypes = "Microsoft.Web/hostingEnvironments"
	CheckNameResourceTypesMicrosoftWebPublishingUsers     CheckNameResourceTypes = "Microsoft.Web/publishingUsers"
	CheckNameResourceTypesMicrosoftWebSites               CheckNameResourceTypes = "Microsoft.Web/sites"
	CheckNameResourceTypesMicrosoftWebSitesSlots          CheckNameResourceTypes = "Microsoft.Web/sites/slots"
	CheckNameResourceTypesPublishingUser                  CheckNameResourceTypes = "PublishingUser"
	CheckNameResourceTypesSite                            CheckNameResourceTypes = "Site"
	CheckNameResourceTypesSlot                            CheckNameResourceTypes = "Slot"
)

func PossibleCheckNameResourceTypesValues

func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes

PossibleCheckNameResourceTypesValues returns the possible values for the CheckNameResourceTypes const type.

type ClientCertMode

type ClientCertMode string

ClientCertMode - This composes with ClientCertEnabled setting. * ClientCertEnabled: false means ClientCert is ignored. * ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. * ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.

const (
	ClientCertModeRequired                ClientCertMode = "Required"
	ClientCertModeOptional                ClientCertMode = "Optional"
	ClientCertModeOptionalInteractiveUser ClientCertMode = "OptionalInteractiveUser"
)

func PossibleClientCertModeValues

func PossibleClientCertModeValues() []ClientCertMode

PossibleClientCertModeValues returns the possible values for the ClientCertMode const type.

type ClientRegistration

type ClientRegistration struct {
	// The Client ID of the app used for login.
	ClientID *string `json:"clientId,omitempty"`

	// The app setting name that contains the client secret.
	ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"`
}

ClientRegistration - The configuration settings of the app registration for providers that have client ids and client secrets

type CloneAbilityResult

type CloneAbilityResult string

CloneAbilityResult - Name of app.

const (
	CloneAbilityResultCloneable          CloneAbilityResult = "Cloneable"
	CloneAbilityResultPartiallyCloneable CloneAbilityResult = "PartiallyCloneable"
	CloneAbilityResultNotCloneable       CloneAbilityResult = "NotCloneable"
)

func PossibleCloneAbilityResultValues

func PossibleCloneAbilityResultValues() []CloneAbilityResult

PossibleCloneAbilityResultValues returns the possible values for the CloneAbilityResult const type.

type CloningInfo

type CloningInfo struct {
	// REQUIRED; 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"`

	// 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,omitempty"`

	// true to clone custom hostnames from source app; otherwise, false.
	CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"`

	// true to clone source control from source app; otherwise, false.
	CloneSourceControl *bool `json:"cloneSourceControl,omitempty"`

	// true to configure load balancing for source and destination app.
	ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"`

	// Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.
	CorrelationID *string `json:"correlationId,omitempty"`

	// App Service Environment.
	HostingEnvironment *string `json:"hostingEnvironment,omitempty"`

	// true to overwrite destination app; otherwise, false.
	Overwrite *bool `json:"overwrite,omitempty"`

	// Location of source app ex: West US or North Europe
	SourceWebAppLocation *string `json:"sourceWebAppLocation,omitempty"`

	// 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"`

	// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.
	TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"`
}

CloningInfo - Information needed for cloning operation.

func (CloningInfo) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CloningInfo.

type ComputeModeOptions

type ComputeModeOptions string

ComputeModeOptions - Shared/dedicated workers.

const (
	ComputeModeOptionsShared    ComputeModeOptions = "Shared"
	ComputeModeOptionsDedicated ComputeModeOptions = "Dedicated"
	ComputeModeOptionsDynamic   ComputeModeOptions = "Dynamic"
)

func PossibleComputeModeOptionsValues

func PossibleComputeModeOptionsValues() []ComputeModeOptions

PossibleComputeModeOptionsValues returns the possible values for the ComputeModeOptions const type.

type Configuration added in v0.2.0

type Configuration struct {
	// ActiveRevisionsMode controls how active revisions are handled for the Container app:Multiple: multiple revisions can be
	// active. If no value if provided, this is the defaultSingle: Only one revision
	// can be active at a time. Revision weights can not be used in this mode
	ActiveRevisionsMode *ActiveRevisionsMode `json:"activeRevisionsMode,omitempty"`

	// Ingress configurations.
	Ingress *Ingress `json:"ingress,omitempty"`

	// Collection of private container registry credentials for containers used by the Container app
	Registries []*RegistryCredentials `json:"registries,omitempty"`

	// Collection of secrets used by a Container app
	Secrets []*Secret `json:"secrets,omitempty"`
}

Configuration - Non versioned Container App configuration properties that define the mutable settings of a Container app

func (Configuration) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type Configuration.

type ConnStringInfo

type ConnStringInfo struct {
	// Connection string value.
	ConnectionString *string `json:"connectionString,omitempty"`

	// Name of connection string.
	Name *string `json:"name,omitempty"`

	// Type of database.
	Type *ConnectionStringType `json:"type,omitempty"`
}

ConnStringInfo - Database connection string information.

type ConnStringValueTypePair

type ConnStringValueTypePair struct {
	// REQUIRED; Type of database.
	Type *ConnectionStringType `json:"type,omitempty"`

	// REQUIRED; Value of pair.
	Value *string `json:"value,omitempty"`
}

ConnStringValueTypePair - Database connection string value to type pair.

type ConnectionStringDictionary

type ConnectionStringDictionary struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Connection strings.
	Properties map[string]*ConnStringValueTypePair `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ConnectionStringDictionary - String dictionary resource.

func (ConnectionStringDictionary) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectionStringDictionary.

type ConnectionStringType

type ConnectionStringType string

ConnectionStringType - Type of database.

const (
	ConnectionStringTypeMySQL           ConnectionStringType = "MySql"
	ConnectionStringTypeSQLServer       ConnectionStringType = "SQLServer"
	ConnectionStringTypeSQLAzure        ConnectionStringType = "SQLAzure"
	ConnectionStringTypeCustom          ConnectionStringType = "Custom"
	ConnectionStringTypeNotificationHub ConnectionStringType = "NotificationHub"
	ConnectionStringTypeServiceBus      ConnectionStringType = "ServiceBus"
	ConnectionStringTypeEventHub        ConnectionStringType = "EventHub"
	ConnectionStringTypeAPIHub          ConnectionStringType = "ApiHub"
	ConnectionStringTypeDocDb           ConnectionStringType = "DocDb"
	ConnectionStringTypeRedisCache      ConnectionStringType = "RedisCache"
	ConnectionStringTypePostgreSQL      ConnectionStringType = "PostgreSQL"
)

func PossibleConnectionStringTypeValues

func PossibleConnectionStringTypeValues() []ConnectionStringType

PossibleConnectionStringTypeValues returns the possible values for the ConnectionStringType const type.

type Contact

type Contact struct {
	// REQUIRED; Email address.
	Email *string `json:"email,omitempty"`

	// REQUIRED; First name.
	NameFirst *string `json:"nameFirst,omitempty"`

	// REQUIRED; Last name.
	NameLast *string `json:"nameLast,omitempty"`

	// REQUIRED; Phone number.
	Phone *string `json:"phone,omitempty"`

	// Mailing address.
	AddressMailing *Address `json:"addressMailing,omitempty"`

	// Fax number.
	Fax *string `json:"fax,omitempty"`

	// Job title.
	JobTitle *string `json:"jobTitle,omitempty"`

	// Middle name.
	NameMiddle *string `json:"nameMiddle,omitempty"`

	// Organization contact belongs to.
	Organization *string `json:"organization,omitempty"`
}

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 Container added in v0.2.0

type Container struct {
	// Container start command arguments.
	Args []*string `json:"args,omitempty"`

	// Container start command.
	Command []*string `json:"command,omitempty"`

	// Container environment variables.
	Env []*EnvironmentVar `json:"env,omitempty"`

	// Container image tag.
	Image *string `json:"image,omitempty"`

	// Custom container name.
	Name *string `json:"name,omitempty"`

	// Container resource requirements.
	Resources *ContainerResources `json:"resources,omitempty"`
}

Container App container definition.

func (Container) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type Container.

type ContainerApp added in v0.2.0

type ContainerApp struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ContainerApp resource specific properties
	Properties *ContainerAppProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ContainerApp - Container App.

func (ContainerApp) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type ContainerApp.

type ContainerAppCollection added in v0.2.0

type ContainerAppCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ContainerApp `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ContainerAppCollection - Container App collection ARM resource.

type ContainerAppProperties added in v0.2.0

type ContainerAppProperties struct {
	// Non versioned Container App configuration properties.
	Configuration *Configuration `json:"configuration,omitempty"`

	// Resource ID of the Container App's KubeEnvironment.
	KubeEnvironmentID *string `json:"kubeEnvironmentId,omitempty"`

	// Container App versioned application definition.
	Template *Template `json:"template,omitempty"`

	// READ-ONLY; Fully Qualified Domain Name of the latest revision of the Container App.
	LatestRevisionFqdn *string `json:"latestRevisionFqdn,omitempty" azure:"ro"`

	// READ-ONLY; Name of the latest revision of the Container App.
	LatestRevisionName *string `json:"latestRevisionName,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state of the Container App.
	ProvisioningState *ContainerAppProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ContainerAppProperties - ContainerApp resource specific properties

type ContainerAppProvisioningState added in v0.2.0

type ContainerAppProvisioningState string

ContainerAppProvisioningState - Provisioning state of the Container App.

const (
	ContainerAppProvisioningStateCanceled   ContainerAppProvisioningState = "Canceled"
	ContainerAppProvisioningStateFailed     ContainerAppProvisioningState = "Failed"
	ContainerAppProvisioningStateInProgress ContainerAppProvisioningState = "InProgress"
	ContainerAppProvisioningStateSucceeded  ContainerAppProvisioningState = "Succeeded"
)

func PossibleContainerAppProvisioningStateValues added in v0.2.0

func PossibleContainerAppProvisioningStateValues() []ContainerAppProvisioningState

PossibleContainerAppProvisioningStateValues returns the possible values for the ContainerAppProvisioningState const type.

type ContainerAppSecret added in v0.2.0

type ContainerAppSecret struct {
	// READ-ONLY; Secret Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Secret Value.
	Value *string `json:"value,omitempty" azure:"ro"`
}

ContainerAppSecret - Container App Secret.

type ContainerAppsClient added in v0.2.0

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

ContainerAppsClient contains the methods for the ContainerApps group. Don't use this type directly, use NewContainerAppsClient() instead.

func NewContainerAppsClient added in v0.2.0

func NewContainerAppsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ContainerAppsClient, error)

NewContainerAppsClient creates a new instance of ContainerAppsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*ContainerAppsClient) BeginCreateOrUpdate added in v0.2.0

func (client *ContainerAppsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, containerAppEnvelope ContainerApp, options *ContainerAppsClientBeginCreateOrUpdateOptions) (*runtime.Poller[ContainerAppsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Create or update a Container App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Container App. options - ContainerAppsClientBeginCreateOrUpdateOptions contains the optional parameters for the ContainerAppsClient.BeginCreateOrUpdate method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateContainerApp.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateOrUpdate(ctx,
		"rg",
		"testcontainerApp0",
		armappservice.ContainerApp{
			Kind:     to.Ptr("containerApp"),
			Location: to.Ptr("East US"),
			Properties: &armappservice.ContainerAppProperties{
				Configuration: &armappservice.Configuration{
					Ingress: &armappservice.Ingress{
						External:   to.Ptr(true),
						TargetPort: to.Ptr[int32](3000),
					},
				},
				KubeEnvironmentID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube"),
				Template: &armappservice.Template{
					Containers: []*armappservice.Container{
						{
							Name:  to.Ptr("testcontainerApp0"),
							Image: to.Ptr("repo/testcontainerApp0:v1"),
						}},
					Dapr: &armappservice.Dapr{
						AppPort: to.Ptr[int32](3000),
						Enabled: to.Ptr(true),
					},
					Scale: &armappservice.Scale{
						MaxReplicas: to.Ptr[int32](5),
						MinReplicas: to.Ptr[int32](1),
						Rules: []*armappservice.ScaleRule{
							{
								Name: to.Ptr("httpscalingrule"),
								Custom: &armappservice.CustomScaleRule{
									Type: to.Ptr("http"),
									Metadata: map[string]*string{
										"concurrentRequests": to.Ptr("50"),
									},
								},
							}},
					},
				},
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*ContainerAppsClient) BeginDelete added in v0.2.0

BeginDelete - Delete a Container App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Container App. options - ContainerAppsClientBeginDeleteOptions contains the optional parameters for the ContainerAppsClient.BeginDelete method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteContainerApp.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDelete(ctx,
		"rg",
		"testWorkerApp0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*ContainerAppsClient) Get added in v0.2.0

Get - Get the properties of a Container App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Container App. options - ContainerAppsClientGetOptions contains the optional parameters for the ContainerAppsClient.Get method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetContainerApp.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Get(ctx,
		"rg",
		"testcontainerApp0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*ContainerAppsClient) ListSecrets added in v0.2.0

ListSecrets - List secrets for a container app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 name - Name of the Container App. options - ContainerAppsClientListSecretsOptions contains the optional parameters for the ContainerAppsClient.ListSecrets method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListContainerAppSecrets.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListSecrets(ctx,
		"testcontainerApp0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*ContainerAppsClient) NewListByResourceGroupPager added in v0.4.0

NewListByResourceGroupPager - Get the Container Apps in a given resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - ContainerAppsClientListByResourceGroupOptions contains the optional parameters for the ContainerAppsClient.ListByResourceGroup method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListContainerAppsByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListByResourceGroupPager("rg",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ContainerAppsClient) NewListBySubscriptionPager added in v0.4.0

NewListBySubscriptionPager - Get the Container Apps in a given subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ContainerAppsClientListBySubscriptionOptions contains the optional parameters for the ContainerAppsClient.ListBySubscription method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListContainerAppsBySubscription.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListBySubscriptionPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type ContainerAppsClientBeginCreateOrUpdateOptions added in v0.2.0

type ContainerAppsClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

ContainerAppsClientBeginCreateOrUpdateOptions contains the optional parameters for the ContainerAppsClient.BeginCreateOrUpdate method.

type ContainerAppsClientBeginDeleteOptions added in v0.2.0

type ContainerAppsClientBeginDeleteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

ContainerAppsClientBeginDeleteOptions contains the optional parameters for the ContainerAppsClient.BeginDelete method.

type ContainerAppsClientCreateOrUpdateResponse added in v0.2.0

type ContainerAppsClientCreateOrUpdateResponse struct {
	ContainerApp
}

ContainerAppsClientCreateOrUpdateResponse contains the response from method ContainerAppsClient.CreateOrUpdate.

type ContainerAppsClientDeleteResponse added in v0.2.0

type ContainerAppsClientDeleteResponse struct {
}

ContainerAppsClientDeleteResponse contains the response from method ContainerAppsClient.Delete.

type ContainerAppsClientGetOptions added in v0.2.0

type ContainerAppsClientGetOptions struct {
}

ContainerAppsClientGetOptions contains the optional parameters for the ContainerAppsClient.Get method.

type ContainerAppsClientGetResponse added in v0.2.0

type ContainerAppsClientGetResponse struct {
	ContainerApp
}

ContainerAppsClientGetResponse contains the response from method ContainerAppsClient.Get.

type ContainerAppsClientListByResourceGroupOptions added in v0.2.0

type ContainerAppsClientListByResourceGroupOptions struct {
}

ContainerAppsClientListByResourceGroupOptions contains the optional parameters for the ContainerAppsClient.ListByResourceGroup method.

type ContainerAppsClientListByResourceGroupResponse added in v0.2.0

type ContainerAppsClientListByResourceGroupResponse struct {
	ContainerAppCollection
}

ContainerAppsClientListByResourceGroupResponse contains the response from method ContainerAppsClient.ListByResourceGroup.

type ContainerAppsClientListBySubscriptionOptions added in v0.2.0

type ContainerAppsClientListBySubscriptionOptions struct {
}

ContainerAppsClientListBySubscriptionOptions contains the optional parameters for the ContainerAppsClient.ListBySubscription method.

type ContainerAppsClientListBySubscriptionResponse added in v0.2.0

type ContainerAppsClientListBySubscriptionResponse struct {
	ContainerAppCollection
}

ContainerAppsClientListBySubscriptionResponse contains the response from method ContainerAppsClient.ListBySubscription.

type ContainerAppsClientListSecretsOptions added in v0.2.0

type ContainerAppsClientListSecretsOptions struct {
}

ContainerAppsClientListSecretsOptions contains the optional parameters for the ContainerAppsClient.ListSecrets method.

type ContainerAppsClientListSecretsResponse added in v0.2.0

type ContainerAppsClientListSecretsResponse struct {
	SecretsCollection
}

ContainerAppsClientListSecretsResponse contains the response from method ContainerAppsClient.ListSecrets.

type ContainerAppsConfiguration added in v0.2.0

type ContainerAppsConfiguration struct {
	// Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet
	// defined in appSubnetResourceId. Must not overlap with the IP range defined in
	// platformReservedCidr, if defined.
	AppSubnetResourceID *string `json:"appSubnetResourceId,omitempty"`

	// Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet
	// defined in appSubnetResourceId. Must not overlap with the IP range defined in
	// platformReservedCidr, if defined.
	ControlPlaneSubnetResourceID *string `json:"controlPlaneSubnetResourceId,omitempty"`

	// Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry
	DaprAIInstrumentationKey *string `json:"daprAIInstrumentationKey,omitempty"`

	// CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the IP range
	// defined in platformReservedCidr, if defined.
	DockerBridgeCidr *string `json:"dockerBridgeCidr,omitempty"`

	// IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any
	// other Subnet IP ranges.
	PlatformReservedCidr *string `json:"platformReservedCidr,omitempty"`

	// An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server
	PlatformReservedDNSIP *string `json:"platformReservedDnsIP,omitempty"`
}

type ContainerAppsRevisionsClient added in v0.2.0

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

ContainerAppsRevisionsClient contains the methods for the ContainerAppsRevisions group. Don't use this type directly, use NewContainerAppsRevisionsClient() instead.

func NewContainerAppsRevisionsClient added in v0.2.0

func NewContainerAppsRevisionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ContainerAppsRevisionsClient, error)

NewContainerAppsRevisionsClient creates a new instance of ContainerAppsRevisionsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*ContainerAppsRevisionsClient) ActivateRevision added in v0.2.0

ActivateRevision - Activates a revision for a Container App If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. containerAppName - Name of the Container App. name - Name of the Container App Revision to activate options - ContainerAppsRevisionsClientActivateRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.ActivateRevision method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ActivateRevision.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsRevisionsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.ActivateRevision(ctx,
		"rg",
		"testcontainerApp0",
		"testcontainerApp0-pjxhsye",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*ContainerAppsRevisionsClient) DeactivateRevision added in v0.2.0

DeactivateRevision - Deactivates a revision for a Container App If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. containerAppName - Name of the Container App. name - Name of the Container App Revision to deactivate options - ContainerAppsRevisionsClientDeactivateRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.DeactivateRevision method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeactivateRevision.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsRevisionsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.DeactivateRevision(ctx,
		"rg",
		"testcontainerApp0",
		"testcontainerApp0-pjxhsye",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*ContainerAppsRevisionsClient) GetRevision added in v0.2.0

GetRevision - Get a revision of a Container App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. containerAppName - Name of the Container App. name - Name of the Container App Revision. options - ContainerAppsRevisionsClientGetRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.GetRevision method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetRevision.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsRevisionsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetRevision(ctx,
		"rg",
		"testcontainerApp0",
		"testcontainerApp0-pjxhsye",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*ContainerAppsRevisionsClient) NewListRevisionsPager added in v0.4.0

NewListRevisionsPager - Get the Revisions for a given Container App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. containerAppName - Name of the Container App for which Revisions are needed. options - ContainerAppsRevisionsClientListRevisionsOptions contains the optional parameters for the ContainerAppsRevisionsClient.ListRevisions method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListRevisions.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsRevisionsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListRevisionsPager("rg",
		"testcontainerApp0",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ContainerAppsRevisionsClient) RestartRevision added in v0.2.0

RestartRevision - Restarts a revision for a Container App If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. containerAppName - Name of the Container App. name - Name of the Container App Revision to restart options - ContainerAppsRevisionsClientRestartRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.RestartRevision method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/RestartRevision.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewContainerAppsRevisionsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.RestartRevision(ctx,
		"rg",
		"testStaticSite0",
		"testcontainerApp0-pjxhsye",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

type ContainerAppsRevisionsClientActivateRevisionOptions added in v0.2.0

type ContainerAppsRevisionsClientActivateRevisionOptions struct {
}

ContainerAppsRevisionsClientActivateRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.ActivateRevision method.

type ContainerAppsRevisionsClientActivateRevisionResponse added in v0.2.0

type ContainerAppsRevisionsClientActivateRevisionResponse struct {
}

ContainerAppsRevisionsClientActivateRevisionResponse contains the response from method ContainerAppsRevisionsClient.ActivateRevision.

type ContainerAppsRevisionsClientDeactivateRevisionOptions added in v0.2.0

type ContainerAppsRevisionsClientDeactivateRevisionOptions struct {
}

ContainerAppsRevisionsClientDeactivateRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.DeactivateRevision method.

type ContainerAppsRevisionsClientDeactivateRevisionResponse added in v0.2.0

type ContainerAppsRevisionsClientDeactivateRevisionResponse struct {
}

ContainerAppsRevisionsClientDeactivateRevisionResponse contains the response from method ContainerAppsRevisionsClient.DeactivateRevision.

type ContainerAppsRevisionsClientGetRevisionOptions added in v0.2.0

type ContainerAppsRevisionsClientGetRevisionOptions struct {
}

ContainerAppsRevisionsClientGetRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.GetRevision method.

type ContainerAppsRevisionsClientGetRevisionResponse added in v0.2.0

type ContainerAppsRevisionsClientGetRevisionResponse struct {
	Revision
}

ContainerAppsRevisionsClientGetRevisionResponse contains the response from method ContainerAppsRevisionsClient.GetRevision.

type ContainerAppsRevisionsClientListRevisionsOptions added in v0.2.0

type ContainerAppsRevisionsClientListRevisionsOptions struct {
}

ContainerAppsRevisionsClientListRevisionsOptions contains the optional parameters for the ContainerAppsRevisionsClient.ListRevisions method.

type ContainerAppsRevisionsClientListRevisionsResponse added in v0.2.0

type ContainerAppsRevisionsClientListRevisionsResponse struct {
	RevisionCollection
}

ContainerAppsRevisionsClientListRevisionsResponse contains the response from method ContainerAppsRevisionsClient.ListRevisions.

type ContainerAppsRevisionsClientRestartRevisionOptions added in v0.2.0

type ContainerAppsRevisionsClientRestartRevisionOptions struct {
}

ContainerAppsRevisionsClientRestartRevisionOptions contains the optional parameters for the ContainerAppsRevisionsClient.RestartRevision method.

type ContainerAppsRevisionsClientRestartRevisionResponse added in v0.2.0

type ContainerAppsRevisionsClientRestartRevisionResponse struct {
}

ContainerAppsRevisionsClientRestartRevisionResponse contains the response from method ContainerAppsRevisionsClient.RestartRevision.

type ContainerCPUStatistics

type ContainerCPUStatistics struct {
	CPUUsage       *ContainerCPUUsage       `json:"cpuUsage,omitempty"`
	OnlineCPUCount *int32                   `json:"onlineCpuCount,omitempty"`
	SystemCPUUsage *int64                   `json:"systemCpuUsage,omitempty"`
	ThrottlingData *ContainerThrottlingData `json:"throttlingData,omitempty"`
}

type ContainerCPUUsage

type ContainerCPUUsage struct {
	KernelModeUsage *int64   `json:"kernelModeUsage,omitempty"`
	PerCPUUsage     []*int64 `json:"perCpuUsage,omitempty"`
	TotalUsage      *int64   `json:"totalUsage,omitempty"`
	UserModeUsage   *int64   `json:"userModeUsage,omitempty"`
}

func (ContainerCPUUsage) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerCPUUsage.

type ContainerInfo

type ContainerInfo struct {
	CurrentCPUStats   *ContainerCPUStatistics              `json:"currentCpuStats,omitempty"`
	CurrentTimeStamp  *time.Time                           `json:"currentTimeStamp,omitempty"`
	Eth0              *ContainerNetworkInterfaceStatistics `json:"eth0,omitempty"`
	ID                *string                              `json:"id,omitempty"`
	MemoryStats       *ContainerMemoryStatistics           `json:"memoryStats,omitempty"`
	Name              *string                              `json:"name,omitempty"`
	PreviousCPUStats  *ContainerCPUStatistics              `json:"previousCpuStats,omitempty"`
	PreviousTimeStamp *time.Time                           `json:"previousTimeStamp,omitempty"`
}

func (ContainerInfo) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerInfo.

func (*ContainerInfo) UnmarshalJSON

func (c *ContainerInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerInfo.

type ContainerMemoryStatistics

type ContainerMemoryStatistics struct {
	Limit    *int64 `json:"limit,omitempty"`
	MaxUsage *int64 `json:"maxUsage,omitempty"`
	Usage    *int64 `json:"usage,omitempty"`
}

type ContainerNetworkInterfaceStatistics

type ContainerNetworkInterfaceStatistics struct {
	RxBytes   *int64 `json:"rxBytes,omitempty"`
	RxDropped *int64 `json:"rxDropped,omitempty"`
	RxErrors  *int64 `json:"rxErrors,omitempty"`
	RxPackets *int64 `json:"rxPackets,omitempty"`
	TxBytes   *int64 `json:"txBytes,omitempty"`
	TxDropped *int64 `json:"txDropped,omitempty"`
	TxErrors  *int64 `json:"txErrors,omitempty"`
	TxPackets *int64 `json:"txPackets,omitempty"`
}

type ContainerResources added in v0.2.0

type ContainerResources struct {
	// Required CPU in cores, e.g. 0.5
	CPU *float64 `json:"cpu,omitempty"`

	// Required memory, e.g. "250Mb"
	Memory *string `json:"memory,omitempty"`
}

ContainerResources - Container App container resource requirements.

type ContainerThrottlingData

type ContainerThrottlingData struct {
	Periods          *int32 `json:"periods,omitempty"`
	ThrottledPeriods *int32 `json:"throttledPeriods,omitempty"`
	ThrottledTime    *int32 `json:"throttledTime,omitempty"`
}

type ContinuousWebJob

type ContinuousWebJob struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ContinuousWebJob resource specific properties
	Properties *ContinuousWebJobProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ContinuousWebJob - Continuous Web Job Information.

type ContinuousWebJobCollection

type ContinuousWebJobCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ContinuousWebJob `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ContinuousWebJobCollection - Collection of Kudu continuous web job information elements.

type ContinuousWebJobProperties

type ContinuousWebJobProperties struct {
	// Detailed status.
	DetailedStatus *string `json:"detailed_status,omitempty"`

	// Error information.
	Error *string `json:"error,omitempty"`

	// Extra Info URL.
	ExtraInfoURL *string `json:"extra_info_url,omitempty"`

	// Log URL.
	LogURL *string `json:"log_url,omitempty"`

	// Run command.
	RunCommand *string `json:"run_command,omitempty"`

	// Job settings.
	Settings map[string]interface{} `json:"settings,omitempty"`

	// Job status.
	Status *ContinuousWebJobStatus `json:"status,omitempty"`

	// Job URL.
	URL *string `json:"url,omitempty"`

	// Using SDK?
	UsingSdk *bool `json:"using_sdk,omitempty"`

	// Job type.
	WebJobType *WebJobType `json:"web_job_type,omitempty"`
}

ContinuousWebJobProperties - ContinuousWebJob resource specific properties

func (ContinuousWebJobProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContinuousWebJobProperties.

type ContinuousWebJobStatus

type ContinuousWebJobStatus string

ContinuousWebJobStatus - Job status.

const (
	ContinuousWebJobStatusInitializing   ContinuousWebJobStatus = "Initializing"
	ContinuousWebJobStatusStarting       ContinuousWebJobStatus = "Starting"
	ContinuousWebJobStatusRunning        ContinuousWebJobStatus = "Running"
	ContinuousWebJobStatusPendingRestart ContinuousWebJobStatus = "PendingRestart"
	ContinuousWebJobStatusStopped        ContinuousWebJobStatus = "Stopped"
)

func PossibleContinuousWebJobStatusValues

func PossibleContinuousWebJobStatusValues() []ContinuousWebJobStatus

PossibleContinuousWebJobStatusValues returns the possible values for the ContinuousWebJobStatus const type.

type CookieExpiration

type CookieExpiration struct {
	// The convention used when determining the session cookie's expiration.
	Convention *CookieExpirationConvention `json:"convention,omitempty"`

	// The time after the request is made when the session cookie should expire.
	TimeToExpiration *string `json:"timeToExpiration,omitempty"`
}

CookieExpiration - The configuration settings of the session cookie's expiration.

type CookieExpirationConvention

type CookieExpirationConvention string

CookieExpirationConvention - The convention used when determining the session cookie's expiration.

const (
	CookieExpirationConventionFixedTime               CookieExpirationConvention = "FixedTime"
	CookieExpirationConventionIdentityProviderDerived CookieExpirationConvention = "IdentityProviderDerived"
)

func PossibleCookieExpirationConventionValues

func PossibleCookieExpirationConventionValues() []CookieExpirationConvention

PossibleCookieExpirationConventionValues returns the possible values for the CookieExpirationConvention const type.

type CorsSettings

type CorsSettings struct {
	// 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"`

	// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requestswithcredentials
	// for more details.
	SupportCredentials *bool `json:"supportCredentials,omitempty"`
}

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

func (CorsSettings) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CorsSettings.

type CsmMoveResourceEnvelope

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

CsmMoveResourceEnvelope - Object with a list of the resources that need to be moved and the resource group they should be moved to.

func (CsmMoveResourceEnvelope) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmMoveResourceEnvelope.

type CsmOperationCollection

type CsmOperationCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CsmOperationDescription `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

CsmOperationCollection - Collection of Azure resource manager operation metadata.

type CsmOperationDescription

type CsmOperationDescription struct {
	// Meta data about operation used for display in portal.
	Display      *CsmOperationDisplay `json:"display,omitempty"`
	IsDataAction *bool                `json:"isDataAction,omitempty"`
	Name         *string              `json:"name,omitempty"`
	Origin       *string              `json:"origin,omitempty"`

	// Properties available for a Microsoft.Web resource provider operation.
	Properties *CsmOperationDescriptionProperties `json:"properties,omitempty"`
}

CsmOperationDescription - Description of an operation available for Microsoft.Web resource provider.

type CsmOperationDescriptionProperties

type CsmOperationDescriptionProperties struct {
	// Resource metrics service provided by Microsoft.Insights resource provider.
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

CsmOperationDescriptionProperties - Properties available for a Microsoft.Web resource provider operation.

type CsmOperationDisplay

type CsmOperationDisplay struct {
	Description *string `json:"description,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
}

CsmOperationDisplay - Meta data about operation used for display in portal.

type CsmPublishingCredentialsPoliciesEntity

type CsmPublishingCredentialsPoliciesEntity struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// CsmPublishingCredentialsPoliciesEntity resource specific properties
	Properties *CsmPublishingCredentialsPoliciesEntityProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CsmPublishingCredentialsPoliciesEntity - Publishing Credentials Policies parameters.

type CsmPublishingCredentialsPoliciesEntityProperties

type CsmPublishingCredentialsPoliciesEntityProperties struct {
	// REQUIRED; true to allow access to a publishing method; otherwise, false.
	Allow *bool `json:"allow,omitempty"`
}

CsmPublishingCredentialsPoliciesEntityProperties - CsmPublishingCredentialsPoliciesEntity resource specific properties

type CsmPublishingProfileOptions

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

	// Include the DisasterRecover endpoint if true
	IncludeDisasterRecoveryEndpoints *bool `json:"includeDisasterRecoveryEndpoints,omitempty"`
}

CsmPublishingProfileOptions - Publishing options for requested profile.

type CsmSlotEntity

type CsmSlotEntity struct {
	// REQUIRED; true to preserve Virtual Network to the slot during swap; otherwise, false.
	PreserveVnet *bool `json:"preserveVnet,omitempty"`

	// REQUIRED; Destination deployment slot during swap operation.
	TargetSlot *string `json:"targetSlot,omitempty"`
}

CsmSlotEntity - Deployment slot parameters.

type CsmUsageQuota

type CsmUsageQuota struct {
	// The current value of the resource counter.
	CurrentValue *int64 `json:"currentValue,omitempty"`

	// The resource limit.
	Limit *int64 `json:"limit,omitempty"`

	// Quota name.
	Name *LocalizableString `json:"name,omitempty"`

	// Next reset time for the resource counter.
	NextResetTime *time.Time `json:"nextResetTime,omitempty"`

	// Units of measurement for the quota resource.
	Unit *string `json:"unit,omitempty"`
}

CsmUsageQuota - Usage of the quota resource.

func (*CsmUsageQuota) UnmarshalJSON

func (c *CsmUsageQuota) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CsmUsageQuota.

type CsmUsageQuotaCollection

type CsmUsageQuotaCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CsmUsageQuota `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

CsmUsageQuotaCollection - Collection of CSM usage quotas.

type CustomDomainStatus

type CustomDomainStatus string

CustomDomainStatus - The status of the custom domain

const (
	CustomDomainStatusAdding                    CustomDomainStatus = "Adding"
	CustomDomainStatusDeleting                  CustomDomainStatus = "Deleting"
	CustomDomainStatusFailed                    CustomDomainStatus = "Failed"
	CustomDomainStatusReady                     CustomDomainStatus = "Ready"
	CustomDomainStatusRetrievingValidationToken CustomDomainStatus = "RetrievingValidationToken"
	CustomDomainStatusValidating                CustomDomainStatus = "Validating"
)

func PossibleCustomDomainStatusValues

func PossibleCustomDomainStatusValues() []CustomDomainStatus

PossibleCustomDomainStatusValues returns the possible values for the CustomDomainStatus const type.

type CustomHostNameDNSRecordType

type CustomHostNameDNSRecordType string

CustomHostNameDNSRecordType - Type of the DNS record.

const (
	CustomHostNameDNSRecordTypeCName CustomHostNameDNSRecordType = "CName"
	CustomHostNameDNSRecordTypeA     CustomHostNameDNSRecordType = "A"
)

func PossibleCustomHostNameDNSRecordTypeValues

func PossibleCustomHostNameDNSRecordTypeValues() []CustomHostNameDNSRecordType

PossibleCustomHostNameDNSRecordTypeValues returns the possible values for the CustomHostNameDNSRecordType const type.

type CustomHostnameAnalysisResult

type CustomHostnameAnalysisResult struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// CustomHostnameAnalysisResult resource specific properties
	Properties *CustomHostnameAnalysisResultProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CustomHostnameAnalysisResult - Custom domain analysis.

type CustomHostnameAnalysisResultProperties

type CustomHostnameAnalysisResultProperties struct {
	// A records controller can see for this hostname.
	ARecords []*string `json:"aRecords,omitempty"`

	// Alternate CName records controller can see for this hostname.
	AlternateCNameRecords []*string `json:"alternateCNameRecords,omitempty"`

	// Alternate TXT records controller can see for this hostname.
	AlternateTxtRecords []*string `json:"alternateTxtRecords,omitempty"`

	// CName records controller can see for this hostname.
	CNameRecords []*string `json:"cNameRecords,omitempty"`

	// TXT records controller can see for this hostname.
	TxtRecords []*string `json:"txtRecords,omitempty"`

	// READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription.
	ConflictingAppResourceID *string `json:"conflictingAppResourceId,omitempty" azure:"ro"`

	// READ-ONLY; Raw failure information if DNS verification fails.
	CustomDomainVerificationFailureInfo *ErrorEntity `json:"customDomainVerificationFailureInfo,omitempty" azure:"ro"`

	// READ-ONLY; DNS verification test result.
	CustomDomainVerificationTest *DNSVerificationTestResult `json:"customDomainVerificationTest,omitempty" azure:"ro"`

	// READ-ONLY; true if there is a conflict across subscriptions; otherwise, false.
	HasConflictAcrossSubscription *bool `json:"hasConflictAcrossSubscription,omitempty" azure:"ro"`

	// READ-ONLY; true if there is a conflict on a scale unit; otherwise, false.
	HasConflictOnScaleUnit *bool `json:"hasConflictOnScaleUnit,omitempty" azure:"ro"`

	// READ-ONLY; true if hostname is already verified; otherwise, false.
	IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty" azure:"ro"`
}

CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties

func (CustomHostnameAnalysisResultProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameAnalysisResultProperties.

type CustomHostnameSites added in v0.2.0

type CustomHostnameSites struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// CustomHostnameSites resource specific properties
	Properties *CustomHostnameSitesProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

CustomHostnameSites - A hostname and its assigned sites

type CustomHostnameSitesCollection added in v0.2.0

type CustomHostnameSitesCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CustomHostnameSites `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

CustomHostnameSitesCollection - Collection of custom hostname sites

type CustomHostnameSitesProperties added in v0.2.0

type CustomHostnameSitesProperties struct {
	CustomHostname  *string       `json:"customHostname,omitempty"`
	Region          *string       `json:"region,omitempty"`
	SiteResourceIDs []*Identifier `json:"siteResourceIds,omitempty"`
}

CustomHostnameSitesProperties - CustomHostnameSites resource specific properties

func (CustomHostnameSitesProperties) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameSitesProperties.

type CustomOpenIDConnectProvider

type CustomOpenIDConnectProvider struct {
	// false if the custom Open ID provider provider should not be enabled; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the login flow of the custom Open ID Connect provider.
	Login *OpenIDConnectLogin `json:"login,omitempty"`

	// The configuration settings of the app registration for the custom Open ID Connect provider.
	Registration *OpenIDConnectRegistration `json:"registration,omitempty"`
}

CustomOpenIDConnectProvider - The configuration settings of the custom Open ID Connect provider.

type CustomScaleRule added in v0.2.0

type CustomScaleRule struct {
	// Authentication secrets for the custom scale rule.
	Auth []*ScaleRuleAuth `json:"auth,omitempty"`

	// Metadata properties to describe custom scale rule.
	Metadata map[string]*string `json:"metadata,omitempty"`

	// Type of the custom scale rule eg: azure-servicebus, redis etc.
	Type *string `json:"type,omitempty"`
}

CustomScaleRule - Container App container Custom scaling rule.

func (CustomScaleRule) MarshalJSON added in v0.2.0

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

MarshalJSON implements the json.Marshaller interface for type CustomScaleRule.

type DNSType

type DNSType string

DNSType - Current DNS type

const (
	DNSTypeAzureDNS                  DNSType = "AzureDns"
	DNSTypeDefaultDomainRegistrarDNS DNSType = "DefaultDomainRegistrarDns"
)

func PossibleDNSTypeValues

func PossibleDNSTypeValues() []DNSType

PossibleDNSTypeValues returns the possible values for the DNSType const type.

type DNSVerificationTestResult

type DNSVerificationTestResult string

DNSVerificationTestResult - DNS verification test result.

const (
	DNSVerificationTestResultPassed  DNSVerificationTestResult = "Passed"
	DNSVerificationTestResultFailed  DNSVerificationTestResult = "Failed"
	DNSVerificationTestResultSkipped DNSVerificationTestResult = "Skipped"
)

func PossibleDNSVerificationTestResultValues

func PossibleDNSVerificationTestResultValues() []DNSVerificationTestResult

PossibleDNSVerificationTestResultValues returns the possible values for the DNSVerificationTestResult const type.

type Dapr added in v0.2.0

type Dapr struct {
	// Dapr application identifier
	AppID *string `json:"appId,omitempty"`

	// Port on which the Dapr side car
	AppPort *int32 `json:"appPort,omitempty"`

	// Collection of Dapr components
	Components []*DaprComponent `json:"components,omitempty"`

	// Boolean indicating if the Dapr side car is enabled
	Enabled *bool `json:"enabled,omitempty"`
}

Dapr - Container App Dapr configuration.

func (Dapr) MarshalJSON added in v0.2.0

func (d Dapr) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Dapr.

type DaprComponent added in v0.2.0

type DaprComponent struct {
	// Component metadata
	Metadata []*DaprMetadata `json:"metadata,omitempty"`

	// Component name
	Name *string `json:"name,omitempty"`

	// Component type
	Type *string `json:"type,omitempty"`

	// Component version
	Version *string `json:"version,omitempty"`
}

DaprComponent - Dapr component configuration

func (DaprComponent) MarshalJSON added in v0.2.0

func (d DaprComponent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DaprComponent.

type DaprMetadata added in v0.2.0

type DaprMetadata struct {
	// Metadata property name.
	Name *string `json:"name,omitempty"`

	// Name of the Container App secret from which to pull the metadata property value.
	SecretRef *string `json:"secretRef,omitempty"`

	// Metadata property value.
	Value *string `json:"value,omitempty"`
}

DaprMetadata - Container App Dapr component metadata.

type DataProviderMetadata

type DataProviderMetadata struct {
	ProviderName *string `json:"providerName,omitempty"`

	// READ-ONLY; Settings for the data provider
	PropertyBag []*KeyValuePairStringObject `json:"propertyBag,omitempty" azure:"ro"`
}

DataProviderMetadata - Additional configuration for a data providers

func (DataProviderMetadata) MarshalJSON

func (d DataProviderMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataProviderMetadata.

type DataSource

type DataSource struct {
	// Datasource Uri Links
	DataSourceURI []*NameValuePair `json:"dataSourceUri,omitempty"`

	// Instructions if any for the data source
	Instructions []*string `json:"instructions,omitempty"`
}

DataSource - Class representing data source used by the detectors

func (DataSource) MarshalJSON

func (d DataSource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataSource.

type DataTableResponseColumn

type DataTableResponseColumn struct {
	// Name of the column
	ColumnName *string `json:"columnName,omitempty"`

	// Column Type
	ColumnType *string `json:"columnType,omitempty"`

	// Data type which looks like 'String' or 'Int32'.
	DataType *string `json:"dataType,omitempty"`
}

DataTableResponseColumn - Column definition

type DataTableResponseObject

type DataTableResponseObject struct {
	// List of columns with data types
	Columns []*DataTableResponseColumn `json:"columns,omitempty"`

	// Raw row values
	Rows [][]*string `json:"rows,omitempty"`

	// Name of the table
	TableName *string `json:"tableName,omitempty"`
}

DataTableResponseObject - Data Table which defines columns and raw row values

func (DataTableResponseObject) MarshalJSON

func (d DataTableResponseObject) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataTableResponseObject.

type DatabaseBackupSetting

type DatabaseBackupSetting struct {
	// REQUIRED; Database type (e.g. SqlAzure / MySql).
	DatabaseType *DatabaseType `json:"databaseType,omitempty"`

	// 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"`

	// 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"`
	Name                 *string `json:"name,omitempty"`
}

DatabaseBackupSetting - Database backup settings.

type DatabaseType

type DatabaseType string

DatabaseType - Database type (e.g. SqlAzure / MySql).

const (
	DatabaseTypeLocalMySQL DatabaseType = "LocalMySql"
	DatabaseTypeMySQL      DatabaseType = "MySql"
	DatabaseTypePostgreSQL DatabaseType = "PostgreSql"
	DatabaseTypeSQLAzure   DatabaseType = "SqlAzure"
)

func PossibleDatabaseTypeValues

func PossibleDatabaseTypeValues() []DatabaseType

PossibleDatabaseTypeValues returns the possible values for the DatabaseType const type.

type DefaultAuthorizationPolicy

type DefaultAuthorizationPolicy struct {
	// The configuration settings of the Azure Active Directory allowed applications.
	AllowedApplications []*string `json:"allowedApplications,omitempty"`

	// The configuration settings of the Azure Active Directory allowed principals.
	AllowedPrincipals *AllowedPrincipals `json:"allowedPrincipals,omitempty"`
}

DefaultAuthorizationPolicy - The configuration settings of the Azure Active Directory default authorization policy.

func (DefaultAuthorizationPolicy) MarshalJSON

func (d DefaultAuthorizationPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DefaultAuthorizationPolicy.

type DefaultErrorResponse

type DefaultErrorResponse struct {
	// READ-ONLY; Error model.
	Error *DefaultErrorResponseError `json:"error,omitempty" azure:"ro"`
}

DefaultErrorResponse - App Service error response.

type DefaultErrorResponseError

type DefaultErrorResponseError struct {
	Details []*DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"`

	// READ-ONLY; Standardized string to programmatically identify the error.
	Code *string `json:"code,omitempty" azure:"ro"`

	// READ-ONLY; More information to debug error.
	Innererror *string `json:"innererror,omitempty" azure:"ro"`

	// READ-ONLY; Detailed error description and debugging information.
	Message *string `json:"message,omitempty" azure:"ro"`

	// READ-ONLY; Detailed error description and debugging information.
	Target *string `json:"target,omitempty" azure:"ro"`
}

DefaultErrorResponseError - Error model.

type DefaultErrorResponseErrorDetailsItem

type DefaultErrorResponseErrorDetailsItem struct {
	// READ-ONLY; Standardized string to programmatically identify the error.
	Code *string `json:"code,omitempty" azure:"ro"`

	// READ-ONLY; Detailed error description and debugging information.
	Message *string `json:"message,omitempty" azure:"ro"`

	// READ-ONLY; Detailed error description and debugging information.
	Target *string `json:"target,omitempty" azure:"ro"`
}

DefaultErrorResponseErrorDetailsItem - Detailed errors.

type DeletedAppRestoreRequest

type DeletedAppRestoreRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DeletedAppRestoreRequest resource specific properties
	Properties *DeletedAppRestoreRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DeletedAppRestoreRequest - Details about restoring a deleted app.

type DeletedAppRestoreRequestProperties

type DeletedAppRestoreRequestProperties struct {
	// ARM resource ID of the deleted app. Example: /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}
	DeletedSiteID *string `json:"deletedSiteId,omitempty"`

	// If true, deleted site configuration, in addition to content, will be restored.
	RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"`

	// Point in time to restore the deleted app from, formatted as a DateTime string. If unspecified, default value is the time
	// that the app was deleted.
	SnapshotTime *string `json:"snapshotTime,omitempty"`

	// If true, the snapshot is retrieved from DRSecondary endpoint.
	UseDRSecondary *bool `json:"useDRSecondary,omitempty"`
}

DeletedAppRestoreRequestProperties - DeletedAppRestoreRequest resource specific properties

type DeletedSite

type DeletedSite struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DeletedSite resource specific properties
	Properties *DeletedSiteProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DeletedSite - A deleted app.

type DeletedSiteProperties

type DeletedSiteProperties struct {
	// READ-ONLY; Numeric id for the deleted site
	DeletedSiteID *int32 `json:"deletedSiteId,omitempty" azure:"ro"`

	// READ-ONLY; Name of the deleted site
	DeletedSiteName *string `json:"deletedSiteName,omitempty" azure:"ro"`

	// READ-ONLY; Time in UTC when the app was deleted.
	DeletedTimestamp *string `json:"deletedTimestamp,omitempty" azure:"ro"`

	// READ-ONLY; Geo Region of the deleted site
	GeoRegionName *string `json:"geoRegionName,omitempty" azure:"ro"`

	// READ-ONLY; Kind of site that was deleted
	Kind *string `json:"kind,omitempty" azure:"ro"`

	// READ-ONLY; ResourceGroup that contained the deleted site
	ResourceGroup *string `json:"resourceGroup,omitempty" azure:"ro"`

	// READ-ONLY; Slot of the deleted site
	Slot *string `json:"slot,omitempty" azure:"ro"`

	// READ-ONLY; Subscription containing the deleted site
	Subscription *string `json:"subscription,omitempty" azure:"ro"`
}

DeletedSiteProperties - DeletedSite resource specific properties

type DeletedWebAppCollection

type DeletedWebAppCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DeletedSite `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DeletedWebAppCollection - Collection of deleted apps.

type DeletedWebAppsClient

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

DeletedWebAppsClient contains the methods for the DeletedWebApps group. Don't use this type directly, use NewDeletedWebAppsClient() instead.

func NewDeletedWebAppsClient

func NewDeletedWebAppsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*DeletedWebAppsClient, error)

NewDeletedWebAppsClient creates a new instance of DeletedWebAppsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*DeletedWebAppsClient) GetDeletedWebAppByLocation

GetDeletedWebAppByLocation - Get deleted app for a subscription at location. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 deletedSiteID - The numeric ID of the deleted app, e.g. 12345 options - DeletedWebAppsClientGetDeletedWebAppByLocationOptions contains the optional parameters for the DeletedWebAppsClient.GetDeletedWebAppByLocation method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetDeletedWebAppByLocation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDeletedWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetDeletedWebAppByLocation(ctx,
		"West US 2",
		"9",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DeletedWebAppsClient) NewListByLocationPager added in v0.4.0

NewListByLocationPager - Get all deleted apps for a subscription at location If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - DeletedWebAppsClientListByLocationOptions contains the optional parameters for the DeletedWebAppsClient.ListByLocation method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListDeletedWebAppsByLocation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDeletedWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListByLocationPager("West US 2",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DeletedWebAppsClient) NewListPager added in v0.4.0

NewListPager - Get all deleted apps for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - DeletedWebAppsClientListOptions contains the optional parameters for the DeletedWebAppsClient.List method.

type DeletedWebAppsClientGetDeletedWebAppByLocationOptions added in v0.2.0

type DeletedWebAppsClientGetDeletedWebAppByLocationOptions struct {
}

DeletedWebAppsClientGetDeletedWebAppByLocationOptions contains the optional parameters for the DeletedWebAppsClient.GetDeletedWebAppByLocation method.

type DeletedWebAppsClientGetDeletedWebAppByLocationResponse added in v0.2.0

type DeletedWebAppsClientGetDeletedWebAppByLocationResponse struct {
	DeletedSite
}

DeletedWebAppsClientGetDeletedWebAppByLocationResponse contains the response from method DeletedWebAppsClient.GetDeletedWebAppByLocation.

type DeletedWebAppsClientListByLocationOptions added in v0.2.0

type DeletedWebAppsClientListByLocationOptions struct {
}

DeletedWebAppsClientListByLocationOptions contains the optional parameters for the DeletedWebAppsClient.ListByLocation method.

type DeletedWebAppsClientListByLocationResponse added in v0.2.0

type DeletedWebAppsClientListByLocationResponse struct {
	DeletedWebAppCollection
}

DeletedWebAppsClientListByLocationResponse contains the response from method DeletedWebAppsClient.ListByLocation.

type DeletedWebAppsClientListOptions added in v0.2.0

type DeletedWebAppsClientListOptions struct {
}

DeletedWebAppsClientListOptions contains the optional parameters for the DeletedWebAppsClient.List method.

type DeletedWebAppsClientListResponse added in v0.2.0

type DeletedWebAppsClientListResponse struct {
	DeletedWebAppCollection
}

DeletedWebAppsClientListResponse contains the response from method DeletedWebAppsClient.List.

type Deployment

type Deployment struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Deployment resource specific properties
	Properties *DeploymentProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Deployment - User credentials used for publishing activity.

type DeploymentCollection

type DeploymentCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Deployment `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DeploymentCollection - Collection of app deployments.

type DeploymentLocations

type DeploymentLocations struct {
	// Available App Service Environments with basic information.
	HostingEnvironmentDeploymentInfos []*HostingEnvironmentDeploymentInfo `json:"hostingEnvironmentDeploymentInfos,omitempty"`

	// Available App Service Environments with full descriptions of the environments.
	HostingEnvironments []*Environment `json:"hostingEnvironments,omitempty"`

	// Available regions.
	Locations []*GeoRegion `json:"locations,omitempty"`
}

DeploymentLocations - List of available locations (regions or App Service Environments) for deployment of App Service resources.

type DeploymentProperties

type DeploymentProperties struct {
	// True if deployment is currently active, false if completed and null if not started.
	Active *bool `json:"active,omitempty"`

	// Who authored the deployment.
	Author *string `json:"author,omitempty"`

	// Author email.
	AuthorEmail *string `json:"author_email,omitempty"`

	// Who performed the deployment.
	Deployer *string `json:"deployer,omitempty"`

	// Details on deployment.
	Details *string `json:"details,omitempty"`

	// End time.
	EndTime *time.Time `json:"end_time,omitempty"`

	// Details about deployment status.
	Message *string `json:"message,omitempty"`

	// Start time.
	StartTime *time.Time `json:"start_time,omitempty"`

	// Deployment status.
	Status *int32 `json:"status,omitempty"`
}

DeploymentProperties - Deployment resource specific properties

func (DeploymentProperties) MarshalJSON

func (d DeploymentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeploymentProperties.

func (*DeploymentProperties) UnmarshalJSON

func (d *DeploymentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentProperties.

type DetectorAbnormalTimePeriod

type DetectorAbnormalTimePeriod struct {
	// End time of the correlated event
	EndTime *time.Time `json:"endTime,omitempty"`

	// Message describing the event
	Message *string `json:"message,omitempty"`

	// Downtime metadata
	MetaData [][]*NameValuePair `json:"metaData,omitempty"`

	// Represents the rank of the Detector
	Priority *float64 `json:"priority,omitempty"`

	// List of proposed solutions
	Solutions []*Solution `json:"solutions,omitempty"`

	// Represents the name of the Detector
	Source *string `json:"source,omitempty"`

	// Start time of the correlated event
	StartTime *time.Time `json:"startTime,omitempty"`

	// Represents the type of the Detector
	Type *IssueType `json:"type,omitempty"`
}

DetectorAbnormalTimePeriod - Class representing Abnormal Time Period detected.

func (DetectorAbnormalTimePeriod) MarshalJSON

func (d DetectorAbnormalTimePeriod) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorAbnormalTimePeriod.

func (*DetectorAbnormalTimePeriod) UnmarshalJSON

func (d *DetectorAbnormalTimePeriod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorAbnormalTimePeriod.

type DetectorDefinition

type DetectorDefinition struct {
	// READ-ONLY; Description of the detector
	Description *string `json:"description,omitempty" azure:"ro"`

	// READ-ONLY; Display name of the detector
	DisplayName *string `json:"displayName,omitempty" azure:"ro"`

	// READ-ONLY; Flag representing whether detector is enabled or not.
	IsEnabled *bool `json:"isEnabled,omitempty" azure:"ro"`

	// READ-ONLY; Detector Rank
	Rank *float64 `json:"rank,omitempty" azure:"ro"`
}

DetectorDefinition - Class representing detector definition

type DetectorDefinitionResource

type DetectorDefinitionResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *DetectorDefinition `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DetectorDefinitionResource - ARM resource for a detector definition

type DetectorInfo

type DetectorInfo struct {
	// READ-ONLY; Analysis Types for which this detector should apply to.
	AnalysisType []*string `json:"analysisType,omitempty" azure:"ro"`

	// READ-ONLY; Author of the detector.
	Author *string `json:"author,omitempty" azure:"ro"`

	// READ-ONLY; Problem category. This serves for organizing group for detectors.
	Category *string `json:"category,omitempty" azure:"ro"`

	// READ-ONLY; Short description of the detector and its purpose.
	Description *string `json:"description,omitempty" azure:"ro"`

	// READ-ONLY; Id of detector
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Name of detector
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Defines score of a detector to power ML based matching.
	Score *float32 `json:"score,omitempty" azure:"ro"`

	// READ-ONLY; List of Support Topics for which this detector is enabled.
	SupportTopicList []*SupportTopic `json:"supportTopicList,omitempty" azure:"ro"`

	// READ-ONLY; Whether this detector is an Analysis Detector or not.
	Type *DetectorType `json:"type,omitempty" azure:"ro"`
}

DetectorInfo - Definition of Detector

func (DetectorInfo) MarshalJSON

func (d DetectorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorInfo.

type DetectorResponse

type DetectorResponse struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DetectorResponse resource specific properties
	Properties *DetectorResponseProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DetectorResponse - Class representing Response from Detector

type DetectorResponseCollection

type DetectorResponseCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DetectorResponse `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DetectorResponseCollection - Collection of detector responses

type DetectorResponseProperties

type DetectorResponseProperties struct {
	// Additional configuration for different data providers to be used by the UI
	DataProvidersMetadata []*DataProviderMetadata `json:"dataProvidersMetadata,omitempty"`

	// Data Set
	Dataset []*DiagnosticData `json:"dataset,omitempty"`

	// metadata for the detector
	Metadata *DetectorInfo `json:"metadata,omitempty"`

	// Indicates status of the most severe insight.
	Status *Status `json:"status,omitempty"`

	// Suggested utterances where the detector can be applicable.
	SuggestedUtterances *QueryUtterancesResults `json:"suggestedUtterances,omitempty"`
}

DetectorResponseProperties - DetectorResponse resource specific properties

func (DetectorResponseProperties) MarshalJSON

func (d DetectorResponseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorResponseProperties.

type DetectorType

type DetectorType string

DetectorType - Whether this detector is an Analysis Detector or not.

const (
	DetectorTypeDetector         DetectorType = "Detector"
	DetectorTypeAnalysis         DetectorType = "Analysis"
	DetectorTypeCategoryOverview DetectorType = "CategoryOverview"
)

func PossibleDetectorTypeValues

func PossibleDetectorTypeValues() []DetectorType

PossibleDetectorTypeValues returns the possible values for the DetectorType const type.

type DiagnosticAnalysis

type DiagnosticAnalysis struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DiagnosticAnalysis resource specific properties
	Properties *DiagnosticAnalysisProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DiagnosticAnalysis - Class representing a diagnostic analysis done on an application

type DiagnosticAnalysisCollection

type DiagnosticAnalysisCollection struct {
	// REQUIRED; Collection of resources.
	Value []*AnalysisDefinition `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DiagnosticAnalysisCollection - Collection of Diagnostic Analyses

type DiagnosticAnalysisProperties

type DiagnosticAnalysisProperties struct {
	// List of time periods.
	AbnormalTimePeriods []*AbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"`

	// End time of the period
	EndTime *time.Time `json:"endTime,omitempty"`

	// Data by each detector for detectors that did not corelate
	NonCorrelatedDetectors []*DetectorDefinition `json:"nonCorrelatedDetectors,omitempty"`

	// Data by each detector
	Payload []*AnalysisData `json:"payload,omitempty"`

	// Start time of the period
	StartTime *time.Time `json:"startTime,omitempty"`
}

DiagnosticAnalysisProperties - DiagnosticAnalysis resource specific properties

func (DiagnosticAnalysisProperties) MarshalJSON

func (d DiagnosticAnalysisProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticAnalysisProperties.

func (*DiagnosticAnalysisProperties) UnmarshalJSON

func (d *DiagnosticAnalysisProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticAnalysisProperties.

type DiagnosticCategory

type DiagnosticCategory struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DiagnosticCategory resource specific properties
	Properties *DiagnosticCategoryProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DiagnosticCategory - Class representing detector definition

type DiagnosticCategoryCollection

type DiagnosticCategoryCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DiagnosticCategory `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DiagnosticCategoryCollection - Collection of Diagnostic Categories

type DiagnosticCategoryProperties

type DiagnosticCategoryProperties struct {
	// READ-ONLY; Description of the diagnostic category
	Description *string `json:"description,omitempty" azure:"ro"`
}

DiagnosticCategoryProperties - DiagnosticCategory resource specific properties

type DiagnosticData

type DiagnosticData struct {
	// Properties that describe how the table should be rendered
	RenderingProperties *Rendering `json:"renderingProperties,omitempty"`

	// Data in table form
	Table *DataTableResponseObject `json:"table,omitempty"`
}

DiagnosticData - Set of data with rendering instructions

type DiagnosticDetectorCollection

type DiagnosticDetectorCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DetectorDefinitionResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DiagnosticDetectorCollection - Collection of Diagnostic Detectors

type DiagnosticDetectorResponse

type DiagnosticDetectorResponse struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DiagnosticDetectorResponse resource specific properties
	Properties *DiagnosticDetectorResponseProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DiagnosticDetectorResponse - Class representing Response from Diagnostic Detectors

type DiagnosticDetectorResponseProperties

type DiagnosticDetectorResponseProperties struct {
	// List of Correlated events found by the detector
	AbnormalTimePeriods []*DetectorAbnormalTimePeriod `json:"abnormalTimePeriods,omitempty"`

	// Additional Data that detector wants to send.
	Data [][]*NameValuePair `json:"data,omitempty"`

	// Detector's definition
	DetectorDefinition *DetectorDefinition `json:"detectorDefinition,omitempty"`

	// End time of the period
	EndTime *time.Time `json:"endTime,omitempty"`

	// Flag representing Issue was detected.
	IssueDetected *bool `json:"issueDetected,omitempty"`

	// Metrics provided by the detector
	Metrics []*DiagnosticMetricSet `json:"metrics,omitempty"`

	// Meta Data
	ResponseMetaData *ResponseMetaData `json:"responseMetaData,omitempty"`

	// Start time of the period
	StartTime *time.Time `json:"startTime,omitempty"`
}

DiagnosticDetectorResponseProperties - DiagnosticDetectorResponse resource specific properties

func (DiagnosticDetectorResponseProperties) MarshalJSON

func (d DiagnosticDetectorResponseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticDetectorResponseProperties.

func (*DiagnosticDetectorResponseProperties) UnmarshalJSON

func (d *DiagnosticDetectorResponseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticDetectorResponseProperties.

type DiagnosticMetricSample

type DiagnosticMetricSample struct {
	// Whether the values are aggregates across all workers or not
	IsAggregated *bool `json:"isAggregated,omitempty"`

	// Maximum of the metric sampled during the time period
	Maximum *float64 `json:"maximum,omitempty"`

	// Minimum of the metric sampled during the time period
	Minimum *float64 `json:"minimum,omitempty"`

	// 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…IN0) where
	// RDWORKERNAME is Machine name below and RoleInstance name in parenthesis
	RoleInstance *string `json:"roleInstance,omitempty"`

	// Time at which metric is measured
	Timestamp *time.Time `json:"timestamp,omitempty"`

	// Total value of the metric. If multiple measurements are made this will have sum of all.
	Total *float64 `json:"total,omitempty"`
}

DiagnosticMetricSample - Class representing Diagnostic Metric

func (DiagnosticMetricSample) MarshalJSON

func (d DiagnosticMetricSample) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticMetricSample.

func (*DiagnosticMetricSample) UnmarshalJSON

func (d *DiagnosticMetricSample) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticMetricSample.

type DiagnosticMetricSet

type DiagnosticMetricSet struct {
	// End time of the period
	EndTime *time.Time `json:"endTime,omitempty"`

	// Name of the metric
	Name *string `json:"name,omitempty"`

	// Start time of the period
	StartTime *time.Time `json:"startTime,omitempty"`

	// Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D
	TimeGrain *string `json:"timeGrain,omitempty"`

	// Metric's unit
	Unit *string `json:"unit,omitempty"`

	// Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}
	Values []*DiagnosticMetricSample `json:"values,omitempty"`
}

DiagnosticMetricSet - Class representing Diagnostic Metric information

func (DiagnosticMetricSet) MarshalJSON

func (d DiagnosticMetricSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticMetricSet.

func (*DiagnosticMetricSet) UnmarshalJSON

func (d *DiagnosticMetricSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticMetricSet.

type DiagnosticsClient

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

DiagnosticsClient contains the methods for the Diagnostics group. Don't use this type directly, use NewDiagnosticsClient() instead.

func NewDiagnosticsClient

func NewDiagnosticsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*DiagnosticsClient, error)

NewDiagnosticsClient creates a new instance of DiagnosticsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*DiagnosticsClient) ExecuteSiteAnalysis

func (client *DiagnosticsClient) ExecuteSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, options *DiagnosticsClientExecuteSiteAnalysisOptions) (DiagnosticsClientExecuteSiteAnalysisResponse, error)

ExecuteSiteAnalysis - Execute Analysis If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Category Name analysisName - Analysis Resource Name options - DiagnosticsClientExecuteSiteAnalysisOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteAnalysis method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ExecuteSiteAnalysis(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"apprestartanalyses",
		&armappservice.DiagnosticsClientExecuteSiteAnalysisOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) ExecuteSiteAnalysisSlot

func (client *DiagnosticsClient) ExecuteSiteAnalysisSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string, options *DiagnosticsClientExecuteSiteAnalysisSlotOptions) (DiagnosticsClientExecuteSiteAnalysisSlotResponse, error)

ExecuteSiteAnalysisSlot - Execute Analysis If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Category Name analysisName - Analysis Resource Name slot - Slot Name options - DiagnosticsClientExecuteSiteAnalysisSlotOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteAnalysisSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ExecuteSiteAnalysisSlot(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"apprestartanalyses",
		"Production",
		&armappservice.DiagnosticsClientExecuteSiteAnalysisSlotOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) ExecuteSiteDetector

func (client *DiagnosticsClient) ExecuteSiteDetector(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, options *DiagnosticsClientExecuteSiteDetectorOptions) (DiagnosticsClientExecuteSiteDetectorResponse, error)

ExecuteSiteDetector - Execute Detector If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name detectorName - Detector Resource Name diagnosticCategory - Category Name options - DiagnosticsClientExecuteSiteDetectorOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteDetector method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteDetector.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ExecuteSiteDetector(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"sitecrashes",
		"availability",
		&armappservice.DiagnosticsClientExecuteSiteDetectorOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) ExecuteSiteDetectorSlot

func (client *DiagnosticsClient) ExecuteSiteDetectorSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, slot string, options *DiagnosticsClientExecuteSiteDetectorSlotOptions) (DiagnosticsClientExecuteSiteDetectorSlotResponse, error)

ExecuteSiteDetectorSlot - Execute Detector If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name detectorName - Detector Resource Name diagnosticCategory - Category Name slot - Slot Name options - DiagnosticsClientExecuteSiteDetectorSlotOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteDetectorSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ExecuteSiteDetector.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ExecuteSiteDetectorSlot(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"sitecrashes",
		"availability",
		"Production",
		&armappservice.DiagnosticsClientExecuteSiteDetectorSlotOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetHostingEnvironmentDetectorResponse

func (client *DiagnosticsClient) GetHostingEnvironmentDetectorResponse(ctx context.Context, resourceGroupName string, name string, detectorName string, options *DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions) (DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse, error)

GetHostingEnvironmentDetectorResponse - Get Hosting Environment Detector Response If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - App Service Environment Name detectorName - Detector Resource Name options - DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions contains the optional parameters for the DiagnosticsClient.GetHostingEnvironmentDetectorResponse method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetHostingEnvironmentDetectorResponse(ctx,
		"Sample-WestUSResourceGroup",
		"SampleAppServiceEnvironment",
		"runtimeavailability",
		&armappservice.DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteAnalysis

func (client *DiagnosticsClient) GetSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, options *DiagnosticsClientGetSiteAnalysisOptions) (DiagnosticsClientGetSiteAnalysisResponse, error)

GetSiteAnalysis - Get Site Analysis If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category analysisName - Analysis Name options - DiagnosticsClientGetSiteAnalysisOptions contains the optional parameters for the DiagnosticsClient.GetSiteAnalysis method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteAnalysis.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteAnalysis(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"appanalysis",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteAnalysisSlot

func (client *DiagnosticsClient) GetSiteAnalysisSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string, options *DiagnosticsClientGetSiteAnalysisSlotOptions) (DiagnosticsClientGetSiteAnalysisSlotResponse, error)

GetSiteAnalysisSlot - Get Site Analysis If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category analysisName - Analysis Name slot - Slot - optional options - DiagnosticsClientGetSiteAnalysisSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteAnalysisSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteAnalysis.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteAnalysisSlot(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"appanalysis",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteDetector

func (client *DiagnosticsClient) GetSiteDetector(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, options *DiagnosticsClientGetSiteDetectorOptions) (DiagnosticsClientGetSiteDetectorResponse, error)

GetSiteDetector - Get Detector If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category detectorName - Detector Name options - DiagnosticsClientGetSiteDetectorOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetector method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetector.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteDetector(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"sitecrashes",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteDetectorResponse

func (client *DiagnosticsClient) GetSiteDetectorResponse(ctx context.Context, resourceGroupName string, siteName string, detectorName string, options *DiagnosticsClientGetSiteDetectorResponseOptions) (DiagnosticsClientGetSiteDetectorResponseResponse, error)

GetSiteDetectorResponse - Get site detector response If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name detectorName - Detector Resource Name options - DiagnosticsClientGetSiteDetectorResponseOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorResponse method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetectorResponse.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteDetectorResponse(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"runtimeavailability",
		&armappservice.DiagnosticsClientGetSiteDetectorResponseOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteDetectorResponseSlot

func (client *DiagnosticsClient) GetSiteDetectorResponseSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, slot string, options *DiagnosticsClientGetSiteDetectorResponseSlotOptions) (DiagnosticsClientGetSiteDetectorResponseSlotResponse, error)

GetSiteDetectorResponseSlot - Get site detector response If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name detectorName - Detector Resource Name slot - Slot Name options - DiagnosticsClientGetSiteDetectorResponseSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorResponseSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetectorResponse.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteDetectorResponseSlot(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"runtimeavailability",
		"staging",
		&armappservice.DiagnosticsClientGetSiteDetectorResponseSlotOptions{StartTime: nil,
			EndTime:   nil,
			TimeGrain: nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteDetectorSlot

func (client *DiagnosticsClient) GetSiteDetectorSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, slot string, options *DiagnosticsClientGetSiteDetectorSlotOptions) (DiagnosticsClientGetSiteDetectorSlotResponse, error)

GetSiteDetectorSlot - Get Detector If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category detectorName - Detector Name slot - Slot Name options - DiagnosticsClientGetSiteDetectorSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDetector.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteDetectorSlot(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"sitecrashes",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteDiagnosticCategory

func (client *DiagnosticsClient) GetSiteDiagnosticCategory(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, options *DiagnosticsClientGetSiteDiagnosticCategoryOptions) (DiagnosticsClientGetSiteDiagnosticCategoryResponse, error)

GetSiteDiagnosticCategory - Get Diagnostics Category If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category options - DiagnosticsClientGetSiteDiagnosticCategoryOptions contains the optional parameters for the DiagnosticsClient.GetSiteDiagnosticCategory method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteDiagnosticCategory(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) GetSiteDiagnosticCategorySlot

func (client *DiagnosticsClient) GetSiteDiagnosticCategorySlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string, options *DiagnosticsClientGetSiteDiagnosticCategorySlotOptions) (DiagnosticsClientGetSiteDiagnosticCategorySlotResponse, error)

GetSiteDiagnosticCategorySlot - Get Diagnostics Category If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category slot - Slot Name options - DiagnosticsClientGetSiteDiagnosticCategorySlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDiagnosticCategorySlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetSiteDiagnosticCategorySlot(ctx,
		"Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DiagnosticsClient) NewListHostingEnvironmentDetectorResponsesPager added in v0.4.0

NewListHostingEnvironmentDetectorResponsesPager - List Hosting Environment Detector Responses If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site Name options - DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.ListHostingEnvironmentDetectorResponses method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListHostingEnvironmentDetectorResponsesPager("Sample-WestUSResourceGroup",
		"SampleAppServiceEnvironment",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteAnalysesPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteAnalysesPager(resourceGroupName string, siteName string, diagnosticCategory string, options *DiagnosticsClientListSiteAnalysesOptions) *runtime.Pager[DiagnosticsClientListSiteAnalysesResponse]

NewListSiteAnalysesPager - Get Site Analyses If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category options - DiagnosticsClientListSiteAnalysesOptions contains the optional parameters for the DiagnosticsClient.ListSiteAnalyses method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteAnalyses.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteAnalysesPager("Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteAnalysesSlotPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteAnalysesSlotPager(resourceGroupName string, siteName string, diagnosticCategory string, slot string, options *DiagnosticsClientListSiteAnalysesSlotOptions) *runtime.Pager[DiagnosticsClientListSiteAnalysesSlotResponse]

NewListSiteAnalysesSlotPager - Get Site Analyses If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category slot - Slot Name options - DiagnosticsClientListSiteAnalysesSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteAnalysesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteAnalyses.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteAnalysesSlotPager("Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"Production",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteDetectorResponsesPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteDetectorResponsesPager(resourceGroupName string, siteName string, options *DiagnosticsClientListSiteDetectorResponsesOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorResponsesResponse]

NewListSiteDetectorResponsesPager - List Site Detector Responses If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name options - DiagnosticsClientListSiteDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectorResponses method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectorResponses.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteDetectorResponsesPager("Sample-WestUSResourceGroup",
		"SampleApp",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteDetectorResponsesSlotPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteDetectorResponsesSlotPager(resourceGroupName string, siteName string, slot string, options *DiagnosticsClientListSiteDetectorResponsesSlotOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorResponsesSlotResponse]

NewListSiteDetectorResponsesSlotPager - List Site Detector Responses If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name slot - Slot Name options - DiagnosticsClientListSiteDetectorResponsesSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectorResponsesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectorResponses.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteDetectorResponsesSlotPager("Sample-WestUSResourceGroup",
		"SampleApp",
		"staging",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteDetectorsPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteDetectorsPager(resourceGroupName string, siteName string, diagnosticCategory string, options *DiagnosticsClientListSiteDetectorsOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorsResponse]

NewListSiteDetectorsPager - Get Detectors If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category options - DiagnosticsClientListSiteDetectorsOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectors method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectors.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteDetectorsPager("Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteDetectorsSlotPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteDetectorsSlotPager(resourceGroupName string, siteName string, diagnosticCategory string, slot string, options *DiagnosticsClientListSiteDetectorsSlotOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorsSlotResponse]

NewListSiteDetectorsSlotPager - Get Detectors If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name diagnosticCategory - Diagnostic Category slot - Slot Name options - DiagnosticsClientListSiteDetectorsSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectorsSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDetectors.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteDetectorsSlotPager("Sample-WestUSResourceGroup",
		"SampleApp",
		"availability",
		"Production",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteDiagnosticCategoriesPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteDiagnosticCategoriesPager(resourceGroupName string, siteName string, options *DiagnosticsClientListSiteDiagnosticCategoriesOptions) *runtime.Pager[DiagnosticsClientListSiteDiagnosticCategoriesResponse]

NewListSiteDiagnosticCategoriesPager - Get Diagnostics Categories If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name options - DiagnosticsClientListSiteDiagnosticCategoriesOptions contains the optional parameters for the DiagnosticsClient.ListSiteDiagnosticCategories method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteDiagnosticCategoriesPager("Sample-WestUSResourceGroup",
		"SampleApp",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*DiagnosticsClient) NewListSiteDiagnosticCategoriesSlotPager added in v0.4.0

func (client *DiagnosticsClient) NewListSiteDiagnosticCategoriesSlotPager(resourceGroupName string, siteName string, slot string, options *DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions) *runtime.Pager[DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse]

NewListSiteDiagnosticCategoriesSlotPager - Get Diagnostics Categories If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site Name slot - Slot Name options - DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteDiagnosticCategoriesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDiagnosticsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteDiagnosticCategoriesSlotPager("Sample-WestUSResourceGroup",
		"SampleApp",
		"Production",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type DiagnosticsClientExecuteSiteAnalysisOptions added in v0.2.0

type DiagnosticsClientExecuteSiteAnalysisOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientExecuteSiteAnalysisOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteAnalysis method.

type DiagnosticsClientExecuteSiteAnalysisResponse added in v0.2.0

type DiagnosticsClientExecuteSiteAnalysisResponse struct {
	DiagnosticAnalysis
}

DiagnosticsClientExecuteSiteAnalysisResponse contains the response from method DiagnosticsClient.ExecuteSiteAnalysis.

type DiagnosticsClientExecuteSiteAnalysisSlotOptions added in v0.2.0

type DiagnosticsClientExecuteSiteAnalysisSlotOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientExecuteSiteAnalysisSlotOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteAnalysisSlot method.

type DiagnosticsClientExecuteSiteAnalysisSlotResponse added in v0.2.0

type DiagnosticsClientExecuteSiteAnalysisSlotResponse struct {
	DiagnosticAnalysis
}

DiagnosticsClientExecuteSiteAnalysisSlotResponse contains the response from method DiagnosticsClient.ExecuteSiteAnalysisSlot.

type DiagnosticsClientExecuteSiteDetectorOptions added in v0.2.0

type DiagnosticsClientExecuteSiteDetectorOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientExecuteSiteDetectorOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteDetector method.

type DiagnosticsClientExecuteSiteDetectorResponse added in v0.2.0

type DiagnosticsClientExecuteSiteDetectorResponse struct {
	DiagnosticDetectorResponse
}

DiagnosticsClientExecuteSiteDetectorResponse contains the response from method DiagnosticsClient.ExecuteSiteDetector.

type DiagnosticsClientExecuteSiteDetectorSlotOptions added in v0.2.0

type DiagnosticsClientExecuteSiteDetectorSlotOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientExecuteSiteDetectorSlotOptions contains the optional parameters for the DiagnosticsClient.ExecuteSiteDetectorSlot method.

type DiagnosticsClientExecuteSiteDetectorSlotResponse added in v0.2.0

type DiagnosticsClientExecuteSiteDetectorSlotResponse struct {
	DiagnosticDetectorResponse
}

DiagnosticsClientExecuteSiteDetectorSlotResponse contains the response from method DiagnosticsClient.ExecuteSiteDetectorSlot.

type DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions added in v0.2.0

type DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions contains the optional parameters for the DiagnosticsClient.GetHostingEnvironmentDetectorResponse method.

type DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse added in v0.2.0

type DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse struct {
	DetectorResponse
}

DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse contains the response from method DiagnosticsClient.GetHostingEnvironmentDetectorResponse.

type DiagnosticsClientGetSiteAnalysisOptions added in v0.2.0

type DiagnosticsClientGetSiteAnalysisOptions struct {
}

DiagnosticsClientGetSiteAnalysisOptions contains the optional parameters for the DiagnosticsClient.GetSiteAnalysis method.

type DiagnosticsClientGetSiteAnalysisResponse added in v0.2.0

type DiagnosticsClientGetSiteAnalysisResponse struct {
	AnalysisDefinition
}

DiagnosticsClientGetSiteAnalysisResponse contains the response from method DiagnosticsClient.GetSiteAnalysis.

type DiagnosticsClientGetSiteAnalysisSlotOptions added in v0.2.0

type DiagnosticsClientGetSiteAnalysisSlotOptions struct {
}

DiagnosticsClientGetSiteAnalysisSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteAnalysisSlot method.

type DiagnosticsClientGetSiteAnalysisSlotResponse added in v0.2.0

type DiagnosticsClientGetSiteAnalysisSlotResponse struct {
	AnalysisDefinition
}

DiagnosticsClientGetSiteAnalysisSlotResponse contains the response from method DiagnosticsClient.GetSiteAnalysisSlot.

type DiagnosticsClientGetSiteDetectorOptions added in v0.2.0

type DiagnosticsClientGetSiteDetectorOptions struct {
}

DiagnosticsClientGetSiteDetectorOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetector method.

type DiagnosticsClientGetSiteDetectorResponse added in v0.2.0

type DiagnosticsClientGetSiteDetectorResponse struct {
	DetectorDefinitionResource
}

DiagnosticsClientGetSiteDetectorResponse contains the response from method DiagnosticsClient.GetSiteDetector.

type DiagnosticsClientGetSiteDetectorResponseOptions added in v0.2.0

type DiagnosticsClientGetSiteDetectorResponseOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientGetSiteDetectorResponseOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorResponse method.

type DiagnosticsClientGetSiteDetectorResponseResponse added in v0.2.0

type DiagnosticsClientGetSiteDetectorResponseResponse struct {
	DetectorResponse
}

DiagnosticsClientGetSiteDetectorResponseResponse contains the response from method DiagnosticsClient.GetSiteDetectorResponse.

type DiagnosticsClientGetSiteDetectorResponseSlotOptions added in v0.2.0

type DiagnosticsClientGetSiteDetectorResponseSlotOptions struct {
	// End Time
	EndTime *time.Time
	// Start Time
	StartTime *time.Time
	// Time Grain
	TimeGrain *string
}

DiagnosticsClientGetSiteDetectorResponseSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorResponseSlot method.

type DiagnosticsClientGetSiteDetectorResponseSlotResponse added in v0.2.0

type DiagnosticsClientGetSiteDetectorResponseSlotResponse struct {
	DetectorResponse
}

DiagnosticsClientGetSiteDetectorResponseSlotResponse contains the response from method DiagnosticsClient.GetSiteDetectorResponseSlot.

type DiagnosticsClientGetSiteDetectorSlotOptions added in v0.2.0

type DiagnosticsClientGetSiteDetectorSlotOptions struct {
}

DiagnosticsClientGetSiteDetectorSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorSlot method.

type DiagnosticsClientGetSiteDetectorSlotResponse added in v0.2.0

type DiagnosticsClientGetSiteDetectorSlotResponse struct {
	DetectorDefinitionResource
}

DiagnosticsClientGetSiteDetectorSlotResponse contains the response from method DiagnosticsClient.GetSiteDetectorSlot.

type DiagnosticsClientGetSiteDiagnosticCategoryOptions added in v0.2.0

type DiagnosticsClientGetSiteDiagnosticCategoryOptions struct {
}

DiagnosticsClientGetSiteDiagnosticCategoryOptions contains the optional parameters for the DiagnosticsClient.GetSiteDiagnosticCategory method.

type DiagnosticsClientGetSiteDiagnosticCategoryResponse added in v0.2.0

type DiagnosticsClientGetSiteDiagnosticCategoryResponse struct {
	DiagnosticCategory
}

DiagnosticsClientGetSiteDiagnosticCategoryResponse contains the response from method DiagnosticsClient.GetSiteDiagnosticCategory.

type DiagnosticsClientGetSiteDiagnosticCategorySlotOptions added in v0.2.0

type DiagnosticsClientGetSiteDiagnosticCategorySlotOptions struct {
}

DiagnosticsClientGetSiteDiagnosticCategorySlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDiagnosticCategorySlot method.

type DiagnosticsClientGetSiteDiagnosticCategorySlotResponse added in v0.2.0

type DiagnosticsClientGetSiteDiagnosticCategorySlotResponse struct {
	DiagnosticCategory
}

DiagnosticsClientGetSiteDiagnosticCategorySlotResponse contains the response from method DiagnosticsClient.GetSiteDiagnosticCategorySlot.

type DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions added in v0.2.0

type DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions struct {
}

DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.ListHostingEnvironmentDetectorResponses method.

type DiagnosticsClientListHostingEnvironmentDetectorResponsesResponse added in v0.2.0

type DiagnosticsClientListHostingEnvironmentDetectorResponsesResponse struct {
	DetectorResponseCollection
}

DiagnosticsClientListHostingEnvironmentDetectorResponsesResponse contains the response from method DiagnosticsClient.ListHostingEnvironmentDetectorResponses.

type DiagnosticsClientListSiteAnalysesOptions added in v0.2.0

type DiagnosticsClientListSiteAnalysesOptions struct {
}

DiagnosticsClientListSiteAnalysesOptions contains the optional parameters for the DiagnosticsClient.ListSiteAnalyses method.

type DiagnosticsClientListSiteAnalysesResponse added in v0.2.0

type DiagnosticsClientListSiteAnalysesResponse struct {
	DiagnosticAnalysisCollection
}

DiagnosticsClientListSiteAnalysesResponse contains the response from method DiagnosticsClient.ListSiteAnalyses.

type DiagnosticsClientListSiteAnalysesSlotOptions added in v0.2.0

type DiagnosticsClientListSiteAnalysesSlotOptions struct {
}

DiagnosticsClientListSiteAnalysesSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteAnalysesSlot method.

type DiagnosticsClientListSiteAnalysesSlotResponse added in v0.2.0

type DiagnosticsClientListSiteAnalysesSlotResponse struct {
	DiagnosticAnalysisCollection
}

DiagnosticsClientListSiteAnalysesSlotResponse contains the response from method DiagnosticsClient.ListSiteAnalysesSlot.

type DiagnosticsClientListSiteDetectorResponsesOptions added in v0.2.0

type DiagnosticsClientListSiteDetectorResponsesOptions struct {
}

DiagnosticsClientListSiteDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectorResponses method.

type DiagnosticsClientListSiteDetectorResponsesResponse added in v0.2.0

type DiagnosticsClientListSiteDetectorResponsesResponse struct {
	DetectorResponseCollection
}

DiagnosticsClientListSiteDetectorResponsesResponse contains the response from method DiagnosticsClient.ListSiteDetectorResponses.

type DiagnosticsClientListSiteDetectorResponsesSlotOptions added in v0.2.0

type DiagnosticsClientListSiteDetectorResponsesSlotOptions struct {
}

DiagnosticsClientListSiteDetectorResponsesSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectorResponsesSlot method.

type DiagnosticsClientListSiteDetectorResponsesSlotResponse added in v0.2.0

type DiagnosticsClientListSiteDetectorResponsesSlotResponse struct {
	DetectorResponseCollection
}

DiagnosticsClientListSiteDetectorResponsesSlotResponse contains the response from method DiagnosticsClient.ListSiteDetectorResponsesSlot.

type DiagnosticsClientListSiteDetectorsOptions added in v0.2.0

type DiagnosticsClientListSiteDetectorsOptions struct {
}

DiagnosticsClientListSiteDetectorsOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectors method.

type DiagnosticsClientListSiteDetectorsResponse added in v0.2.0

type DiagnosticsClientListSiteDetectorsResponse struct {
	DiagnosticDetectorCollection
}

DiagnosticsClientListSiteDetectorsResponse contains the response from method DiagnosticsClient.ListSiteDetectors.

type DiagnosticsClientListSiteDetectorsSlotOptions added in v0.2.0

type DiagnosticsClientListSiteDetectorsSlotOptions struct {
}

DiagnosticsClientListSiteDetectorsSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteDetectorsSlot method.

type DiagnosticsClientListSiteDetectorsSlotResponse added in v0.2.0

type DiagnosticsClientListSiteDetectorsSlotResponse struct {
	DiagnosticDetectorCollection
}

DiagnosticsClientListSiteDetectorsSlotResponse contains the response from method DiagnosticsClient.ListSiteDetectorsSlot.

type DiagnosticsClientListSiteDiagnosticCategoriesOptions added in v0.2.0

type DiagnosticsClientListSiteDiagnosticCategoriesOptions struct {
}

DiagnosticsClientListSiteDiagnosticCategoriesOptions contains the optional parameters for the DiagnosticsClient.ListSiteDiagnosticCategories method.

type DiagnosticsClientListSiteDiagnosticCategoriesResponse added in v0.2.0

type DiagnosticsClientListSiteDiagnosticCategoriesResponse struct {
	DiagnosticCategoryCollection
}

DiagnosticsClientListSiteDiagnosticCategoriesResponse contains the response from method DiagnosticsClient.ListSiteDiagnosticCategories.

type DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions added in v0.2.0

type DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions struct {
}

DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions contains the optional parameters for the DiagnosticsClient.ListSiteDiagnosticCategoriesSlot method.

type DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse added in v0.2.0

type DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse struct {
	DiagnosticCategoryCollection
}

DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse contains the response from method DiagnosticsClient.ListSiteDiagnosticCategoriesSlot.

type Dimension

type Dimension struct {
	DisplayName            *string `json:"displayName,omitempty"`
	InternalName           *string `json:"internalName,omitempty"`
	Name                   *string `json:"name,omitempty"`
	ToBeExportedForShoebox *bool   `json:"toBeExportedForShoebox,omitempty"`
}

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 Domain

type Domain struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Domain resource specific properties
	Properties *DomainProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Domain - Information about a domain.

func (Domain) MarshalJSON

func (d Domain) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Domain.

type DomainAvailabilityCheckResult

type DomainAvailabilityCheckResult struct {
	// true if domain can be purchased using CreateDomain API; otherwise, false.
	Available *bool `json:"available,omitempty"`

	// 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.
	DomainType *DomainType `json:"domainType,omitempty"`

	// Name of the domain.
	Name *string `json:"name,omitempty"`
}

DomainAvailabilityCheckResult - Domain availability check result.

type DomainCollection

type DomainCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Domain `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DomainCollection - Collection of domains.

type DomainControlCenterSsoRequest

type DomainControlCenterSsoRequest struct {
	// READ-ONLY; Post parameter key.
	PostParameterKey *string `json:"postParameterKey,omitempty" azure:"ro"`

	// READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value.
	PostParameterValue *string `json:"postParameterValue,omitempty" azure:"ro"`

	// READ-ONLY; URL where the single sign-on request is to be made.
	URL *string `json:"url,omitempty" azure:"ro"`
}

DomainControlCenterSsoRequest - Single sign-on request information for domain management.

type DomainOwnershipIdentifier

type DomainOwnershipIdentifier struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DomainOwnershipIdentifier resource specific properties
	Properties *DomainOwnershipIdentifierProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DomainOwnershipIdentifier - Domain ownership Identifier.

func (DomainOwnershipIdentifier) MarshalJSON

func (d DomainOwnershipIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainOwnershipIdentifier.

type DomainOwnershipIdentifierCollection

type DomainOwnershipIdentifierCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DomainOwnershipIdentifier `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DomainOwnershipIdentifierCollection - Collection of domain ownership identifiers.

type DomainOwnershipIdentifierProperties

type DomainOwnershipIdentifierProperties struct {
	// Ownership Id.
	OwnershipID *string `json:"ownershipId,omitempty"`
}

DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties

type DomainPatchResource

type DomainPatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// DomainPatchResource resource specific properties
	Properties *DomainPatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DomainPatchResource - ARM resource for a domain.

func (DomainPatchResource) MarshalJSON

func (d DomainPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainPatchResource.

type DomainPatchResourceProperties

type DomainPatchResourceProperties struct {
	// REQUIRED; Legal agreement consent.
	Consent *DomainPurchaseConsent `json:"consent,omitempty"`

	// REQUIRED; Administrative contact.
	ContactAdmin *Contact `json:"contactAdmin,omitempty"`

	// REQUIRED; Billing contact.
	ContactBilling *Contact `json:"contactBilling,omitempty"`

	// REQUIRED; Registrant contact.
	ContactRegistrant *Contact `json:"contactRegistrant,omitempty"`

	// REQUIRED; Technical contact.
	ContactTech *Contact `json:"contactTech,omitempty"`
	AuthCode    *string  `json:"authCode,omitempty"`

	// true if the domain should be automatically renewed; otherwise, false.
	AutoRenew *bool `json:"autoRenew,omitempty"`

	// Current DNS type
	DNSType *DNSType `json:"dnsType,omitempty"`

	// Azure DNS Zone to use
	DNSZoneID *string `json:"dnsZoneId,omitempty"`

	// true if domain privacy is enabled for this domain; otherwise, false.
	Privacy *bool `json:"privacy,omitempty"`

	// Target DNS type (would be used for migration)
	TargetDNSType *DNSType `json:"targetDnsType,omitempty"`

	// READ-ONLY; Domain creation timestamp.
	CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"`

	// READ-ONLY; Reasons why domain is not renewable.
	DomainNotRenewableReasons []*DomainPatchResourcePropertiesDomainNotRenewableReasonsItem `json:"domainNotRenewableReasons,omitempty" azure:"ro"`

	// READ-ONLY; Domain expiration timestamp.
	ExpirationTime *time.Time `json:"expirationTime,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp when the domain was renewed last time.
	LastRenewedTime *time.Time `json:"lastRenewedTime,omitempty" azure:"ro"`

	// READ-ONLY; All hostnames derived from the domain and assigned to Azure resources.
	ManagedHostNames []*HostName `json:"managedHostNames,omitempty" azure:"ro"`

	// READ-ONLY; Name servers.
	NameServers []*string `json:"nameServers,omitempty" azure:"ro"`

	// READ-ONLY; Domain provisioning state.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain
	// registration status is active and it is hosted on name servers Azure has programmatic
	// access to.
	ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty" azure:"ro"`

	// READ-ONLY; Domain registration status.
	RegistrationStatus *DomainStatus `json:"registrationStatus,omitempty" azure:"ro"`
}

DomainPatchResourceProperties - DomainPatchResource resource specific properties

func (DomainPatchResourceProperties) MarshalJSON

func (d DomainPatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainPatchResourceProperties.

func (*DomainPatchResourceProperties) UnmarshalJSON

func (d *DomainPatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainPatchResourceProperties.

type DomainPatchResourcePropertiesDomainNotRenewableReasonsItem

type DomainPatchResourcePropertiesDomainNotRenewableReasonsItem string
const (
	DomainPatchResourcePropertiesDomainNotRenewableReasonsItemExpirationNotInRenewalTimeRange          DomainPatchResourcePropertiesDomainNotRenewableReasonsItem = "ExpirationNotInRenewalTimeRange"
	DomainPatchResourcePropertiesDomainNotRenewableReasonsItemRegistrationStatusNotSupportedForRenewal DomainPatchResourcePropertiesDomainNotRenewableReasonsItem = "RegistrationStatusNotSupportedForRenewal"
	DomainPatchResourcePropertiesDomainNotRenewableReasonsItemSubscriptionNotActive                    DomainPatchResourcePropertiesDomainNotRenewableReasonsItem = "SubscriptionNotActive"
)

func PossibleDomainPatchResourcePropertiesDomainNotRenewableReasonsItemValues

func PossibleDomainPatchResourcePropertiesDomainNotRenewableReasonsItemValues() []DomainPatchResourcePropertiesDomainNotRenewableReasonsItem

PossibleDomainPatchResourcePropertiesDomainNotRenewableReasonsItemValues returns the possible values for the DomainPatchResourcePropertiesDomainNotRenewableReasonsItem const type.

type DomainProperties

type DomainProperties struct {
	// REQUIRED; Legal agreement consent.
	Consent *DomainPurchaseConsent `json:"consent,omitempty"`

	// REQUIRED; Administrative contact.
	ContactAdmin *Contact `json:"contactAdmin,omitempty"`

	// REQUIRED; Billing contact.
	ContactBilling *Contact `json:"contactBilling,omitempty"`

	// REQUIRED; Registrant contact.
	ContactRegistrant *Contact `json:"contactRegistrant,omitempty"`

	// REQUIRED; Technical contact.
	ContactTech *Contact `json:"contactTech,omitempty"`
	AuthCode    *string  `json:"authCode,omitempty"`

	// true if the domain should be automatically renewed; otherwise, false.
	AutoRenew *bool `json:"autoRenew,omitempty"`

	// Current DNS type
	DNSType *DNSType `json:"dnsType,omitempty"`

	// Azure DNS Zone to use
	DNSZoneID *string `json:"dnsZoneId,omitempty"`

	// true if domain privacy is enabled for this domain; otherwise, false.
	Privacy *bool `json:"privacy,omitempty"`

	// Target DNS type (would be used for migration)
	TargetDNSType *DNSType `json:"targetDnsType,omitempty"`

	// READ-ONLY; Domain creation timestamp.
	CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"`

	// READ-ONLY; Reasons why domain is not renewable.
	DomainNotRenewableReasons []*DomainPropertiesDomainNotRenewableReasonsItem `json:"domainNotRenewableReasons,omitempty" azure:"ro"`

	// READ-ONLY; Domain expiration timestamp.
	ExpirationTime *time.Time `json:"expirationTime,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp when the domain was renewed last time.
	LastRenewedTime *time.Time `json:"lastRenewedTime,omitempty" azure:"ro"`

	// READ-ONLY; All hostnames derived from the domain and assigned to Azure resources.
	ManagedHostNames []*HostName `json:"managedHostNames,omitempty" azure:"ro"`

	// READ-ONLY; Name servers.
	NameServers []*string `json:"nameServers,omitempty" azure:"ro"`

	// READ-ONLY; Domain provisioning state.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain
	// registration status is active and it is hosted on name servers Azure has programmatic
	// access to.
	ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty" azure:"ro"`

	// READ-ONLY; Domain registration status.
	RegistrationStatus *DomainStatus `json:"registrationStatus,omitempty" azure:"ro"`
}

DomainProperties - Domain resource specific properties

func (DomainProperties) MarshalJSON

func (d DomainProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainProperties.

func (*DomainProperties) UnmarshalJSON

func (d *DomainProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainProperties.

type DomainPropertiesDomainNotRenewableReasonsItem

type DomainPropertiesDomainNotRenewableReasonsItem string
const (
	DomainPropertiesDomainNotRenewableReasonsItemExpirationNotInRenewalTimeRange          DomainPropertiesDomainNotRenewableReasonsItem = "ExpirationNotInRenewalTimeRange"
	DomainPropertiesDomainNotRenewableReasonsItemRegistrationStatusNotSupportedForRenewal DomainPropertiesDomainNotRenewableReasonsItem = "RegistrationStatusNotSupportedForRenewal"
	DomainPropertiesDomainNotRenewableReasonsItemSubscriptionNotActive                    DomainPropertiesDomainNotRenewableReasonsItem = "SubscriptionNotActive"
)

func PossibleDomainPropertiesDomainNotRenewableReasonsItemValues

func PossibleDomainPropertiesDomainNotRenewableReasonsItemValues() []DomainPropertiesDomainNotRenewableReasonsItem

PossibleDomainPropertiesDomainNotRenewableReasonsItemValues returns the possible values for the DomainPropertiesDomainNotRenewableReasonsItem const type.

type DomainPurchaseConsent

type DomainPurchaseConsent struct {
	// Timestamp when the agreements were accepted.
	AgreedAt *time.Time `json:"agreedAt,omitempty"`

	// Client IP address.
	AgreedBy *string `json:"agreedBy,omitempty"`

	// List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain
	// resource.
	AgreementKeys []*string `json:"agreementKeys,omitempty"`
}

DomainPurchaseConsent - Domain purchase consent object, representing acceptance of applicable legal agreements.

func (DomainPurchaseConsent) MarshalJSON

func (d DomainPurchaseConsent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainPurchaseConsent.

func (*DomainPurchaseConsent) UnmarshalJSON

func (d *DomainPurchaseConsent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainPurchaseConsent.

type DomainRecommendationSearchParameters

type DomainRecommendationSearchParameters struct {
	// Keywords to be used for generating domain recommendations.
	Keywords *string `json:"keywords,omitempty"`

	// Maximum number of recommendations.
	MaxDomainRecommendations *int32 `json:"maxDomainRecommendations,omitempty"`
}

DomainRecommendationSearchParameters - Domain recommendation search parameters.

type DomainRegistrationProviderClient

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

DomainRegistrationProviderClient contains the methods for the DomainRegistrationProvider group. Don't use this type directly, use NewDomainRegistrationProviderClient() instead.

func NewDomainRegistrationProviderClient

func NewDomainRegistrationProviderClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*DomainRegistrationProviderClient, error)

NewDomainRegistrationProviderClient creates a new instance of DomainRegistrationProviderClient with the specified values. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*DomainRegistrationProviderClient) NewListOperationsPager added in v0.4.0

NewListOperationsPager - Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - DomainRegistrationProviderClientListOperationsOptions contains the optional parameters for the DomainRegistrationProviderClient.ListOperations method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/ListOperations.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDomainRegistrationProviderClient(cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListOperationsPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type DomainRegistrationProviderClientListOperationsOptions added in v0.2.0

type DomainRegistrationProviderClientListOperationsOptions struct {
}

DomainRegistrationProviderClientListOperationsOptions contains the optional parameters for the DomainRegistrationProviderClient.ListOperations method.

type DomainRegistrationProviderClientListOperationsResponse added in v0.2.0

type DomainRegistrationProviderClientListOperationsResponse struct {
	CsmOperationCollection
}

DomainRegistrationProviderClientListOperationsResponse contains the response from method DomainRegistrationProviderClient.ListOperations.

type DomainStatus

type DomainStatus string

DomainStatus - Domain registration status.

const (
	DomainStatusActive              DomainStatus = "Active"
	DomainStatusAwaiting            DomainStatus = "Awaiting"
	DomainStatusCancelled           DomainStatus = "Cancelled"
	DomainStatusConfiscated         DomainStatus = "Confiscated"
	DomainStatusDisabled            DomainStatus = "Disabled"
	DomainStatusExcluded            DomainStatus = "Excluded"
	DomainStatusExpired             DomainStatus = "Expired"
	DomainStatusFailed              DomainStatus = "Failed"
	DomainStatusHeld                DomainStatus = "Held"
	DomainStatusLocked              DomainStatus = "Locked"
	DomainStatusParked              DomainStatus = "Parked"
	DomainStatusPending             DomainStatus = "Pending"
	DomainStatusReserved            DomainStatus = "Reserved"
	DomainStatusReverted            DomainStatus = "Reverted"
	DomainStatusSuspended           DomainStatus = "Suspended"
	DomainStatusTransferred         DomainStatus = "Transferred"
	DomainStatusUnknown             DomainStatus = "Unknown"
	DomainStatusUnlocked            DomainStatus = "Unlocked"
	DomainStatusUnparked            DomainStatus = "Unparked"
	DomainStatusUpdated             DomainStatus = "Updated"
	DomainStatusJSONConverterFailed DomainStatus = "JsonConverterFailed"
)

func PossibleDomainStatusValues

func PossibleDomainStatusValues() []DomainStatus

PossibleDomainStatusValues returns the possible values for the DomainStatus const type.

type DomainType

type DomainType string

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.

const (
	DomainTypeRegular     DomainType = "Regular"
	DomainTypeSoftDeleted DomainType = "SoftDeleted"
)

func PossibleDomainTypeValues

func PossibleDomainTypeValues() []DomainType

PossibleDomainTypeValues returns the possible values for the DomainType const type.

type DomainsClient

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

DomainsClient contains the methods for the Domains group. Don't use this type directly, use NewDomainsClient() instead.

func NewDomainsClient

func NewDomainsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*DomainsClient, error)

NewDomainsClient creates a new instance of DomainsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*DomainsClient) BeginCreateOrUpdate

func (client *DomainsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, domain Domain, options *DomainsClientBeginCreateOrUpdateOptions) (*runtime.Poller[DomainsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Creates or updates a domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of the domain. domain - Domain registration information. options - DomainsClientBeginCreateOrUpdateOptions contains the optional parameters for the DomainsClient.BeginCreateOrUpdate method.

func (*DomainsClient) CheckAvailability

CheckAvailability - Check if a domain is available for registration. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 identifier - Name of the domain. options - DomainsClientCheckAvailabilityOptions contains the optional parameters for the DomainsClient.CheckAvailability method.

func (*DomainsClient) CreateOrUpdateOwnershipIdentifier

func (client *DomainsClient) CreateOrUpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier, options *DomainsClientCreateOrUpdateOwnershipIdentifierOptions) (DomainsClientCreateOrUpdateOwnershipIdentifierResponse, error)

CreateOrUpdateOwnershipIdentifier - Creates an ownership identifier for a domain or updates identifier details for an existing identifier If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - DomainsClientCreateOrUpdateOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.CreateOrUpdateOwnershipIdentifier method.

func (*DomainsClient) Delete

func (client *DomainsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientDeleteOptions) (DomainsClientDeleteResponse, error)

Delete - Delete a domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of the domain. options - DomainsClientDeleteOptions contains the optional parameters for the DomainsClient.Delete method.

func (*DomainsClient) DeleteOwnershipIdentifier

func (client *DomainsClient) DeleteOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, options *DomainsClientDeleteOwnershipIdentifierOptions) (DomainsClientDeleteOwnershipIdentifierResponse, error)

DeleteOwnershipIdentifier - Delete ownership identifier for domain If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of domain. name - Name of identifier. options - DomainsClientDeleteOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.DeleteOwnershipIdentifier method.

func (*DomainsClient) Get

func (client *DomainsClient) Get(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientGetOptions) (DomainsClientGetResponse, error)

Get - Get a domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of the domain. options - DomainsClientGetOptions contains the optional parameters for the DomainsClient.Get method.

func (*DomainsClient) GetControlCenterSsoRequest

GetControlCenterSsoRequest - Generate a single sign-on request for the domain management portal. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - DomainsClientGetControlCenterSsoRequestOptions contains the optional parameters for the DomainsClient.GetControlCenterSsoRequest method.

func (*DomainsClient) GetOwnershipIdentifier

func (client *DomainsClient) GetOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, options *DomainsClientGetOwnershipIdentifierOptions) (DomainsClientGetOwnershipIdentifierResponse, error)

GetOwnershipIdentifier - Get ownership identifier for domain If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of domain. name - Name of identifier. options - DomainsClientGetOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.GetOwnershipIdentifier method.

func (*DomainsClient) NewListByResourceGroupPager added in v0.4.0

func (client *DomainsClient) NewListByResourceGroupPager(resourceGroupName string, options *DomainsClientListByResourceGroupOptions) *runtime.Pager[DomainsClientListByResourceGroupResponse]

NewListByResourceGroupPager - Get all domains in a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - DomainsClientListByResourceGroupOptions contains the optional parameters for the DomainsClient.ListByResourceGroup method.

func (*DomainsClient) NewListOwnershipIdentifiersPager added in v0.4.0

func (client *DomainsClient) NewListOwnershipIdentifiersPager(resourceGroupName string, domainName string, options *DomainsClientListOwnershipIdentifiersOptions) *runtime.Pager[DomainsClientListOwnershipIdentifiersResponse]

NewListOwnershipIdentifiersPager - Lists domain ownership identifiers. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of domain. options - DomainsClientListOwnershipIdentifiersOptions contains the optional parameters for the DomainsClient.ListOwnershipIdentifiers method.

func (*DomainsClient) NewListPager added in v0.4.0

NewListPager - Get all domains in a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - DomainsClientListOptions contains the optional parameters for the DomainsClient.List method.

func (*DomainsClient) NewListRecommendationsPager added in v0.4.0

NewListRecommendationsPager - Get domain name recommendations based on keywords. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 parameters - Search parameters for domain name recommendations. options - DomainsClientListRecommendationsOptions contains the optional parameters for the DomainsClient.ListRecommendations method.

func (*DomainsClient) Renew

func (client *DomainsClient) Renew(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientRenewOptions) (DomainsClientRenewResponse, error)

Renew - Renew a domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of the domain. options - DomainsClientRenewOptions contains the optional parameters for the DomainsClient.Renew method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/RenewDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDomainsClient("3dddfa4f-cedf-4dc0-ba29-b6d1a69ab545", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.Renew(ctx,
		"RG",
		"example.com",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*DomainsClient) TransferOut added in v0.2.0

func (client *DomainsClient) TransferOut(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientTransferOutOptions) (DomainsClientTransferOutResponse, error)

TransferOut - Transfer out domain to another registrar If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of domain. options - DomainsClientTransferOutOptions contains the optional parameters for the DomainsClient.TransferOut method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/TransferOutDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewDomainsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.TransferOut(ctx,
		"testrg123",
		"example.com",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*DomainsClient) Update

func (client *DomainsClient) Update(ctx context.Context, resourceGroupName string, domainName string, domain DomainPatchResource, options *DomainsClientUpdateOptions) (DomainsClientUpdateResponse, error)

Update - Creates or updates a domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. domainName - Name of the domain. domain - Domain registration information. options - DomainsClientUpdateOptions contains the optional parameters for the DomainsClient.Update method.

func (*DomainsClient) UpdateOwnershipIdentifier

func (client *DomainsClient) UpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier, options *DomainsClientUpdateOwnershipIdentifierOptions) (DomainsClientUpdateOwnershipIdentifierResponse, error)

UpdateOwnershipIdentifier - Creates an ownership identifier for a domain or updates identifier details for an existing identifier If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - DomainsClientUpdateOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.UpdateOwnershipIdentifier method.

type DomainsClientBeginCreateOrUpdateOptions added in v0.2.0

type DomainsClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

DomainsClientBeginCreateOrUpdateOptions contains the optional parameters for the DomainsClient.BeginCreateOrUpdate method.

type DomainsClientCheckAvailabilityOptions added in v0.2.0

type DomainsClientCheckAvailabilityOptions struct {
}

DomainsClientCheckAvailabilityOptions contains the optional parameters for the DomainsClient.CheckAvailability method.

type DomainsClientCheckAvailabilityResponse added in v0.2.0

type DomainsClientCheckAvailabilityResponse struct {
	DomainAvailabilityCheckResult
}

DomainsClientCheckAvailabilityResponse contains the response from method DomainsClient.CheckAvailability.

type DomainsClientCreateOrUpdateOwnershipIdentifierOptions added in v0.2.0

type DomainsClientCreateOrUpdateOwnershipIdentifierOptions struct {
}

DomainsClientCreateOrUpdateOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.CreateOrUpdateOwnershipIdentifier method.

type DomainsClientCreateOrUpdateOwnershipIdentifierResponse added in v0.2.0

type DomainsClientCreateOrUpdateOwnershipIdentifierResponse struct {
	DomainOwnershipIdentifier
}

DomainsClientCreateOrUpdateOwnershipIdentifierResponse contains the response from method DomainsClient.CreateOrUpdateOwnershipIdentifier.

type DomainsClientCreateOrUpdateResponse added in v0.2.0

type DomainsClientCreateOrUpdateResponse struct {
	Domain
}

DomainsClientCreateOrUpdateResponse contains the response from method DomainsClient.CreateOrUpdate.

type DomainsClientDeleteOptions added in v0.2.0

type DomainsClientDeleteOptions struct {
	// Specify true to delete the domain immediately. The default is false which deletes the domain after 24 hours.
	ForceHardDeleteDomain *bool
}

DomainsClientDeleteOptions contains the optional parameters for the DomainsClient.Delete method.

type DomainsClientDeleteOwnershipIdentifierOptions added in v0.2.0

type DomainsClientDeleteOwnershipIdentifierOptions struct {
}

DomainsClientDeleteOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.DeleteOwnershipIdentifier method.

type DomainsClientDeleteOwnershipIdentifierResponse added in v0.2.0

type DomainsClientDeleteOwnershipIdentifierResponse struct {
}

DomainsClientDeleteOwnershipIdentifierResponse contains the response from method DomainsClient.DeleteOwnershipIdentifier.

type DomainsClientDeleteResponse added in v0.2.0

type DomainsClientDeleteResponse struct {
}

DomainsClientDeleteResponse contains the response from method DomainsClient.Delete.

type DomainsClientGetControlCenterSsoRequestOptions added in v0.2.0

type DomainsClientGetControlCenterSsoRequestOptions struct {
}

DomainsClientGetControlCenterSsoRequestOptions contains the optional parameters for the DomainsClient.GetControlCenterSsoRequest method.

type DomainsClientGetControlCenterSsoRequestResponse added in v0.2.0

type DomainsClientGetControlCenterSsoRequestResponse struct {
	DomainControlCenterSsoRequest
}

DomainsClientGetControlCenterSsoRequestResponse contains the response from method DomainsClient.GetControlCenterSsoRequest.

type DomainsClientGetOptions added in v0.2.0

type DomainsClientGetOptions struct {
}

DomainsClientGetOptions contains the optional parameters for the DomainsClient.Get method.

type DomainsClientGetOwnershipIdentifierOptions added in v0.2.0

type DomainsClientGetOwnershipIdentifierOptions struct {
}

DomainsClientGetOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.GetOwnershipIdentifier method.

type DomainsClientGetOwnershipIdentifierResponse added in v0.2.0

type DomainsClientGetOwnershipIdentifierResponse struct {
	DomainOwnershipIdentifier
}

DomainsClientGetOwnershipIdentifierResponse contains the response from method DomainsClient.GetOwnershipIdentifier.

type DomainsClientGetResponse added in v0.2.0

type DomainsClientGetResponse struct {
	Domain
}

DomainsClientGetResponse contains the response from method DomainsClient.Get.

type DomainsClientListByResourceGroupOptions added in v0.2.0

type DomainsClientListByResourceGroupOptions struct {
}

DomainsClientListByResourceGroupOptions contains the optional parameters for the DomainsClient.ListByResourceGroup method.

type DomainsClientListByResourceGroupResponse added in v0.2.0

type DomainsClientListByResourceGroupResponse struct {
	DomainCollection
}

DomainsClientListByResourceGroupResponse contains the response from method DomainsClient.ListByResourceGroup.

type DomainsClientListOptions added in v0.2.0

type DomainsClientListOptions struct {
}

DomainsClientListOptions contains the optional parameters for the DomainsClient.List method.

type DomainsClientListOwnershipIdentifiersOptions added in v0.2.0

type DomainsClientListOwnershipIdentifiersOptions struct {
}

DomainsClientListOwnershipIdentifiersOptions contains the optional parameters for the DomainsClient.ListOwnershipIdentifiers method.

type DomainsClientListOwnershipIdentifiersResponse added in v0.2.0

type DomainsClientListOwnershipIdentifiersResponse struct {
	DomainOwnershipIdentifierCollection
}

DomainsClientListOwnershipIdentifiersResponse contains the response from method DomainsClient.ListOwnershipIdentifiers.

type DomainsClientListRecommendationsOptions added in v0.2.0

type DomainsClientListRecommendationsOptions struct {
}

DomainsClientListRecommendationsOptions contains the optional parameters for the DomainsClient.ListRecommendations method.

type DomainsClientListRecommendationsResponse added in v0.2.0

type DomainsClientListRecommendationsResponse struct {
	NameIdentifierCollection
}

DomainsClientListRecommendationsResponse contains the response from method DomainsClient.ListRecommendations.

type DomainsClientListResponse added in v0.2.0

type DomainsClientListResponse struct {
	DomainCollection
}

DomainsClientListResponse contains the response from method DomainsClient.List.

type DomainsClientRenewOptions added in v0.2.0

type DomainsClientRenewOptions struct {
}

DomainsClientRenewOptions contains the optional parameters for the DomainsClient.Renew method.

type DomainsClientRenewResponse added in v0.2.0

type DomainsClientRenewResponse struct {
}

DomainsClientRenewResponse contains the response from method DomainsClient.Renew.

type DomainsClientTransferOutOptions added in v0.2.0

type DomainsClientTransferOutOptions struct {
}

DomainsClientTransferOutOptions contains the optional parameters for the DomainsClient.TransferOut method.

type DomainsClientTransferOutResponse added in v0.2.0

type DomainsClientTransferOutResponse struct {
	Domain
}

DomainsClientTransferOutResponse contains the response from method DomainsClient.TransferOut.

type DomainsClientUpdateOptions added in v0.2.0

type DomainsClientUpdateOptions struct {
}

DomainsClientUpdateOptions contains the optional parameters for the DomainsClient.Update method.

type DomainsClientUpdateOwnershipIdentifierOptions added in v0.2.0

type DomainsClientUpdateOwnershipIdentifierOptions struct {
}

DomainsClientUpdateOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.UpdateOwnershipIdentifier method.

type DomainsClientUpdateOwnershipIdentifierResponse added in v0.2.0

type DomainsClientUpdateOwnershipIdentifierResponse struct {
	DomainOwnershipIdentifier
}

DomainsClientUpdateOwnershipIdentifierResponse contains the response from method DomainsClient.UpdateOwnershipIdentifier.

type DomainsClientUpdateResponse added in v0.2.0

type DomainsClientUpdateResponse struct {
	Domain
}

DomainsClientUpdateResponse contains the response from method DomainsClient.Update.

type EnabledConfig

type EnabledConfig struct {
	// True if configuration is enabled, false if it is disabled and null if configuration is not set.
	Enabled *bool `json:"enabled,omitempty"`
}

EnabledConfig - Enabled configuration.

type EndpointDependency

type EndpointDependency struct {
	// The domain name of the dependency.
	DomainName *string `json:"domainName,omitempty"`

	// The IP Addresses and Ports used when connecting to DomainName.
	EndpointDetails []*EndpointDetail `json:"endpointDetails,omitempty"`
}

EndpointDependency - A domain name that a service is reached at, including details of the current connection status.

type EndpointDetail

type EndpointDetail struct {
	// An IP Address that Domain Name currently resolves to.
	IPAddress *string `json:"ipAddress,omitempty"`

	// Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
	IsAccessible *bool `json:"isAccessible,omitempty"`

	// The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress
	// at this Port.
	Latency *float64 `json:"latency,omitempty"`

	// The port an endpoint is connected to.
	Port *int32 `json:"port,omitempty"`
}

EndpointDetail - Current TCP connectivity information from the App Service Environment to a single endpoint.

type EnterpriseGradeCdnStatus added in v0.2.0

type EnterpriseGradeCdnStatus string

EnterpriseGradeCdnStatus - State indicating the status of the enterprise grade CDN serving traffic to the static web app.

const (
	EnterpriseGradeCdnStatusDisabled  EnterpriseGradeCdnStatus = "Disabled"
	EnterpriseGradeCdnStatusDisabling EnterpriseGradeCdnStatus = "Disabling"
	EnterpriseGradeCdnStatusEnabled   EnterpriseGradeCdnStatus = "Enabled"
	EnterpriseGradeCdnStatusEnabling  EnterpriseGradeCdnStatus = "Enabling"
)

func PossibleEnterpriseGradeCdnStatusValues added in v0.2.0

func PossibleEnterpriseGradeCdnStatusValues() []EnterpriseGradeCdnStatus

PossibleEnterpriseGradeCdnStatusValues returns the possible values for the EnterpriseGradeCdnStatus const type.

type Enum15 added in v0.2.0

type Enum15 string
const (
	Enum15All              Enum15 = "All"
	Enum15Linux            Enum15 = "Linux"
	Enum15LinuxFunctions   Enum15 = "LinuxFunctions"
	Enum15Windows          Enum15 = "Windows"
	Enum15WindowsFunctions Enum15 = "WindowsFunctions"
)

func PossibleEnum15Values added in v0.2.0

func PossibleEnum15Values() []Enum15

PossibleEnum15Values returns the possible values for the Enum15 const type.

type Enum16 added in v0.2.0

type Enum16 string
const (
	Enum16All     Enum16 = "All"
	Enum16Linux   Enum16 = "Linux"
	Enum16Windows Enum16 = "Windows"
)

func PossibleEnum16Values added in v0.2.0

func PossibleEnum16Values() []Enum16

PossibleEnum16Values returns the possible values for the Enum16 const type.

type Enum17 added in v0.2.0

type Enum17 string
const (
	Enum17All     Enum17 = "All"
	Enum17Linux   Enum17 = "Linux"
	Enum17Windows Enum17 = "Windows"
)

func PossibleEnum17Values added in v0.2.0

func PossibleEnum17Values() []Enum17

PossibleEnum17Values returns the possible values for the Enum17 const type.

type Enum18 added in v0.2.0

type Enum18 string
const (
	Enum18All     Enum18 = "All"
	Enum18Linux   Enum18 = "Linux"
	Enum18Windows Enum18 = "Windows"
)

func PossibleEnum18Values added in v0.2.0

func PossibleEnum18Values() []Enum18

PossibleEnum18Values returns the possible values for the Enum18 const type.

type Enum19 added in v0.2.0

type Enum19 string
const (
	Enum19All     Enum19 = "All"
	Enum19Linux   Enum19 = "Linux"
	Enum19Windows Enum19 = "Windows"
)

func PossibleEnum19Values added in v0.2.0

func PossibleEnum19Values() []Enum19

PossibleEnum19Values returns the possible values for the Enum19 const type.

type Enum20 added in v0.2.0

type Enum20 string
const (
	Enum20All              Enum20 = "All"
	Enum20Linux            Enum20 = "Linux"
	Enum20LinuxFunctions   Enum20 = "LinuxFunctions"
	Enum20Windows          Enum20 = "Windows"
	Enum20WindowsFunctions Enum20 = "WindowsFunctions"
)

func PossibleEnum20Values added in v0.2.0

func PossibleEnum20Values() []Enum20

PossibleEnum20Values returns the possible values for the Enum20 const type.

type Environment added in v0.2.0

type Environment struct {
	// REQUIRED; Description of the Virtual Network.
	VirtualNetwork *VirtualNetworkProfile `json:"virtualNetwork,omitempty"`

	// Custom settings for changing the behavior of the App Service Environment.
	ClusterSettings []*NameValuePair `json:"clusterSettings,omitempty"`

	// DNS suffix of the App Service Environment.
	DNSSuffix *string `json:"dnsSuffix,omitempty"`

	// Dedicated Host Count
	DedicatedHostCount *int32 `json:"dedicatedHostCount,omitempty"`

	// Scale factor for front-ends.
	FrontEndScaleFactor *int32 `json:"frontEndScaleFactor,omitempty"`

	// Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.
	InternalLoadBalancingMode *LoadBalancingMode `json:"internalLoadBalancingMode,omitempty"`

	// Number of IP SSL addresses reserved for the App Service Environment.
	IpsslAddressCount *int32 `json:"ipsslAddressCount,omitempty"`

	// Front-end VM size, e.g. "Medium", "Large".
	MultiSize *string `json:"multiSize,omitempty"`

	// User added ip ranges to whitelist on ASE db
	UserWhitelistedIPRanges []*string `json:"userWhitelistedIpRanges,omitempty"`

	// Whether or not this App Service Environment is zone-redundant.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`

	// READ-ONLY; Flag that displays whether an ASE has linux workers or not
	HasLinuxWorkers *bool `json:"hasLinuxWorkers,omitempty" azure:"ro"`

	// READ-ONLY; Maximum number of VMs in the App Service Environment.
	MaximumNumberOfMachines *int32 `json:"maximumNumberOfMachines,omitempty" azure:"ro"`

	// READ-ONLY; Number of front-end instances.
	MultiRoleCount *int32 `json:"multiRoleCount,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state of the App Service Environment.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Current status of the App Service Environment.
	Status *HostingEnvironmentStatus `json:"status,omitempty" azure:"ro"`

	// READ-ONLY; true if the App Service Environment is suspended; otherwise, false. 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" azure:"ro"`
}

Environment - Description of an App Service Environment.

func (Environment) MarshalJSON added in v0.2.0

func (e Environment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Environment.

type EnvironmentCollection added in v0.2.0

type EnvironmentCollection struct {
	// REQUIRED; Collection of resources.
	Value []*EnvironmentResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

EnvironmentCollection - Collection of App Service Environments.

type EnvironmentPatchResource added in v0.2.0

type EnvironmentPatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *Environment `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

EnvironmentPatchResource - ARM resource for a app service environment.

func (EnvironmentPatchResource) MarshalJSON added in v0.2.0

func (e EnvironmentPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnvironmentPatchResource.

type EnvironmentResource added in v0.2.0

type EnvironmentResource struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *Environment `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

EnvironmentResource - App Service Environment ARM resource.

func (EnvironmentResource) MarshalJSON added in v0.2.0

func (e EnvironmentResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnvironmentResource.

type EnvironmentVar added in v0.2.0

type EnvironmentVar struct {
	// Environment variable name.
	Name *string `json:"name,omitempty"`

	// Name of the Container App secret from which to pull the environment variable value.
	SecretRef *string `json:"secretRef,omitempty"`

	// Non-secret environment variable value.
	Value *string `json:"value,omitempty"`
}

EnvironmentVar - Container App container environment variable.

type EnvironmentsClient added in v0.2.0

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

EnvironmentsClient contains the methods for the AppServiceEnvironments group. Don't use this type directly, use NewEnvironmentsClient() instead.

func NewEnvironmentsClient added in v0.2.0

func NewEnvironmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*EnvironmentsClient, error)

NewEnvironmentsClient creates a new instance of EnvironmentsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*EnvironmentsClient) BeginApproveOrRejectPrivateEndpointConnection added in v0.2.0

func (client *EnvironmentsClient) BeginApproveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*runtime.Poller[EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse], error)

BeginApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.BeginApproveOrRejectPrivateEndpointConnection method.

func (*EnvironmentsClient) BeginChangeVnet added in v0.2.0

BeginChangeVnet - Move an App Service Environment to a different VNET. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. vnetInfo - Details for the new virtual network. options - EnvironmentsClientBeginChangeVnetOptions contains the optional parameters for the EnvironmentsClient.BeginChangeVnet method.

func (*EnvironmentsClient) BeginCreateOrUpdate added in v0.2.0

func (client *EnvironmentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope EnvironmentResource, options *EnvironmentsClientBeginCreateOrUpdateOptions) (*runtime.Poller[EnvironmentsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Create or update an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdate method.

func (*EnvironmentsClient) BeginCreateOrUpdateMultiRolePool added in v0.2.0

func (client *EnvironmentsClient) BeginCreateOrUpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource, options *EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions) (*runtime.Poller[EnvironmentsClientCreateOrUpdateMultiRolePoolResponse], error)

BeginCreateOrUpdateMultiRolePool - Create or update a multi-role pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdateMultiRolePool method.

func (*EnvironmentsClient) BeginCreateOrUpdateWorkerPool added in v0.2.0

func (client *EnvironmentsClient) BeginCreateOrUpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource, options *EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions) (*runtime.Poller[EnvironmentsClientCreateOrUpdateWorkerPoolResponse], error)

BeginCreateOrUpdateWorkerPool - Create or update a worker pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdateWorkerPool method.

func (*EnvironmentsClient) BeginDelete added in v0.2.0

BeginDelete - Delete an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientBeginDeleteOptions contains the optional parameters for the EnvironmentsClient.BeginDelete method.

func (*EnvironmentsClient) BeginDeletePrivateEndpointConnection added in v0.2.0

func (client *EnvironmentsClient) BeginDeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions) (*runtime.Poller[EnvironmentsClientDeletePrivateEndpointConnectionResponse], error)

BeginDeletePrivateEndpointConnection - Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.BeginDeletePrivateEndpointConnection method.

func (*EnvironmentsClient) BeginResume added in v0.2.0

BeginResume - Resume an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientBeginResumeOptions contains the optional parameters for the EnvironmentsClient.BeginResume method.

func (*EnvironmentsClient) BeginSuspend added in v0.2.0

BeginSuspend - Suspend an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientBeginSuspendOptions contains the optional parameters for the EnvironmentsClient.BeginSuspend method.

func (*EnvironmentsClient) Get added in v0.2.0

func (client *EnvironmentsClient) Get(ctx context.Context, resourceGroupName string, name string, options *EnvironmentsClientGetOptions) (EnvironmentsClientGetResponse, error)

Get - Get the properties of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetOptions contains the optional parameters for the EnvironmentsClient.Get method.

func (*EnvironmentsClient) GetAseV3NetworkingConfiguration added in v0.2.0

GetAseV3NetworkingConfiguration - Get networking configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetAseV3NetworkingConfigurationOptions contains the optional parameters for the EnvironmentsClient.GetAseV3NetworkingConfiguration method.

func (*EnvironmentsClient) GetDiagnosticsItem added in v0.2.0

func (client *EnvironmentsClient) GetDiagnosticsItem(ctx context.Context, resourceGroupName string, name string, diagnosticsName string, options *EnvironmentsClientGetDiagnosticsItemOptions) (EnvironmentsClientGetDiagnosticsItemResponse, error)

GetDiagnosticsItem - Get a diagnostics item for an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. diagnosticsName - Name of the diagnostics item. options - EnvironmentsClientGetDiagnosticsItemOptions contains the optional parameters for the EnvironmentsClient.GetDiagnosticsItem method.

func (*EnvironmentsClient) GetMultiRolePool added in v0.2.0

GetMultiRolePool - Get properties of a multi-role pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.GetMultiRolePool method.

func (*EnvironmentsClient) GetPrivateEndpointConnection added in v0.2.0

func (client *EnvironmentsClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *EnvironmentsClientGetPrivateEndpointConnectionOptions) (EnvironmentsClientGetPrivateEndpointConnectionResponse, error)

GetPrivateEndpointConnection - Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. privateEndpointConnectionName - Name of the private endpoint connection. options - EnvironmentsClientGetPrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.GetPrivateEndpointConnection method.

func (*EnvironmentsClient) GetPrivateLinkResources added in v0.2.0

GetPrivateLinkResources - Gets the private link resources If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetPrivateLinkResourcesOptions contains the optional parameters for the EnvironmentsClient.GetPrivateLinkResources method.

func (*EnvironmentsClient) GetVipInfo added in v0.2.0

GetVipInfo - Get IP addresses assigned to an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetVipInfoOptions contains the optional parameters for the EnvironmentsClient.GetVipInfo method.

func (*EnvironmentsClient) GetWorkerPool added in v0.2.0

func (client *EnvironmentsClient) GetWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientGetWorkerPoolOptions) (EnvironmentsClientGetWorkerPoolResponse, error)

GetWorkerPool - Get properties of a worker pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. workerPoolName - Name of the worker pool. options - EnvironmentsClientGetWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.GetWorkerPool method.

func (*EnvironmentsClient) ListDiagnostics added in v0.2.0

ListDiagnostics - Get diagnostic information for an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListDiagnosticsOptions contains the optional parameters for the EnvironmentsClient.ListDiagnostics method.

func (*EnvironmentsClient) ListOperations added in v0.2.0

ListOperations - List all currently running operations on the App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListOperationsOptions contains the optional parameters for the EnvironmentsClient.ListOperations method.

func (*EnvironmentsClient) NewGetInboundNetworkDependenciesEndpointsPager added in v0.4.0

NewGetInboundNetworkDependenciesEndpointsPager - Get the network endpoints of all inbound dependencies of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions contains the optional parameters for the EnvironmentsClient.GetInboundNetworkDependenciesEndpoints method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetInboundNetworkDependenciesEndpoints.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewEnvironmentsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetInboundNetworkDependenciesEndpointsPager("Sample-WestUSResourceGroup",
		"SampleAse",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*EnvironmentsClient) NewGetOutboundNetworkDependenciesEndpointsPager added in v0.4.0

NewGetOutboundNetworkDependenciesEndpointsPager - Get the network endpoints of all outbound dependencies of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions contains the optional parameters for the EnvironmentsClient.GetOutboundNetworkDependenciesEndpoints method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetOutboundNetworkDependenciesEndpoints.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewEnvironmentsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetOutboundNetworkDependenciesEndpointsPager("Sample-WestUSResourceGroup",
		"SampleAse",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*EnvironmentsClient) NewGetPrivateEndpointConnectionListPager added in v0.4.0

NewGetPrivateEndpointConnectionListPager - Gets the list of private endpoints associated with a hosting environment If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the EnvironmentsClient.GetPrivateEndpointConnectionList method.

func (*EnvironmentsClient) NewListAppServicePlansPager added in v0.4.0

func (client *EnvironmentsClient) NewListAppServicePlansPager(resourceGroupName string, name string, options *EnvironmentsClientListAppServicePlansOptions) *runtime.Pager[EnvironmentsClientListAppServicePlansResponse]

NewListAppServicePlansPager - Get all App Service plans in an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListAppServicePlansOptions contains the optional parameters for the EnvironmentsClient.ListAppServicePlans method.

func (*EnvironmentsClient) NewListByResourceGroupPager added in v0.4.0

NewListByResourceGroupPager - Get all App Service Environments in a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - EnvironmentsClientListByResourceGroupOptions contains the optional parameters for the EnvironmentsClient.ListByResourceGroup method.

func (*EnvironmentsClient) NewListCapacitiesPager added in v0.4.0

func (client *EnvironmentsClient) NewListCapacitiesPager(resourceGroupName string, name string, options *EnvironmentsClientListCapacitiesOptions) *runtime.Pager[EnvironmentsClientListCapacitiesResponse]

NewListCapacitiesPager - Get the used, available, and total worker capacity an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListCapacitiesOptions contains the optional parameters for the EnvironmentsClient.ListCapacities method.

func (*EnvironmentsClient) NewListMultiRoleMetricDefinitionsPager added in v0.4.0

NewListMultiRoleMetricDefinitionsPager - Get metric definitions for a multi-role pool of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListMultiRoleMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRoleMetricDefinitions method.

func (*EnvironmentsClient) NewListMultiRolePoolInstanceMetricDefinitionsPager added in v0.4.0

func (client *EnvironmentsClient) NewListMultiRolePoolInstanceMetricDefinitionsPager(resourceGroupName string, name string, instance string, options *EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions) *runtime.Pager[EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse]

NewListMultiRolePoolInstanceMetricDefinitionsPager - Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRolePoolInstanceMetricDefinitions method.

func (*EnvironmentsClient) NewListMultiRolePoolSKUsPager added in v0.4.0

func (client *EnvironmentsClient) NewListMultiRolePoolSKUsPager(resourceGroupName string, name string, options *EnvironmentsClientListMultiRolePoolSKUsOptions) *runtime.Pager[EnvironmentsClientListMultiRolePoolSKUsResponse]

NewListMultiRolePoolSKUsPager - Get available SKUs for scaling a multi-role pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListMultiRolePoolSKUsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRolePoolSKUs method.

func (*EnvironmentsClient) NewListMultiRolePoolsPager added in v0.4.0

func (client *EnvironmentsClient) NewListMultiRolePoolsPager(resourceGroupName string, name string, options *EnvironmentsClientListMultiRolePoolsOptions) *runtime.Pager[EnvironmentsClientListMultiRolePoolsResponse]

NewListMultiRolePoolsPager - Get all multi-role pools. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListMultiRolePoolsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRolePools method.

func (*EnvironmentsClient) NewListMultiRoleUsagesPager added in v0.4.0

func (client *EnvironmentsClient) NewListMultiRoleUsagesPager(resourceGroupName string, name string, options *EnvironmentsClientListMultiRoleUsagesOptions) *runtime.Pager[EnvironmentsClientListMultiRoleUsagesResponse]

NewListMultiRoleUsagesPager - Get usage metrics for a multi-role pool of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListMultiRoleUsagesOptions contains the optional parameters for the EnvironmentsClient.ListMultiRoleUsages method.

func (*EnvironmentsClient) NewListPager added in v0.4.0

NewListPager - Get all App Service Environments for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - EnvironmentsClientListOptions contains the optional parameters for the EnvironmentsClient.List method.

func (*EnvironmentsClient) NewListUsagesPager added in v0.4.0

func (client *EnvironmentsClient) NewListUsagesPager(resourceGroupName string, name string, options *EnvironmentsClientListUsagesOptions) *runtime.Pager[EnvironmentsClientListUsagesResponse]

NewListUsagesPager - Get global usage metrics of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListUsagesOptions contains the optional parameters for the EnvironmentsClient.ListUsages method.

func (*EnvironmentsClient) NewListWebAppsPager added in v0.4.0

func (client *EnvironmentsClient) NewListWebAppsPager(resourceGroupName string, name string, options *EnvironmentsClientListWebAppsOptions) *runtime.Pager[EnvironmentsClientListWebAppsResponse]

NewListWebAppsPager - Get all apps in an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListWebAppsOptions contains the optional parameters for the EnvironmentsClient.ListWebApps method.

func (*EnvironmentsClient) NewListWebWorkerMetricDefinitionsPager added in v0.4.0

func (client *EnvironmentsClient) NewListWebWorkerMetricDefinitionsPager(resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientListWebWorkerMetricDefinitionsOptions) *runtime.Pager[EnvironmentsClientListWebWorkerMetricDefinitionsResponse]

NewListWebWorkerMetricDefinitionsPager - Get metric definitions for a worker pool of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. workerPoolName - Name of the worker pool. options - EnvironmentsClientListWebWorkerMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListWebWorkerMetricDefinitions method.

func (*EnvironmentsClient) NewListWebWorkerUsagesPager added in v0.4.0

func (client *EnvironmentsClient) NewListWebWorkerUsagesPager(resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientListWebWorkerUsagesOptions) *runtime.Pager[EnvironmentsClientListWebWorkerUsagesResponse]

NewListWebWorkerUsagesPager - Get usage metrics for a worker pool of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. workerPoolName - Name of the worker pool. options - EnvironmentsClientListWebWorkerUsagesOptions contains the optional parameters for the EnvironmentsClient.ListWebWorkerUsages method.

func (*EnvironmentsClient) NewListWorkerPoolInstanceMetricDefinitionsPager added in v0.4.0

func (client *EnvironmentsClient) NewListWorkerPoolInstanceMetricDefinitionsPager(resourceGroupName string, name string, workerPoolName string, instance string, options *EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions) *runtime.Pager[EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse]

NewListWorkerPoolInstanceMetricDefinitionsPager - Get metric definitions for a specific instance of a worker pool of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListWorkerPoolInstanceMetricDefinitions method.

func (*EnvironmentsClient) NewListWorkerPoolSKUsPager added in v0.4.0

func (client *EnvironmentsClient) NewListWorkerPoolSKUsPager(resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientListWorkerPoolSKUsOptions) *runtime.Pager[EnvironmentsClientListWorkerPoolSKUsResponse]

NewListWorkerPoolSKUsPager - Get available SKUs for scaling a worker pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. workerPoolName - Name of the worker pool. options - EnvironmentsClientListWorkerPoolSKUsOptions contains the optional parameters for the EnvironmentsClient.ListWorkerPoolSKUs method.

func (*EnvironmentsClient) NewListWorkerPoolsPager added in v0.4.0

func (client *EnvironmentsClient) NewListWorkerPoolsPager(resourceGroupName string, name string, options *EnvironmentsClientListWorkerPoolsOptions) *runtime.Pager[EnvironmentsClientListWorkerPoolsResponse]

NewListWorkerPoolsPager - Get all worker pools of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientListWorkerPoolsOptions contains the optional parameters for the EnvironmentsClient.ListWorkerPools method.

func (*EnvironmentsClient) Reboot added in v0.2.0

Reboot - Reboot all machines in an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientRebootOptions contains the optional parameters for the EnvironmentsClient.Reboot method.

func (*EnvironmentsClient) Update added in v0.2.0

func (client *EnvironmentsClient) Update(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope EnvironmentPatchResource, options *EnvironmentsClientUpdateOptions) (EnvironmentsClientUpdateResponse, error)

Update - Create or update an App Service Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientUpdateOptions contains the optional parameters for the EnvironmentsClient.Update method.

func (*EnvironmentsClient) UpdateAseNetworkingConfiguration added in v0.2.0

func (client *EnvironmentsClient) UpdateAseNetworkingConfiguration(ctx context.Context, resourceGroupName string, name string, aseNetworkingConfiguration AseV3NetworkingConfiguration, options *EnvironmentsClientUpdateAseNetworkingConfigurationOptions) (EnvironmentsClientUpdateAseNetworkingConfigurationResponse, error)

UpdateAseNetworkingConfiguration - Update networking configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service Environment. options - EnvironmentsClientUpdateAseNetworkingConfigurationOptions contains the optional parameters for the EnvironmentsClient.UpdateAseNetworkingConfiguration method.

func (*EnvironmentsClient) UpdateMultiRolePool added in v0.2.0

func (client *EnvironmentsClient) UpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource, options *EnvironmentsClientUpdateMultiRolePoolOptions) (EnvironmentsClientUpdateMultiRolePoolResponse, error)

UpdateMultiRolePool - Create or update a multi-role pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientUpdateMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.UpdateMultiRolePool method.

func (*EnvironmentsClient) UpdateWorkerPool added in v0.2.0

func (client *EnvironmentsClient) UpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource, options *EnvironmentsClientUpdateWorkerPoolOptions) (EnvironmentsClientUpdateWorkerPoolResponse, error)

UpdateWorkerPool - Create or update a worker pool. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - EnvironmentsClientUpdateWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.UpdateWorkerPool method.

type EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse added in v0.2.0

type EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse contains the response from method EnvironmentsClient.ApproveOrRejectPrivateEndpointConnection.

type EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions added in v0.2.0

type EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.BeginApproveOrRejectPrivateEndpointConnection method.

type EnvironmentsClientBeginChangeVnetOptions added in v0.2.0

type EnvironmentsClientBeginChangeVnetOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginChangeVnetOptions contains the optional parameters for the EnvironmentsClient.BeginChangeVnet method.

type EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions added in v0.2.0

type EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdateMultiRolePool method.

type EnvironmentsClientBeginCreateOrUpdateOptions added in v0.2.0

type EnvironmentsClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdate method.

type EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions added in v0.2.0

type EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdateWorkerPool method.

type EnvironmentsClientBeginDeleteOptions added in v0.2.0

type EnvironmentsClientBeginDeleteOptions struct {
	// Specify true to force the deletion even if the App Service Environment contains resources. The default is false.
	ForceDelete *bool
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginDeleteOptions contains the optional parameters for the EnvironmentsClient.BeginDelete method.

type EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions added in v0.2.0

type EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.BeginDeletePrivateEndpointConnection method.

type EnvironmentsClientBeginResumeOptions added in v0.2.0

type EnvironmentsClientBeginResumeOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginResumeOptions contains the optional parameters for the EnvironmentsClient.BeginResume method.

type EnvironmentsClientBeginSuspendOptions added in v0.2.0

type EnvironmentsClientBeginSuspendOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

EnvironmentsClientBeginSuspendOptions contains the optional parameters for the EnvironmentsClient.BeginSuspend method.

type EnvironmentsClientChangeVnetResponse added in v0.2.0

type EnvironmentsClientChangeVnetResponse struct {
	WebAppCollection
}

EnvironmentsClientChangeVnetResponse contains the response from method EnvironmentsClient.ChangeVnet.

type EnvironmentsClientCreateOrUpdateMultiRolePoolResponse added in v0.2.0

type EnvironmentsClientCreateOrUpdateMultiRolePoolResponse struct {
	WorkerPoolResource
}

EnvironmentsClientCreateOrUpdateMultiRolePoolResponse contains the response from method EnvironmentsClient.CreateOrUpdateMultiRolePool.

type EnvironmentsClientCreateOrUpdateResponse added in v0.2.0

type EnvironmentsClientCreateOrUpdateResponse struct {
	EnvironmentResource
}

EnvironmentsClientCreateOrUpdateResponse contains the response from method EnvironmentsClient.CreateOrUpdate.

type EnvironmentsClientCreateOrUpdateWorkerPoolResponse added in v0.2.0

type EnvironmentsClientCreateOrUpdateWorkerPoolResponse struct {
	WorkerPoolResource
}

EnvironmentsClientCreateOrUpdateWorkerPoolResponse contains the response from method EnvironmentsClient.CreateOrUpdateWorkerPool.

type EnvironmentsClientDeletePrivateEndpointConnectionResponse added in v0.2.0

type EnvironmentsClientDeletePrivateEndpointConnectionResponse struct {
	// Anything
	Interface interface{}
}

EnvironmentsClientDeletePrivateEndpointConnectionResponse contains the response from method EnvironmentsClient.DeletePrivateEndpointConnection.

func (*EnvironmentsClientDeletePrivateEndpointConnectionResponse) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentsClientDeletePrivateEndpointConnectionResponse.

type EnvironmentsClientDeleteResponse added in v0.2.0

type EnvironmentsClientDeleteResponse struct {
}

EnvironmentsClientDeleteResponse contains the response from method EnvironmentsClient.Delete.

type EnvironmentsClientGetAseV3NetworkingConfigurationOptions added in v0.2.0

type EnvironmentsClientGetAseV3NetworkingConfigurationOptions struct {
}

EnvironmentsClientGetAseV3NetworkingConfigurationOptions contains the optional parameters for the EnvironmentsClient.GetAseV3NetworkingConfiguration method.

type EnvironmentsClientGetAseV3NetworkingConfigurationResponse added in v0.2.0

type EnvironmentsClientGetAseV3NetworkingConfigurationResponse struct {
	AseV3NetworkingConfiguration
}

EnvironmentsClientGetAseV3NetworkingConfigurationResponse contains the response from method EnvironmentsClient.GetAseV3NetworkingConfiguration.

type EnvironmentsClientGetDiagnosticsItemOptions added in v0.2.0

type EnvironmentsClientGetDiagnosticsItemOptions struct {
}

EnvironmentsClientGetDiagnosticsItemOptions contains the optional parameters for the EnvironmentsClient.GetDiagnosticsItem method.

type EnvironmentsClientGetDiagnosticsItemResponse added in v0.2.0

type EnvironmentsClientGetDiagnosticsItemResponse struct {
	HostingEnvironmentDiagnostics
}

EnvironmentsClientGetDiagnosticsItemResponse contains the response from method EnvironmentsClient.GetDiagnosticsItem.

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions added in v0.2.0

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions struct {
}

EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions contains the optional parameters for the EnvironmentsClient.GetInboundNetworkDependenciesEndpoints method.

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsResponse added in v0.2.0

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsResponse struct {
	InboundEnvironmentEndpointCollection
}

EnvironmentsClientGetInboundNetworkDependenciesEndpointsResponse contains the response from method EnvironmentsClient.GetInboundNetworkDependenciesEndpoints.

type EnvironmentsClientGetMultiRolePoolOptions added in v0.2.0

type EnvironmentsClientGetMultiRolePoolOptions struct {
}

EnvironmentsClientGetMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.GetMultiRolePool method.

type EnvironmentsClientGetMultiRolePoolResponse added in v0.2.0

type EnvironmentsClientGetMultiRolePoolResponse struct {
	WorkerPoolResource
}

EnvironmentsClientGetMultiRolePoolResponse contains the response from method EnvironmentsClient.GetMultiRolePool.

type EnvironmentsClientGetOptions added in v0.2.0

type EnvironmentsClientGetOptions struct {
}

EnvironmentsClientGetOptions contains the optional parameters for the EnvironmentsClient.Get method.

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions added in v0.2.0

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions struct {
}

EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions contains the optional parameters for the EnvironmentsClient.GetOutboundNetworkDependenciesEndpoints method.

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsResponse added in v0.2.0

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsResponse struct {
	OutboundEnvironmentEndpointCollection
}

EnvironmentsClientGetOutboundNetworkDependenciesEndpointsResponse contains the response from method EnvironmentsClient.GetOutboundNetworkDependenciesEndpoints.

type EnvironmentsClientGetPrivateEndpointConnectionListOptions added in v0.2.0

type EnvironmentsClientGetPrivateEndpointConnectionListOptions struct {
}

EnvironmentsClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the EnvironmentsClient.GetPrivateEndpointConnectionList method.

type EnvironmentsClientGetPrivateEndpointConnectionListResponse added in v0.2.0

type EnvironmentsClientGetPrivateEndpointConnectionListResponse struct {
	PrivateEndpointConnectionCollection
}

EnvironmentsClientGetPrivateEndpointConnectionListResponse contains the response from method EnvironmentsClient.GetPrivateEndpointConnectionList.

type EnvironmentsClientGetPrivateEndpointConnectionOptions added in v0.2.0

type EnvironmentsClientGetPrivateEndpointConnectionOptions struct {
}

EnvironmentsClientGetPrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.GetPrivateEndpointConnection method.

type EnvironmentsClientGetPrivateEndpointConnectionResponse added in v0.2.0

type EnvironmentsClientGetPrivateEndpointConnectionResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

EnvironmentsClientGetPrivateEndpointConnectionResponse contains the response from method EnvironmentsClient.GetPrivateEndpointConnection.

type EnvironmentsClientGetPrivateLinkResourcesOptions added in v0.2.0

type EnvironmentsClientGetPrivateLinkResourcesOptions struct {
}

EnvironmentsClientGetPrivateLinkResourcesOptions contains the optional parameters for the EnvironmentsClient.GetPrivateLinkResources method.

type EnvironmentsClientGetPrivateLinkResourcesResponse added in v0.2.0

type EnvironmentsClientGetPrivateLinkResourcesResponse struct {
	PrivateLinkResourcesWrapper
}

EnvironmentsClientGetPrivateLinkResourcesResponse contains the response from method EnvironmentsClient.GetPrivateLinkResources.

type EnvironmentsClientGetResponse added in v0.2.0

type EnvironmentsClientGetResponse struct {
	EnvironmentResource
}

EnvironmentsClientGetResponse contains the response from method EnvironmentsClient.Get.

type EnvironmentsClientGetVipInfoOptions added in v0.2.0

type EnvironmentsClientGetVipInfoOptions struct {
}

EnvironmentsClientGetVipInfoOptions contains the optional parameters for the EnvironmentsClient.GetVipInfo method.

type EnvironmentsClientGetVipInfoResponse added in v0.2.0

type EnvironmentsClientGetVipInfoResponse struct {
	AddressResponse
}

EnvironmentsClientGetVipInfoResponse contains the response from method EnvironmentsClient.GetVipInfo.

type EnvironmentsClientGetWorkerPoolOptions added in v0.2.0

type EnvironmentsClientGetWorkerPoolOptions struct {
}

EnvironmentsClientGetWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.GetWorkerPool method.

type EnvironmentsClientGetWorkerPoolResponse added in v0.2.0

type EnvironmentsClientGetWorkerPoolResponse struct {
	WorkerPoolResource
}

EnvironmentsClientGetWorkerPoolResponse contains the response from method EnvironmentsClient.GetWorkerPool.

type EnvironmentsClientListAppServicePlansOptions added in v0.2.0

type EnvironmentsClientListAppServicePlansOptions struct {
}

EnvironmentsClientListAppServicePlansOptions contains the optional parameters for the EnvironmentsClient.ListAppServicePlans method.

type EnvironmentsClientListAppServicePlansResponse added in v0.2.0

type EnvironmentsClientListAppServicePlansResponse struct {
	PlanCollection
}

EnvironmentsClientListAppServicePlansResponse contains the response from method EnvironmentsClient.ListAppServicePlans.

type EnvironmentsClientListByResourceGroupOptions added in v0.2.0

type EnvironmentsClientListByResourceGroupOptions struct {
}

EnvironmentsClientListByResourceGroupOptions contains the optional parameters for the EnvironmentsClient.ListByResourceGroup method.

type EnvironmentsClientListByResourceGroupResponse added in v0.2.0

type EnvironmentsClientListByResourceGroupResponse struct {
	EnvironmentCollection
}

EnvironmentsClientListByResourceGroupResponse contains the response from method EnvironmentsClient.ListByResourceGroup.

type EnvironmentsClientListCapacitiesOptions added in v0.2.0

type EnvironmentsClientListCapacitiesOptions struct {
}

EnvironmentsClientListCapacitiesOptions contains the optional parameters for the EnvironmentsClient.ListCapacities method.

type EnvironmentsClientListCapacitiesResponse added in v0.2.0

type EnvironmentsClientListCapacitiesResponse struct {
	StampCapacityCollection
}

EnvironmentsClientListCapacitiesResponse contains the response from method EnvironmentsClient.ListCapacities.

type EnvironmentsClientListDiagnosticsOptions added in v0.2.0

type EnvironmentsClientListDiagnosticsOptions struct {
}

EnvironmentsClientListDiagnosticsOptions contains the optional parameters for the EnvironmentsClient.ListDiagnostics method.

type EnvironmentsClientListDiagnosticsResponse added in v0.2.0

type EnvironmentsClientListDiagnosticsResponse struct {
	// Array of HostingEnvironmentDiagnostics
	HostingEnvironmentDiagnosticsArray []*HostingEnvironmentDiagnostics
}

EnvironmentsClientListDiagnosticsResponse contains the response from method EnvironmentsClient.ListDiagnostics.

type EnvironmentsClientListMultiRoleMetricDefinitionsOptions added in v0.2.0

type EnvironmentsClientListMultiRoleMetricDefinitionsOptions struct {
}

EnvironmentsClientListMultiRoleMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRoleMetricDefinitions method.

type EnvironmentsClientListMultiRoleMetricDefinitionsResponse added in v0.2.0

type EnvironmentsClientListMultiRoleMetricDefinitionsResponse struct {
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListMultiRoleMetricDefinitionsResponse contains the response from method EnvironmentsClient.ListMultiRoleMetricDefinitions.

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions added in v0.2.0

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions struct {
}

EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRolePoolInstanceMetricDefinitions method.

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse added in v0.2.0

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse struct {
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse contains the response from method EnvironmentsClient.ListMultiRolePoolInstanceMetricDefinitions.

type EnvironmentsClientListMultiRolePoolSKUsOptions added in v0.2.0

type EnvironmentsClientListMultiRolePoolSKUsOptions struct {
}

EnvironmentsClientListMultiRolePoolSKUsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRolePoolSKUs method.

type EnvironmentsClientListMultiRolePoolSKUsResponse added in v0.2.0

type EnvironmentsClientListMultiRolePoolSKUsResponse struct {
	SKUInfoCollection
}

EnvironmentsClientListMultiRolePoolSKUsResponse contains the response from method EnvironmentsClient.ListMultiRolePoolSKUs.

type EnvironmentsClientListMultiRolePoolsOptions added in v0.2.0

type EnvironmentsClientListMultiRolePoolsOptions struct {
}

EnvironmentsClientListMultiRolePoolsOptions contains the optional parameters for the EnvironmentsClient.ListMultiRolePools method.

type EnvironmentsClientListMultiRolePoolsResponse added in v0.2.0

type EnvironmentsClientListMultiRolePoolsResponse struct {
	WorkerPoolCollection
}

EnvironmentsClientListMultiRolePoolsResponse contains the response from method EnvironmentsClient.ListMultiRolePools.

type EnvironmentsClientListMultiRoleUsagesOptions added in v0.2.0

type EnvironmentsClientListMultiRoleUsagesOptions struct {
}

EnvironmentsClientListMultiRoleUsagesOptions contains the optional parameters for the EnvironmentsClient.ListMultiRoleUsages method.

type EnvironmentsClientListMultiRoleUsagesResponse added in v0.2.0

type EnvironmentsClientListMultiRoleUsagesResponse struct {
	UsageCollection
}

EnvironmentsClientListMultiRoleUsagesResponse contains the response from method EnvironmentsClient.ListMultiRoleUsages.

type EnvironmentsClientListOperationsOptions added in v0.2.0

type EnvironmentsClientListOperationsOptions struct {
}

EnvironmentsClientListOperationsOptions contains the optional parameters for the EnvironmentsClient.ListOperations method.

type EnvironmentsClientListOperationsResponse added in v0.2.0

type EnvironmentsClientListOperationsResponse struct {
	// Array of Operation
	OperationArray []*Operation
}

EnvironmentsClientListOperationsResponse contains the response from method EnvironmentsClient.ListOperations.

type EnvironmentsClientListOptions added in v0.2.0

type EnvironmentsClientListOptions struct {
}

EnvironmentsClientListOptions contains the optional parameters for the EnvironmentsClient.List method.

type EnvironmentsClientListResponse added in v0.2.0

type EnvironmentsClientListResponse struct {
	EnvironmentCollection
}

EnvironmentsClientListResponse contains the response from method EnvironmentsClient.List.

type EnvironmentsClientListUsagesOptions added in v0.2.0

type EnvironmentsClientListUsagesOptions struct {
	// 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]'.
	Filter *string
}

EnvironmentsClientListUsagesOptions contains the optional parameters for the EnvironmentsClient.ListUsages method.

type EnvironmentsClientListUsagesResponse added in v0.2.0

type EnvironmentsClientListUsagesResponse struct {
	CsmUsageQuotaCollection
}

EnvironmentsClientListUsagesResponse contains the response from method EnvironmentsClient.ListUsages.

type EnvironmentsClientListWebAppsOptions added in v0.2.0

type EnvironmentsClientListWebAppsOptions struct {
	// Comma separated list of app properties to include.
	PropertiesToInclude *string
}

EnvironmentsClientListWebAppsOptions contains the optional parameters for the EnvironmentsClient.ListWebApps method.

type EnvironmentsClientListWebAppsResponse added in v0.2.0

type EnvironmentsClientListWebAppsResponse struct {
	WebAppCollection
}

EnvironmentsClientListWebAppsResponse contains the response from method EnvironmentsClient.ListWebApps.

type EnvironmentsClientListWebWorkerMetricDefinitionsOptions added in v0.2.0

type EnvironmentsClientListWebWorkerMetricDefinitionsOptions struct {
}

EnvironmentsClientListWebWorkerMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListWebWorkerMetricDefinitions method.

type EnvironmentsClientListWebWorkerMetricDefinitionsResponse added in v0.2.0

type EnvironmentsClientListWebWorkerMetricDefinitionsResponse struct {
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListWebWorkerMetricDefinitionsResponse contains the response from method EnvironmentsClient.ListWebWorkerMetricDefinitions.

type EnvironmentsClientListWebWorkerUsagesOptions added in v0.2.0

type EnvironmentsClientListWebWorkerUsagesOptions struct {
}

EnvironmentsClientListWebWorkerUsagesOptions contains the optional parameters for the EnvironmentsClient.ListWebWorkerUsages method.

type EnvironmentsClientListWebWorkerUsagesResponse added in v0.2.0

type EnvironmentsClientListWebWorkerUsagesResponse struct {
	UsageCollection
}

EnvironmentsClientListWebWorkerUsagesResponse contains the response from method EnvironmentsClient.ListWebWorkerUsages.

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions added in v0.2.0

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions struct {
}

EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.ListWorkerPoolInstanceMetricDefinitions method.

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse added in v0.2.0

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse struct {
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse contains the response from method EnvironmentsClient.ListWorkerPoolInstanceMetricDefinitions.

type EnvironmentsClientListWorkerPoolSKUsOptions added in v0.2.0

type EnvironmentsClientListWorkerPoolSKUsOptions struct {
}

EnvironmentsClientListWorkerPoolSKUsOptions contains the optional parameters for the EnvironmentsClient.ListWorkerPoolSKUs method.

type EnvironmentsClientListWorkerPoolSKUsResponse added in v0.2.0

type EnvironmentsClientListWorkerPoolSKUsResponse struct {
	SKUInfoCollection
}

EnvironmentsClientListWorkerPoolSKUsResponse contains the response from method EnvironmentsClient.ListWorkerPoolSKUs.

type EnvironmentsClientListWorkerPoolsOptions added in v0.2.0

type EnvironmentsClientListWorkerPoolsOptions struct {
}

EnvironmentsClientListWorkerPoolsOptions contains the optional parameters for the EnvironmentsClient.ListWorkerPools method.

type EnvironmentsClientListWorkerPoolsResponse added in v0.2.0

type EnvironmentsClientListWorkerPoolsResponse struct {
	WorkerPoolCollection
}

EnvironmentsClientListWorkerPoolsResponse contains the response from method EnvironmentsClient.ListWorkerPools.

type EnvironmentsClientRebootOptions added in v0.2.0

type EnvironmentsClientRebootOptions struct {
}

EnvironmentsClientRebootOptions contains the optional parameters for the EnvironmentsClient.Reboot method.

type EnvironmentsClientRebootResponse added in v0.2.0

type EnvironmentsClientRebootResponse struct {
}

EnvironmentsClientRebootResponse contains the response from method EnvironmentsClient.Reboot.

type EnvironmentsClientResumeResponse added in v0.2.0

type EnvironmentsClientResumeResponse struct {
	WebAppCollection
}

EnvironmentsClientResumeResponse contains the response from method EnvironmentsClient.Resume.

type EnvironmentsClientSuspendResponse added in v0.2.0

type EnvironmentsClientSuspendResponse struct {
	WebAppCollection
}

EnvironmentsClientSuspendResponse contains the response from method EnvironmentsClient.Suspend.

type EnvironmentsClientUpdateAseNetworkingConfigurationOptions added in v0.2.0

type EnvironmentsClientUpdateAseNetworkingConfigurationOptions struct {
}

EnvironmentsClientUpdateAseNetworkingConfigurationOptions contains the optional parameters for the EnvironmentsClient.UpdateAseNetworkingConfiguration method.

type EnvironmentsClientUpdateAseNetworkingConfigurationResponse added in v0.2.0

type EnvironmentsClientUpdateAseNetworkingConfigurationResponse struct {
	AseV3NetworkingConfiguration
}

EnvironmentsClientUpdateAseNetworkingConfigurationResponse contains the response from method EnvironmentsClient.UpdateAseNetworkingConfiguration.

type EnvironmentsClientUpdateMultiRolePoolOptions added in v0.2.0

type EnvironmentsClientUpdateMultiRolePoolOptions struct {
}

EnvironmentsClientUpdateMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.UpdateMultiRolePool method.

type EnvironmentsClientUpdateMultiRolePoolResponse added in v0.2.0

type EnvironmentsClientUpdateMultiRolePoolResponse struct {
	WorkerPoolResource
}

EnvironmentsClientUpdateMultiRolePoolResponse contains the response from method EnvironmentsClient.UpdateMultiRolePool.

type EnvironmentsClientUpdateOptions added in v0.2.0

type EnvironmentsClientUpdateOptions struct {
}

EnvironmentsClientUpdateOptions contains the optional parameters for the EnvironmentsClient.Update method.

type EnvironmentsClientUpdateResponse added in v0.2.0

type EnvironmentsClientUpdateResponse struct {
	EnvironmentResource
}

EnvironmentsClientUpdateResponse contains the response from method EnvironmentsClient.Update.

type EnvironmentsClientUpdateWorkerPoolOptions added in v0.2.0

type EnvironmentsClientUpdateWorkerPoolOptions struct {
}

EnvironmentsClientUpdateWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.UpdateWorkerPool method.

type EnvironmentsClientUpdateWorkerPoolResponse added in v0.2.0

type EnvironmentsClientUpdateWorkerPoolResponse struct {
	WorkerPoolResource
}

EnvironmentsClientUpdateWorkerPoolResponse contains the response from method EnvironmentsClient.UpdateWorkerPool.

type ErrorEntity

type ErrorEntity struct {
	// Basic error code.
	Code *string `json:"code,omitempty"`

	// Error Details.
	Details []*ErrorEntity `json:"details,omitempty"`

	// Type of error.
	ExtendedCode *string `json:"extendedCode,omitempty"`

	// Inner errors.
	InnerErrors []*ErrorEntity `json:"innerErrors,omitempty"`

	// Any details of the error.
	Message *string `json:"message,omitempty"`

	// Message template.
	MessageTemplate *string `json:"messageTemplate,omitempty"`

	// Parameters for the template.
	Parameters []*string `json:"parameters,omitempty"`

	// The error target.
	Target *string `json:"target,omitempty"`
}

ErrorEntity - Body of the error response returned from the API.

func (ErrorEntity) MarshalJSON

func (e ErrorEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorEntity.

type Experiments

type Experiments struct {
	// List of ramp-up rules.
	RampUpRules []*RampUpRule `json:"rampUpRules,omitempty"`
}

Experiments - Routing rules in production experiments.

func (Experiments) MarshalJSON

func (e Experiments) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Experiments.

type ExtendedLocation

type ExtendedLocation struct {
	// Name of extended location.
	Name *string `json:"name,omitempty"`

	// READ-ONLY; Type of extended location.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ExtendedLocation - Extended Location.

type Facebook

type Facebook struct {
	// false if the Facebook provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The version of the Facebook api to be used while logging in.
	GraphAPIVersion *string `json:"graphApiVersion,omitempty"`

	// The configuration settings of the login flow.
	Login *LoginScopes `json:"login,omitempty"`

	// The configuration settings of the app registration for the Facebook provider.
	Registration *AppRegistration `json:"registration,omitempty"`
}

Facebook - The configuration settings of the Facebook provider.

type FileSystemApplicationLogsConfig

type FileSystemApplicationLogsConfig struct {
	// Log level.
	Level *LogLevel `json:"level,omitempty"`
}

FileSystemApplicationLogsConfig - Application logs to file system configuration.

type FileSystemHTTPLogsConfig

type FileSystemHTTPLogsConfig struct {
	// True if configuration is enabled, false if it is disabled and null if configuration is not set.
	Enabled *bool `json:"enabled,omitempty"`

	// Retention in days. Remove files older than X days. 0 or lower means no retention.
	RetentionInDays *int32 `json:"retentionInDays,omitempty"`

	// 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"`
}

FileSystemHTTPLogsConfig - Http logs to file system configuration.

type FileSystemTokenStore

type FileSystemTokenStore struct {
	// The directory in which the tokens will be stored.
	Directory *string `json:"directory,omitempty"`
}

FileSystemTokenStore - The configuration settings of the storage of the tokens if a file system is used.

type ForwardProxy

type ForwardProxy struct {
	// The convention used to determine the url of the request made.
	Convention *ForwardProxyConvention `json:"convention,omitempty"`

	// The name of the header containing the host of the request.
	CustomHostHeaderName *string `json:"customHostHeaderName,omitempty"`

	// The name of the header containing the scheme of the request.
	CustomProtoHeaderName *string `json:"customProtoHeaderName,omitempty"`
}

ForwardProxy - The configuration settings of a forward proxy used to make the requests.

type ForwardProxyConvention

type ForwardProxyConvention string

ForwardProxyConvention - The convention used to determine the url of the request made.

const (
	ForwardProxyConventionNoProxy  ForwardProxyConvention = "NoProxy"
	ForwardProxyConventionStandard ForwardProxyConvention = "Standard"
	ForwardProxyConventionCustom   ForwardProxyConvention = "Custom"
)

func PossibleForwardProxyConventionValues

func PossibleForwardProxyConventionValues() []ForwardProxyConvention

PossibleForwardProxyConventionValues returns the possible values for the ForwardProxyConvention const type.

type FrequencyUnit

type FrequencyUnit string

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)

const (
	FrequencyUnitDay  FrequencyUnit = "Day"
	FrequencyUnitHour FrequencyUnit = "Hour"
)

func PossibleFrequencyUnitValues

func PossibleFrequencyUnitValues() []FrequencyUnit

PossibleFrequencyUnitValues returns the possible values for the FrequencyUnit const type.

type FrontEndConfiguration

type FrontEndConfiguration struct {
	Kind *FrontEndServiceType `json:"kind,omitempty"`
}

type FrontEndServiceType

type FrontEndServiceType string
const (
	FrontEndServiceTypeNodePort     FrontEndServiceType = "NodePort"
	FrontEndServiceTypeLoadBalancer FrontEndServiceType = "LoadBalancer"
)

func PossibleFrontEndServiceTypeValues

func PossibleFrontEndServiceTypeValues() []FrontEndServiceType

PossibleFrontEndServiceTypeValues returns the possible values for the FrontEndServiceType const type.

type FtpsState

type FtpsState string

FtpsState - State of FTP / FTPS service

const (
	FtpsStateAllAllowed FtpsState = "AllAllowed"
	FtpsStateDisabled   FtpsState = "Disabled"
	FtpsStateFtpsOnly   FtpsState = "FtpsOnly"
)

func PossibleFtpsStateValues

func PossibleFtpsStateValues() []FtpsState

PossibleFtpsStateValues returns the possible values for the FtpsState const type.

type FunctionAppMajorVersion

type FunctionAppMajorVersion struct {
	// READ-ONLY; Function App stack major version (display only).
	DisplayText *string `json:"displayText,omitempty" azure:"ro"`

	// READ-ONLY; Minor versions associated with the major version.
	MinorVersions []*FunctionAppMinorVersion `json:"minorVersions,omitempty" azure:"ro"`

	// READ-ONLY; Function App stack major version name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

FunctionAppMajorVersion - Function App stack major version.

func (FunctionAppMajorVersion) MarshalJSON

func (f FunctionAppMajorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppMajorVersion.

type FunctionAppMinorVersion

type FunctionAppMinorVersion struct {
	// READ-ONLY; Function App stack (display only).
	DisplayText *string `json:"displayText,omitempty" azure:"ro"`

	// READ-ONLY; Settings associated with the minor version.
	StackSettings *FunctionAppRuntimes `json:"stackSettings,omitempty" azure:"ro"`

	// READ-ONLY; Function App stack name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

FunctionAppMinorVersion - Function App stack minor version.

type FunctionAppRuntimeSettings

type FunctionAppRuntimeSettings struct {
	// READ-ONLY; Application Insights settings associated with the minor version.
	AppInsightsSettings *AppInsightsWebAppStackSettings `json:"appInsightsSettings,omitempty" azure:"ro"`

	// READ-ONLY; Application settings associated with the minor version.
	AppSettingsDictionary map[string]*string `json:"appSettingsDictionary,omitempty" azure:"ro"`

	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time `json:"endOfLifeDate,omitempty" azure:"ro"`

	// READ-ONLY; GitHub Actions settings associated with the minor version.
	GitHubActionSettings *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool `json:"isAutoUpdate,omitempty" azure:"ro"`

	// READ-ONLY; true if the minor version the default; otherwise, false.
	IsDefault *bool `json:"isDefault,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool `json:"isDeprecated,omitempty" azure:"ro"`

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool `json:"isEarlyAccess,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool `json:"isHidden,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool `json:"isPreview,omitempty" azure:"ro"`

	// READ-ONLY; true if remote debugging is supported for the stack; otherwise, false.
	RemoteDebuggingSupported *bool `json:"remoteDebuggingSupported,omitempty" azure:"ro"`

	// READ-ONLY; Function App stack minor version (runtime only).
	RuntimeVersion *string `json:"runtimeVersion,omitempty" azure:"ro"`

	// READ-ONLY; Configuration settings associated with the minor version.
	SiteConfigPropertiesDictionary *SiteConfigPropertiesDictionary `json:"siteConfigPropertiesDictionary,omitempty" azure:"ro"`

	// READ-ONLY; List of supported Functions extension versions.
	SupportedFunctionsExtensionVersions []*string `json:"supportedFunctionsExtensionVersions,omitempty" azure:"ro"`
}

FunctionAppRuntimeSettings - Function App runtime settings.

func (FunctionAppRuntimeSettings) MarshalJSON

func (f FunctionAppRuntimeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppRuntimeSettings.

func (*FunctionAppRuntimeSettings) UnmarshalJSON

func (f *FunctionAppRuntimeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppRuntimeSettings.

type FunctionAppRuntimes

type FunctionAppRuntimes struct {
	// READ-ONLY; Linux-specific settings associated with the minor version.
	LinuxRuntimeSettings *FunctionAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty" azure:"ro"`

	// READ-ONLY; Windows-specific settings associated with the minor version.
	WindowsRuntimeSettings *FunctionAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty" azure:"ro"`
}

FunctionAppRuntimes - Function App stack runtimes.

type FunctionAppStack

type FunctionAppStack struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// FunctionAppStack resource specific properties
	Properties *FunctionAppStackProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Function App stack location.
	Location *string `json:"location,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

FunctionAppStack - Function App Stack.

type FunctionAppStackCollection

type FunctionAppStackCollection struct {
	// REQUIRED; Collection of resources.
	Value []*FunctionAppStack `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

FunctionAppStackCollection - Collection of Function app Stacks

type FunctionAppStackProperties

type FunctionAppStackProperties struct {
	// READ-ONLY; Function App stack (display only).
	DisplayText *string `json:"displayText,omitempty" azure:"ro"`

	// READ-ONLY; List of major versions available.
	MajorVersions []*FunctionAppMajorVersion `json:"majorVersions,omitempty" azure:"ro"`

	// READ-ONLY; Function App stack preferred OS.
	PreferredOs *StackPreferredOs `json:"preferredOs,omitempty" azure:"ro"`

	// READ-ONLY; Function App stack name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

FunctionAppStackProperties - FunctionAppStack resource specific properties

func (FunctionAppStackProperties) MarshalJSON

func (f FunctionAppStackProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppStackProperties.

type FunctionEnvelope

type FunctionEnvelope struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// FunctionEnvelope resource specific properties
	Properties *FunctionEnvelopeProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

FunctionEnvelope - Function information.

type FunctionEnvelopeCollection

type FunctionEnvelopeCollection struct {
	// REQUIRED; Collection of resources.
	Value []*FunctionEnvelope `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

FunctionEnvelopeCollection - Collection of Kudu function information elements.

type FunctionEnvelopeProperties

type FunctionEnvelopeProperties struct {
	// Config information.
	Config interface{} `json:"config,omitempty"`

	// Config URI.
	ConfigHref *string `json:"config_href,omitempty"`

	// File list.
	Files map[string]*string `json:"files,omitempty"`

	// Function App ID.
	FunctionAppID *string `json:"function_app_id,omitempty"`

	// Function URI.
	Href *string `json:"href,omitempty"`

	// The invocation URL
	InvokeURLTemplate *string `json:"invoke_url_template,omitempty"`

	// Gets or sets a value indicating whether the function is disabled
	IsDisabled *bool `json:"isDisabled,omitempty"`

	// The function language
	Language *string `json:"language,omitempty"`

	// Script URI.
	ScriptHref *string `json:"script_href,omitempty"`

	// Script root path URI.
	ScriptRootPathHref *string `json:"script_root_path_href,omitempty"`

	// Secrets file URI.
	SecretsFileHref *string `json:"secrets_file_href,omitempty"`

	// Test data used when testing via the Azure Portal.
	TestData *string `json:"test_data,omitempty"`

	// Test data URI.
	TestDataHref *string `json:"test_data_href,omitempty"`
}

FunctionEnvelopeProperties - FunctionEnvelope resource specific properties

func (FunctionEnvelopeProperties) MarshalJSON

func (f FunctionEnvelopeProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionEnvelopeProperties.

type FunctionSecrets

type FunctionSecrets struct {
	// Secret key.
	Key *string `json:"key,omitempty"`

	// Trigger URL.
	TriggerURL *string `json:"trigger_url,omitempty"`
}

FunctionSecrets - Function secrets.

type GeoRegion

type GeoRegion struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// GeoRegion resource specific properties
	Properties *GeoRegionProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

GeoRegion - Geographical region.

type GeoRegionCollection

type GeoRegionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*GeoRegion `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

GeoRegionCollection - Collection of geographical regions.

type GeoRegionProperties

type GeoRegionProperties struct {
	// READ-ONLY; Region description.
	Description *string `json:"description,omitempty" azure:"ro"`

	// READ-ONLY; Display name for region.
	DisplayName *string `json:"displayName,omitempty" azure:"ro"`

	// READ-ONLY; Display name for region.
	OrgDomain *string `json:"orgDomain,omitempty" azure:"ro"`
}

GeoRegionProperties - GeoRegion resource specific properties

type GitHub

type GitHub struct {
	// false if the GitHub provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the login flow.
	Login *LoginScopes `json:"login,omitempty"`

	// The configuration settings of the app registration for the GitHub provider.
	Registration *ClientRegistration `json:"registration,omitempty"`
}

GitHub - The configuration settings of the GitHub provider.

type GitHubActionCodeConfiguration

type GitHubActionCodeConfiguration struct {
	// Runtime stack is used to determine the workflow file content for code base apps.
	RuntimeStack *string `json:"runtimeStack,omitempty"`

	// Runtime version is used to determine what build version to set in the workflow file.
	RuntimeVersion *string `json:"runtimeVersion,omitempty"`
}

GitHubActionCodeConfiguration - The GitHub action code configuration.

type GitHubActionConfiguration

type GitHubActionConfiguration struct {
	// GitHub Action code configuration.
	CodeConfiguration *GitHubActionCodeConfiguration `json:"codeConfiguration,omitempty"`

	// GitHub Action container configuration.
	ContainerConfiguration *GitHubActionContainerConfiguration `json:"containerConfiguration,omitempty"`

	// Workflow option to determine whether the workflow file should be generated and written to the repository.
	GenerateWorkflowFile *bool `json:"generateWorkflowFile,omitempty"`

	// This will help determine the workflow configuration to select.
	IsLinux *bool `json:"isLinux,omitempty"`
}

GitHubActionConfiguration - The GitHub action configuration.

type GitHubActionContainerConfiguration

type GitHubActionContainerConfiguration struct {
	// The image name for the build.
	ImageName *string `json:"imageName,omitempty"`

	// The password used to upload the image to the container registry.
	Password *string `json:"password,omitempty"`

	// The server URL for the container registry where the build will be hosted.
	ServerURL *string `json:"serverUrl,omitempty"`

	// The username used to upload the image to the container registry.
	Username *string `json:"username,omitempty"`
}

GitHubActionContainerConfiguration - The GitHub action container configuration.

type GitHubActionWebAppStackSettings

type GitHubActionWebAppStackSettings struct {
	// READ-ONLY; true if GitHub Actions is supported for the stack; otherwise, false.
	IsSupported *bool `json:"isSupported,omitempty" azure:"ro"`

	// READ-ONLY; The minor version that is supported for GitHub Actions.
	SupportedVersion *string `json:"supportedVersion,omitempty" azure:"ro"`
}

GitHubActionWebAppStackSettings - GitHub Actions Web App stack settings.

type GithubToken added in v0.3.0

type GithubToken struct {
	// Github access token for Appservice CLI github integration
	AccessToken *string `json:"accessToken,omitempty"`

	// Error message if unable to get token
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// True if valid github token received, False otherwise
	GotToken *bool `json:"gotToken,omitempty"`

	// Scope of the github access token
	Scope *string `json:"scope,omitempty"`

	// token type
	TokenType *string `json:"tokenType,omitempty"`
}

GithubToken - Github access token for Appservice CLI github integration.

type GithubTokenRequest added in v0.3.0

type GithubTokenRequest struct {
	// REQUIRED; Code string to exchange for Github Access token
	Code *string `json:"code,omitempty"`

	// REQUIRED; State string used for verification.
	State *string `json:"state,omitempty"`
}

GithubTokenRequest - Appservice Github token request content.

type GlobalClient

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

GlobalClient contains the methods for the Global group. Don't use this type directly, use NewGlobalClient() instead.

func NewGlobalClient

func NewGlobalClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*GlobalClient, error)

NewGlobalClient creates a new instance of GlobalClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*GlobalClient) GetDeletedWebApp

func (client *GlobalClient) GetDeletedWebApp(ctx context.Context, deletedSiteID string, options *GlobalClientGetDeletedWebAppOptions) (GlobalClientGetDeletedWebAppResponse, error)

GetDeletedWebApp - Get deleted app for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 deletedSiteID - The numeric ID of the deleted app, e.g. 12345 options - GlobalClientGetDeletedWebAppOptions contains the optional parameters for the GlobalClient.GetDeletedWebApp method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetDeletedWebApp.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewGlobalClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetDeletedWebApp(ctx,
		"9",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*GlobalClient) GetDeletedWebAppSnapshots

GetDeletedWebAppSnapshots - Get all deleted apps for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 deletedSiteID - The numeric ID of the deleted app, e.g. 12345 options - GlobalClientGetDeletedWebAppSnapshotsOptions contains the optional parameters for the GlobalClient.GetDeletedWebAppSnapshots method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetDeletedWebAppSnapshots.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewGlobalClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetDeletedWebAppSnapshots(ctx,
		"9",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*GlobalClient) GetSubscriptionOperationWithAsyncResponse

GetSubscriptionOperationWithAsyncResponse - Gets an operation in a subscription and given region If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 location - Location name operationID - Operation Id options - GlobalClientGetSubscriptionOperationWithAsyncResponseOptions contains the optional parameters for the GlobalClient.GetSubscriptionOperationWithAsyncResponse method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSubscriptionOperationWithAsyncResponse.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewGlobalClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.GetSubscriptionOperationWithAsyncResponse(ctx,
		"West US",
		"34adfa4f-cedf-4dc0-ba29-b6d1a69ab5d5",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

type GlobalClientGetDeletedWebAppOptions added in v0.2.0

type GlobalClientGetDeletedWebAppOptions struct {
}

GlobalClientGetDeletedWebAppOptions contains the optional parameters for the GlobalClient.GetDeletedWebApp method.

type GlobalClientGetDeletedWebAppResponse added in v0.2.0

type GlobalClientGetDeletedWebAppResponse struct {
	DeletedSite
}

GlobalClientGetDeletedWebAppResponse contains the response from method GlobalClient.GetDeletedWebApp.

type GlobalClientGetDeletedWebAppSnapshotsOptions added in v0.2.0

type GlobalClientGetDeletedWebAppSnapshotsOptions struct {
}

GlobalClientGetDeletedWebAppSnapshotsOptions contains the optional parameters for the GlobalClient.GetDeletedWebAppSnapshots method.

type GlobalClientGetDeletedWebAppSnapshotsResponse added in v0.2.0

type GlobalClientGetDeletedWebAppSnapshotsResponse struct {
	// Array of Snapshot
	SnapshotArray []*Snapshot
}

GlobalClientGetDeletedWebAppSnapshotsResponse contains the response from method GlobalClient.GetDeletedWebAppSnapshots.

type GlobalClientGetSubscriptionOperationWithAsyncResponseOptions added in v0.2.0

type GlobalClientGetSubscriptionOperationWithAsyncResponseOptions struct {
}

GlobalClientGetSubscriptionOperationWithAsyncResponseOptions contains the optional parameters for the GlobalClient.GetSubscriptionOperationWithAsyncResponse method.

type GlobalClientGetSubscriptionOperationWithAsyncResponseResponse added in v0.2.0

type GlobalClientGetSubscriptionOperationWithAsyncResponseResponse struct {
}

GlobalClientGetSubscriptionOperationWithAsyncResponseResponse contains the response from method GlobalClient.GetSubscriptionOperationWithAsyncResponse.

type GlobalCsmSKUDescription

type GlobalCsmSKUDescription struct {
	// Capabilities of the SKU, e.g., is traffic manager enabled?
	Capabilities []*Capability `json:"capabilities,omitempty"`

	// Min, max, and default scale values of the SKU.
	Capacity *SKUCapacity `json:"capacity,omitempty"`

	// Family code of the resource SKU.
	Family *string `json:"family,omitempty"`

	// Locations of the SKU.
	Locations []*string `json:"locations,omitempty"`

	// Name of the resource SKU.
	Name *string `json:"name,omitempty"`

	// Size specifier of the resource SKU.
	Size *string `json:"size,omitempty"`

	// Service Tier of the resource SKU.
	Tier *string `json:"tier,omitempty"`
}

GlobalCsmSKUDescription - A Global SKU Description.

type GlobalValidation

type GlobalValidation struct {
	// The paths for which unauthenticated flow would not be redirected to the login page.
	ExcludedPaths []*string `json:"excludedPaths,omitempty"`

	// 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".
	RedirectToProvider *string `json:"redirectToProvider,omitempty"`

	// true if the authentication flow is required any request is made; otherwise, false.
	RequireAuthentication *bool `json:"requireAuthentication,omitempty"`

	// The action to take when an unauthenticated client attempts to access the app.
	UnauthenticatedClientAction *UnauthenticatedClientActionV2 `json:"unauthenticatedClientAction,omitempty"`
}

GlobalValidation - The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.

func (GlobalValidation) MarshalJSON

func (g GlobalValidation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GlobalValidation.

type Google

type Google struct {
	// false if the Google provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the login flow.
	Login *LoginScopes `json:"login,omitempty"`

	// The configuration settings of the app registration for the Google provider.
	Registration *ClientRegistration `json:"registration,omitempty"`

	// The configuration settings of the Azure Active Directory token validation flow.
	Validation *AllowedAudiencesValidation `json:"validation,omitempty"`
}

Google - The configuration settings of the Google provider.

type HTTPLogsConfig

type HTTPLogsConfig struct {
	// Http logs to azure blob storage configuration.
	AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"`

	// Http logs to file system configuration.
	FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"`
}

HTTPLogsConfig - Http logs configuration.

type HTTPScaleRule added in v0.2.0

type HTTPScaleRule struct {
	// Authentication secrets for the custom scale rule.
	Auth []*ScaleRuleAuth `json:"auth,omitempty"`

	// Metadata properties to describe http scale rule.
	Metadata map[string]*string `json:"metadata,omitempty"`
}

HTTPScaleRule - Container App container Custom scaling rule.

func (HTTPScaleRule) MarshalJSON added in v0.2.0

func (h HTTPScaleRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HTTPScaleRule.

type HTTPSettings

type HTTPSettings struct {
	// The configuration settings of a forward proxy used to make the requests.
	ForwardProxy *ForwardProxy `json:"forwardProxy,omitempty"`

	// false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true.
	RequireHTTPS *bool `json:"requireHttps,omitempty"`

	// The configuration settings of the paths HTTP requests.
	Routes *HTTPSettingsRoutes `json:"routes,omitempty"`
}

HTTPSettings - The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.

type HTTPSettingsRoutes

type HTTPSettingsRoutes struct {
	// The prefix that should precede all the authentication/authorization paths.
	APIPrefix *string `json:"apiPrefix,omitempty"`
}

HTTPSettingsRoutes - The configuration settings of the paths HTTP requests.

type HandlerMapping

type HandlerMapping struct {
	// Command-line arguments to be passed to the script processor.
	Arguments *string `json:"arguments,omitempty"`

	// Requests with this extension will be handled using the specified FastCGI application.
	Extension *string `json:"extension,omitempty"`

	// The absolute path to the FastCGI application.
	ScriptProcessor *string `json:"scriptProcessor,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 HostKeys

type HostKeys struct {
	// Host level function keys.
	FunctionKeys map[string]*string `json:"functionKeys,omitempty"`

	// Secret key.
	MasterKey *string `json:"masterKey,omitempty"`

	// System keys.
	SystemKeys map[string]*string `json:"systemKeys,omitempty"`
}

HostKeys - Functions host level keys.

type HostName

type HostName struct {
	// 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"`

	// Type of the Azure resource the hostname is assigned to.
	AzureResourceType *AzureResourceType `json:"azureResourceType,omitempty"`

	// Type of the DNS record.
	CustomHostNameDNSRecordType *CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"`

	// Type of the hostname.
	HostNameType *HostNameType `json:"hostNameType,omitempty"`

	// Name of the hostname.
	Name *string `json:"name,omitempty"`

	// 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"`
}

HostName - Details of a hostname derived from a domain.

func (HostName) MarshalJSON

func (h HostName) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostName.

type HostNameBinding

type HostNameBinding struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// HostNameBinding resource specific properties
	Properties *HostNameBindingProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HostNameBinding - A hostname binding object.

type HostNameBindingCollection

type HostNameBindingCollection struct {
	// REQUIRED; Collection of resources.
	Value []*HostNameBinding `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

HostNameBindingCollection - Collection of hostname bindings.

type HostNameBindingProperties

type HostNameBindingProperties struct {
	// Azure resource name.
	AzureResourceName *string `json:"azureResourceName,omitempty"`

	// Azure resource type.
	AzureResourceType *AzureResourceType `json:"azureResourceType,omitempty"`

	// Custom DNS record type.
	CustomHostNameDNSRecordType *CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"`

	// Fully qualified ARM domain resource URI.
	DomainID *string `json:"domainId,omitempty"`

	// Hostname type.
	HostNameType *HostNameType `json:"hostNameType,omitempty"`

	// SSL type
	SSLState *SSLState `json:"sslState,omitempty"`

	// App Service app name.
	SiteName *string `json:"siteName,omitempty"`

	// SSL certificate thumbprint
	Thumbprint *string `json:"thumbprint,omitempty"`

	// READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled.
	VirtualIP *string `json:"virtualIP,omitempty" azure:"ro"`
}

HostNameBindingProperties - HostNameBinding resource specific properties

type HostNameSSLState

type HostNameSSLState struct {
	// Indicates whether the hostname is a standard or repository hostname.
	HostType *HostType `json:"hostType,omitempty"`

	// Hostname.
	Name *string `json:"name,omitempty"`

	// SSL type.
	SSLState *SSLState `json:"sslState,omitempty"`

	// SSL certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`

	// Set to true to update existing hostname.
	ToUpdate *bool `json:"toUpdate,omitempty"`

	// Virtual IP address assigned to the hostname if IP based SSL is enabled.
	VirtualIP *string `json:"virtualIP,omitempty"`
}

HostNameSSLState - SSL-enabled hostname.

type HostNameType

type HostNameType string

HostNameType - Type of the hostname.

const (
	HostNameTypeVerified HostNameType = "Verified"
	HostNameTypeManaged  HostNameType = "Managed"
)

func PossibleHostNameTypeValues

func PossibleHostNameTypeValues() []HostNameType

PossibleHostNameTypeValues returns the possible values for the HostNameType const type.

type HostType

type HostType string

HostType - Indicates whether the hostname is a standard or repository hostname.

const (
	HostTypeStandard   HostType = "Standard"
	HostTypeRepository HostType = "Repository"
)

func PossibleHostTypeValues

func PossibleHostTypeValues() []HostType

PossibleHostTypeValues returns the possible values for the HostType const type.

type HostingEnvironmentDeploymentInfo

type HostingEnvironmentDeploymentInfo struct {
	// Location of the App Service Environment.
	Location *string `json:"location,omitempty"`

	// Name of the App Service Environment.
	Name *string `json:"name,omitempty"`
}

HostingEnvironmentDeploymentInfo - Information needed to create resources on an App Service Environment.

type HostingEnvironmentDiagnostics

type HostingEnvironmentDiagnostics struct {
	// Diagnostics output.
	DiagnosticsOutput *string `json:"diagnosticsOutput,omitempty"`

	// Name/identifier of the diagnostics.
	Name *string `json:"name,omitempty"`
}

HostingEnvironmentDiagnostics - Diagnostics for an App Service Environment.

type HostingEnvironmentProfile

type HostingEnvironmentProfile struct {
	// Resource ID of the App Service Environment.
	ID *string `json:"id,omitempty"`

	// READ-ONLY; Name of the App Service Environment.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type of the App Service Environment.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HostingEnvironmentProfile - Specification for an App Service Environment to use for this resource.

type HostingEnvironmentStatus

type HostingEnvironmentStatus string

HostingEnvironmentStatus - Current status of the App Service Environment.

const (
	HostingEnvironmentStatusPreparing HostingEnvironmentStatus = "Preparing"
	HostingEnvironmentStatusReady     HostingEnvironmentStatus = "Ready"
	HostingEnvironmentStatusScaling   HostingEnvironmentStatus = "Scaling"
	HostingEnvironmentStatusDeleting  HostingEnvironmentStatus = "Deleting"
)

func PossibleHostingEnvironmentStatusValues

func PossibleHostingEnvironmentStatusValues() []HostingEnvironmentStatus

PossibleHostingEnvironmentStatusValues returns the possible values for the HostingEnvironmentStatus const type.

type HybridConnection

type HybridConnection struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// HybridConnection resource specific properties
	Properties *HybridConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HybridConnection - Hybrid Connection contract. This is used to configure a Hybrid Connection.

func (HybridConnection) MarshalJSON

func (h HybridConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnection.

type HybridConnectionCollection

type HybridConnectionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*HybridConnection `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

HybridConnectionCollection - Collection of hostname bindings.

type HybridConnectionKey

type HybridConnectionKey struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// HybridConnectionKey resource specific properties
	Properties *HybridConnectionKeyProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HybridConnectionKey - Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.

type HybridConnectionKeyProperties

type HybridConnectionKeyProperties struct {
	// READ-ONLY; The name of the send key.
	SendKeyName *string `json:"sendKeyName,omitempty" azure:"ro"`

	// READ-ONLY; The value of the send key.
	SendKeyValue *string `json:"sendKeyValue,omitempty" azure:"ro"`
}

HybridConnectionKeyProperties - HybridConnectionKey resource specific properties

type HybridConnectionLimits

type HybridConnectionLimits struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// HybridConnectionLimits resource specific properties
	Properties *HybridConnectionLimitsProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HybridConnectionLimits - Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.

type HybridConnectionLimitsProperties

type HybridConnectionLimitsProperties struct {
	// READ-ONLY; The current number of Hybrid Connections.
	Current *int32 `json:"current,omitempty" azure:"ro"`

	// READ-ONLY; The maximum number of Hybrid Connections allowed.
	Maximum *int32 `json:"maximum,omitempty" azure:"ro"`
}

HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties

type HybridConnectionProperties

type HybridConnectionProperties struct {
	// The hostname of the endpoint.
	Hostname *string `json:"hostname,omitempty"`

	// The port of the endpoint.
	Port *int32 `json:"port,omitempty"`

	// The ARM URI to the Service Bus relay.
	RelayArmURI *string `json:"relayArmUri,omitempty"`

	// The name of the Service Bus relay.
	RelayName *string `json:"relayName,omitempty"`

	// The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.
	SendKeyName *string `json:"sendKeyName,omitempty"`

	// 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"`

	// The name of the Service Bus namespace.
	ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"`

	// The suffix for the service bus endpoint. By default this is .servicebus.windows.net
	ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty"`
}

HybridConnectionProperties - HybridConnection resource specific properties

type IPFilterTag

type IPFilterTag string

IPFilterTag - Defines what this IP filter will be used for. This is to support IP filtering on proxies.

const (
	IPFilterTagDefault    IPFilterTag = "Default"
	IPFilterTagServiceTag IPFilterTag = "ServiceTag"
	IPFilterTagXffProxy   IPFilterTag = "XffProxy"
)

func PossibleIPFilterTagValues

func PossibleIPFilterTagValues() []IPFilterTag

PossibleIPFilterTagValues returns the possible values for the IPFilterTag const type.

type IPSecurityRestriction

type IPSecurityRestriction struct {
	// Allow or Deny access for this IP range.
	Action *string `json:"action,omitempty"`

	// IP restriction rule description.
	Description *string `json:"description,omitempty"`

	// IP restriction rule headers. X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).
	// The matching logic is ..
	// * If the property is null or empty (default), all hosts(or lack of) are allowed.
	// * A value is compared using ordinal-ignore-case (excluding port number).
	// * Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com
	// but not the root domain contoso.com or multi-level
	// foo.bar.contoso.com
	// * Unicode host names are allowed but are converted to Punycode for matching.
	// X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). The matching logic
	// is ..
	// * If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.
	// * If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.
	// X-Azure-FDID and X-FD-HealthProbe. The matching logic is exact match.
	Headers map[string][]*string `json:"headers,omitempty"`

	// IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property)
	// or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask
	// property must not be specified.
	IPAddress *string `json:"ipAddress,omitempty"`

	// IP restriction rule name.
	Name *string `json:"name,omitempty"`

	// Priority of IP restriction rule.
	Priority *int32 `json:"priority,omitempty"`

	// Subnet mask for the range of IP addresses the restriction is valid for.
	SubnetMask *string `json:"subnetMask,omitempty"`

	// (internal) Subnet traffic tag
	SubnetTrafficTag *int32 `json:"subnetTrafficTag,omitempty"`

	// Defines what this IP filter will be used for. This is to support IP filtering on proxies.
	Tag *IPFilterTag `json:"tag,omitempty"`

	// Virtual network resource id
	VnetSubnetResourceID *string `json:"vnetSubnetResourceId,omitempty"`

	// (internal) Vnet traffic tag
	VnetTrafficTag *int32 `json:"vnetTrafficTag,omitempty"`
}

IPSecurityRestriction - IP security restriction on an app.

func (IPSecurityRestriction) MarshalJSON

func (i IPSecurityRestriction) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPSecurityRestriction.

type Identifier

type Identifier struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Identifier resource specific properties
	Properties *IdentifierProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Identifier - A domain specific resource identifier.

func (Identifier) MarshalJSON

func (i Identifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Identifier.

type IdentifierCollection

type IdentifierCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Identifier `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

IdentifierCollection - Collection of identifiers.

type IdentifierProperties

type IdentifierProperties struct {
	// String representation of the identity.
	Value *string `json:"id,omitempty"`
}

IdentifierProperties - Identifier resource specific properties

type IdentityProviders

type IdentityProviders struct {
	// The configuration settings of the Apple provider.
	Apple *Apple `json:"apple,omitempty"`

	// The configuration settings of the Azure Active directory provider.
	AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"`

	// The configuration settings of the Azure Static Web Apps provider.
	AzureStaticWebApps *AzureStaticWebApps `json:"azureStaticWebApps,omitempty"`

	// The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open
	// ID Connect provider.
	CustomOpenIDConnectProviders map[string]*CustomOpenIDConnectProvider `json:"customOpenIdConnectProviders,omitempty"`

	// The configuration settings of the Facebook provider.
	Facebook *Facebook `json:"facebook,omitempty"`

	// The configuration settings of the GitHub provider.
	GitHub *GitHub `json:"gitHub,omitempty"`

	// The configuration settings of the Google provider.
	Google *Google `json:"google,omitempty"`

	// The configuration settings of the legacy Microsoft Account provider.
	LegacyMicrosoftAccount *LegacyMicrosoftAccount `json:"legacyMicrosoftAccount,omitempty"`

	// The configuration settings of the Twitter provider.
	Twitter *Twitter `json:"twitter,omitempty"`
}

IdentityProviders - The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.

func (IdentityProviders) MarshalJSON

func (i IdentityProviders) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IdentityProviders.

type InAvailabilityReasonType

type InAvailabilityReasonType string

InAvailabilityReasonType - Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.

const (
	InAvailabilityReasonTypeAlreadyExists InAvailabilityReasonType = "AlreadyExists"
	InAvailabilityReasonTypeInvalid       InAvailabilityReasonType = "Invalid"
)

func PossibleInAvailabilityReasonTypeValues

func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType

PossibleInAvailabilityReasonTypeValues returns the possible values for the InAvailabilityReasonType const type.

type InboundEnvironmentEndpoint

type InboundEnvironmentEndpoint struct {
	// Short text describing the purpose of the network traffic.
	Description *string `json:"description,omitempty"`

	// The IP addresses that network traffic will originate from in cidr notation.
	Endpoints []*string `json:"endpoints,omitempty"`

	// The ports that network traffic will arrive to the App Service Environment at.
	Ports []*string `json:"ports,omitempty"`
}

InboundEnvironmentEndpoint - The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.

type InboundEnvironmentEndpointCollection

type InboundEnvironmentEndpointCollection struct {
	// REQUIRED; Collection of resources.
	Value []*InboundEnvironmentEndpoint `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

InboundEnvironmentEndpointCollection - Collection of Inbound Environment Endpoints

type Ingress added in v0.2.0

type Ingress struct {
	// Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS
	// connections
	AllowInsecure *bool `json:"allowInsecure,omitempty"`

	// Bool indicating if app exposes an external http endpoint
	External *bool `json:"external,omitempty"`

	// Target Port in containers for traffic from ingress
	TargetPort *int32           `json:"targetPort,omitempty"`
	Traffic    []*TrafficWeight `json:"traffic,omitempty"`

	// Ingress transport protocol
	Transport *IngressTransportMethod `json:"transport,omitempty"`

	// READ-ONLY; Hostname.
	Fqdn *string `json:"fqdn,omitempty" azure:"ro"`
}

Ingress - Container App Ingress configuration.

func (Ingress) MarshalJSON added in v0.2.0

func (i Ingress) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Ingress.

type IngressTransportMethod added in v0.2.0

type IngressTransportMethod string

IngressTransportMethod - Ingress transport protocol

const (
	IngressTransportMethodAuto  IngressTransportMethod = "auto"
	IngressTransportMethodHTTP  IngressTransportMethod = "http"
	IngressTransportMethodHTTP2 IngressTransportMethod = "http2"
)

func PossibleIngressTransportMethodValues added in v0.2.0

func PossibleIngressTransportMethodValues() []IngressTransportMethod

PossibleIngressTransportMethodValues returns the possible values for the IngressTransportMethod const type.

type InsightStatus

type InsightStatus string

InsightStatus - Level of the most severe insight generated by the detector.

const (
	InsightStatusCritical InsightStatus = "Critical"
	InsightStatusWarning  InsightStatus = "Warning"
	InsightStatusInfo     InsightStatus = "Info"
	InsightStatusSuccess  InsightStatus = "Success"
	InsightStatusNone     InsightStatus = "None"
)

func PossibleInsightStatusValues

func PossibleInsightStatusValues() []InsightStatus

PossibleInsightStatusValues returns the possible values for the InsightStatus const type.

type IssueType

type IssueType string

IssueType - Represents the type of the Detector

const (
	IssueTypeServiceIncident      IssueType = "ServiceIncident"
	IssueTypeAppDeployment        IssueType = "AppDeployment"
	IssueTypeAppCrash             IssueType = "AppCrash"
	IssueTypeRuntimeIssueDetected IssueType = "RuntimeIssueDetected"
	IssueTypeAseDeployment        IssueType = "AseDeployment"
	IssueTypeUserIssue            IssueType = "UserIssue"
	IssueTypePlatformIssue        IssueType = "PlatformIssue"
	IssueTypeOther                IssueType = "Other"
)

func PossibleIssueTypeValues

func PossibleIssueTypeValues() []IssueType

PossibleIssueTypeValues returns the possible values for the IssueType const type.

type JwtClaimChecks

type JwtClaimChecks struct {
	// The list of the allowed client applications.
	AllowedClientApplications []*string `json:"allowedClientApplications,omitempty"`

	// The list of the allowed groups.
	AllowedGroups []*string `json:"allowedGroups,omitempty"`
}

JwtClaimChecks - The configuration settings of the checks that should be made while validating the JWT Claims.

func (JwtClaimChecks) MarshalJSON

func (j JwtClaimChecks) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type JwtClaimChecks.

type KeyInfo

type KeyInfo struct {
	// Key name
	Name *string `json:"name,omitempty"`

	// Key value
	Value *string `json:"value,omitempty"`
}

KeyInfo - Function key info.

type KeyValuePairStringObject

type KeyValuePairStringObject struct {
	// READ-ONLY
	Key *string `json:"key,omitempty" azure:"ro"`

	// READ-ONLY; Anything
	Value interface{} `json:"value,omitempty" azure:"ro"`
}

type KeyVaultSecretStatus

type KeyVaultSecretStatus string

KeyVaultSecretStatus - Status of the Key Vault secret.

const (
	KeyVaultSecretStatusInitialized                              KeyVaultSecretStatus = "Initialized"
	KeyVaultSecretStatusWaitingOnCertificateOrder                KeyVaultSecretStatus = "WaitingOnCertificateOrder"
	KeyVaultSecretStatusSucceeded                                KeyVaultSecretStatus = "Succeeded"
	KeyVaultSecretStatusCertificateOrderFailed                   KeyVaultSecretStatus = "CertificateOrderFailed"
	KeyVaultSecretStatusOperationNotPermittedOnKeyVault          KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault"
	KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault KeyVaultSecretStatus = "AzureServiceUnauthorizedToAccessKeyVault"
	KeyVaultSecretStatusKeyVaultDoesNotExist                     KeyVaultSecretStatus = "KeyVaultDoesNotExist"
	KeyVaultSecretStatusKeyVaultSecretDoesNotExist               KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist"
	KeyVaultSecretStatusUnknownError                             KeyVaultSecretStatus = "UnknownError"
	KeyVaultSecretStatusExternalPrivateKey                       KeyVaultSecretStatus = "ExternalPrivateKey"
	KeyVaultSecretStatusUnknown                                  KeyVaultSecretStatus = "Unknown"
)

func PossibleKeyVaultSecretStatusValues

func PossibleKeyVaultSecretStatusValues() []KeyVaultSecretStatus

PossibleKeyVaultSecretStatusValues returns the possible values for the KeyVaultSecretStatus const type.

type KubeEnvironment

type KubeEnvironment struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Extended Location.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// KubeEnvironment resource specific properties
	Properties *KubeEnvironmentProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

KubeEnvironment - A Kubernetes cluster specialized for web workloads by Azure App Service

func (KubeEnvironment) MarshalJSON

func (k KubeEnvironment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KubeEnvironment.

type KubeEnvironmentCollection

type KubeEnvironmentCollection struct {
	// REQUIRED; Collection of resources.
	Value []*KubeEnvironment `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

KubeEnvironmentCollection - Collection of Kubernetes Environments

type KubeEnvironmentPatchResource

type KubeEnvironmentPatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// KubeEnvironmentPatchResource resource specific properties
	Properties *KubeEnvironmentPatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

KubeEnvironmentPatchResource - ARM resource for a KubeEnvironment when patching

func (KubeEnvironmentPatchResource) MarshalJSON

func (k KubeEnvironmentPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KubeEnvironmentPatchResource.

type KubeEnvironmentPatchResourceProperties

type KubeEnvironmentPatchResourceProperties struct {
	AksResourceID *string `json:"aksResourceID,omitempty"`

	// Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics"
	// is supported
	AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"`

	// Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd
	// Service ArtifactsStorageType etc.
	ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"`

	// Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
	ContainerAppsConfiguration *ContainerAppsConfiguration `json:"containerAppsConfiguration,omitempty"`

	// Only visible within Vnet/Subnet
	InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"`

	// Static IP of the KubeEnvironment
	StaticIP *string `json:"staticIp,omitempty"`

	// READ-ONLY; Default Domain Name for the cluster
	DefaultDomain *string `json:"defaultDomain,omitempty" azure:"ro"`

	// READ-ONLY; Any errors that occurred during deployment or deployment validation
	DeploymentErrors *string `json:"deploymentErrors,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state of the Kubernetes Environment.
	ProvisioningState *KubeEnvironmentProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

KubeEnvironmentPatchResourceProperties - KubeEnvironmentPatchResource resource specific properties

type KubeEnvironmentProfile

type KubeEnvironmentProfile struct {
	// Resource ID of the Kubernetes Environment.
	ID *string `json:"id,omitempty"`

	// READ-ONLY; Name of the Kubernetes Environment.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type of the Kubernetes Environment.
	Type *string `json:"type,omitempty" azure:"ro"`
}

KubeEnvironmentProfile - Specification for a Kubernetes Environment to use for this resource.

type KubeEnvironmentProperties

type KubeEnvironmentProperties struct {
	AksResourceID *string `json:"aksResourceID,omitempty"`

	// Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics"
	// is supported
	AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"`

	// Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd
	// Service ArtifactsStorageType etc.
	ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"`

	// Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
	ContainerAppsConfiguration *ContainerAppsConfiguration `json:"containerAppsConfiguration,omitempty"`

	// Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed
	EnvironmentType *string `json:"environmentType,omitempty"`

	// Only visible within Vnet/Subnet
	InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"`

	// Static IP of the KubeEnvironment
	StaticIP *string `json:"staticIp,omitempty"`

	// READ-ONLY; Default Domain Name for the cluster
	DefaultDomain *string `json:"defaultDomain,omitempty" azure:"ro"`

	// READ-ONLY; Any errors that occurred during deployment or deployment validation
	DeploymentErrors *string `json:"deploymentErrors,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state of the Kubernetes Environment.
	ProvisioningState *KubeEnvironmentProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

KubeEnvironmentProperties - KubeEnvironment resource specific properties

type KubeEnvironmentProvisioningState

type KubeEnvironmentProvisioningState string

KubeEnvironmentProvisioningState - Provisioning state of the Kubernetes Environment.

const (
	KubeEnvironmentProvisioningStateSucceeded                     KubeEnvironmentProvisioningState = "Succeeded"
	KubeEnvironmentProvisioningStateFailed                        KubeEnvironmentProvisioningState = "Failed"
	KubeEnvironmentProvisioningStateCanceled                      KubeEnvironmentProvisioningState = "Canceled"
	KubeEnvironmentProvisioningStateWaiting                       KubeEnvironmentProvisioningState = "Waiting"
	KubeEnvironmentProvisioningStateInitializationInProgress      KubeEnvironmentProvisioningState = "InitializationInProgress"
	KubeEnvironmentProvisioningStateInfrastructureSetupInProgress KubeEnvironmentProvisioningState = "InfrastructureSetupInProgress"
	KubeEnvironmentProvisioningStateInfrastructureSetupComplete   KubeEnvironmentProvisioningState = "InfrastructureSetupComplete"
	KubeEnvironmentProvisioningStateScheduledForDelete            KubeEnvironmentProvisioningState = "ScheduledForDelete"
	KubeEnvironmentProvisioningStateUpgradeRequested              KubeEnvironmentProvisioningState = "UpgradeRequested"
	KubeEnvironmentProvisioningStateUpgradeFailed                 KubeEnvironmentProvisioningState = "UpgradeFailed"
)

func PossibleKubeEnvironmentProvisioningStateValues

func PossibleKubeEnvironmentProvisioningStateValues() []KubeEnvironmentProvisioningState

PossibleKubeEnvironmentProvisioningStateValues returns the possible values for the KubeEnvironmentProvisioningState const type.

type KubeEnvironmentsClient

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

KubeEnvironmentsClient contains the methods for the KubeEnvironments group. Don't use this type directly, use NewKubeEnvironmentsClient() instead.

func NewKubeEnvironmentsClient

func NewKubeEnvironmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*KubeEnvironmentsClient, error)

NewKubeEnvironmentsClient creates a new instance of KubeEnvironmentsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*KubeEnvironmentsClient) BeginCreateOrUpdate

func (client *KubeEnvironmentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, kubeEnvironmentEnvelope KubeEnvironment, options *KubeEnvironmentsClientBeginCreateOrUpdateOptions) (*runtime.Poller[KubeEnvironmentsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Creates or updates a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Kubernetes Environment. kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment. options - KubeEnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the KubeEnvironmentsClient.BeginCreateOrUpdate method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewKubeEnvironmentsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateOrUpdate(ctx,
		"examplerg",
		"testkubeenv",
		armappservice.KubeEnvironment{
			Location: to.Ptr("East US"),
			Properties: &armappservice.KubeEnvironmentProperties{
				StaticIP: to.Ptr("1.2.3.4"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*KubeEnvironmentsClient) BeginDelete

BeginDelete - Delete a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Kubernetes Environment. options - KubeEnvironmentsClientBeginDeleteOptions contains the optional parameters for the KubeEnvironmentsClient.BeginDelete method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewKubeEnvironmentsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDelete(ctx,
		"examplerg",
		"examplekenv",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*KubeEnvironmentsClient) Get

Get - Get the properties of a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Kubernetes Environment. options - KubeEnvironmentsClientGetOptions contains the optional parameters for the KubeEnvironmentsClient.Get method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewKubeEnvironmentsClient("8efdecc5-919e-44eb-b179-915dca89ebf9", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Get(ctx,
		"examplerg",
		"jlaw-demo1",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*KubeEnvironmentsClient) NewListByResourceGroupPager added in v0.4.0

NewListByResourceGroupPager - Get all the Kubernetes Environments in a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - KubeEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the KubeEnvironmentsClient.ListByResourceGroup method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_ListByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewKubeEnvironmentsClient("8efdecc5-919e-44eb-b179-915dca89ebf9", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListByResourceGroupPager("examplerg",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*KubeEnvironmentsClient) NewListBySubscriptionPager added in v0.4.0

NewListBySubscriptionPager - Get all Kubernetes Environments for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - KubeEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the KubeEnvironmentsClient.ListBySubscription method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_ListBySubscription.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewKubeEnvironmentsClient("8efdecc5-919e-44eb-b179-915dca89ebf9", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListBySubscriptionPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*KubeEnvironmentsClient) Update

Update - Creates or updates a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the Kubernetes Environment. kubeEnvironmentEnvelope - Configuration details of the Kubernetes Environment. options - KubeEnvironmentsClientUpdateOptions contains the optional parameters for the KubeEnvironmentsClient.Update method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/KubeEnvironments_Update.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewKubeEnvironmentsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Update(ctx,
		"examplerg",
		"testkubeenv",
		armappservice.KubeEnvironmentPatchResource{
			Properties: &armappservice.KubeEnvironmentPatchResourceProperties{
				StaticIP: to.Ptr("1.2.3.4"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

type KubeEnvironmentsClientBeginCreateOrUpdateOptions added in v0.2.0

type KubeEnvironmentsClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

KubeEnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the KubeEnvironmentsClient.BeginCreateOrUpdate method.

type KubeEnvironmentsClientBeginDeleteOptions added in v0.2.0

type KubeEnvironmentsClientBeginDeleteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

KubeEnvironmentsClientBeginDeleteOptions contains the optional parameters for the KubeEnvironmentsClient.BeginDelete method.

type KubeEnvironmentsClientCreateOrUpdateResponse added in v0.2.0

type KubeEnvironmentsClientCreateOrUpdateResponse struct {
	KubeEnvironment
}

KubeEnvironmentsClientCreateOrUpdateResponse contains the response from method KubeEnvironmentsClient.CreateOrUpdate.

type KubeEnvironmentsClientDeleteResponse added in v0.2.0

type KubeEnvironmentsClientDeleteResponse struct {
}

KubeEnvironmentsClientDeleteResponse contains the response from method KubeEnvironmentsClient.Delete.

type KubeEnvironmentsClientGetOptions added in v0.2.0

type KubeEnvironmentsClientGetOptions struct {
}

KubeEnvironmentsClientGetOptions contains the optional parameters for the KubeEnvironmentsClient.Get method.

type KubeEnvironmentsClientGetResponse added in v0.2.0

type KubeEnvironmentsClientGetResponse struct {
	KubeEnvironment
}

KubeEnvironmentsClientGetResponse contains the response from method KubeEnvironmentsClient.Get.

type KubeEnvironmentsClientListByResourceGroupOptions added in v0.2.0

type KubeEnvironmentsClientListByResourceGroupOptions struct {
}

KubeEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the KubeEnvironmentsClient.ListByResourceGroup method.

type KubeEnvironmentsClientListByResourceGroupResponse added in v0.2.0

type KubeEnvironmentsClientListByResourceGroupResponse struct {
	KubeEnvironmentCollection
}

KubeEnvironmentsClientListByResourceGroupResponse contains the response from method KubeEnvironmentsClient.ListByResourceGroup.

type KubeEnvironmentsClientListBySubscriptionOptions added in v0.2.0

type KubeEnvironmentsClientListBySubscriptionOptions struct {
}

KubeEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the KubeEnvironmentsClient.ListBySubscription method.

type KubeEnvironmentsClientListBySubscriptionResponse added in v0.2.0

type KubeEnvironmentsClientListBySubscriptionResponse struct {
	KubeEnvironmentCollection
}

KubeEnvironmentsClientListBySubscriptionResponse contains the response from method KubeEnvironmentsClient.ListBySubscription.

type KubeEnvironmentsClientUpdateOptions added in v0.2.0

type KubeEnvironmentsClientUpdateOptions struct {
}

KubeEnvironmentsClientUpdateOptions contains the optional parameters for the KubeEnvironmentsClient.Update method.

type KubeEnvironmentsClientUpdateResponse added in v0.2.0

type KubeEnvironmentsClientUpdateResponse struct {
	KubeEnvironment
}

KubeEnvironmentsClientUpdateResponse contains the response from method KubeEnvironmentsClient.Update.

type LegacyMicrosoftAccount

type LegacyMicrosoftAccount struct {
	// false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the login flow.
	Login *LoginScopes `json:"login,omitempty"`

	// The configuration settings of the app registration for the legacy Microsoft Account provider.
	Registration *ClientRegistration `json:"registration,omitempty"`

	// The configuration settings of the legacy Microsoft Account provider token validation flow.
	Validation *AllowedAudiencesValidation `json:"validation,omitempty"`
}

LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider.

type LinuxJavaContainerSettings

type LinuxJavaContainerSettings struct {
	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time `json:"endOfLifeDate,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool `json:"isAutoUpdate,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool `json:"isDeprecated,omitempty" azure:"ro"`

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool `json:"isEarlyAccess,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool `json:"isHidden,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool `json:"isPreview,omitempty" azure:"ro"`

	// READ-ONLY; Java 11 version (runtime only).
	Java11Runtime *string `json:"java11Runtime,omitempty" azure:"ro"`

	// READ-ONLY; Java 8 version (runtime only).
	Java8Runtime *string `json:"java8Runtime,omitempty" azure:"ro"`
}

LinuxJavaContainerSettings - Linux Java Container settings.

func (LinuxJavaContainerSettings) MarshalJSON

func (l LinuxJavaContainerSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LinuxJavaContainerSettings.

func (*LinuxJavaContainerSettings) UnmarshalJSON

func (l *LinuxJavaContainerSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LinuxJavaContainerSettings.

type LoadBalancingMode

type LoadBalancingMode string

LoadBalancingMode - Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.

const (
	LoadBalancingModeNone          LoadBalancingMode = "None"
	LoadBalancingModePublishing    LoadBalancingMode = "Publishing"
	LoadBalancingModeWeb           LoadBalancingMode = "Web"
	LoadBalancingModeWebPublishing LoadBalancingMode = "Web, Publishing"
)

func PossibleLoadBalancingModeValues

func PossibleLoadBalancingModeValues() []LoadBalancingMode

PossibleLoadBalancingModeValues returns the possible values for the LoadBalancingMode const type.

type LocalizableString

type LocalizableString struct {
	// Localized name.
	LocalizedValue *string `json:"localizedValue,omitempty"`

	// Non-localized name.
	Value *string `json:"value,omitempty"`
}

LocalizableString - Localizable string object containing the name and a localized value.

type LogAnalyticsConfiguration

type LogAnalyticsConfiguration struct {
	CustomerID *string `json:"customerId,omitempty"`
	SharedKey  *string `json:"sharedKey,omitempty"`
}

type LogLevel

type LogLevel string

LogLevel - Log level.

const (
	LogLevelOff         LogLevel = "Off"
	LogLevelVerbose     LogLevel = "Verbose"
	LogLevelInformation LogLevel = "Information"
	LogLevelWarning     LogLevel = "Warning"
	LogLevelError       LogLevel = "Error"
)

func PossibleLogLevelValues

func PossibleLogLevelValues() []LogLevel

PossibleLogLevelValues returns the possible values for the LogLevel const type.

type LogSpecification

type LogSpecification struct {
	BlobDuration     *string `json:"blobDuration,omitempty"`
	DisplayName      *string `json:"displayName,omitempty"`
	LogFilterPattern *string `json:"logFilterPattern,omitempty"`
	Name             *string `json:"name,omitempty"`
}

LogSpecification - Log Definition of a single resource metric.

type Login

type Login struct {
	// 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"`

	// The configuration settings of the session cookie's expiration.
	CookieExpiration *CookieExpiration `json:"cookieExpiration,omitempty"`

	// The configuration settings of the nonce used in the login flow.
	Nonce *Nonce `json:"nonce,omitempty"`

	// true if the fragments from the request are preserved after the login request is made; otherwise, false.
	PreserveURLFragmentsForLogins *bool `json:"preserveUrlFragmentsForLogins,omitempty"`

	// The routes that specify the endpoints used for login and logout requests.
	Routes *LoginRoutes `json:"routes,omitempty"`

	// The configuration settings of the token store.
	TokenStore *TokenStore `json:"tokenStore,omitempty"`
}

Login - The configuration settings of the login flow of users using App Service Authentication/Authorization.

func (Login) MarshalJSON

func (l Login) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Login.

type LoginRoutes

type LoginRoutes struct {
	// The endpoint at which a logout request should be made.
	LogoutEndpoint *string `json:"logoutEndpoint,omitempty"`
}

LoginRoutes - The routes that specify the endpoints used for login and logout requests.

type LoginScopes

type LoginScopes struct {
	// A list of the scopes that should be requested while authenticating.
	Scopes []*string `json:"scopes,omitempty"`
}

LoginScopes - The configuration settings of the login flow, including the scopes that should be requested.

func (LoginScopes) MarshalJSON

func (l LoginScopes) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoginScopes.

type MSDeploy

type MSDeploy struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *MSDeployCore `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

MSDeploy ARM PUT information

type MSDeployCore

type MSDeployCore struct {
	// Sets the AppOffline rule while the MSDeploy operation executes. Setting is false by default.
	AppOffline *bool `json:"appOffline,omitempty"`

	// SQL Connection String
	ConnectionString *string `json:"connectionString,omitempty"`

	// Database Type
	DbType *string `json:"dbType,omitempty"`

	// Package URI
	PackageURI *string `json:"packageUri,omitempty"`

	// MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
	SetParameters map[string]*string `json:"setParameters,omitempty"`

	// URI of MSDeploy Parameters file. Must not be set if SetParameters is used.
	SetParametersXMLFileURI *string `json:"setParametersXmlFileUri,omitempty"`

	// Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on
	// the destination will not be deleted, and any App_Data directory in the source
	// will be ignored. Setting is false by default.
	SkipAppData *bool `json:"skipAppData,omitempty"`
}

MSDeployCore - MSDeploy ARM PUT core information

func (MSDeployCore) MarshalJSON

func (m MSDeployCore) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployCore.

type MSDeployLog

type MSDeployLog struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// MSDeployLog resource specific properties
	Properties *MSDeployLogProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

MSDeployLog - MSDeploy log

type MSDeployLogEntry

type MSDeployLogEntry struct {
	// READ-ONLY; Log entry message
	Message *string `json:"message,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp of log entry
	Time *time.Time `json:"time,omitempty" azure:"ro"`

	// READ-ONLY; Log entry type
	Type *MSDeployLogEntryType `json:"type,omitempty" azure:"ro"`
}

MSDeployLogEntry - MSDeploy log entry

func (MSDeployLogEntry) MarshalJSON

func (m MSDeployLogEntry) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployLogEntry.

func (*MSDeployLogEntry) UnmarshalJSON

func (m *MSDeployLogEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeployLogEntry.

type MSDeployLogEntryType

type MSDeployLogEntryType string

MSDeployLogEntryType - Log entry type

const (
	MSDeployLogEntryTypeMessage MSDeployLogEntryType = "Message"
	MSDeployLogEntryTypeWarning MSDeployLogEntryType = "Warning"
	MSDeployLogEntryTypeError   MSDeployLogEntryType = "Error"
)

func PossibleMSDeployLogEntryTypeValues

func PossibleMSDeployLogEntryTypeValues() []MSDeployLogEntryType

PossibleMSDeployLogEntryTypeValues returns the possible values for the MSDeployLogEntryType const type.

type MSDeployLogProperties

type MSDeployLogProperties struct {
	// READ-ONLY; List of log entry messages
	Entries []*MSDeployLogEntry `json:"entries,omitempty" azure:"ro"`
}

MSDeployLogProperties - MSDeployLog resource specific properties

func (MSDeployLogProperties) MarshalJSON

func (m MSDeployLogProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployLogProperties.

type MSDeployProvisioningState

type MSDeployProvisioningState string

MSDeployProvisioningState - Provisioning state

const (
	MSDeployProvisioningStateAccepted  MSDeployProvisioningState = "accepted"
	MSDeployProvisioningStateRunning   MSDeployProvisioningState = "running"
	MSDeployProvisioningStateSucceeded MSDeployProvisioningState = "succeeded"
	MSDeployProvisioningStateFailed    MSDeployProvisioningState = "failed"
	MSDeployProvisioningStateCanceled  MSDeployProvisioningState = "canceled"
)

func PossibleMSDeployProvisioningStateValues

func PossibleMSDeployProvisioningStateValues() []MSDeployProvisioningState

PossibleMSDeployProvisioningStateValues returns the possible values for the MSDeployProvisioningState const type.

type MSDeployStatus

type MSDeployStatus struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// MSDeployStatus resource specific properties
	Properties *MSDeployStatusProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

MSDeployStatus - MSDeploy ARM response

type MSDeployStatusProperties

type MSDeployStatusProperties struct {
	// READ-ONLY; Whether the deployment operation has completed
	Complete *bool `json:"complete,omitempty" azure:"ro"`

	// READ-ONLY; Username of deployer
	Deployer *string `json:"deployer,omitempty" azure:"ro"`

	// READ-ONLY; End time of deploy operation
	EndTime *time.Time `json:"endTime,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state
	ProvisioningState *MSDeployProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Start time of deploy operation
	StartTime *time.Time `json:"startTime,omitempty" azure:"ro"`
}

MSDeployStatusProperties - MSDeployStatus resource specific properties

func (MSDeployStatusProperties) MarshalJSON

func (m MSDeployStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployStatusProperties.

func (*MSDeployStatusProperties) UnmarshalJSON

func (m *MSDeployStatusProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeployStatusProperties.

type ManagedPipelineMode

type ManagedPipelineMode string

ManagedPipelineMode - Managed pipeline mode.

const (
	ManagedPipelineModeIntegrated ManagedPipelineMode = "Integrated"
	ManagedPipelineModeClassic    ManagedPipelineMode = "Classic"
)

func PossibleManagedPipelineModeValues

func PossibleManagedPipelineModeValues() []ManagedPipelineMode

PossibleManagedPipelineModeValues returns the possible values for the ManagedPipelineMode const type.

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	// Type of managed service identity.
	Type *ManagedServiceIdentityType `json:"type,omitempty"`

	// The list of user assigned identities associated with the resource. The user identity dictionary key references will be
	// ARM resource ids in the form:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
	UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`

	// READ-ONLY; Principal Id of managed service identity.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; Tenant of managed service identity.
	TenantID *string `json:"tenantId,omitempty" azure:"ro"`
}

ManagedServiceIdentity - Managed service identity.

func (ManagedServiceIdentity) MarshalJSON

func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentity.

type ManagedServiceIdentityType

type ManagedServiceIdentityType string

ManagedServiceIdentityType - Type of managed service identity.

const (
	ManagedServiceIdentityTypeSystemAssigned             ManagedServiceIdentityType = "SystemAssigned"
	ManagedServiceIdentityTypeUserAssigned               ManagedServiceIdentityType = "UserAssigned"
	ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned, UserAssigned"
	ManagedServiceIdentityTypeNone                       ManagedServiceIdentityType = "None"
)

func PossibleManagedServiceIdentityTypeValues

func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType

PossibleManagedServiceIdentityTypeValues returns the possible values for the ManagedServiceIdentityType const type.

type MetricAvailability

type MetricAvailability struct {
	BlobDuration *string `json:"blobDuration,omitempty"`
	TimeGrain    *string `json:"timeGrain,omitempty"`
}

MetricAvailability - Retention policy of a resource metric.

type MetricSpecification

type MetricSpecification struct {
	AggregationType                  *string               `json:"aggregationType,omitempty"`
	Availabilities                   []*MetricAvailability `json:"availabilities,omitempty"`
	Category                         *string               `json:"category,omitempty"`
	Dimensions                       []*Dimension          `json:"dimensions,omitempty"`
	DisplayDescription               *string               `json:"displayDescription,omitempty"`
	DisplayName                      *string               `json:"displayName,omitempty"`
	EnableRegionalMdmAccount         *bool                 `json:"enableRegionalMdmAccount,omitempty"`
	FillGapWithZero                  *bool                 `json:"fillGapWithZero,omitempty"`
	IsInternal                       *bool                 `json:"isInternal,omitempty"`
	MetricFilterPattern              *string               `json:"metricFilterPattern,omitempty"`
	Name                             *string               `json:"name,omitempty"`
	SourceMdmAccount                 *string               `json:"sourceMdmAccount,omitempty"`
	SourceMdmNamespace               *string               `json:"sourceMdmNamespace,omitempty"`
	SupportedAggregationTypes        []*string             `json:"supportedAggregationTypes,omitempty"`
	SupportedTimeGrainTypes          []*string             `json:"supportedTimeGrainTypes,omitempty"`
	SupportsInstanceLevelAggregation *bool                 `json:"supportsInstanceLevelAggregation,omitempty"`
	Unit                             *string               `json:"unit,omitempty"`
}

MetricSpecification - Definition of a single resource metric.

type MigrateMySQLRequest

type MigrateMySQLRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// MigrateMySqlRequest resource specific properties
	Properties *MigrateMySQLRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

MigrateMySQLRequest - MySQL migration request.

type MigrateMySQLRequestProperties

type MigrateMySQLRequestProperties struct {
	// REQUIRED; Connection string to the remote MySQL database.
	ConnectionString *string `json:"connectionString,omitempty"`

	// REQUIRED; The type of migration operation to be done
	MigrationType *MySQLMigrationType `json:"migrationType,omitempty"`
}

MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties

type MigrateMySQLStatus

type MigrateMySQLStatus struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// MigrateMySqlStatus resource specific properties
	Properties *MigrateMySQLStatusProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

MigrateMySQLStatus - MySQL migration status.

type MigrateMySQLStatusProperties

type MigrateMySQLStatusProperties struct {
	// READ-ONLY; True if the web app has in app MySql enabled
	LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty" azure:"ro"`

	// READ-ONLY; Status of the migration task.
	MigrationOperationStatus *OperationStatus `json:"migrationOperationStatus,omitempty" azure:"ro"`

	// READ-ONLY; Operation ID for the migration task.
	OperationID *string `json:"operationId,omitempty" azure:"ro"`
}

MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties

type MySQLMigrationType

type MySQLMigrationType string

MySQLMigrationType - The type of migration operation to be done

const (
	MySQLMigrationTypeLocalToRemote MySQLMigrationType = "LocalToRemote"
	MySQLMigrationTypeRemoteToLocal MySQLMigrationType = "RemoteToLocal"
)

func PossibleMySQLMigrationTypeValues

func PossibleMySQLMigrationTypeValues() []MySQLMigrationType

PossibleMySQLMigrationTypeValues returns the possible values for the MySQLMigrationType const type.

type NameIdentifier

type NameIdentifier struct {
	// Name of the object.
	Name *string `json:"name,omitempty"`
}

NameIdentifier - Identifies an object.

type NameIdentifierCollection

type NameIdentifierCollection struct {
	// REQUIRED; Collection of resources.
	Value []*NameIdentifier `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

NameIdentifierCollection - Collection of domain name identifiers.

type NameValuePair

type NameValuePair struct {
	// Pair name.
	Name *string `json:"name,omitempty"`

	// Pair value.
	Value *string `json:"value,omitempty"`
}

NameValuePair - Name value pair.

type NetworkFeatures

type NetworkFeatures struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// NetworkFeatures resource specific properties
	Properties *NetworkFeaturesProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

NetworkFeatures - Full view of network features for an app (presently VNET integration and Hybrid Connections).

type NetworkFeaturesProperties

type NetworkFeaturesProperties struct {
	// READ-ONLY; The Hybrid Connections summary view.
	HybridConnections []*RelayServiceConnectionEntity `json:"hybridConnections,omitempty" azure:"ro"`

	// READ-ONLY; The Hybrid Connection V2 (Service Bus) view.
	HybridConnectionsV2 []*HybridConnection `json:"hybridConnectionsV2,omitempty" azure:"ro"`

	// READ-ONLY; The Virtual Network summary view.
	VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty" azure:"ro"`

	// READ-ONLY; The Virtual Network name.
	VirtualNetworkName *string `json:"virtualNetworkName,omitempty" azure:"ro"`
}

NetworkFeaturesProperties - NetworkFeatures resource specific properties

func (NetworkFeaturesProperties) MarshalJSON

func (n NetworkFeaturesProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkFeaturesProperties.

type NetworkTrace

type NetworkTrace struct {
	// Detailed message of a network trace operation, e.g. error message in case of failure.
	Message *string `json:"message,omitempty"`

	// Local file path for the captured network trace file.
	Path *string `json:"path,omitempty"`

	// Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).
	Status *string `json:"status,omitempty"`
}

NetworkTrace - Network trace

type Nonce

type Nonce struct {
	// The time after the request is made when the nonce should expire.
	NonceExpirationInterval *string `json:"nonceExpirationInterval,omitempty"`

	// false if the nonce should not be validated while completing the login flow; otherwise, true.
	ValidateNonce *bool `json:"validateNonce,omitempty"`
}

Nonce - The configuration settings of the nonce used in the login flow.

type NotificationLevel

type NotificationLevel string

NotificationLevel - Level indicating how critical this recommendation can impact.

const (
	NotificationLevelCritical            NotificationLevel = "Critical"
	NotificationLevelWarning             NotificationLevel = "Warning"
	NotificationLevelInformation         NotificationLevel = "Information"
	NotificationLevelNonUrgentSuggestion NotificationLevel = "NonUrgentSuggestion"
)

func PossibleNotificationLevelValues

func PossibleNotificationLevelValues() []NotificationLevel

PossibleNotificationLevelValues returns the possible values for the NotificationLevel const type.

type OpenIDConnectClientCredential

type OpenIDConnectClientCredential struct {
	// The app setting that contains the client secret for the custom Open ID Connect provider.
	ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"`

	// The method that should be used to authenticate the user.
	Method *string `json:"method,omitempty"`
}

OpenIDConnectClientCredential - The authentication client credentials of the custom Open ID Connect provider.

type OpenIDConnectConfig

type OpenIDConnectConfig struct {
	// The endpoint to be used to make an authorization request.
	AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"`

	// The endpoint that provides the keys necessary to validate the token.
	CertificationURI *string `json:"certificationUri,omitempty"`

	// The endpoint that issues the token.
	Issuer *string `json:"issuer,omitempty"`

	// The endpoint to be used to request a token.
	TokenEndpoint *string `json:"tokenEndpoint,omitempty"`

	// The endpoint that contains all the configuration endpoints for the provider.
	WellKnownOpenIDConfiguration *string `json:"wellKnownOpenIdConfiguration,omitempty"`
}

OpenIDConnectConfig - The configuration settings of the endpoints used for the custom Open ID Connect provider.

type OpenIDConnectLogin

type OpenIDConnectLogin struct {
	// The name of the claim that contains the users name.
	NameClaimType *string `json:"nameClaimType,omitempty"`

	// A list of the scopes that should be requested while authenticating.
	Scopes []*string `json:"scopes,omitempty"`
}

OpenIDConnectLogin - The configuration settings of the login flow of the custom Open ID Connect provider.

func (OpenIDConnectLogin) MarshalJSON

func (o OpenIDConnectLogin) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenIDConnectLogin.

type OpenIDConnectRegistration

type OpenIDConnectRegistration struct {
	// The authentication credentials of the custom Open ID Connect provider.
	ClientCredential *OpenIDConnectClientCredential `json:"clientCredential,omitempty"`

	// The client id of the custom Open ID Connect provider.
	ClientID *string `json:"clientId,omitempty"`

	// The configuration settings of the endpoints used for the custom Open ID Connect provider.
	OpenIDConnectConfiguration *OpenIDConnectConfig `json:"openIdConnectConfiguration,omitempty"`
}

OpenIDConnectRegistration - The configuration settings of the app registration for the custom Open ID Connect provider.

type Operation

type Operation struct {
	// Time when operation has started.
	CreatedTime *time.Time `json:"createdTime,omitempty"`

	// Any errors associate with the operation.
	Errors []*ErrorEntity `json:"errors,omitempty"`

	// Time when operation will expire.
	ExpirationTime *time.Time `json:"expirationTime,omitempty"`

	// Applicable only for stamp operation ids.
	GeoMasterOperationID *string `json:"geoMasterOperationId,omitempty"`

	// Operation ID.
	ID *string `json:"id,omitempty"`

	// Time when operation has been updated.
	ModifiedTime *time.Time `json:"modifiedTime,omitempty"`

	// Operation name.
	Name *string `json:"name,omitempty"`

	// The current status of the operation.
	Status *OperationStatus `json:"status,omitempty"`
}

Operation - An operation on a resource.

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Operation.

type OperationStatus

type OperationStatus string

OperationStatus - The current status of the operation.

const (
	OperationStatusInProgress OperationStatus = "InProgress"
	OperationStatusFailed     OperationStatus = "Failed"
	OperationStatusSucceeded  OperationStatus = "Succeeded"
	OperationStatusTimedOut   OperationStatus = "TimedOut"
	OperationStatusCreated    OperationStatus = "Created"
)

func PossibleOperationStatusValues

func PossibleOperationStatusValues() []OperationStatus

PossibleOperationStatusValues returns the possible values for the OperationStatus const type.

type OutboundEnvironmentEndpoint

type OutboundEnvironmentEndpoint struct {
	// The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active
	// Directory.
	Category *string `json:"category,omitempty"`

	// The endpoints that the App Service Environment reaches the service at.
	Endpoints []*EndpointDependency `json:"endpoints,omitempty"`
}

OutboundEnvironmentEndpoint - Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.

type OutboundEnvironmentEndpointCollection

type OutboundEnvironmentEndpointCollection struct {
	// REQUIRED; Collection of resources.
	Value []*OutboundEnvironmentEndpoint `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

OutboundEnvironmentEndpointCollection - Collection of Outbound Environment Endpoints

type PerfMonCounterCollection

type PerfMonCounterCollection struct {
	// REQUIRED; Collection of resources.
	Value []*PerfMonResponse `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PerfMonCounterCollection - Collection of performance monitor counters.

type PerfMonResponse

type PerfMonResponse struct {
	// The response code.
	Code *string `json:"code,omitempty"`

	// The performance monitor counters.
	Data *PerfMonSet `json:"data,omitempty"`

	// The message.
	Message *string `json:"message,omitempty"`
}

PerfMonResponse - Performance monitor API response.

type PerfMonSample

type PerfMonSample struct {
	// Name of the server on which the measurement is made.
	InstanceName *string `json:"instanceName,omitempty"`

	// Point in time for which counter was measured.
	Time *time.Time `json:"time,omitempty"`

	// Value of counter at a certain time.
	Value *float64 `json:"value,omitempty"`
}

PerfMonSample - Performance monitor sample in a set.

func (*PerfMonSample) UnmarshalJSON

func (p *PerfMonSample) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PerfMonSample.

type PerfMonSet

type PerfMonSet struct {
	// End time of the period.
	EndTime *time.Time `json:"endTime,omitempty"`

	// Unique key name of the counter.
	Name *string `json:"name,omitempty"`

	// Start time of the period.
	StartTime *time.Time `json:"startTime,omitempty"`

	// Presented time grain.
	TimeGrain *string `json:"timeGrain,omitempty"`

	// Collection of workers that are active during this time.
	Values []*PerfMonSample `json:"values,omitempty"`
}

PerfMonSet - Metric information.

func (*PerfMonSet) UnmarshalJSON

func (p *PerfMonSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PerfMonSet.

type Plan added in v0.2.0

type Plan struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Extended Location.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AppServicePlan resource specific properties
	Properties *PlanProperties `json:"properties,omitempty"`

	// Description of a SKU for a scalable resource.
	SKU *SKUDescription `json:"sku,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Plan - App Service plan.

func (Plan) MarshalJSON added in v0.2.0

func (p Plan) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Plan.

type PlanCollection added in v0.2.0

type PlanCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Plan `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PlanCollection - Collection of App Service plans.

type PlanPatchResource added in v0.2.0

type PlanPatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// AppServicePlanPatchResource resource specific properties
	Properties *PlanPatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PlanPatchResource - ARM resource for a app service plan.

func (PlanPatchResource) MarshalJSON added in v0.2.0

func (p PlanPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanPatchResource.

type PlanPatchResourceProperties added in v0.2.0

type PlanPatchResourceProperties struct {
	// ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku
	ElasticScaleEnabled *bool `json:"elasticScaleEnabled,omitempty"`

	// The time when the server farm free offer expires.
	FreeOfferExpirationTime *time.Time `json:"freeOfferExpirationTime,omitempty"`

	// Specification for the App Service Environment to use for the App Service plan.
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`

	// If Hyper-V container app service plan true, false otherwise.
	HyperV *bool `json:"hyperV,omitempty"`

	// If true, this App Service Plan owns spot instances.
	IsSpot *bool `json:"isSpot,omitempty"`

	// Obsolete: If Hyper-V container app service plan true, false otherwise.
	IsXenon *bool `json:"isXenon,omitempty"`

	// Specification for the Kubernetes Environment to use for the App Service plan.
	KubeEnvironmentProfile *KubeEnvironmentProfile `json:"kubeEnvironmentProfile,omitempty"`

	// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
	MaximumElasticWorkerCount *int32 `json:"maximumElasticWorkerCount,omitempty"`

	// If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service
	// plan will scale to all instances of the plan.
	PerSiteScaling *bool `json:"perSiteScaling,omitempty"`

	// If Linux app service plan true, false otherwise.
	Reserved *bool `json:"reserved,omitempty"`

	// The time when the server farm expires. Valid only if it is a spot server farm.
	SpotExpirationTime *time.Time `json:"spotExpirationTime,omitempty"`

	// Scaling worker count.
	TargetWorkerCount *int32 `json:"targetWorkerCount,omitempty"`

	// Scaling worker size ID.
	TargetWorkerSizeID *int32 `json:"targetWorkerSizeId,omitempty"`

	// Target worker tier assigned to the App Service plan.
	WorkerTierName *string `json:"workerTierName,omitempty"`

	// If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform
	// availability zone balancing.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`

	// READ-ONLY; Geographical location for the App Service plan.
	GeoRegion *string `json:"geoRegion,omitempty" azure:"ro"`

	// READ-ONLY; Maximum number of instances that can be assigned to this App Service plan.
	MaximumNumberOfWorkers *int32 `json:"maximumNumberOfWorkers,omitempty" azure:"ro"`

	// READ-ONLY; Number of apps assigned to this App Service plan.
	NumberOfSites *int32 `json:"numberOfSites,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state of the App Service Plan.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Resource group of the App Service plan.
	ResourceGroup *string `json:"resourceGroup,omitempty" azure:"ro"`

	// READ-ONLY; App Service plan status.
	Status *StatusOptions `json:"status,omitempty" azure:"ro"`

	// READ-ONLY; App Service plan subscription.
	Subscription *string `json:"subscription,omitempty" azure:"ro"`
}

PlanPatchResourceProperties - AppServicePlanPatchResource resource specific properties

func (PlanPatchResourceProperties) MarshalJSON added in v0.2.0

func (p PlanPatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanPatchResourceProperties.

func (*PlanPatchResourceProperties) UnmarshalJSON added in v0.2.0

func (p *PlanPatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlanPatchResourceProperties.

type PlanProperties added in v0.2.0

type PlanProperties struct {
	// ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku
	ElasticScaleEnabled *bool `json:"elasticScaleEnabled,omitempty"`

	// The time when the server farm free offer expires.
	FreeOfferExpirationTime *time.Time `json:"freeOfferExpirationTime,omitempty"`

	// Specification for the App Service Environment to use for the App Service plan.
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`

	// If Hyper-V container app service plan true, false otherwise.
	HyperV *bool `json:"hyperV,omitempty"`

	// If true, this App Service Plan owns spot instances.
	IsSpot *bool `json:"isSpot,omitempty"`

	// Obsolete: If Hyper-V container app service plan true, false otherwise.
	IsXenon *bool `json:"isXenon,omitempty"`

	// Specification for the Kubernetes Environment to use for the App Service plan.
	KubeEnvironmentProfile *KubeEnvironmentProfile `json:"kubeEnvironmentProfile,omitempty"`

	// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
	MaximumElasticWorkerCount *int32 `json:"maximumElasticWorkerCount,omitempty"`

	// If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service
	// plan will scale to all instances of the plan.
	PerSiteScaling *bool `json:"perSiteScaling,omitempty"`

	// If Linux app service plan true, false otherwise.
	Reserved *bool `json:"reserved,omitempty"`

	// The time when the server farm expires. Valid only if it is a spot server farm.
	SpotExpirationTime *time.Time `json:"spotExpirationTime,omitempty"`

	// Scaling worker count.
	TargetWorkerCount *int32 `json:"targetWorkerCount,omitempty"`

	// Scaling worker size ID.
	TargetWorkerSizeID *int32 `json:"targetWorkerSizeId,omitempty"`

	// Target worker tier assigned to the App Service plan.
	WorkerTierName *string `json:"workerTierName,omitempty"`

	// If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform
	// availability zone balancing.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`

	// READ-ONLY; Geographical location for the App Service plan.
	GeoRegion *string `json:"geoRegion,omitempty" azure:"ro"`

	// READ-ONLY; Maximum number of instances that can be assigned to this App Service plan.
	MaximumNumberOfWorkers *int32 `json:"maximumNumberOfWorkers,omitempty" azure:"ro"`

	// READ-ONLY; Number of apps assigned to this App Service plan.
	NumberOfSites *int32 `json:"numberOfSites,omitempty" azure:"ro"`

	// READ-ONLY; Provisioning state of the App Service Plan.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Resource group of the App Service plan.
	ResourceGroup *string `json:"resourceGroup,omitempty" azure:"ro"`

	// READ-ONLY; App Service plan status.
	Status *StatusOptions `json:"status,omitempty" azure:"ro"`

	// READ-ONLY; App Service plan subscription.
	Subscription *string `json:"subscription,omitempty" azure:"ro"`
}

PlanProperties - AppServicePlan resource specific properties

func (PlanProperties) MarshalJSON added in v0.2.0

func (p PlanProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanProperties.

func (*PlanProperties) UnmarshalJSON added in v0.2.0

func (p *PlanProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlanProperties.

type PlansClient added in v0.2.0

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

PlansClient contains the methods for the AppServicePlans group. Don't use this type directly, use NewPlansClient() instead.

func NewPlansClient added in v0.2.0

func NewPlansClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*PlansClient, error)

NewPlansClient creates a new instance of PlansClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*PlansClient) BeginCreateOrUpdate added in v0.2.0

func (client *PlansClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, appServicePlan Plan, options *PlansClientBeginCreateOrUpdateOptions) (*runtime.Poller[PlansClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Creates or updates an App Service Plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientBeginCreateOrUpdateOptions contains the optional parameters for the PlansClient.BeginCreateOrUpdate method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateAppServicePlan.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewPlansClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateOrUpdate(ctx,
		"testrg123",
		"testsf6141",
		armappservice.Plan{
			Kind:       to.Ptr("app"),
			Location:   to.Ptr("East US"),
			Properties: &armappservice.PlanProperties{},
			SKU: &armappservice.SKUDescription{
				Name:     to.Ptr("P1"),
				Capacity: to.Ptr[int32](1),
				Family:   to.Ptr("P"),
				Size:     to.Ptr("P1"),
				Tier:     to.Ptr("Premium"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*PlansClient) CreateOrUpdateVnetRoute added in v0.2.0

func (client *PlansClient) CreateOrUpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute, options *PlansClientCreateOrUpdateVnetRouteOptions) (PlansClientCreateOrUpdateVnetRouteResponse, error)

CreateOrUpdateVnetRoute - Create or update a Virtual Network route in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientCreateOrUpdateVnetRouteOptions contains the optional parameters for the PlansClient.CreateOrUpdateVnetRoute method.

func (*PlansClient) Delete added in v0.2.0

func (client *PlansClient) Delete(ctx context.Context, resourceGroupName string, name string, options *PlansClientDeleteOptions) (PlansClientDeleteResponse, error)

Delete - Delete an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientDeleteOptions contains the optional parameters for the PlansClient.Delete method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteAppServicePlan.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewPlansClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.Delete(ctx,
		"testrg123",
		"testsf6141",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*PlansClient) DeleteHybridConnection added in v0.2.0

func (client *PlansClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientDeleteHybridConnectionOptions) (PlansClientDeleteHybridConnectionResponse, error)

DeleteHybridConnection - Delete a Hybrid Connection in use in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientDeleteHybridConnectionOptions contains the optional parameters for the PlansClient.DeleteHybridConnection method.

func (*PlansClient) DeleteVnetRoute added in v0.2.0

func (client *PlansClient) DeleteVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, options *PlansClientDeleteVnetRouteOptions) (PlansClientDeleteVnetRouteResponse, error)

DeleteVnetRoute - Delete a Virtual Network route in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientDeleteVnetRouteOptions contains the optional parameters for the PlansClient.DeleteVnetRoute method.

func (*PlansClient) Get added in v0.2.0

func (client *PlansClient) Get(ctx context.Context, resourceGroupName string, name string, options *PlansClientGetOptions) (PlansClientGetResponse, error)

Get - Get an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientGetOptions contains the optional parameters for the PlansClient.Get method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetAppServicePlan.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewPlansClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Get(ctx,
		"testrg123",
		"testsf6141",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*PlansClient) GetHybridConnection added in v0.2.0

func (client *PlansClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientGetHybridConnectionOptions) (PlansClientGetHybridConnectionResponse, error)

GetHybridConnection - Retrieve a Hybrid Connection in use in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientGetHybridConnectionOptions contains the optional parameters for the PlansClient.GetHybridConnection method.

func (*PlansClient) GetHybridConnectionPlanLimit added in v0.2.0

func (client *PlansClient) GetHybridConnectionPlanLimit(ctx context.Context, resourceGroupName string, name string, options *PlansClientGetHybridConnectionPlanLimitOptions) (PlansClientGetHybridConnectionPlanLimitResponse, error)

GetHybridConnectionPlanLimit - Get the maximum number of Hybrid Connections allowed in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientGetHybridConnectionPlanLimitOptions contains the optional parameters for the PlansClient.GetHybridConnectionPlanLimit method.

func (*PlansClient) GetRouteForVnet added in v0.2.0

func (client *PlansClient) GetRouteForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, options *PlansClientGetRouteForVnetOptions) (PlansClientGetRouteForVnetResponse, error)

GetRouteForVnet - Get a Virtual Network route in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientGetRouteForVnetOptions contains the optional parameters for the PlansClient.GetRouteForVnet method.

func (*PlansClient) GetServerFarmSKUs added in v0.2.0

func (client *PlansClient) GetServerFarmSKUs(ctx context.Context, resourceGroupName string, name string, options *PlansClientGetServerFarmSKUsOptions) (PlansClientGetServerFarmSKUsResponse, error)

GetServerFarmSKUs - Gets all selectable SKUs for a given App Service Plan If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of App Service Plan options - PlansClientGetServerFarmSKUsOptions contains the optional parameters for the PlansClient.GetServerFarmSKUs method.

func (*PlansClient) GetVnetFromServerFarm added in v0.2.0

func (client *PlansClient) GetVnetFromServerFarm(ctx context.Context, resourceGroupName string, name string, vnetName string, options *PlansClientGetVnetFromServerFarmOptions) (PlansClientGetVnetFromServerFarmResponse, error)

GetVnetFromServerFarm - Get a Virtual Network associated with an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. vnetName - Name of the Virtual Network. options - PlansClientGetVnetFromServerFarmOptions contains the optional parameters for the PlansClient.GetVnetFromServerFarm method.

func (*PlansClient) GetVnetGateway added in v0.2.0

func (client *PlansClient) GetVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, options *PlansClientGetVnetGatewayOptions) (PlansClientGetVnetGatewayResponse, error)

GetVnetGateway - Get a Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientGetVnetGatewayOptions contains the optional parameters for the PlansClient.GetVnetGateway method.

func (*PlansClient) ListCapabilities added in v0.2.0

func (client *PlansClient) ListCapabilities(ctx context.Context, resourceGroupName string, name string, options *PlansClientListCapabilitiesOptions) (PlansClientListCapabilitiesResponse, error)

ListCapabilities - List all capabilities of an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientListCapabilitiesOptions contains the optional parameters for the PlansClient.ListCapabilities method.

func (*PlansClient) ListHybridConnectionKeys added in v0.2.0

func (client *PlansClient) ListHybridConnectionKeys(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientListHybridConnectionKeysOptions) (PlansClientListHybridConnectionKeysResponse, error)

ListHybridConnectionKeys - Get the send key name and value of a Hybrid Connection. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientListHybridConnectionKeysOptions contains the optional parameters for the PlansClient.ListHybridConnectionKeys method.

func (*PlansClient) ListRoutesForVnet added in v0.2.0

func (client *PlansClient) ListRoutesForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string, options *PlansClientListRoutesForVnetOptions) (PlansClientListRoutesForVnetResponse, error)

ListRoutesForVnet - Get all routes that are associated with a Virtual Network in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. vnetName - Name of the Virtual Network. options - PlansClientListRoutesForVnetOptions contains the optional parameters for the PlansClient.ListRoutesForVnet method.

func (*PlansClient) ListVnets added in v0.2.0

func (client *PlansClient) ListVnets(ctx context.Context, resourceGroupName string, name string, options *PlansClientListVnetsOptions) (PlansClientListVnetsResponse, error)

ListVnets - Get all Virtual Networks associated with an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientListVnetsOptions contains the optional parameters for the PlansClient.ListVnets method.

func (*PlansClient) NewListByResourceGroupPager added in v0.4.0

func (client *PlansClient) NewListByResourceGroupPager(resourceGroupName string, options *PlansClientListByResourceGroupOptions) *runtime.Pager[PlansClientListByResourceGroupResponse]

NewListByResourceGroupPager - Get all App Service plans in a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - PlansClientListByResourceGroupOptions contains the optional parameters for the PlansClient.ListByResourceGroup method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListAppServicePlansByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewPlansClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListByResourceGroupPager("testrg123",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*PlansClient) NewListHybridConnectionsPager added in v0.4.0

func (client *PlansClient) NewListHybridConnectionsPager(resourceGroupName string, name string, options *PlansClientListHybridConnectionsOptions) *runtime.Pager[PlansClientListHybridConnectionsResponse]

NewListHybridConnectionsPager - Retrieve all Hybrid Connections in use in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientListHybridConnectionsOptions contains the optional parameters for the PlansClient.ListHybridConnections method.

func (*PlansClient) NewListPager added in v0.4.0

func (client *PlansClient) NewListPager(options *PlansClientListOptions) *runtime.Pager[PlansClientListResponse]

NewListPager - Get all App Service plans for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - PlansClientListOptions contains the optional parameters for the PlansClient.List method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListAppServicePlans.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewPlansClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListPager(&armappservice.PlansClientListOptions{Detailed: nil})
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*PlansClient) NewListUsagesPager added in v0.4.0

func (client *PlansClient) NewListUsagesPager(resourceGroupName string, name string, options *PlansClientListUsagesOptions) *runtime.Pager[PlansClientListUsagesResponse]

NewListUsagesPager - Gets server farm usage information If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of App Service Plan options - PlansClientListUsagesOptions contains the optional parameters for the PlansClient.ListUsages method.

func (*PlansClient) NewListWebAppsByHybridConnectionPager added in v0.4.0

func (client *PlansClient) NewListWebAppsByHybridConnectionPager(resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientListWebAppsByHybridConnectionOptions) *runtime.Pager[PlansClientListWebAppsByHybridConnectionResponse]

NewListWebAppsByHybridConnectionPager - Get all apps that use a Hybrid Connection in an App Service Plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientListWebAppsByHybridConnectionOptions contains the optional parameters for the PlansClient.ListWebAppsByHybridConnection method.

func (*PlansClient) NewListWebAppsPager added in v0.4.0

func (client *PlansClient) NewListWebAppsPager(resourceGroupName string, name string, options *PlansClientListWebAppsOptions) *runtime.Pager[PlansClientListWebAppsResponse]

NewListWebAppsPager - Get all apps associated with an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientListWebAppsOptions contains the optional parameters for the PlansClient.ListWebApps method.

func (*PlansClient) RebootWorker added in v0.2.0

func (client *PlansClient) RebootWorker(ctx context.Context, resourceGroupName string, name string, workerName string, options *PlansClientRebootWorkerOptions) (PlansClientRebootWorkerResponse, error)

RebootWorker - Reboot a worker machine in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientRebootWorkerOptions contains the optional parameters for the PlansClient.RebootWorker method.

func (*PlansClient) RestartWebApps added in v0.2.0

func (client *PlansClient) RestartWebApps(ctx context.Context, resourceGroupName string, name string, options *PlansClientRestartWebAppsOptions) (PlansClientRestartWebAppsResponse, error)

RestartWebApps - Restart all apps in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the App Service plan. options - PlansClientRestartWebAppsOptions contains the optional parameters for the PlansClient.RestartWebApps method.

func (*PlansClient) Update added in v0.2.0

func (client *PlansClient) Update(ctx context.Context, resourceGroupName string, name string, appServicePlan PlanPatchResource, options *PlansClientUpdateOptions) (PlansClientUpdateResponse, error)

Update - Creates or updates an App Service Plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientUpdateOptions contains the optional parameters for the PlansClient.Update method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/PatchAppServicePlan.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewPlansClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Update(ctx,
		"testrg123",
		"testsf6141",
		armappservice.PlanPatchResource{
			Kind:       to.Ptr("app"),
			Properties: &armappservice.PlanPatchResourceProperties{},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*PlansClient) UpdateVnetGateway added in v0.2.0

func (client *PlansClient) UpdateVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, options *PlansClientUpdateVnetGatewayOptions) (PlansClientUpdateVnetGatewayResponse, error)

UpdateVnetGateway - Update a Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientUpdateVnetGatewayOptions contains the optional parameters for the PlansClient.UpdateVnetGateway method.

func (*PlansClient) UpdateVnetRoute added in v0.2.0

func (client *PlansClient) UpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute, options *PlansClientUpdateVnetRouteOptions) (PlansClientUpdateVnetRouteResponse, error)

UpdateVnetRoute - Create or update a Virtual Network route in an App Service plan. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - PlansClientUpdateVnetRouteOptions contains the optional parameters for the PlansClient.UpdateVnetRoute method.

type PlansClientBeginCreateOrUpdateOptions added in v0.2.0

type PlansClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

PlansClientBeginCreateOrUpdateOptions contains the optional parameters for the PlansClient.BeginCreateOrUpdate method.

type PlansClientCreateOrUpdateResponse added in v0.2.0

type PlansClientCreateOrUpdateResponse struct {
	Plan
}

PlansClientCreateOrUpdateResponse contains the response from method PlansClient.CreateOrUpdate.

type PlansClientCreateOrUpdateVnetRouteOptions added in v0.2.0

type PlansClientCreateOrUpdateVnetRouteOptions struct {
}

PlansClientCreateOrUpdateVnetRouteOptions contains the optional parameters for the PlansClient.CreateOrUpdateVnetRoute method.

type PlansClientCreateOrUpdateVnetRouteResponse added in v0.2.0

type PlansClientCreateOrUpdateVnetRouteResponse struct {
	VnetRoute
}

PlansClientCreateOrUpdateVnetRouteResponse contains the response from method PlansClient.CreateOrUpdateVnetRoute.

type PlansClientDeleteHybridConnectionOptions added in v0.2.0

type PlansClientDeleteHybridConnectionOptions struct {
}

PlansClientDeleteHybridConnectionOptions contains the optional parameters for the PlansClient.DeleteHybridConnection method.

type PlansClientDeleteHybridConnectionResponse added in v0.2.0

type PlansClientDeleteHybridConnectionResponse struct {
}

PlansClientDeleteHybridConnectionResponse contains the response from method PlansClient.DeleteHybridConnection.

type PlansClientDeleteOptions added in v0.2.0

type PlansClientDeleteOptions struct {
}

PlansClientDeleteOptions contains the optional parameters for the PlansClient.Delete method.

type PlansClientDeleteResponse added in v0.2.0

type PlansClientDeleteResponse struct {
}

PlansClientDeleteResponse contains the response from method PlansClient.Delete.

type PlansClientDeleteVnetRouteOptions added in v0.2.0

type PlansClientDeleteVnetRouteOptions struct {
}

PlansClientDeleteVnetRouteOptions contains the optional parameters for the PlansClient.DeleteVnetRoute method.

type PlansClientDeleteVnetRouteResponse added in v0.2.0

type PlansClientDeleteVnetRouteResponse struct {
}

PlansClientDeleteVnetRouteResponse contains the response from method PlansClient.DeleteVnetRoute.

type PlansClientGetHybridConnectionOptions added in v0.2.0

type PlansClientGetHybridConnectionOptions struct {
}

PlansClientGetHybridConnectionOptions contains the optional parameters for the PlansClient.GetHybridConnection method.

type PlansClientGetHybridConnectionPlanLimitOptions added in v0.2.0

type PlansClientGetHybridConnectionPlanLimitOptions struct {
}

PlansClientGetHybridConnectionPlanLimitOptions contains the optional parameters for the PlansClient.GetHybridConnectionPlanLimit method.

type PlansClientGetHybridConnectionPlanLimitResponse added in v0.2.0

type PlansClientGetHybridConnectionPlanLimitResponse struct {
	HybridConnectionLimits
}

PlansClientGetHybridConnectionPlanLimitResponse contains the response from method PlansClient.GetHybridConnectionPlanLimit.

type PlansClientGetHybridConnectionResponse added in v0.2.0

type PlansClientGetHybridConnectionResponse struct {
	HybridConnection
}

PlansClientGetHybridConnectionResponse contains the response from method PlansClient.GetHybridConnection.

type PlansClientGetOptions added in v0.2.0

type PlansClientGetOptions struct {
}

PlansClientGetOptions contains the optional parameters for the PlansClient.Get method.

type PlansClientGetResponse added in v0.2.0

type PlansClientGetResponse struct {
	Plan
}

PlansClientGetResponse contains the response from method PlansClient.Get.

type PlansClientGetRouteForVnetOptions added in v0.2.0

type PlansClientGetRouteForVnetOptions struct {
}

PlansClientGetRouteForVnetOptions contains the optional parameters for the PlansClient.GetRouteForVnet method.

type PlansClientGetRouteForVnetResponse added in v0.2.0

type PlansClientGetRouteForVnetResponse struct {
	// Array of VnetRoute
	VnetRouteArray []*VnetRoute
}

PlansClientGetRouteForVnetResponse contains the response from method PlansClient.GetRouteForVnet.

type PlansClientGetServerFarmSKUsOptions added in v0.2.0

type PlansClientGetServerFarmSKUsOptions struct {
}

PlansClientGetServerFarmSKUsOptions contains the optional parameters for the PlansClient.GetServerFarmSKUs method.

type PlansClientGetServerFarmSKUsResponse added in v0.2.0

type PlansClientGetServerFarmSKUsResponse struct {
	// Anything
	Interface interface{}
}

PlansClientGetServerFarmSKUsResponse contains the response from method PlansClient.GetServerFarmSKUs.

type PlansClientGetVnetFromServerFarmOptions added in v0.2.0

type PlansClientGetVnetFromServerFarmOptions struct {
}

PlansClientGetVnetFromServerFarmOptions contains the optional parameters for the PlansClient.GetVnetFromServerFarm method.

type PlansClientGetVnetFromServerFarmResponse added in v0.2.0

type PlansClientGetVnetFromServerFarmResponse struct {
	VnetInfoResource
}

PlansClientGetVnetFromServerFarmResponse contains the response from method PlansClient.GetVnetFromServerFarm.

type PlansClientGetVnetGatewayOptions added in v0.2.0

type PlansClientGetVnetGatewayOptions struct {
}

PlansClientGetVnetGatewayOptions contains the optional parameters for the PlansClient.GetVnetGateway method.

type PlansClientGetVnetGatewayResponse added in v0.2.0

type PlansClientGetVnetGatewayResponse struct {
	VnetGateway
}

PlansClientGetVnetGatewayResponse contains the response from method PlansClient.GetVnetGateway.

type PlansClientListByResourceGroupOptions added in v0.2.0

type PlansClientListByResourceGroupOptions struct {
}

PlansClientListByResourceGroupOptions contains the optional parameters for the PlansClient.ListByResourceGroup method.

type PlansClientListByResourceGroupResponse added in v0.2.0

type PlansClientListByResourceGroupResponse struct {
	PlanCollection
}

PlansClientListByResourceGroupResponse contains the response from method PlansClient.ListByResourceGroup.

type PlansClientListCapabilitiesOptions added in v0.2.0

type PlansClientListCapabilitiesOptions struct {
}

PlansClientListCapabilitiesOptions contains the optional parameters for the PlansClient.ListCapabilities method.

type PlansClientListCapabilitiesResponse added in v0.2.0

type PlansClientListCapabilitiesResponse struct {
	// Array of Capability
	CapabilityArray []*Capability
}

PlansClientListCapabilitiesResponse contains the response from method PlansClient.ListCapabilities.

type PlansClientListHybridConnectionKeysOptions added in v0.2.0

type PlansClientListHybridConnectionKeysOptions struct {
}

PlansClientListHybridConnectionKeysOptions contains the optional parameters for the PlansClient.ListHybridConnectionKeys method.

type PlansClientListHybridConnectionKeysResponse added in v0.2.0

type PlansClientListHybridConnectionKeysResponse struct {
	HybridConnectionKey
}

PlansClientListHybridConnectionKeysResponse contains the response from method PlansClient.ListHybridConnectionKeys.

type PlansClientListHybridConnectionsOptions added in v0.2.0

type PlansClientListHybridConnectionsOptions struct {
}

PlansClientListHybridConnectionsOptions contains the optional parameters for the PlansClient.ListHybridConnections method.

type PlansClientListHybridConnectionsResponse added in v0.2.0

type PlansClientListHybridConnectionsResponse struct {
	HybridConnectionCollection
}

PlansClientListHybridConnectionsResponse contains the response from method PlansClient.ListHybridConnections.

type PlansClientListOptions added in v0.2.0

type PlansClientListOptions struct {
	// Specify true to return all App Service plan properties. The default is false, which returns a subset of the properties.
	// Retrieval of all properties may increase the API latency.
	Detailed *bool
}

PlansClientListOptions contains the optional parameters for the PlansClient.List method.

type PlansClientListResponse added in v0.2.0

type PlansClientListResponse struct {
	PlanCollection
}

PlansClientListResponse contains the response from method PlansClient.List.

type PlansClientListRoutesForVnetOptions added in v0.2.0

type PlansClientListRoutesForVnetOptions struct {
}

PlansClientListRoutesForVnetOptions contains the optional parameters for the PlansClient.ListRoutesForVnet method.

type PlansClientListRoutesForVnetResponse added in v0.2.0

type PlansClientListRoutesForVnetResponse struct {
	// Array of VnetRoute
	VnetRouteArray []*VnetRoute
}

PlansClientListRoutesForVnetResponse contains the response from method PlansClient.ListRoutesForVnet.

type PlansClientListUsagesOptions added in v0.2.0

type PlansClientListUsagesOptions struct {
	// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1'
	// or name.value eq 'Metric2').
	Filter *string
}

PlansClientListUsagesOptions contains the optional parameters for the PlansClient.ListUsages method.

type PlansClientListUsagesResponse added in v0.2.0

type PlansClientListUsagesResponse struct {
	CsmUsageQuotaCollection
}

PlansClientListUsagesResponse contains the response from method PlansClient.ListUsages.

type PlansClientListVnetsOptions added in v0.2.0

type PlansClientListVnetsOptions struct {
}

PlansClientListVnetsOptions contains the optional parameters for the PlansClient.ListVnets method.

type PlansClientListVnetsResponse added in v0.2.0

type PlansClientListVnetsResponse struct {
	// Array of VnetInfoResource
	VnetInfoResourceArray []*VnetInfoResource
}

PlansClientListVnetsResponse contains the response from method PlansClient.ListVnets.

type PlansClientListWebAppsByHybridConnectionOptions added in v0.2.0

type PlansClientListWebAppsByHybridConnectionOptions struct {
}

PlansClientListWebAppsByHybridConnectionOptions contains the optional parameters for the PlansClient.ListWebAppsByHybridConnection method.

type PlansClientListWebAppsByHybridConnectionResponse added in v0.2.0

type PlansClientListWebAppsByHybridConnectionResponse struct {
	ResourceCollection
}

PlansClientListWebAppsByHybridConnectionResponse contains the response from method PlansClient.ListWebAppsByHybridConnection.

type PlansClientListWebAppsOptions added in v0.2.0

type PlansClientListWebAppsOptions struct {
	// Supported filter: $filter=state eq running. Returns only web apps that are currently running
	Filter *string
	// 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
	SkipToken *string
	// List page size. If specified, results are paged.
	Top *string
}

PlansClientListWebAppsOptions contains the optional parameters for the PlansClient.ListWebApps method.

type PlansClientListWebAppsResponse added in v0.2.0

type PlansClientListWebAppsResponse struct {
	WebAppCollection
}

PlansClientListWebAppsResponse contains the response from method PlansClient.ListWebApps.

type PlansClientRebootWorkerOptions added in v0.2.0

type PlansClientRebootWorkerOptions struct {
}

PlansClientRebootWorkerOptions contains the optional parameters for the PlansClient.RebootWorker method.

type PlansClientRebootWorkerResponse added in v0.2.0

type PlansClientRebootWorkerResponse struct {
}

PlansClientRebootWorkerResponse contains the response from method PlansClient.RebootWorker.

type PlansClientRestartWebAppsOptions added in v0.2.0

type PlansClientRestartWebAppsOptions struct {
	// Specify true to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default
	// is false, which always restarts and reprovisions the apps
	SoftRestart *bool
}

PlansClientRestartWebAppsOptions contains the optional parameters for the PlansClient.RestartWebApps method.

type PlansClientRestartWebAppsResponse added in v0.2.0

type PlansClientRestartWebAppsResponse struct {
}

PlansClientRestartWebAppsResponse contains the response from method PlansClient.RestartWebApps.

type PlansClientUpdateOptions added in v0.2.0

type PlansClientUpdateOptions struct {
}

PlansClientUpdateOptions contains the optional parameters for the PlansClient.Update method.

type PlansClientUpdateResponse added in v0.2.0

type PlansClientUpdateResponse struct {
	Plan
}

PlansClientUpdateResponse contains the response from method PlansClient.Update.

type PlansClientUpdateVnetGatewayOptions added in v0.2.0

type PlansClientUpdateVnetGatewayOptions struct {
}

PlansClientUpdateVnetGatewayOptions contains the optional parameters for the PlansClient.UpdateVnetGateway method.

type PlansClientUpdateVnetGatewayResponse added in v0.2.0

type PlansClientUpdateVnetGatewayResponse struct {
	VnetGateway
}

PlansClientUpdateVnetGatewayResponse contains the response from method PlansClient.UpdateVnetGateway.

type PlansClientUpdateVnetRouteOptions added in v0.2.0

type PlansClientUpdateVnetRouteOptions struct {
}

PlansClientUpdateVnetRouteOptions contains the optional parameters for the PlansClient.UpdateVnetRoute method.

type PlansClientUpdateVnetRouteResponse added in v0.2.0

type PlansClientUpdateVnetRouteResponse struct {
	VnetRoute
}

PlansClientUpdateVnetRouteResponse contains the response from method PlansClient.UpdateVnetRoute.

type PremierAddOn

type PremierAddOn struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// PremierAddOn resource specific properties
	Properties *PremierAddOnProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PremierAddOn - Premier add-on.

func (PremierAddOn) MarshalJSON

func (p PremierAddOn) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOn.

type PremierAddOnOffer

type PremierAddOnOffer struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// PremierAddOnOffer resource specific properties
	Properties *PremierAddOnOfferProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PremierAddOnOffer - Premier add-on offer.

type PremierAddOnOfferCollection

type PremierAddOnOfferCollection struct {
	// REQUIRED; Collection of resources.
	Value []*PremierAddOnOffer `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PremierAddOnOfferCollection - Collection of premier add-on offers.

type PremierAddOnOfferProperties

type PremierAddOnOfferProperties struct {
	// Legal terms URL.
	LegalTermsURL *string `json:"legalTermsUrl,omitempty"`

	// Marketplace offer.
	MarketplaceOffer *string `json:"marketplaceOffer,omitempty"`

	// Marketplace publisher.
	MarketplacePublisher *string `json:"marketplacePublisher,omitempty"`

	// Privacy policy URL.
	PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"`

	// Premier add on offer Product.
	Product *string `json:"product,omitempty"`

	// true if promotion code is required; otherwise, false.
	PromoCodeRequired *bool `json:"promoCodeRequired,omitempty"`

	// Premier add on offer Quota.
	Quota *int32 `json:"quota,omitempty"`

	// Premier add on SKU.
	SKU *string `json:"sku,omitempty"`

	// Premier add on offer Vendor.
	Vendor *string `json:"vendor,omitempty"`

	// App Service plans this offer is restricted to.
	WebHostingPlanRestrictions *AppServicePlanRestrictions `json:"webHostingPlanRestrictions,omitempty"`
}

PremierAddOnOfferProperties - PremierAddOnOffer resource specific properties

type PremierAddOnPatchResource

type PremierAddOnPatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// PremierAddOnPatchResource resource specific properties
	Properties *PremierAddOnPatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PremierAddOnPatchResource - ARM resource for a PremierAddOn.

func (PremierAddOnPatchResource) MarshalJSON

func (p PremierAddOnPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnPatchResource.

type PremierAddOnPatchResourceProperties

type PremierAddOnPatchResourceProperties struct {
	// Premier add on Marketplace offer.
	MarketplaceOffer *string `json:"marketplaceOffer,omitempty"`

	// Premier add on Marketplace publisher.
	MarketplacePublisher *string `json:"marketplacePublisher,omitempty"`

	// Premier add on Product.
	Product *string `json:"product,omitempty"`

	// Premier add on SKU.
	SKU *string `json:"sku,omitempty"`

	// Premier add on Vendor.
	Vendor *string `json:"vendor,omitempty"`
}

PremierAddOnPatchResourceProperties - PremierAddOnPatchResource resource specific properties

type PremierAddOnProperties

type PremierAddOnProperties struct {
	// Premier add on Marketplace offer.
	MarketplaceOffer *string `json:"marketplaceOffer,omitempty"`

	// Premier add on Marketplace publisher.
	MarketplacePublisher *string `json:"marketplacePublisher,omitempty"`

	// Premier add on Product.
	Product *string `json:"product,omitempty"`

	// Premier add on SKU.
	SKU *string `json:"sku,omitempty"`

	// Premier add on Vendor.
	Vendor *string `json:"vendor,omitempty"`
}

PremierAddOnProperties - PremierAddOn resource specific properties

type PrivateAccess

type PrivateAccess struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// PrivateAccess resource specific properties
	Properties *PrivateAccessProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PrivateAccess - Description of the parameters of Private Access for a Web Site.

type PrivateAccessProperties

type PrivateAccessProperties struct {
	// Whether private access is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`

	// The Virtual Networks (and subnets) allowed to access the site privately.
	VirtualNetworks []*PrivateAccessVirtualNetwork `json:"virtualNetworks,omitempty"`
}

PrivateAccessProperties - PrivateAccess resource specific properties

func (PrivateAccessProperties) MarshalJSON

func (p PrivateAccessProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateAccessProperties.

type PrivateAccessSubnet

type PrivateAccessSubnet struct {
	// The key (ID) of the subnet.
	Key *int32 `json:"key,omitempty"`

	// The name of the subnet.
	Name *string `json:"name,omitempty"`
}

PrivateAccessSubnet - Description of a Virtual Network subnet that is useable for private site access.

type PrivateAccessVirtualNetwork

type PrivateAccessVirtualNetwork struct {
	// The key (ID) of the Virtual Network.
	Key *int32 `json:"key,omitempty"`

	// The name of the Virtual Network.
	Name *string `json:"name,omitempty"`

	// The ARM uri of the Virtual Network
	ResourceID *string `json:"resourceId,omitempty"`

	// A List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean
	// that all subnets are allowed within this Virtual Network.
	Subnets []*PrivateAccessSubnet `json:"subnets,omitempty"`
}

PrivateAccessVirtualNetwork - Description of a Virtual Network that is useable for private site access.

func (PrivateAccessVirtualNetwork) MarshalJSON

func (p PrivateAccessVirtualNetwork) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateAccessVirtualNetwork.

type PrivateEndpointConnectionCollection

type PrivateEndpointConnectionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*RemotePrivateEndpointConnectionARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

type PrivateLinkConnectionApprovalRequest

type PrivateLinkConnectionApprovalRequest struct {
	// The state of a private link connection
	PrivateLinkServiceConnectionState *PrivateLinkConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
}

PrivateLinkConnectionApprovalRequest - A request to approve or reject a private endpoint connection

type PrivateLinkConnectionApprovalRequestResource

type PrivateLinkConnectionApprovalRequestResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *PrivateLinkConnectionApprovalRequest `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PrivateLinkConnectionApprovalRequestResource - Private Endpoint Connection Approval ARM resource.

type PrivateLinkConnectionState

type PrivateLinkConnectionState struct {
	// ActionsRequired for a private link connection
	ActionsRequired *string `json:"actionsRequired,omitempty"`

	// Description of a private link connection
	Description *string `json:"description,omitempty"`

	// Status of a private link connection
	Status *string `json:"status,omitempty"`
}

PrivateLinkConnectionState - The state of a private link connection

type PrivateLinkResource

type PrivateLinkResource struct {
	// REQUIRED
	ID *string `json:"id,omitempty"`

	// REQUIRED; Name of a private link resource
	Name *string `json:"name,omitempty"`

	// REQUIRED; Properties of a private link resource
	Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`

	// REQUIRED
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource - A private link resource

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// READ-ONLY; GroupId of a private link resource
	GroupID *string `json:"groupId,omitempty" azure:"ro"`

	// READ-ONLY; RequiredMembers of a private link resource
	RequiredMembers []*string `json:"requiredMembers,omitempty" azure:"ro"`

	// READ-ONLY; RequiredZoneNames of a private link resource
	RequiredZoneNames []*string `json:"requiredZoneNames,omitempty" azure:"ro"`
}

PrivateLinkResourceProperties - Properties of a private link resource

type PrivateLinkResourcesWrapper

type PrivateLinkResourcesWrapper struct {
	// REQUIRED
	Value []*PrivateLinkResource `json:"value,omitempty"`
}

PrivateLinkResourcesWrapper - Wrapper for a collection of private link resources

type ProcessInfo

type ProcessInfo struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ProcessInfo resource specific properties
	Properties *ProcessInfoProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ProcessInfo - Process Information.

type ProcessInfoCollection

type ProcessInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ProcessInfo `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ProcessInfoCollection - Collection of Kudu process information elements.

type ProcessInfoProperties

type ProcessInfoProperties struct {
	// Child process list.
	Children []*string `json:"children,omitempty"`

	// Command line.
	CommandLine *string `json:"command_line,omitempty"`

	// Deployment name.
	DeploymentName *string `json:"deployment_name,omitempty"`

	// Description of process.
	Description *string `json:"description,omitempty"`

	// List of environment variables.
	EnvironmentVariables map[string]*string `json:"environment_variables,omitempty"`

	// File name of this process.
	FileName *string `json:"file_name,omitempty"`

	// Handle count.
	HandleCount *int32 `json:"handle_count,omitempty"`

	// HRef URI.
	Href *string `json:"href,omitempty"`

	// IIS Profile timeout (seconds).
	IisProfileTimeoutInSeconds *float64 `json:"iis_profile_timeout_in_seconds,omitempty"`

	// Is the IIS Profile running?
	IsIisProfileRunning *bool `json:"is_iis_profile_running,omitempty"`

	// Is profile running?
	IsProfileRunning *bool `json:"is_profile_running,omitempty"`

	// Is this the SCM site?
	IsScmSite *bool `json:"is_scm_site,omitempty"`

	// Is this a Web Job?
	IsWebjob *bool `json:"is_webjob,omitempty"`

	// Minidump URI.
	Minidump *string `json:"minidump,omitempty"`

	// Module count.
	ModuleCount *int32 `json:"module_count,omitempty"`

	// List of modules.
	Modules []*ProcessModuleInfo `json:"modules,omitempty"`

	// Non-paged system memory.
	NonPagedSystemMemory *int64 `json:"non_paged_system_memory,omitempty"`

	// List of open files.
	OpenFileHandles []*string `json:"open_file_handles,omitempty"`

	// Paged memory.
	PagedMemory *int64 `json:"paged_memory,omitempty"`

	// Paged system memory.
	PagedSystemMemory *int64 `json:"paged_system_memory,omitempty"`

	// Parent process.
	Parent *string `json:"parent,omitempty"`

	// Peak paged memory.
	PeakPagedMemory *int64 `json:"peak_paged_memory,omitempty"`

	// Peak virtual memory usage.
	PeakVirtualMemory *int64 `json:"peak_virtual_memory,omitempty"`

	// Peak working set.
	PeakWorkingSet *int64 `json:"peak_working_set,omitempty"`

	// Private memory size.
	PrivateMemory *int64 `json:"private_memory,omitempty"`

	// Privileged CPU time.
	PrivilegedCPUTime *string `json:"privileged_cpu_time,omitempty"`

	// Start time.
	StartTime *time.Time `json:"start_time,omitempty"`

	// Thread count.
	ThreadCount *int32 `json:"thread_count,omitempty"`

	// Thread list.
	Threads []*ProcessThreadInfo `json:"threads,omitempty"`

	// Time stamp.
	TimeStamp *time.Time `json:"time_stamp,omitempty"`

	// Total CPU time.
	TotalCPUTime *string `json:"total_cpu_time,omitempty"`

	// User CPU time.
	UserCPUTime *string `json:"user_cpu_time,omitempty"`

	// User name.
	UserName *string `json:"user_name,omitempty"`

	// Virtual memory size.
	VirtualMemory *int64 `json:"virtual_memory,omitempty"`

	// Working set.
	WorkingSet *int64 `json:"working_set,omitempty"`

	// READ-ONLY; ARM Identifier for deployment.
	Identifier *int32 `json:"identifier,omitempty" azure:"ro"`
}

ProcessInfoProperties - ProcessInfo resource specific properties

func (ProcessInfoProperties) MarshalJSON

func (p ProcessInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessInfoProperties.

func (*ProcessInfoProperties) UnmarshalJSON

func (p *ProcessInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessInfoProperties.

type ProcessModuleInfo

type ProcessModuleInfo struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ProcessModuleInfo resource specific properties
	Properties *ProcessModuleInfoProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ProcessModuleInfo - Process Module Information.

type ProcessModuleInfoCollection

type ProcessModuleInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ProcessModuleInfo `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ProcessModuleInfoCollection - Collection of Kudu thread information elements.

type ProcessModuleInfoProperties

type ProcessModuleInfoProperties struct {
	// Base address. Used as module identifier in ARM resource URI.
	BaseAddress *string `json:"base_address,omitempty"`

	// File description.
	FileDescription *string `json:"file_description,omitempty"`

	// File name.
	FileName *string `json:"file_name,omitempty"`

	// File path.
	FilePath *string `json:"file_path,omitempty"`

	// File version.
	FileVersion *string `json:"file_version,omitempty"`

	// HRef URI.
	Href *string `json:"href,omitempty"`

	// Is debug?
	IsDebug *bool `json:"is_debug,omitempty"`

	// Module language (locale).
	Language *string `json:"language,omitempty"`

	// Module memory size.
	ModuleMemorySize *int32 `json:"module_memory_size,omitempty"`

	// Product name.
	Product *string `json:"product,omitempty"`

	// Product version.
	ProductVersion *string `json:"product_version,omitempty"`
}

ProcessModuleInfoProperties - ProcessModuleInfo resource specific properties

type ProcessThreadInfo

type ProcessThreadInfo struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ProcessThreadInfo resource specific properties
	Properties *ProcessThreadInfoProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ProcessThreadInfo - Process Thread Information.

type ProcessThreadInfoCollection

type ProcessThreadInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ProcessThreadInfo `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ProcessThreadInfoCollection - Collection of Kudu thread information elements.

type ProcessThreadInfoProperties

type ProcessThreadInfoProperties struct {
	// Base priority.
	BasePriority *int32 `json:"base_priority,omitempty"`

	// Current thread priority.
	CurrentPriority *int32 `json:"current_priority,omitempty"`

	// HRef URI.
	Href *string `json:"href,omitempty"`

	// Thread priority level.
	PriorityLevel *string `json:"priority_level,omitempty"`

	// Process URI.
	Process *string `json:"process,omitempty"`

	// Start address.
	StartAddress *string `json:"start_address,omitempty"`

	// Start time.
	StartTime *time.Time `json:"start_time,omitempty"`

	// Thread state.
	State *string `json:"state,omitempty"`

	// Total processor time.
	TotalProcessorTime *string `json:"total_processor_time,omitempty"`

	// User processor time.
	UserProcessorTime *string `json:"user_processor_time,omitempty"`

	// Wait reason.
	WaitReason *string `json:"wait_reason,omitempty"`

	// READ-ONLY; Site extension ID.
	Identifier *int32 `json:"identifier,omitempty" azure:"ro"`
}

ProcessThreadInfoProperties - ProcessThreadInfo resource specific properties

func (ProcessThreadInfoProperties) MarshalJSON

func (p ProcessThreadInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessThreadInfoProperties.

func (*ProcessThreadInfoProperties) UnmarshalJSON

func (p *ProcessThreadInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessThreadInfoProperties.

type ProviderClient

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

ProviderClient contains the methods for the Provider group. Don't use this type directly, use NewProviderClient() instead.

func NewProviderClient

func NewProviderClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ProviderClient, error)

NewProviderClient creates a new instance of ProviderClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*ProviderClient) NewGetAvailableStacksOnPremPager added in v0.4.0

NewGetAvailableStacksOnPremPager - Get available application frameworks and their versions If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ProviderClientGetAvailableStacksOnPremOptions contains the optional parameters for the ProviderClient.GetAvailableStacksOnPrem method.

func (*ProviderClient) NewGetAvailableStacksPager added in v0.4.0

NewGetAvailableStacksPager - Get available application frameworks and their versions If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ProviderClientGetAvailableStacksOptions contains the optional parameters for the ProviderClient.GetAvailableStacks method.

func (*ProviderClient) NewGetFunctionAppStacksForLocationPager added in v0.4.0

NewGetFunctionAppStacksForLocationPager - Get available Function app frameworks and their versions for location If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 location - Function App stack location. options - ProviderClientGetFunctionAppStacksForLocationOptions contains the optional parameters for the ProviderClient.GetFunctionAppStacksForLocation method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetFunctionAppStacksForLocation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewProviderClient("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetFunctionAppStacksForLocationPager("westus",
		&armappservice.ProviderClientGetFunctionAppStacksForLocationOptions{StackOsType: nil})
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ProviderClient) NewGetFunctionAppStacksPager added in v0.4.0

NewGetFunctionAppStacksPager - Get available Function app frameworks and their versions If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ProviderClientGetFunctionAppStacksOptions contains the optional parameters for the ProviderClient.GetFunctionAppStacks method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetFunctionAppStacks.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewProviderClient("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetFunctionAppStacksPager(&armappservice.ProviderClientGetFunctionAppStacksOptions{StackOsType: nil})
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ProviderClient) NewGetWebAppStacksForLocationPager added in v0.4.0

NewGetWebAppStacksForLocationPager - Get available Web app frameworks and their versions for location If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 location - Web App stack location. options - ProviderClientGetWebAppStacksForLocationOptions contains the optional parameters for the ProviderClient.GetWebAppStacksForLocation method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebAppStacksForLocation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewProviderClient("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetWebAppStacksForLocationPager("westus",
		&armappservice.ProviderClientGetWebAppStacksForLocationOptions{StackOsType: nil})
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ProviderClient) NewGetWebAppStacksPager added in v0.4.0

NewGetWebAppStacksPager - Get available Web app frameworks and their versions If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ProviderClientGetWebAppStacksOptions contains the optional parameters for the ProviderClient.GetWebAppStacks method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebAppStacks.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewProviderClient("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetWebAppStacksPager(&armappservice.ProviderClientGetWebAppStacksOptions{StackOsType: nil})
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ProviderClient) NewListOperationsPager added in v0.4.0

NewListOperationsPager - Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ProviderClientListOperationsOptions contains the optional parameters for the ProviderClient.ListOperations method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListOperations.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewProviderClient("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListOperationsPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type ProviderClientGetAvailableStacksOnPremOptions added in v0.2.0

type ProviderClientGetAvailableStacksOnPremOptions struct {
	OSTypeSelected *Enum20
}

ProviderClientGetAvailableStacksOnPremOptions contains the optional parameters for the ProviderClient.GetAvailableStacksOnPrem method.

type ProviderClientGetAvailableStacksOnPremResponse added in v0.2.0

type ProviderClientGetAvailableStacksOnPremResponse struct {
	ApplicationStackCollection
}

ProviderClientGetAvailableStacksOnPremResponse contains the response from method ProviderClient.GetAvailableStacksOnPrem.

type ProviderClientGetAvailableStacksOptions added in v0.2.0

type ProviderClientGetAvailableStacksOptions struct {
	OSTypeSelected *Enum15
}

ProviderClientGetAvailableStacksOptions contains the optional parameters for the ProviderClient.GetAvailableStacks method.

type ProviderClientGetAvailableStacksResponse added in v0.2.0

type ProviderClientGetAvailableStacksResponse struct {
	ApplicationStackCollection
}

ProviderClientGetAvailableStacksResponse contains the response from method ProviderClient.GetAvailableStacks.

type ProviderClientGetFunctionAppStacksForLocationOptions added in v0.2.0

type ProviderClientGetFunctionAppStacksForLocationOptions struct {
	// Stack OS Type
	StackOsType *Enum17
}

ProviderClientGetFunctionAppStacksForLocationOptions contains the optional parameters for the ProviderClient.GetFunctionAppStacksForLocation method.

type ProviderClientGetFunctionAppStacksForLocationResponse added in v0.2.0

type ProviderClientGetFunctionAppStacksForLocationResponse struct {
	FunctionAppStackCollection
}

ProviderClientGetFunctionAppStacksForLocationResponse contains the response from method ProviderClient.GetFunctionAppStacksForLocation.

type ProviderClientGetFunctionAppStacksOptions added in v0.2.0

type ProviderClientGetFunctionAppStacksOptions struct {
	// Stack OS Type
	StackOsType *Enum16
}

ProviderClientGetFunctionAppStacksOptions contains the optional parameters for the ProviderClient.GetFunctionAppStacks method.

type ProviderClientGetFunctionAppStacksResponse added in v0.2.0

type ProviderClientGetFunctionAppStacksResponse struct {
	FunctionAppStackCollection
}

ProviderClientGetFunctionAppStacksResponse contains the response from method ProviderClient.GetFunctionAppStacks.

type ProviderClientGetWebAppStacksForLocationOptions added in v0.2.0

type ProviderClientGetWebAppStacksForLocationOptions struct {
	// Stack OS Type
	StackOsType *Enum18
}

ProviderClientGetWebAppStacksForLocationOptions contains the optional parameters for the ProviderClient.GetWebAppStacksForLocation method.

type ProviderClientGetWebAppStacksForLocationResponse added in v0.2.0

type ProviderClientGetWebAppStacksForLocationResponse struct {
	WebAppStackCollection
}

ProviderClientGetWebAppStacksForLocationResponse contains the response from method ProviderClient.GetWebAppStacksForLocation.

type ProviderClientGetWebAppStacksOptions added in v0.2.0

type ProviderClientGetWebAppStacksOptions struct {
	// Stack OS Type
	StackOsType *Enum19
}

ProviderClientGetWebAppStacksOptions contains the optional parameters for the ProviderClient.GetWebAppStacks method.

type ProviderClientGetWebAppStacksResponse added in v0.2.0

type ProviderClientGetWebAppStacksResponse struct {
	WebAppStackCollection
}

ProviderClientGetWebAppStacksResponse contains the response from method ProviderClient.GetWebAppStacks.

type ProviderClientListOperationsOptions added in v0.2.0

type ProviderClientListOperationsOptions struct {
}

ProviderClientListOperationsOptions contains the optional parameters for the ProviderClient.ListOperations method.

type ProviderClientListOperationsResponse added in v0.2.0

type ProviderClientListOperationsResponse struct {
	CsmOperationCollection
}

ProviderClientListOperationsResponse contains the response from method ProviderClient.ListOperations.

type ProvisioningState

type ProvisioningState string

ProvisioningState - Status of certificate order.

const (
	ProvisioningStateSucceeded  ProvisioningState = "Succeeded"
	ProvisioningStateFailed     ProvisioningState = "Failed"
	ProvisioningStateCanceled   ProvisioningState = "Canceled"
	ProvisioningStateInProgress ProvisioningState = "InProgress"
	ProvisioningStateDeleting   ProvisioningState = "Deleting"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.

type ProxyOnlyResource

type ProxyOnlyResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ProxyOnlyResource - Azure proxy only resource. This resource is not tracked by Azure Resource Manager.

type PublicCertificate

type PublicCertificate struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// PublicCertificate resource specific properties
	Properties *PublicCertificateProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PublicCertificate - Public certificate object

type PublicCertificateCollection

type PublicCertificateCollection struct {
	// REQUIRED; Collection of resources.
	Value []*PublicCertificate `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PublicCertificateCollection - Collection of public certificates

type PublicCertificateLocation

type PublicCertificateLocation string

PublicCertificateLocation - Public Certificate Location

const (
	PublicCertificateLocationCurrentUserMy  PublicCertificateLocation = "CurrentUserMy"
	PublicCertificateLocationLocalMachineMy PublicCertificateLocation = "LocalMachineMy"
	PublicCertificateLocationUnknown        PublicCertificateLocation = "Unknown"
)

func PossiblePublicCertificateLocationValues

func PossiblePublicCertificateLocationValues() []PublicCertificateLocation

PossiblePublicCertificateLocationValues returns the possible values for the PublicCertificateLocation const type.

type PublicCertificateProperties

type PublicCertificateProperties struct {
	// Public Certificate byte array
	Blob []byte `json:"blob,omitempty"`

	// Public Certificate Location
	PublicCertificateLocation *PublicCertificateLocation `json:"publicCertificateLocation,omitempty"`

	// READ-ONLY; Certificate Thumbprint
	Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"`
}

PublicCertificateProperties - PublicCertificate resource specific properties

func (PublicCertificateProperties) MarshalJSON

func (p PublicCertificateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicCertificateProperties.

func (*PublicCertificateProperties) UnmarshalJSON

func (p *PublicCertificateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PublicCertificateProperties.

type PublishingCredentialsPoliciesCollection

type PublishingCredentialsPoliciesCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CsmPublishingCredentialsPoliciesEntity `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PublishingCredentialsPoliciesCollection - Publishing Credentials Policies entity collection ARM resource.

type PublishingProfileFormat

type PublishingProfileFormat string

PublishingProfileFormat - Name of the format. Valid values are: FileZilla3 WebDeploy -- default Ftp

const (
	PublishingProfileFormatFileZilla3 PublishingProfileFormat = "FileZilla3"
	PublishingProfileFormatFtp        PublishingProfileFormat = "Ftp"
	PublishingProfileFormatWebDeploy  PublishingProfileFormat = "WebDeploy"
)

func PossiblePublishingProfileFormatValues

func PossiblePublishingProfileFormatValues() []PublishingProfileFormat

PossiblePublishingProfileFormatValues returns the possible values for the PublishingProfileFormat const type.

type PushSettings

type PushSettings struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// PushSettings resource specific properties
	Properties *PushSettingsProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PushSettings - Push settings for the App.

type PushSettingsProperties

type PushSettingsProperties struct {
	// REQUIRED; Gets or sets a flag indicating whether the Push endpoint is enabled.
	IsPushEnabled *bool `json:"isPushEnabled,omitempty"`

	// 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"`

	// 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"`

	// 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"`
}

PushSettingsProperties - PushSettings resource specific properties

type QueryUtterancesResult

type QueryUtterancesResult struct {
	// A sample utterance.
	SampleUtterance *SampleUtterance `json:"sampleUtterance,omitempty"`

	// Score of a sample utterance.
	Score *float32 `json:"score,omitempty"`
}

QueryUtterancesResult - Result for utterances query.

type QueryUtterancesResults

type QueryUtterancesResults struct {
	// Search Query.
	Query *string `json:"query,omitempty"`

	// Array of utterance results for search query.
	Results []*QueryUtterancesResult `json:"results,omitempty"`
}

QueryUtterancesResults - Suggested utterances where the detector can be applicable

func (QueryUtterancesResults) MarshalJSON

func (q QueryUtterancesResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type QueryUtterancesResults.

type QueueScaleRule added in v0.2.0

type QueueScaleRule struct {
	// Authentication secrets for the queue scale rule.
	Auth []*ScaleRuleAuth `json:"auth,omitempty"`

	// Queue length.
	QueueLength *int32 `json:"queueLength,omitempty"`

	// Queue name.
	QueueName *string `json:"queueName,omitempty"`
}

QueueScaleRule - Container App container Azure Queue based scaling rule.

func (QueueScaleRule) MarshalJSON added in v0.2.0

func (q QueueScaleRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type QueueScaleRule.

type RampUpRule

type RampUpRule struct {
	// 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"`

	// 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"`

	// Specifies interval in minutes to reevaluate ReroutePercentage.
	ChangeIntervalInMinutes *int32 `json:"changeIntervalInMinutes,omitempty"`

	// In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage
	// orMaxReroutePercentage. Site metrics are checked every N minutes specified in
	// ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified
	// in ChangeDecisionCallbackUrl.
	ChangeStep *float64 `json:"changeStep,omitempty"`

	// Specifies upper boundary below which ReroutePercentage will stay.
	MaxReroutePercentage *float64 `json:"maxReroutePercentage,omitempty"`

	// Specifies lower boundary above which ReroutePercentage will stay.
	MinReroutePercentage *float64 `json:"minReroutePercentage,omitempty"`

	// 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"`

	// Percentage of the traffic which will be redirected to ActionHostName.
	ReroutePercentage *float64 `json:"reroutePercentage,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 Recommendation

type Recommendation struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Recommendation resource specific properties
	Properties *RecommendationProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Recommendation - Represents a recommendation result generated by the recommendation engine.

type RecommendationCollection

type RecommendationCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Recommendation `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

RecommendationCollection - Collection of recommendations.

type RecommendationProperties

type RecommendationProperties struct {
	// Name of action recommended by this object.
	ActionName *string `json:"actionName,omitempty"`

	// Deep link to a blade on the portal.
	BladeName *string `json:"bladeName,omitempty"`

	// List of channels that this recommendation can apply.
	Channels *Channels `json:"channels,omitempty"`

	// Timestamp when this instance was created.
	CreationTime *time.Time `json:"creationTime,omitempty"`

	// UI friendly name of the rule (may not be unique).
	DisplayName *string `json:"displayName,omitempty"`

	// True if this recommendation is still valid (i.e. "actionable"). False if it is invalid.
	Enabled *int32 `json:"enabled,omitempty"`

	// The end time in UTC of a range that the recommendation refers to.
	EndTime *time.Time `json:"endTime,omitempty"`

	// Extension name of the portal if exists.
	ExtensionName *string `json:"extensionName,omitempty"`

	// Forward link to an external document associated with the rule.
	ForwardLink *string `json:"forwardLink,omitempty"`

	// True if this is associated with a dynamically added rule
	IsDynamic *bool `json:"isDynamic,omitempty"`

	// Level indicating how critical this recommendation can impact.
	Level *NotificationLevel `json:"level,omitempty"`

	// Recommendation text.
	Message *string `json:"message,omitempty"`

	// When to notify this recommendation next in UTC. Null means that this will never be notified anymore.
	NextNotificationTime *time.Time `json:"nextNotificationTime,omitempty"`

	// Date and time in UTC when this notification expires.
	NotificationExpirationTime *time.Time `json:"notificationExpirationTime,omitempty"`

	// Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.
	NotifiedTime *time.Time `json:"notifiedTime,omitempty"`

	// A GUID value that each recommendation object is associated with.
	RecommendationID *string `json:"recommendationId,omitempty"`

	// Full ARM resource ID string that this recommendation object is associated with.
	ResourceID *string `json:"resourceId,omitempty"`

	// Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.
	ResourceScope *ResourceScopeType `json:"resourceScope,omitempty"`

	// Unique name of the rule.
	RuleName *string `json:"ruleName,omitempty"`

	// A metric value measured by the rule.
	Score *float64 `json:"score,omitempty"`

	// The beginning time in UTC of a range that the recommendation refers to.
	StartTime *time.Time `json:"startTime,omitempty"`

	// The list of states of this recommendation. If it's null then it should be considered "Active".
	States []*string `json:"states,omitempty"`

	// READ-ONLY; The list of category tags that this recommendation belongs to.
	CategoryTags []*string `json:"categoryTags,omitempty" azure:"ro"`
}

RecommendationProperties - Recommendation resource specific properties

func (RecommendationProperties) MarshalJSON

func (r RecommendationProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendationProperties.

func (*RecommendationProperties) UnmarshalJSON

func (r *RecommendationProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecommendationProperties.

type RecommendationRule

type RecommendationRule struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// RecommendationRule resource specific properties
	Properties *RecommendationRuleProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RecommendationRule - Represents a recommendation rule that the recommendation engine can perform.

type RecommendationRuleProperties

type RecommendationRuleProperties struct {
	// Name of action that is recommended by this rule in string.
	ActionName *string `json:"actionName,omitempty"`

	// Deep link to a blade on the portal. Applicable to dynamic rule only.
	BladeName *string `json:"bladeName,omitempty"`

	// List of available channels that this rule applies.
	Channels *Channels `json:"channels,omitempty"`

	// Localized detailed description of the rule.
	Description *string `json:"description,omitempty"`

	// UI friendly name of the rule.
	DisplayName *string `json:"displayName,omitempty"`

	// Extension name of the portal if exists. Applicable to dynamic rule only.
	ExtensionName *string `json:"extensionName,omitempty"`

	// Forward link to an external document associated with the rule. Applicable to dynamic rule only.
	ForwardLink *string `json:"forwardLink,omitempty"`

	// True if this is associated with a dynamically added rule
	IsDynamic *bool `json:"isDynamic,omitempty"`

	// Level of impact indicating how critical this rule is.
	Level *NotificationLevel `json:"level,omitempty"`

	// Localized name of the rule (Good for UI).
	Message *string `json:"message,omitempty"`

	// 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 *string `json:"recommendationId,omitempty"`

	// Unique name of the rule.
	RecommendationName *string `json:"recommendationName,omitempty"`

	// READ-ONLY; The list of category tags that this recommendation rule belongs to.
	CategoryTags []*string `json:"categoryTags,omitempty" azure:"ro"`
}

RecommendationRuleProperties - RecommendationRule resource specific properties

func (RecommendationRuleProperties) MarshalJSON

func (r RecommendationRuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendationRuleProperties.

type RecommendationsClient

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

RecommendationsClient contains the methods for the Recommendations group. Don't use this type directly, use NewRecommendationsClient() instead.

func NewRecommendationsClient

func NewRecommendationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*RecommendationsClient, error)

NewRecommendationsClient creates a new instance of RecommendationsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*RecommendationsClient) DisableAllForHostingEnvironment

func (client *RecommendationsClient) DisableAllForHostingEnvironment(ctx context.Context, resourceGroupName string, environmentName string, hostingEnvironmentName string, options *RecommendationsClientDisableAllForHostingEnvironmentOptions) (RecommendationsClientDisableAllForHostingEnvironmentResponse, error)

DisableAllForHostingEnvironment - Disable all recommendations for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. environmentName - Name of the app. options - RecommendationsClientDisableAllForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.DisableAllForHostingEnvironment method.

func (*RecommendationsClient) DisableAllForWebApp

DisableAllForWebApp - Disable all recommendations for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Name of the app. options - RecommendationsClientDisableAllForWebAppOptions contains the optional parameters for the RecommendationsClient.DisableAllForWebApp method.

func (*RecommendationsClient) DisableRecommendationForHostingEnvironment

func (client *RecommendationsClient) DisableRecommendationForHostingEnvironment(ctx context.Context, resourceGroupName string, environmentName string, name string, hostingEnvironmentName string, options *RecommendationsClientDisableRecommendationForHostingEnvironmentOptions) (RecommendationsClientDisableRecommendationForHostingEnvironmentResponse, error)

DisableRecommendationForHostingEnvironment - Disables the specific rule for a web site permanently. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. environmentName - Site name name - Rule name options - RecommendationsClientDisableRecommendationForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForHostingEnvironment method.

func (*RecommendationsClient) DisableRecommendationForSite

DisableRecommendationForSite - Disables the specific rule for a web site permanently. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Site name name - Rule name options - RecommendationsClientDisableRecommendationForSiteOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSite method.

func (*RecommendationsClient) DisableRecommendationForSubscription

DisableRecommendationForSubscription - Disables the specified rule so it will not apply to a subscription in the future. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 name - Rule name options - RecommendationsClientDisableRecommendationForSubscriptionOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSubscription method.

func (*RecommendationsClient) GetRuleDetailsByHostingEnvironment

func (client *RecommendationsClient) GetRuleDetailsByHostingEnvironment(ctx context.Context, resourceGroupName string, hostingEnvironmentName string, name string, options *RecommendationsClientGetRuleDetailsByHostingEnvironmentOptions) (RecommendationsClientGetRuleDetailsByHostingEnvironmentResponse, error)

GetRuleDetailsByHostingEnvironment - Get a recommendation rule for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. hostingEnvironmentName - Name of the hosting environment. name - Name of the recommendation. options - RecommendationsClientGetRuleDetailsByHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.GetRuleDetailsByHostingEnvironment method.

func (*RecommendationsClient) GetRuleDetailsByWebApp

GetRuleDetailsByWebApp - Get a recommendation rule for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Name of the app. name - Name of the recommendation. options - RecommendationsClientGetRuleDetailsByWebAppOptions contains the optional parameters for the RecommendationsClient.GetRuleDetailsByWebApp method.

func (*RecommendationsClient) NewListHistoryForHostingEnvironmentPager added in v0.4.0

func (client *RecommendationsClient) NewListHistoryForHostingEnvironmentPager(resourceGroupName string, hostingEnvironmentName string, options *RecommendationsClientListHistoryForHostingEnvironmentOptions) *runtime.Pager[RecommendationsClientListHistoryForHostingEnvironmentResponse]

NewListHistoryForHostingEnvironmentPager - Get past recommendations for an app, optionally specified by the time range. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. hostingEnvironmentName - Name of the hosting environment. options - RecommendationsClientListHistoryForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ListHistoryForHostingEnvironment method.

func (*RecommendationsClient) NewListHistoryForWebAppPager added in v0.4.0

NewListHistoryForWebAppPager - Get past recommendations for an app, optionally specified by the time range. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Name of the app. options - RecommendationsClientListHistoryForWebAppOptions contains the optional parameters for the RecommendationsClient.ListHistoryForWebApp method.

func (*RecommendationsClient) NewListPager added in v0.4.0

NewListPager - List all recommendations for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - RecommendationsClientListOptions contains the optional parameters for the RecommendationsClient.List method.

func (*RecommendationsClient) NewListRecommendedRulesForHostingEnvironmentPager added in v0.4.0

func (client *RecommendationsClient) NewListRecommendedRulesForHostingEnvironmentPager(resourceGroupName string, hostingEnvironmentName string, options *RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions) *runtime.Pager[RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse]

NewListRecommendedRulesForHostingEnvironmentPager - Get all recommendations for a hosting environment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. hostingEnvironmentName - Name of the app. options - RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ListRecommendedRulesForHostingEnvironment method.

func (*RecommendationsClient) NewListRecommendedRulesForWebAppPager added in v0.4.0

NewListRecommendedRulesForWebAppPager - Get all recommendations for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Name of the app. options - RecommendationsClientListRecommendedRulesForWebAppOptions contains the optional parameters for the RecommendationsClient.ListRecommendedRulesForWebApp method.

func (*RecommendationsClient) ResetAllFilters

ResetAllFilters - Reset all recommendation opt-out settings for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - RecommendationsClientResetAllFiltersOptions contains the optional parameters for the RecommendationsClient.ResetAllFilters method.

func (*RecommendationsClient) ResetAllFiltersForHostingEnvironment

func (client *RecommendationsClient) ResetAllFiltersForHostingEnvironment(ctx context.Context, resourceGroupName string, environmentName string, hostingEnvironmentName string, options *RecommendationsClientResetAllFiltersForHostingEnvironmentOptions) (RecommendationsClientResetAllFiltersForHostingEnvironmentResponse, error)

ResetAllFiltersForHostingEnvironment - Reset all recommendation opt-out settings for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. environmentName - Name of the app. options - RecommendationsClientResetAllFiltersForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ResetAllFiltersForHostingEnvironment method.

func (*RecommendationsClient) ResetAllFiltersForWebApp

ResetAllFiltersForWebApp - Reset all recommendation opt-out settings for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. siteName - Name of the app. options - RecommendationsClientResetAllFiltersForWebAppOptions contains the optional parameters for the RecommendationsClient.ResetAllFiltersForWebApp method.

type RecommendationsClientDisableAllForHostingEnvironmentOptions added in v0.2.0

type RecommendationsClientDisableAllForHostingEnvironmentOptions struct {
}

RecommendationsClientDisableAllForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.DisableAllForHostingEnvironment method.

type RecommendationsClientDisableAllForHostingEnvironmentResponse added in v0.2.0

type RecommendationsClientDisableAllForHostingEnvironmentResponse struct {
}

RecommendationsClientDisableAllForHostingEnvironmentResponse contains the response from method RecommendationsClient.DisableAllForHostingEnvironment.

type RecommendationsClientDisableAllForWebAppOptions added in v0.2.0

type RecommendationsClientDisableAllForWebAppOptions struct {
}

RecommendationsClientDisableAllForWebAppOptions contains the optional parameters for the RecommendationsClient.DisableAllForWebApp method.

type RecommendationsClientDisableAllForWebAppResponse added in v0.2.0

type RecommendationsClientDisableAllForWebAppResponse struct {
}

RecommendationsClientDisableAllForWebAppResponse contains the response from method RecommendationsClient.DisableAllForWebApp.

type RecommendationsClientDisableRecommendationForHostingEnvironmentOptions added in v0.2.0

type RecommendationsClientDisableRecommendationForHostingEnvironmentOptions struct {
}

RecommendationsClientDisableRecommendationForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForHostingEnvironment method.

type RecommendationsClientDisableRecommendationForHostingEnvironmentResponse added in v0.2.0

type RecommendationsClientDisableRecommendationForHostingEnvironmentResponse struct {
}

RecommendationsClientDisableRecommendationForHostingEnvironmentResponse contains the response from method RecommendationsClient.DisableRecommendationForHostingEnvironment.

type RecommendationsClientDisableRecommendationForSiteOptions added in v0.2.0

type RecommendationsClientDisableRecommendationForSiteOptions struct {
}

RecommendationsClientDisableRecommendationForSiteOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSite method.

type RecommendationsClientDisableRecommendationForSiteResponse added in v0.2.0

type RecommendationsClientDisableRecommendationForSiteResponse struct {
}

RecommendationsClientDisableRecommendationForSiteResponse contains the response from method RecommendationsClient.DisableRecommendationForSite.

type RecommendationsClientDisableRecommendationForSubscriptionOptions added in v0.2.0

type RecommendationsClientDisableRecommendationForSubscriptionOptions struct {
}

RecommendationsClientDisableRecommendationForSubscriptionOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSubscription method.

type RecommendationsClientDisableRecommendationForSubscriptionResponse added in v0.2.0

type RecommendationsClientDisableRecommendationForSubscriptionResponse struct {
}

RecommendationsClientDisableRecommendationForSubscriptionResponse contains the response from method RecommendationsClient.DisableRecommendationForSubscription.

type RecommendationsClientGetRuleDetailsByHostingEnvironmentOptions added in v0.2.0

type RecommendationsClientGetRuleDetailsByHostingEnvironmentOptions struct {
	// The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
	RecommendationID *string
	// Specify true to update the last-seen timestamp of the recommendation object.
	UpdateSeen *bool
}

RecommendationsClientGetRuleDetailsByHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.GetRuleDetailsByHostingEnvironment method.

type RecommendationsClientGetRuleDetailsByHostingEnvironmentResponse added in v0.2.0

type RecommendationsClientGetRuleDetailsByHostingEnvironmentResponse struct {
	RecommendationRule
}

RecommendationsClientGetRuleDetailsByHostingEnvironmentResponse contains the response from method RecommendationsClient.GetRuleDetailsByHostingEnvironment.

type RecommendationsClientGetRuleDetailsByWebAppOptions added in v0.2.0

type RecommendationsClientGetRuleDetailsByWebAppOptions struct {
	// The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
	RecommendationID *string
	// Specify true to update the last-seen timestamp of the recommendation object.
	UpdateSeen *bool
}

RecommendationsClientGetRuleDetailsByWebAppOptions contains the optional parameters for the RecommendationsClient.GetRuleDetailsByWebApp method.

type RecommendationsClientGetRuleDetailsByWebAppResponse added in v0.2.0

type RecommendationsClientGetRuleDetailsByWebAppResponse struct {
	RecommendationRule
}

RecommendationsClientGetRuleDetailsByWebAppResponse contains the response from method RecommendationsClient.GetRuleDetailsByWebApp.

type RecommendationsClientListHistoryForHostingEnvironmentOptions added in v0.2.0

type RecommendationsClientListHistoryForHostingEnvironmentOptions struct {
	// Specify false to return all recommendations. The default is true, which returns only expired recommendations.
	ExpiredOnly *bool
	// Filter is specified by using OData syntax. Example: $filter=channel 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]
	Filter *string
}

RecommendationsClientListHistoryForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ListHistoryForHostingEnvironment method.

type RecommendationsClientListHistoryForHostingEnvironmentResponse added in v0.2.0

type RecommendationsClientListHistoryForHostingEnvironmentResponse struct {
	RecommendationCollection
}

RecommendationsClientListHistoryForHostingEnvironmentResponse contains the response from method RecommendationsClient.ListHistoryForHostingEnvironment.

type RecommendationsClientListHistoryForWebAppOptions added in v0.2.0

type RecommendationsClientListHistoryForWebAppOptions struct {
	// Specify false to return all recommendations. The default is true, which returns only expired recommendations.
	ExpiredOnly *bool
	// Filter is specified by using OData syntax. Example: $filter=channel 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]
	Filter *string
}

RecommendationsClientListHistoryForWebAppOptions contains the optional parameters for the RecommendationsClient.ListHistoryForWebApp method.

type RecommendationsClientListHistoryForWebAppResponse added in v0.2.0

type RecommendationsClientListHistoryForWebAppResponse struct {
	RecommendationCollection
}

RecommendationsClientListHistoryForWebAppResponse contains the response from method RecommendationsClient.ListHistoryForWebApp.

type RecommendationsClientListOptions added in v0.2.0

type RecommendationsClientListOptions struct {
	// Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.
	Featured *bool
	// Filter is specified by using OData syntax. Example: $filter=channel 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]
	Filter *string
}

RecommendationsClientListOptions contains the optional parameters for the RecommendationsClient.List method.

type RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions added in v0.2.0

type RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions struct {
	// Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.
	Featured *bool
	// Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api'
	// or channel eq 'Notification'
	Filter *string
}

RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ListRecommendedRulesForHostingEnvironment method.

type RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse added in v0.2.0

type RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse struct {
	RecommendationCollection
}

RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse contains the response from method RecommendationsClient.ListRecommendedRulesForHostingEnvironment.

type RecommendationsClientListRecommendedRulesForWebAppOptions added in v0.2.0

type RecommendationsClientListRecommendedRulesForWebAppOptions struct {
	// Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.
	Featured *bool
	// Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api'
	// or channel eq 'Notification'
	Filter *string
}

RecommendationsClientListRecommendedRulesForWebAppOptions contains the optional parameters for the RecommendationsClient.ListRecommendedRulesForWebApp method.

type RecommendationsClientListRecommendedRulesForWebAppResponse added in v0.2.0

type RecommendationsClientListRecommendedRulesForWebAppResponse struct {
	RecommendationCollection
}

RecommendationsClientListRecommendedRulesForWebAppResponse contains the response from method RecommendationsClient.ListRecommendedRulesForWebApp.

type RecommendationsClientListResponse added in v0.2.0

type RecommendationsClientListResponse struct {
	RecommendationCollection
}

RecommendationsClientListResponse contains the response from method RecommendationsClient.List.

type RecommendationsClientResetAllFiltersForHostingEnvironmentOptions added in v0.2.0

type RecommendationsClientResetAllFiltersForHostingEnvironmentOptions struct {
}

RecommendationsClientResetAllFiltersForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ResetAllFiltersForHostingEnvironment method.

type RecommendationsClientResetAllFiltersForHostingEnvironmentResponse added in v0.2.0

type RecommendationsClientResetAllFiltersForHostingEnvironmentResponse struct {
}

RecommendationsClientResetAllFiltersForHostingEnvironmentResponse contains the response from method RecommendationsClient.ResetAllFiltersForHostingEnvironment.

type RecommendationsClientResetAllFiltersForWebAppOptions added in v0.2.0

type RecommendationsClientResetAllFiltersForWebAppOptions struct {
}

RecommendationsClientResetAllFiltersForWebAppOptions contains the optional parameters for the RecommendationsClient.ResetAllFiltersForWebApp method.

type RecommendationsClientResetAllFiltersForWebAppResponse added in v0.2.0

type RecommendationsClientResetAllFiltersForWebAppResponse struct {
}

RecommendationsClientResetAllFiltersForWebAppResponse contains the response from method RecommendationsClient.ResetAllFiltersForWebApp.

type RecommendationsClientResetAllFiltersOptions added in v0.2.0

type RecommendationsClientResetAllFiltersOptions struct {
}

RecommendationsClientResetAllFiltersOptions contains the optional parameters for the RecommendationsClient.ResetAllFilters method.

type RecommendationsClientResetAllFiltersResponse added in v0.2.0

type RecommendationsClientResetAllFiltersResponse struct {
}

RecommendationsClientResetAllFiltersResponse contains the response from method RecommendationsClient.ResetAllFilters.

type RedundancyMode

type RedundancyMode string

RedundancyMode - Site redundancy mode

const (
	RedundancyModeNone         RedundancyMode = "None"
	RedundancyModeManual       RedundancyMode = "Manual"
	RedundancyModeFailover     RedundancyMode = "Failover"
	RedundancyModeActiveActive RedundancyMode = "ActiveActive"
	RedundancyModeGeoRedundant RedundancyMode = "GeoRedundant"
)

func PossibleRedundancyModeValues

func PossibleRedundancyModeValues() []RedundancyMode

PossibleRedundancyModeValues returns the possible values for the RedundancyMode const type.

type RegistryCredentials added in v0.2.0

type RegistryCredentials struct {
	// The name of the Secret that contains the registry login password
	PasswordSecretRef *string `json:"passwordSecretRef,omitempty"`

	// Container Registry Server
	Server *string `json:"server,omitempty"`

	// Container Registry Username
	Username *string `json:"username,omitempty"`
}

RegistryCredentials - Container App Private Registry

type ReissueCertificateOrderRequest

type ReissueCertificateOrderRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ReissueCertificateOrderRequest resource specific properties
	Properties *ReissueCertificateOrderRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ReissueCertificateOrderRequest - Class representing certificate reissue request.

type ReissueCertificateOrderRequestProperties

type ReissueCertificateOrderRequestProperties struct {
	// Csr to be used for re-key operation.
	Csr *string `json:"csr,omitempty"`

	// Delay in hours to revoke existing certificate after the new certificate is issued.
	DelayExistingRevokeInHours *int32 `json:"delayExistingRevokeInHours,omitempty"`

	// Should we change the ASC type (from managed private key to external private key and vice versa).
	IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"`

	// Certificate Key Size.
	KeySize *int32 `json:"keySize,omitempty"`
}

ReissueCertificateOrderRequestProperties - ReissueCertificateOrderRequest resource specific properties

type RelayServiceConnectionEntity

type RelayServiceConnectionEntity struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// RelayServiceConnectionEntity resource specific properties
	Properties *RelayServiceConnectionEntityProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RelayServiceConnectionEntity - Hybrid Connection for an App Service app.

func (RelayServiceConnectionEntity) MarshalJSON

func (r RelayServiceConnectionEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RelayServiceConnectionEntity.

type RelayServiceConnectionEntityProperties

type RelayServiceConnectionEntityProperties struct {
	BiztalkURI               *string `json:"biztalkUri,omitempty"`
	EntityConnectionString   *string `json:"entityConnectionString,omitempty"`
	EntityName               *string `json:"entityName,omitempty"`
	Hostname                 *string `json:"hostname,omitempty"`
	Port                     *int32  `json:"port,omitempty"`
	ResourceConnectionString *string `json:"resourceConnectionString,omitempty"`
	ResourceType             *string `json:"resourceType,omitempty"`
}

RelayServiceConnectionEntityProperties - RelayServiceConnectionEntity resource specific properties

type RemotePrivateEndpointConnection

type RemotePrivateEndpointConnection struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// RemotePrivateEndpointConnection resource specific properties
	Properties *RemotePrivateEndpointConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RemotePrivateEndpointConnection - A remote private endpoint connection

type RemotePrivateEndpointConnectionARMResource

type RemotePrivateEndpointConnectionARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// RemotePrivateEndpointConnectionARMResource resource specific properties
	Properties *RemotePrivateEndpointConnectionARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RemotePrivateEndpointConnectionARMResource - Remote Private Endpoint Connection ARM resource.

type RemotePrivateEndpointConnectionARMResourceProperties

type RemotePrivateEndpointConnectionARMResourceProperties struct {
	// Private IPAddresses mapped to the remote private endpoint
	IPAddresses []*string `json:"ipAddresses,omitempty"`

	// PrivateEndpoint of a remote private endpoint connection
	PrivateEndpoint *ArmIDWrapper `json:"privateEndpoint,omitempty"`

	// The state of a private link connection
	PrivateLinkServiceConnectionState *PrivateLinkConnectionState `json:"privateLinkServiceConnectionState,omitempty"`

	// READ-ONLY
	ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
}

RemotePrivateEndpointConnectionARMResourceProperties - RemotePrivateEndpointConnectionARMResource resource specific properties

func (RemotePrivateEndpointConnectionARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RemotePrivateEndpointConnectionARMResourceProperties.

type RemotePrivateEndpointConnectionProperties

type RemotePrivateEndpointConnectionProperties struct {
	// Private IPAddresses mapped to the remote private endpoint
	IPAddresses []*string `json:"ipAddresses,omitempty"`

	// PrivateEndpoint of a remote private endpoint connection
	PrivateEndpoint *ArmIDWrapper `json:"privateEndpoint,omitempty"`

	// The state of a private link connection
	PrivateLinkServiceConnectionState *PrivateLinkConnectionState `json:"privateLinkServiceConnectionState,omitempty"`

	// READ-ONLY
	ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
}

RemotePrivateEndpointConnectionProperties - RemotePrivateEndpointConnection resource specific properties

func (RemotePrivateEndpointConnectionProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RemotePrivateEndpointConnectionProperties.

type Rendering

type Rendering struct {
	// Description of the data that will help it be interpreted
	Description *string `json:"description,omitempty"`

	// Title of data
	Title *string `json:"title,omitempty"`

	// Rendering Type
	Type *RenderingType `json:"type,omitempty"`
}

Rendering - Instructions for rendering the data

type RenderingType

type RenderingType string

RenderingType - Rendering Type

const (
	RenderingTypeNoGraph                  RenderingType = "NoGraph"
	RenderingTypeTable                    RenderingType = "Table"
	RenderingTypeTimeSeries               RenderingType = "TimeSeries"
	RenderingTypeTimeSeriesPerInstance    RenderingType = "TimeSeriesPerInstance"
	RenderingTypePieChart                 RenderingType = "PieChart"
	RenderingTypeDataSummary              RenderingType = "DataSummary"
	RenderingTypeEmail                    RenderingType = "Email"
	RenderingTypeInsights                 RenderingType = "Insights"
	RenderingTypeDynamicInsight           RenderingType = "DynamicInsight"
	RenderingTypeMarkdown                 RenderingType = "Markdown"
	RenderingTypeDetector                 RenderingType = "Detector"
	RenderingTypeDropDown                 RenderingType = "DropDown"
	RenderingTypeCard                     RenderingType = "Card"
	RenderingTypeSolution                 RenderingType = "Solution"
	RenderingTypeGuage                    RenderingType = "Guage"
	RenderingTypeForm                     RenderingType = "Form"
	RenderingTypeChangeSets               RenderingType = "ChangeSets"
	RenderingTypeChangeAnalysisOnboarding RenderingType = "ChangeAnalysisOnboarding"
	RenderingTypeChangesView              RenderingType = "ChangesView"
	RenderingTypeAppInsight               RenderingType = "AppInsight"
	RenderingTypeDependencyGraph          RenderingType = "DependencyGraph"
	RenderingTypeDownTime                 RenderingType = "DownTime"
	RenderingTypeSummaryCard              RenderingType = "SummaryCard"
	RenderingTypeSearchComponent          RenderingType = "SearchComponent"
	RenderingTypeAppInsightEnablement     RenderingType = "AppInsightEnablement"
)

func PossibleRenderingTypeValues

func PossibleRenderingTypeValues() []RenderingType

PossibleRenderingTypeValues returns the possible values for the RenderingType const type.

type RenewCertificateOrderRequest

type RenewCertificateOrderRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// RenewCertificateOrderRequest resource specific properties
	Properties *RenewCertificateOrderRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RenewCertificateOrderRequest - Class representing certificate renew request.

type RenewCertificateOrderRequestProperties

type RenewCertificateOrderRequestProperties struct {
	// Csr to be used for re-key operation.
	Csr *string `json:"csr,omitempty"`

	// Should we change the ASC type (from managed private key to external private key and vice versa).
	IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"`

	// Certificate Key Size.
	KeySize *int32 `json:"keySize,omitempty"`
}

RenewCertificateOrderRequestProperties - RenewCertificateOrderRequest resource specific properties

type RequestsBasedTrigger

type RequestsBasedTrigger struct {
	// Request Count.
	Count *int32 `json:"count,omitempty"`

	// Time interval.
	TimeInterval *string `json:"timeInterval,omitempty"`
}

RequestsBasedTrigger - Trigger based on total requests.

type ResolveStatus

type ResolveStatus string
const (
	ResolveStatusInitialized            ResolveStatus = "Initialized"
	ResolveStatusResolved               ResolveStatus = "Resolved"
	ResolveStatusInvalidSyntax          ResolveStatus = "InvalidSyntax"
	ResolveStatusMSINotEnabled          ResolveStatus = "MSINotEnabled"
	ResolveStatusVaultNotFound          ResolveStatus = "VaultNotFound"
	ResolveStatusSecretNotFound         ResolveStatus = "SecretNotFound"
	ResolveStatusSecretVersionNotFound  ResolveStatus = "SecretVersionNotFound"
	ResolveStatusAccessToKeyVaultDenied ResolveStatus = "AccessToKeyVaultDenied"
	ResolveStatusOtherReasons           ResolveStatus = "OtherReasons"
	ResolveStatusFetchTimedOut          ResolveStatus = "FetchTimedOut"
	ResolveStatusUnauthorizedClient     ResolveStatus = "UnauthorizedClient"
)

func PossibleResolveStatusValues

func PossibleResolveStatusValues() []ResolveStatus

PossibleResolveStatusValues returns the possible values for the ResolveStatus const type.

type Resource

type Resource struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Resource - Azure resource. This resource is tracked in Azure Resource Manager

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Resource.

type ResourceCollection

type ResourceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*string `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ResourceCollection - Collection of resources.

type ResourceHealthMetadata

type ResourceHealthMetadata struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ResourceHealthMetadata resource specific properties
	Properties *ResourceHealthMetadataProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ResourceHealthMetadata - Used for getting ResourceHealthCheck settings.

type ResourceHealthMetadataClient

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

ResourceHealthMetadataClient contains the methods for the ResourceHealthMetadata group. Don't use this type directly, use NewResourceHealthMetadataClient() instead.

func NewResourceHealthMetadataClient

func NewResourceHealthMetadataClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ResourceHealthMetadataClient, error)

NewResourceHealthMetadataClient creates a new instance of ResourceHealthMetadataClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*ResourceHealthMetadataClient) GetBySite

GetBySite - Gets the category of ResourceHealthMetadata to use for the given site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app options - ResourceHealthMetadataClientGetBySiteOptions contains the optional parameters for the ResourceHealthMetadataClient.GetBySite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetResourceHealthMetadataBySite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewResourceHealthMetadataClient("4adb32ad-8327-4cbb-b775-b84b4465bb38", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetBySite(ctx,
		"Default-Web-NorthCentralUS",
		"newsiteinnewASE-NCUS",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*ResourceHealthMetadataClient) GetBySiteSlot

GetBySiteSlot - Gets the category of ResourceHealthMetadata to use for the given site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - ResourceHealthMetadataClientGetBySiteSlotOptions contains the optional parameters for the ResourceHealthMetadataClient.GetBySiteSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetResourceHealthMetadataBySite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewResourceHealthMetadataClient("4adb32ad-8327-4cbb-b775-b84b4465bb38", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetBySiteSlot(ctx,
		"Default-Web-NorthCentralUS",
		"newsiteinnewASE-NCUS",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*ResourceHealthMetadataClient) NewListByResourceGroupPager added in v0.4.0

NewListByResourceGroupPager - List all ResourceHealthMetadata for all sites in the resource group in the subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - ResourceHealthMetadataClientListByResourceGroupOptions contains the optional parameters for the ResourceHealthMetadataClient.ListByResourceGroup method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewResourceHealthMetadataClient("4adb32ad-8327-4cbb-b775-b84b4465bb38", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListByResourceGroupPager("Default-Web-NorthCentralUS",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ResourceHealthMetadataClient) NewListBySitePager added in v0.4.0

NewListBySitePager - Gets the category of ResourceHealthMetadata to use for the given site as a collection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - ResourceHealthMetadataClientListBySiteOptions contains the optional parameters for the ResourceHealthMetadataClient.ListBySite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataBySite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewResourceHealthMetadataClient("4adb32ad-8327-4cbb-b775-b84b4465bb38", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListBySitePager("Default-Web-NorthCentralUS",
		"newsiteinnewASE-NCUS",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ResourceHealthMetadataClient) NewListBySiteSlotPager added in v0.4.0

NewListBySiteSlotPager - Gets the category of ResourceHealthMetadata to use for the given site as a collection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - ResourceHealthMetadataClientListBySiteSlotOptions contains the optional parameters for the ResourceHealthMetadataClient.ListBySiteSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataBySite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewResourceHealthMetadataClient("4adb32ad-8327-4cbb-b775-b84b4465bb38", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListBySiteSlotPager("Default-Web-NorthCentralUS",
		"newsiteinnewASE-NCUS",
		"Production",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*ResourceHealthMetadataClient) NewListPager added in v0.4.0

NewListPager - List all ResourceHealthMetadata for all sites in the subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - ResourceHealthMetadataClientListOptions contains the optional parameters for the ResourceHealthMetadataClient.List method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListResourceHealthMetadataBySubscription.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewResourceHealthMetadataClient("4adb32ad-8327-4cbb-b775-b84b4465bb38", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type ResourceHealthMetadataClientGetBySiteOptions added in v0.2.0

type ResourceHealthMetadataClientGetBySiteOptions struct {
}

ResourceHealthMetadataClientGetBySiteOptions contains the optional parameters for the ResourceHealthMetadataClient.GetBySite method.

type ResourceHealthMetadataClientGetBySiteResponse added in v0.2.0

type ResourceHealthMetadataClientGetBySiteResponse struct {
	ResourceHealthMetadata
}

ResourceHealthMetadataClientGetBySiteResponse contains the response from method ResourceHealthMetadataClient.GetBySite.

type ResourceHealthMetadataClientGetBySiteSlotOptions added in v0.2.0

type ResourceHealthMetadataClientGetBySiteSlotOptions struct {
}

ResourceHealthMetadataClientGetBySiteSlotOptions contains the optional parameters for the ResourceHealthMetadataClient.GetBySiteSlot method.

type ResourceHealthMetadataClientGetBySiteSlotResponse added in v0.2.0

type ResourceHealthMetadataClientGetBySiteSlotResponse struct {
	ResourceHealthMetadata
}

ResourceHealthMetadataClientGetBySiteSlotResponse contains the response from method ResourceHealthMetadataClient.GetBySiteSlot.

type ResourceHealthMetadataClientListByResourceGroupOptions added in v0.2.0

type ResourceHealthMetadataClientListByResourceGroupOptions struct {
}

ResourceHealthMetadataClientListByResourceGroupOptions contains the optional parameters for the ResourceHealthMetadataClient.ListByResourceGroup method.

type ResourceHealthMetadataClientListByResourceGroupResponse added in v0.2.0

type ResourceHealthMetadataClientListByResourceGroupResponse struct {
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListByResourceGroupResponse contains the response from method ResourceHealthMetadataClient.ListByResourceGroup.

type ResourceHealthMetadataClientListBySiteOptions added in v0.2.0

type ResourceHealthMetadataClientListBySiteOptions struct {
}

ResourceHealthMetadataClientListBySiteOptions contains the optional parameters for the ResourceHealthMetadataClient.ListBySite method.

type ResourceHealthMetadataClientListBySiteResponse added in v0.2.0

type ResourceHealthMetadataClientListBySiteResponse struct {
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListBySiteResponse contains the response from method ResourceHealthMetadataClient.ListBySite.

type ResourceHealthMetadataClientListBySiteSlotOptions added in v0.2.0

type ResourceHealthMetadataClientListBySiteSlotOptions struct {
}

ResourceHealthMetadataClientListBySiteSlotOptions contains the optional parameters for the ResourceHealthMetadataClient.ListBySiteSlot method.

type ResourceHealthMetadataClientListBySiteSlotResponse added in v0.2.0

type ResourceHealthMetadataClientListBySiteSlotResponse struct {
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListBySiteSlotResponse contains the response from method ResourceHealthMetadataClient.ListBySiteSlot.

type ResourceHealthMetadataClientListOptions added in v0.2.0

type ResourceHealthMetadataClientListOptions struct {
}

ResourceHealthMetadataClientListOptions contains the optional parameters for the ResourceHealthMetadataClient.List method.

type ResourceHealthMetadataClientListResponse added in v0.2.0

type ResourceHealthMetadataClientListResponse struct {
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListResponse contains the response from method ResourceHealthMetadataClient.List.

type ResourceHealthMetadataCollection

type ResourceHealthMetadataCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ResourceHealthMetadata `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ResourceHealthMetadataCollection - Collection of resource health metadata.

type ResourceHealthMetadataProperties

type ResourceHealthMetadataProperties struct {
	// The category that the resource matches in the RHC Policy File
	Category *string `json:"category,omitempty"`

	// Is there a health signal for the resource
	SignalAvailability *bool `json:"signalAvailability,omitempty"`
}

ResourceHealthMetadataProperties - ResourceHealthMetadata resource specific properties

type ResourceMetricAvailability

type ResourceMetricAvailability struct {
	// READ-ONLY; Retention period for the current time grain.
	Retention *string `json:"retention,omitempty" azure:"ro"`

	// READ-ONLY; Time grain .
	TimeGrain *string `json:"timeGrain,omitempty" azure:"ro"`
}

ResourceMetricAvailability - Metrics availability and retention.

type ResourceMetricDefinition

type ResourceMetricDefinition struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// ResourceMetricDefinition resource specific properties
	Properties *ResourceMetricDefinitionProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ResourceMetricDefinition - Metadata for the metrics.

type ResourceMetricDefinitionCollection

type ResourceMetricDefinitionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ResourceMetricDefinition `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ResourceMetricDefinitionCollection - Collection of metric definitions.

type ResourceMetricDefinitionProperties

type ResourceMetricDefinitionProperties struct {
	// READ-ONLY; List of time grains supported for the metric together with retention period.
	MetricAvailabilities []*ResourceMetricAvailability `json:"metricAvailabilities,omitempty" azure:"ro"`

	// READ-ONLY; Primary aggregation type.
	PrimaryAggregationType *string `json:"primaryAggregationType,omitempty" azure:"ro"`

	// READ-ONLY; Resource metric definition properties.
	Properties map[string]*string `json:"properties,omitempty" azure:"ro"`

	// READ-ONLY; Resource URI.
	ResourceURI *string `json:"resourceUri,omitempty" azure:"ro"`

	// READ-ONLY; Unit of the metric.
	Unit *string `json:"unit,omitempty" azure:"ro"`
}

ResourceMetricDefinitionProperties - ResourceMetricDefinition resource specific properties

func (ResourceMetricDefinitionProperties) MarshalJSON

func (r ResourceMetricDefinitionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceMetricDefinitionProperties.

type ResourceNameAvailability

type ResourceNameAvailability struct {
	// 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"`

	// true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.
	NameAvailable *bool `json:"nameAvailable,omitempty"`

	// Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that
	// the name is already in use and is therefore unavailable.
	Reason *InAvailabilityReasonType `json:"reason,omitempty"`
}

ResourceNameAvailability - Information regarding availability of a resource name.

type ResourceNameAvailabilityRequest

type ResourceNameAvailabilityRequest struct {
	// REQUIRED; Resource name to verify.
	Name *string `json:"name,omitempty"`

	// REQUIRED; Resource type used for verification.
	Type *CheckNameResourceTypes `json:"type,omitempty"`

	// Is fully qualified domain name.
	IsFqdn *bool `json:"isFqdn,omitempty"`
}

ResourceNameAvailabilityRequest - Resource name availability request content.

type ResourceScopeType

type ResourceScopeType string

ResourceScopeType - Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.

const (
	ResourceScopeTypeServerFarm   ResourceScopeType = "ServerFarm"
	ResourceScopeTypeSubscription ResourceScopeType = "Subscription"
	ResourceScopeTypeWebSite      ResourceScopeType = "WebSite"
)

func PossibleResourceScopeTypeValues

func PossibleResourceScopeTypeValues() []ResourceScopeType

PossibleResourceScopeTypeValues returns the possible values for the ResourceScopeType const type.

type ResponseMessageEnvelopeRemotePrivateEndpointConnection

type ResponseMessageEnvelopeRemotePrivateEndpointConnection struct {
	// Azure-AsyncOperation Error info.
	Error *ErrorEntity `json:"error,omitempty"`

	// Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this value
	// for GET requests only. For example:
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}
	ID *string `json:"id,omitempty"`

	// MSI resource
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
	Location *string `json:"location,omitempty"`

	// Name of resource.
	Name *string `json:"name,omitempty"`

	// Azure resource manager plan.
	Plan *ArmPlan `json:"plan,omitempty"`

	// Resource specific properties.
	Properties *RemotePrivateEndpointConnection `json:"properties,omitempty"`

	// SKU description of the resource.
	SKU *SKUDescription `json:"sku,omitempty"`

	// Azure-AsyncOperation Status info.
	Status *string `json:"status,omitempty"`

	// Tags associated with resource.
	Tags map[string]*string `json:"tags,omitempty"`

	// Type of resource e.g "Microsoft.Web/sites".
	Type *string `json:"type,omitempty"`

	// Logical Availability Zones the service is hosted in
	Zones []*string `json:"zones,omitempty"`
}

ResponseMessageEnvelopeRemotePrivateEndpointConnection - Message envelope that contains the common Azure resource manager properties and the resource provider specific content.

func (ResponseMessageEnvelopeRemotePrivateEndpointConnection) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ResponseMessageEnvelopeRemotePrivateEndpointConnection.

type ResponseMetaData

type ResponseMetaData struct {
	// Source of the Data
	DataSource *DataSource `json:"dataSource,omitempty"`
}

type RestoreRequest

type RestoreRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// RestoreRequest resource specific properties
	Properties *RestoreRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RestoreRequest - Description of a restore request.

type RestoreRequestProperties

type RestoreRequestProperties struct {
	// REQUIRED; true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore
	// over an existing app.
	Overwrite *bool `json:"overwrite,omitempty"`

	// REQUIRED; SAS URL to the container.
	StorageAccountURL *string `json:"storageAccountUrl,omitempty"`

	// true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.
	AdjustConnectionStrings *bool `json:"adjustConnectionStrings,omitempty"`

	// Specify app service plan that will own restored site.
	AppServicePlan *string `json:"appServicePlan,omitempty"`

	// Name of a blob which contains the backup.
	BlobName *string `json:"blobName,omitempty"`

	// 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"`

	// App Service Environment name, if needed (only when restoring an app to an App Service Environment).
	HostingEnvironment *string `json:"hostingEnvironment,omitempty"`

	// Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, 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"`

	// Ignore the databases and only restore the site content
	IgnoreDatabases *bool `json:"ignoreDatabases,omitempty"`

	// Operation type.
	OperationType *BackupRestoreOperationType `json:"operationType,omitempty"`

	// Name of an app.
	SiteName *string `json:"siteName,omitempty"`
}

RestoreRequestProperties - RestoreRequest resource specific properties

func (RestoreRequestProperties) MarshalJSON

func (r RestoreRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestoreRequestProperties.

type Revision added in v0.2.0

type Revision struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Revision resource specific properties
	Properties *RevisionProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Revision - Container App Revision.

func (Revision) MarshalJSON added in v0.2.0

func (r Revision) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Revision.

type RevisionCollection added in v0.2.0

type RevisionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Revision `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

RevisionCollection - Container App Revisions collection ARM resource.

type RevisionHealthState added in v0.2.0

type RevisionHealthState string

RevisionHealthState - Current health State of the revision

const (
	RevisionHealthStateHealthy   RevisionHealthState = "Healthy"
	RevisionHealthStateNone      RevisionHealthState = "None"
	RevisionHealthStateUnhealthy RevisionHealthState = "Unhealthy"
)

func PossibleRevisionHealthStateValues added in v0.2.0

func PossibleRevisionHealthStateValues() []RevisionHealthState

PossibleRevisionHealthStateValues returns the possible values for the RevisionHealthState const type.

type RevisionProperties added in v0.2.0

type RevisionProperties struct {
	// READ-ONLY; Boolean describing if the Revision is Active
	Active *bool `json:"active,omitempty" azure:"ro"`

	// READ-ONLY; Timestamp describing when the revision was created by controller
	CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"`

	// READ-ONLY; Fully qualified domain name of the revision
	Fqdn *string `json:"fqdn,omitempty" azure:"ro"`

	// READ-ONLY; Current health State of the revision
	HealthState *RevisionHealthState `json:"healthState,omitempty" azure:"ro"`

	// READ-ONLY; Optional Field - Platform Error Message
	ProvisioningError *string `json:"provisioningError,omitempty" azure:"ro"`

	// READ-ONLY; Current provisioning State of the revision
	ProvisioningState *RevisionProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Number of pods currently running for this revision
	Replicas *int32 `json:"replicas,omitempty" azure:"ro"`

	// READ-ONLY; Container App Revision Template with all possible settings and the defaults if user did not provide them. The
	// defaults are populated as they were at the creation time
	Template *Template `json:"template,omitempty" azure:"ro"`

	// READ-ONLY; Traffic weight assigned to this revision
	TrafficWeight *int32 `json:"trafficWeight,omitempty" azure:"ro"`
}

RevisionProperties - Revision resource specific properties

func (RevisionProperties) MarshalJSON added in v0.2.0

func (r RevisionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RevisionProperties.

func (*RevisionProperties) UnmarshalJSON added in v0.2.0

func (r *RevisionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RevisionProperties.

type RevisionProvisioningState added in v0.2.0

type RevisionProvisioningState string

RevisionProvisioningState - Current provisioning State of the revision

const (
	RevisionProvisioningStateDeprovisioned  RevisionProvisioningState = "Deprovisioned"
	RevisionProvisioningStateDeprovisioning RevisionProvisioningState = "Deprovisioning"
	RevisionProvisioningStateFailed         RevisionProvisioningState = "Failed"
	RevisionProvisioningStateProvisioned    RevisionProvisioningState = "Provisioned"
	RevisionProvisioningStateProvisioning   RevisionProvisioningState = "Provisioning"
)

func PossibleRevisionProvisioningStateValues added in v0.2.0

func PossibleRevisionProvisioningStateValues() []RevisionProvisioningState

PossibleRevisionProvisioningStateValues returns the possible values for the RevisionProvisioningState const type.

type RouteType

type RouteType string

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.

const (
	RouteTypeDEFAULT   RouteType = "DEFAULT"
	RouteTypeINHERITED RouteType = "INHERITED"
	RouteTypeSTATIC    RouteType = "STATIC"
)

func PossibleRouteTypeValues

func PossibleRouteTypeValues() []RouteType

PossibleRouteTypeValues returns the possible values for the RouteType const type.

type SKUCapacity

type SKUCapacity struct {
	// Default number of workers for this App Service plan SKU.
	Default *int32 `json:"default,omitempty"`

	// Maximum number of Elastic workers for this App Service plan SKU.
	ElasticMaximum *int32 `json:"elasticMaximum,omitempty"`

	// Maximum number of workers for this App Service plan SKU.
	Maximum *int32 `json:"maximum,omitempty"`

	// Minimum number of workers for this App Service plan SKU.
	Minimum *int32 `json:"minimum,omitempty"`

	// Available scale configurations for an App Service plan.
	ScaleType *string `json:"scaleType,omitempty"`
}

SKUCapacity - Description of the App Service plan scale options.

type SKUDescription

type SKUDescription struct {
	// Capabilities of the SKU, e.g., is traffic manager enabled?
	Capabilities []*Capability `json:"capabilities,omitempty"`

	// Current number of instances assigned to the resource.
	Capacity *int32 `json:"capacity,omitempty"`

	// Family code of the resource SKU.
	Family *string `json:"family,omitempty"`

	// Locations of the SKU.
	Locations []*string `json:"locations,omitempty"`

	// Name of the resource SKU.
	Name *string `json:"name,omitempty"`

	// Min, max, and default scale values of the SKU.
	SKUCapacity *SKUCapacity `json:"skuCapacity,omitempty"`

	// Size specifier of the resource SKU.
	Size *string `json:"size,omitempty"`

	// Service tier of the resource SKU.
	Tier *string `json:"tier,omitempty"`
}

SKUDescription - Description of a SKU for a scalable resource.

func (SKUDescription) MarshalJSON

func (s SKUDescription) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SKUDescription.

type SKUInfo

type SKUInfo struct {
	// Min, max, and default scale values of the SKU.
	Capacity *SKUCapacity `json:"capacity,omitempty"`

	// Resource type that this SKU applies to.
	ResourceType *string `json:"resourceType,omitempty"`

	// Name and tier of the SKU.
	SKU *SKUDescription `json:"sku,omitempty"`
}

SKUInfo - SKU discovery information.

type SKUInfoCollection

type SKUInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SKUInfo `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SKUInfoCollection - Collection of SKU information.

type SKUInfos

type SKUInfos struct {
	// Resource type that this SKU applies to.
	ResourceType *string `json:"resourceType,omitempty"`

	// List of SKUs the subscription is able to use.
	SKUs []*GlobalCsmSKUDescription `json:"skus,omitempty"`
}

SKUInfos - Collection of SKU information.

type SKUName

type SKUName string
const (
	SKUNameBasic            SKUName = "Basic"
	SKUNameDynamic          SKUName = "Dynamic"
	SKUNameElasticIsolated  SKUName = "ElasticIsolated"
	SKUNameElasticPremium   SKUName = "ElasticPremium"
	SKUNameFree             SKUName = "Free"
	SKUNameIsolated         SKUName = "Isolated"
	SKUNameIsolatedV2       SKUName = "IsolatedV2"
	SKUNamePremium          SKUName = "Premium"
	SKUNamePremiumContainer SKUName = "PremiumContainer"
	SKUNamePremiumV2        SKUName = "PremiumV2"
	SKUNamePremiumV3        SKUName = "PremiumV3"
	SKUNameShared           SKUName = "Shared"
	SKUNameStandard         SKUName = "Standard"
)

func PossibleSKUNameValues

func PossibleSKUNameValues() []SKUName

PossibleSKUNameValues returns the possible values for the SKUName const type.

type SSLState

type SSLState string

SSLState - SSL type

const (
	SSLStateDisabled       SSLState = "Disabled"
	SSLStateSniEnabled     SSLState = "SniEnabled"
	SSLStateIPBasedEnabled SSLState = "IpBasedEnabled"
)

func PossibleSSLStateValues

func PossibleSSLStateValues() []SSLState

PossibleSSLStateValues returns the possible values for the SSLState const type.

type SampleUtterance

type SampleUtterance struct {
	// Links attribute of sample utterance.
	Links []*string `json:"links,omitempty"`

	// Question id of sample utterance (for stackoverflow questions titles).
	Qid *string `json:"qid,omitempty"`

	// Text attribute of sample utterance.
	Text *string `json:"text,omitempty"`
}

SampleUtterance - Sample utterance.

func (SampleUtterance) MarshalJSON

func (s SampleUtterance) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SampleUtterance.

type Scale added in v0.2.0

type Scale struct {
	// Optional. Maximum number of container replicas. Defaults to 10 if not set.
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`

	// Optional. Minimum number of container replicas.
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// Scaling rules.
	Rules []*ScaleRule `json:"rules,omitempty"`
}

Scale - Container App scaling configurations.

func (Scale) MarshalJSON added in v0.2.0

func (s Scale) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Scale.

type ScaleRule added in v0.2.0

type ScaleRule struct {
	// Azure Queue based scaling.
	AzureQueue *QueueScaleRule `json:"azureQueue,omitempty"`

	// Custom scale rule.
	Custom *CustomScaleRule `json:"custom,omitempty"`

	// HTTP requests based scaling.
	HTTP *HTTPScaleRule `json:"http,omitempty"`

	// Scale Rule Name
	Name *string `json:"name,omitempty"`
}

ScaleRule - Container App container scaling rule.

type ScaleRuleAuth added in v0.2.0

type ScaleRuleAuth struct {
	// Name of the Container App secret from which to pull the auth params.
	SecretRef *string `json:"secretRef,omitempty"`

	// Trigger Parameter that uses the secret
	TriggerParameter *string `json:"triggerParameter,omitempty"`
}

ScaleRuleAuth - Auth Secrets for Container App Scale Rule

type ScmType

type ScmType string

ScmType - SCM type.

const (
	ScmTypeBitbucketGit ScmType = "BitbucketGit"
	ScmTypeBitbucketHg  ScmType = "BitbucketHg"
	ScmTypeCodePlexGit  ScmType = "CodePlexGit"
	ScmTypeCodePlexHg   ScmType = "CodePlexHg"
	ScmTypeDropbox      ScmType = "Dropbox"
	ScmTypeExternalGit  ScmType = "ExternalGit"
	ScmTypeExternalHg   ScmType = "ExternalHg"
	ScmTypeGitHub       ScmType = "GitHub"
	ScmTypeLocalGit     ScmType = "LocalGit"
	ScmTypeNone         ScmType = "None"
	ScmTypeOneDrive     ScmType = "OneDrive"
	ScmTypeTfs          ScmType = "Tfs"
	ScmTypeVSO          ScmType = "VSO"
	ScmTypeVSTSRM       ScmType = "VSTSRM"
)

func PossibleScmTypeValues

func PossibleScmTypeValues() []ScmType

PossibleScmTypeValues returns the possible values for the ScmType const type.

type Secret added in v0.2.0

type Secret struct {
	// Secret Name.
	Name *string `json:"name,omitempty"`

	// Secret Value.
	Value *string `json:"value,omitempty"`
}

Secret - Container App Secret.

type SecretsCollection added in v0.2.0

type SecretsCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ContainerAppSecret `json:"value,omitempty"`
}

SecretsCollection - Container App Secrets Collection ARM resource.

type ServiceSpecification

type ServiceSpecification struct {
	LogSpecifications    []*LogSpecification    `json:"logSpecifications,omitempty"`
	MetricSpecifications []*MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification - Resource metrics service provided by Microsoft.Insights resource provider.

type Site

type Site struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Extended Location.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Managed service identity.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Site resource specific properties
	Properties *SiteProperties `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Site - A web app, a mobile app backend, or an API app.

func (Site) MarshalJSON

func (s Site) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Site.

type SiteAuthSettings

type SiteAuthSettings struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SiteAuthSettings resource specific properties
	Properties *SiteAuthSettingsProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteAuthSettings - Configuration settings for the Azure App Service Authentication / Authorization feature.

type SiteAuthSettingsProperties

type SiteAuthSettingsProperties struct {
	// Gets a JSON string containing the Azure AD Acl settings.
	AADClaimsAuthorization *string `json:"aadClaimsAuthorization,omitempty"`

	// 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"`

	// Allowed audience values to consider when validating JWTs issued by Azure Active Directory. Note that the ClientID value
	// is always considered an allowed audience, regardless of this setting.
	AllowedAudiences []*string `json:"allowedAudiences,omitempty"`

	// 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"`

	// The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
	AuthFilePath *string `json:"authFilePath,omitempty"`

	// The Client ID of this relying party application, known as the clientid. 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-10.html
	ClientID *string `json:"clientId,omitempty"`

	// 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"`

	// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts
	// as a replacement for the Client Secret. It is also optional.
	ClientSecretCertificateThumbprint *string `json:"clientSecretCertificateThumbprint,omitempty"`

	// The app setting name that contains the client secret of the relying party application.
	ClientSecretSettingName *string `json:"clientSecretSettingName,omitempty"`

	// The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can
	// control the behavior of the control plane for Authentication / Authorization.
	ConfigVersion *string `json:"configVersion,omitempty"`

	// 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".
	DefaultProvider *BuiltInAuthenticationProvider `json:"defaultProvider,omitempty"`

	// true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
	Enabled *bool `json:"enabled,omitempty"`

	// 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"`

	// 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"`

	// The app setting name that contains the app secret used for Facebook Login.
	FacebookAppSecretSettingName *string `json:"facebookAppSecretSettingName,omitempty"`

	// 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"`

	// The Client Id of the GitHub app used for login. This setting is required for enabling Github login
	GitHubClientID *string `json:"gitHubClientId,omitempty"`

	// The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
	GitHubClientSecret *string `json:"gitHubClientSecret,omitempty"`

	// The app setting name that contains the client secret of the Github app used for GitHub Login.
	GitHubClientSecretSettingName *string `json:"gitHubClientSecretSettingName,omitempty"`

	// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
	GitHubOAuthScopes []*string `json:"gitHubOAuthScopes,omitempty"`

	// 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"`

	// 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"`

	// The app setting name that contains the client secret associated with the Google web application.
	GoogleClientSecretSettingName *string `json:"googleClientSecretSettingName,omitempty"`

	// 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"`

	// "true" if the auth config settings should be read from a file, "false" otherwise
	IsAuthFromFile *string `json:"isAuthFromFile,omitempty"`

	// 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"`

	// 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"`

	// 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"`

	// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
	MicrosoftAccountClientSecretSettingName *string `json:"microsoftAccountClientSecretSettingName,omitempty"`

	// 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"`

	// 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"`

	// 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"`

	// true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default
	// is false.
	TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty"`

	// 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"`

	// 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"`

	// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
	TwitterConsumerSecretSettingName *string `json:"twitterConsumerSecretSettingName,omitempty"`

	// The action to take when an unauthenticated client attempts to access the app.
	UnauthenticatedClientAction *UnauthenticatedClientAction `json:"unauthenticatedClientAction,omitempty"`

	// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
	ValidateIssuer *bool `json:"validateIssuer,omitempty"`
}

SiteAuthSettingsProperties - SiteAuthSettings resource specific properties

func (SiteAuthSettingsProperties) MarshalJSON

func (s SiteAuthSettingsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteAuthSettingsProperties.

type SiteAuthSettingsV2

type SiteAuthSettingsV2 struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SiteAuthSettingsV2 resource specific properties
	Properties *SiteAuthSettingsV2Properties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteAuthSettingsV2 - Configuration settings for the Azure App Service Authentication / Authorization V2 feature.

type SiteAuthSettingsV2Properties

type SiteAuthSettingsV2Properties struct {
	// The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
	GlobalValidation *GlobalValidation `json:"globalValidation,omitempty"`

	// The configuration settings of the HTTP requests for authentication and authorization requests made against App Service
	// Authentication/Authorization.
	HTTPSettings *HTTPSettings `json:"httpSettings,omitempty"`

	// The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
	IdentityProviders *IdentityProviders `json:"identityProviders,omitempty"`

	// The configuration settings of the login flow of users using App Service Authentication/Authorization.
	Login *Login `json:"login,omitempty"`

	// The configuration settings of the platform of App Service Authentication/Authorization.
	Platform *AuthPlatform `json:"platform,omitempty"`
}

SiteAuthSettingsV2Properties - SiteAuthSettingsV2 resource specific properties

type SiteAvailabilityState

type SiteAvailabilityState string

SiteAvailabilityState - Management information availability state for the app.

const (
	SiteAvailabilityStateNormal               SiteAvailabilityState = "Normal"
	SiteAvailabilityStateLimited              SiteAvailabilityState = "Limited"
	SiteAvailabilityStateDisasterRecoveryMode SiteAvailabilityState = "DisasterRecoveryMode"
)

func PossibleSiteAvailabilityStateValues

func PossibleSiteAvailabilityStateValues() []SiteAvailabilityState

PossibleSiteAvailabilityStateValues returns the possible values for the SiteAvailabilityState const type.

type SiteCloneability

type SiteCloneability struct {
	// List of blocking application characteristics.
	BlockingCharacteristics []*SiteCloneabilityCriterion `json:"blockingCharacteristics,omitempty"`

	// List of features enabled on app that prevent cloning.
	BlockingFeatures []*SiteCloneabilityCriterion `json:"blockingFeatures,omitempty"`

	// Name of app.
	Result *CloneAbilityResult `json:"result,omitempty"`

	// 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"`
}

SiteCloneability - Represents whether or not an app is cloneable.

type SiteCloneabilityCriterion

type SiteCloneabilityCriterion struct {
	// Description of criterion.
	Description *string `json:"description,omitempty"`

	// Name of criterion.
	Name *string `json:"name,omitempty"`
}

SiteCloneabilityCriterion - An app cloneability criterion.

type SiteConfig

type SiteConfig struct {
	// Information about the formal API definition for the app.
	APIDefinition *APIDefinitionInfo `json:"apiDefinition,omitempty"`

	// Azure API management settings linked to the app.
	APIManagementConfig *APIManagementConfig `json:"apiManagementConfig,omitempty"`

	// Flag to use Managed Identity Creds for ACR pull
	AcrUseManagedIdentityCreds *bool `json:"acrUseManagedIdentityCreds,omitempty"`

	// If using user managed identity, the user managed identity ClientId
	AcrUserManagedIdentityID *string `json:"acrUserManagedIdentityID,omitempty"`

	// true if Always On is enabled; otherwise, false.
	AlwaysOn *bool `json:"alwaysOn,omitempty"`

	// App command line to launch.
	AppCommandLine *string `json:"appCommandLine,omitempty"`

	// Application settings.
	AppSettings []*NameValuePair `json:"appSettings,omitempty"`

	// true if Auto Heal is enabled; otherwise, false.
	AutoHealEnabled *bool `json:"autoHealEnabled,omitempty"`

	// Auto Heal rules.
	AutoHealRules *AutoHealRules `json:"autoHealRules,omitempty"`

	// Auto-swap slot name.
	AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty"`

	// List of Azure Storage Accounts.
	AzureStorageAccounts map[string]*AzureStorageInfoValue `json:"azureStorageAccounts,omitempty"`

	// Connection strings.
	ConnectionStrings []*ConnStringInfo `json:"connectionStrings,omitempty"`

	// Cross-Origin Resource Sharing (CORS) settings.
	Cors *CorsSettings `json:"cors,omitempty"`

	// Default documents.
	DefaultDocuments []*string `json:"defaultDocuments,omitempty"`

	// true if detailed error logging is enabled; otherwise, false.
	DetailedErrorLoggingEnabled *bool `json:"detailedErrorLoggingEnabled,omitempty"`

	// Document root.
	DocumentRoot *string `json:"documentRoot,omitempty"`

	// This is work around for polymorphic types.
	Experiments *Experiments `json:"experiments,omitempty"`

	// State of FTP / FTPS service
	FtpsState *FtpsState `json:"ftpsState,omitempty"`

	// Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium
	// Plans
	FunctionAppScaleLimit *int32 `json:"functionAppScaleLimit,omitempty"`

	// Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled, the ScaleController
	// will not monitor event sources directly, but will instead call to the runtime
	// to get scale status.
	FunctionsRuntimeScaleMonitoringEnabled *bool `json:"functionsRuntimeScaleMonitoringEnabled,omitempty"`

	// true if HTTP logging is enabled; otherwise, false.
	HTTPLoggingEnabled *bool `json:"httpLoggingEnabled,omitempty"`

	// Handler mappings.
	HandlerMappings []*HandlerMapping `json:"handlerMappings,omitempty"`

	// Health check path
	HealthCheckPath *string `json:"healthCheckPath,omitempty"`

	// Http20Enabled: configures a web site to allow clients to connect over http2.0
	Http20Enabled *bool `json:"http20Enabled,omitempty"`

	// IP security restrictions for main.
	IPSecurityRestrictions []*IPSecurityRestriction `json:"ipSecurityRestrictions,omitempty"`

	// Java container.
	JavaContainer *string `json:"javaContainer,omitempty"`

	// Java container version.
	JavaContainerVersion *string `json:"javaContainerVersion,omitempty"`

	// Java version.
	JavaVersion *string `json:"javaVersion,omitempty"`

	// Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string `json:"keyVaultReferenceIdentity,omitempty"`

	// Site limits.
	Limits *SiteLimits `json:"limits,omitempty"`

	// Linux App Framework and version
	LinuxFxVersion *string `json:"linuxFxVersion,omitempty"`

	// Site load balancing.
	LoadBalancing *SiteLoadBalancing `json:"loadBalancing,omitempty"`

	// true to enable local MySQL; otherwise, false.
	LocalMySQLEnabled *bool `json:"localMySqlEnabled,omitempty"`

	// HTTP logs directory size limit.
	LogsDirectorySizeLimit *int32 `json:"logsDirectorySizeLimit,omitempty"`

	// Managed pipeline mode.
	ManagedPipelineMode *ManagedPipelineMode `json:"managedPipelineMode,omitempty"`

	// Managed Service Identity Id
	ManagedServiceIdentityID *int32 `json:"managedServiceIdentityId,omitempty"`

	// MinTlsVersion: configures the minimum version of TLS required for SSL requests
	MinTLSVersion *SupportedTLSVersions `json:"minTlsVersion,omitempty"`

	// Number of minimum instance count for a site This setting only applies to the Elastic Plans
	MinimumElasticInstanceCount *int32 `json:"minimumElasticInstanceCount,omitempty"`

	// .NET Framework version.
	NetFrameworkVersion *string `json:"netFrameworkVersion,omitempty"`

	// Version of Node.js.
	NodeVersion *string `json:"nodeVersion,omitempty"`

	// Number of workers.
	NumberOfWorkers *int32 `json:"numberOfWorkers,omitempty"`

	// Version of PHP.
	PhpVersion *string `json:"phpVersion,omitempty"`

	// Version of PowerShell.
	PowerShellVersion *string `json:"powerShellVersion,omitempty"`

	// Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans
	PreWarmedInstanceCount *int32 `json:"preWarmedInstanceCount,omitempty"`

	// Property to allow or block all public traffic.
	PublicNetworkAccess *string `json:"publicNetworkAccess,omitempty"`

	// Publishing user name.
	PublishingUsername *string `json:"publishingUsername,omitempty"`

	// Push endpoint settings.
	Push *PushSettings `json:"push,omitempty"`

	// Version of Python.
	PythonVersion *string `json:"pythonVersion,omitempty"`

	// true if remote debugging is enabled; otherwise, false.
	RemoteDebuggingEnabled *bool `json:"remoteDebuggingEnabled,omitempty"`

	// Remote debugging version.
	RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty"`

	// true if request tracing is enabled; otherwise, false.
	RequestTracingEnabled *bool `json:"requestTracingEnabled,omitempty"`

	// Request tracing expiration time.
	RequestTracingExpirationTime *time.Time `json:"requestTracingExpirationTime,omitempty"`

	// IP security restrictions for scm.
	ScmIPSecurityRestrictions []*IPSecurityRestriction `json:"scmIpSecurityRestrictions,omitempty"`

	// IP security restrictions for scm to use main.
	ScmIPSecurityRestrictionsUseMain *bool `json:"scmIpSecurityRestrictionsUseMain,omitempty"`

	// ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site
	ScmMinTLSVersion *SupportedTLSVersions `json:"scmMinTlsVersion,omitempty"`

	// SCM type.
	ScmType *ScmType `json:"scmType,omitempty"`

	// Tracing options.
	TracingOptions *string `json:"tracingOptions,omitempty"`

	// true to use 32-bit worker process; otherwise, false.
	Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty"`

	// Virtual applications.
	VirtualApplications []*VirtualApplication `json:"virtualApplications,omitempty"`

	// Virtual Network name.
	VnetName *string `json:"vnetName,omitempty"`

	// The number of private ports assigned to this app. These will be assigned dynamically on runtime.
	VnetPrivatePortsCount *int32 `json:"vnetPrivatePortsCount,omitempty"`

	// Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined
	// Routes applied.
	VnetRouteAllEnabled *bool `json:"vnetRouteAllEnabled,omitempty"`

	// true if WebSocket is enabled; otherwise, false.
	WebSocketsEnabled *bool `json:"webSocketsEnabled,omitempty"`

	// Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows App Service. Setting the WEBSITETIMEZONE
	// app setting takes precedence over this config. For Linux, expects
	// tz database values https://www.iana.org/time-zones (for a quick reference see https://en.wikipedia.org/wiki/Listoftzdatabasetimezones).
	// For Windows, expects one of the time zones listed under HKEY
	// LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
	WebsiteTimeZone *string `json:"websiteTimeZone,omitempty"`

	// Xenon App Framework and version
	WindowsFxVersion *string `json:"windowsFxVersion,omitempty"`

	// Explicit Managed Service Identity Id
	XManagedServiceIdentityID *int32 `json:"xManagedServiceIdentityId,omitempty"`

	// READ-ONLY; Site MachineKey.
	MachineKey *SiteMachineKey `json:"machineKey,omitempty" azure:"ro"`
}

SiteConfig - Configuration of an App Service app.

func (SiteConfig) MarshalJSON

func (s SiteConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfig.

func (*SiteConfig) UnmarshalJSON

func (s *SiteConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfig.

type SiteConfigPropertiesDictionary

type SiteConfigPropertiesDictionary struct {
	// READ-ONLY; JavaVersion configuration setting.
	JavaVersion *string `json:"javaVersion,omitempty" azure:"ro"`

	// READ-ONLY; LinuxFxVersion configuration setting.
	LinuxFxVersion *string `json:"linuxFxVersion,omitempty" azure:"ro"`

	// READ-ONLY; PowerShellVersion configuration setting.
	PowerShellVersion *string `json:"powerShellVersion,omitempty" azure:"ro"`

	// READ-ONLY; true if use32BitWorkerProcess should be set to true for the stack; otherwise, false.
	Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty" azure:"ro"`
}

SiteConfigPropertiesDictionary - Site config properties dictionary.

type SiteConfigResource

type SiteConfigResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *SiteConfig `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteConfigResource - Web app configuration ARM resource.

func (SiteConfigResource) MarshalJSON

func (s SiteConfigResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigResource.

type SiteConfigResourceCollection

type SiteConfigResourceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SiteConfigResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SiteConfigResourceCollection - Collection of site configurations.

type SiteConfigurationSnapshotInfo

type SiteConfigurationSnapshotInfo struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SiteConfigurationSnapshotInfo resource specific properties
	Properties *SiteConfigurationSnapshotInfoProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteConfigurationSnapshotInfo - A snapshot of a web app configuration.

type SiteConfigurationSnapshotInfoCollection

type SiteConfigurationSnapshotInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SiteConfigurationSnapshotInfo `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SiteConfigurationSnapshotInfoCollection - Collection of metadata for the app configuration snapshots that can be restored.

type SiteConfigurationSnapshotInfoProperties

type SiteConfigurationSnapshotInfoProperties struct {
	// READ-ONLY; The id of the snapshot
	SnapshotID *int32 `json:"snapshotId,omitempty" azure:"ro"`

	// READ-ONLY; The time the snapshot was taken.
	Time *time.Time `json:"time,omitempty" azure:"ro"`
}

SiteConfigurationSnapshotInfoProperties - SiteConfigurationSnapshotInfo resource specific properties

func (SiteConfigurationSnapshotInfoProperties) MarshalJSON

func (s SiteConfigurationSnapshotInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigurationSnapshotInfoProperties.

func (*SiteConfigurationSnapshotInfoProperties) UnmarshalJSON

func (s *SiteConfigurationSnapshotInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfigurationSnapshotInfoProperties.

type SiteExtensionInfo

type SiteExtensionInfo struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SiteExtensionInfo resource specific properties
	Properties *SiteExtensionInfoProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteExtensionInfo - Site Extension Information.

type SiteExtensionInfoCollection

type SiteExtensionInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SiteExtensionInfo `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SiteExtensionInfoCollection - Collection of Kudu site extension information elements.

type SiteExtensionInfoProperties

type SiteExtensionInfoProperties struct {
	// List of authors.
	Authors []*string `json:"authors,omitempty"`

	// Site Extension comment.
	Comment *string `json:"comment,omitempty"`

	// Detailed description.
	Description *string `json:"description,omitempty"`

	// Count of downloads.
	DownloadCount *int32 `json:"download_count,omitempty"`

	// Site extension ID.
	ExtensionID *string `json:"extension_id,omitempty"`

	// Site extension type.
	ExtensionType *SiteExtensionType `json:"extension_type,omitempty"`

	// Extension URL.
	ExtensionURL *string `json:"extension_url,omitempty"`

	// Feed URL.
	FeedURL *string `json:"feed_url,omitempty"`

	// Icon URL.
	IconURL *string `json:"icon_url,omitempty"`

	// Installed timestamp.
	InstalledDateTime *time.Time `json:"installed_date_time,omitempty"`

	// Installer command line parameters.
	InstallerCommandLineParams *string `json:"installer_command_line_params,omitempty"`

	// License URL.
	LicenseURL *string `json:"license_url,omitempty"`

	// true if the local version is the latest version; false otherwise.
	LocalIsLatestVersion *bool `json:"local_is_latest_version,omitempty"`

	// Local path.
	LocalPath *string `json:"local_path,omitempty"`

	// Project URL.
	ProjectURL *string `json:"project_url,omitempty"`

	// Provisioning state.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// Published timestamp.
	PublishedDateTime *time.Time `json:"published_date_time,omitempty"`

	// Summary description.
	Summary *string `json:"summary,omitempty"`
	Title   *string `json:"title,omitempty"`

	// Version information.
	Version *string `json:"version,omitempty"`
}

SiteExtensionInfoProperties - SiteExtensionInfo resource specific properties

func (SiteExtensionInfoProperties) MarshalJSON

func (s SiteExtensionInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteExtensionInfoProperties.

func (*SiteExtensionInfoProperties) UnmarshalJSON

func (s *SiteExtensionInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteExtensionInfoProperties.

type SiteExtensionType

type SiteExtensionType string

SiteExtensionType - Site extension type.

const (
	SiteExtensionTypeGallery SiteExtensionType = "Gallery"
	SiteExtensionTypeWebRoot SiteExtensionType = "WebRoot"
)

func PossibleSiteExtensionTypeValues

func PossibleSiteExtensionTypeValues() []SiteExtensionType

PossibleSiteExtensionTypeValues returns the possible values for the SiteExtensionType const type.

type SiteLimits

type SiteLimits struct {
	// Maximum allowed disk size usage in MB.
	MaxDiskSizeInMb *int64 `json:"maxDiskSizeInMb,omitempty"`

	// Maximum allowed memory usage in MB.
	MaxMemoryInMb *int64 `json:"maxMemoryInMb,omitempty"`

	// Maximum allowed CPU usage percentage.
	MaxPercentageCPU *float64 `json:"maxPercentageCpu,omitempty"`
}

SiteLimits - Metric limits set on an app.

type SiteLoadBalancing

type SiteLoadBalancing string

SiteLoadBalancing - Site load balancing.

const (
	SiteLoadBalancingWeightedRoundRobin   SiteLoadBalancing = "WeightedRoundRobin"
	SiteLoadBalancingLeastRequests        SiteLoadBalancing = "LeastRequests"
	SiteLoadBalancingLeastResponseTime    SiteLoadBalancing = "LeastResponseTime"
	SiteLoadBalancingWeightedTotalTraffic SiteLoadBalancing = "WeightedTotalTraffic"
	SiteLoadBalancingRequestHash          SiteLoadBalancing = "RequestHash"
	SiteLoadBalancingPerSiteRoundRobin    SiteLoadBalancing = "PerSiteRoundRobin"
)

func PossibleSiteLoadBalancingValues

func PossibleSiteLoadBalancingValues() []SiteLoadBalancing

PossibleSiteLoadBalancingValues returns the possible values for the SiteLoadBalancing const type.

type SiteLogsConfig

type SiteLogsConfig struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SiteLogsConfig resource specific properties
	Properties *SiteLogsConfigProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteLogsConfig - Configuration of App Service site logs.

type SiteLogsConfigProperties

type SiteLogsConfigProperties struct {
	// Application logs configuration.
	ApplicationLogs *ApplicationLogsConfig `json:"applicationLogs,omitempty"`

	// Detailed error messages configuration.
	DetailedErrorMessages *EnabledConfig `json:"detailedErrorMessages,omitempty"`

	// Failed requests tracing configuration.
	FailedRequestsTracing *EnabledConfig `json:"failedRequestsTracing,omitempty"`

	// HTTP logs configuration.
	HTTPLogs *HTTPLogsConfig `json:"httpLogs,omitempty"`
}

SiteLogsConfigProperties - SiteLogsConfig resource specific properties

type SiteMachineKey

type SiteMachineKey struct {
	// Algorithm used for decryption.
	Decryption *string `json:"decryption,omitempty"`

	// Decryption key.
	DecryptionKey *string `json:"decryptionKey,omitempty"`

	// MachineKey validation.
	Validation *string `json:"validation,omitempty"`

	// Validation key.
	ValidationKey *string `json:"validationKey,omitempty"`
}

SiteMachineKey - MachineKey of an app.

type SitePatchResource

type SitePatchResource struct {
	// Managed service identity.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SitePatchResource resource specific properties
	Properties *SitePatchResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SitePatchResource - ARM resource for a site.

func (SitePatchResource) MarshalJSON

func (s SitePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SitePatchResource.

type SitePatchResourceProperties

type SitePatchResourceProperties struct {
	// true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same
	// session to the same instance. Default is true.
	ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty"`

	// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.
	ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"`

	// client certificate authentication comma-separated exclusion paths
	ClientCertExclusionPaths *string `json:"clientCertExclusionPaths,omitempty"`

	// This composes with ClientCertEnabled setting.
	// * ClientCertEnabled: false means ClientCert is ignored.
	// * ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.
	// * ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.
	ClientCertMode *ClientCertMode `json:"clientCertMode,omitempty"`

	// If specified during app creation, the app is cloned from a source app.
	CloningInfo *CloningInfo `json:"cloningInfo,omitempty"`

	// Size of the function container.
	ContainerSize *int32 `json:"containerSize,omitempty"`

	// Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.
	CustomDomainVerificationID *string `json:"customDomainVerificationId,omitempty"`

	// Maximum allowed daily memory-time quota (applicable on dynamic apps only).
	DailyMemoryTimeQuota *int32 `json:"dailyMemoryTimeQuota,omitempty"`

	// true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).
	Enabled *bool `json:"enabled,omitempty"`

	// HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
	HTTPSOnly *bool `json:"httpsOnly,omitempty"`

	// Hostname SSL states are used to manage the SSL bindings for app's hostnames.
	HostNameSSLStates []*HostNameSSLState `json:"hostNameSslStates,omitempty"`

	// true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management
	// process.
	HostNamesDisabled *bool `json:"hostNamesDisabled,omitempty"`

	// App Service Environment to use for the app.
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`

	// Hyper-V sandbox.
	HyperV *bool `json:"hyperV,omitempty"`

	// Obsolete: Hyper-V sandbox.
	IsXenon *bool `json:"isXenon,omitempty"`

	// Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string `json:"keyVaultReferenceIdentity,omitempty"`

	// Site redundancy mode
	RedundancyMode *RedundancyMode `json:"redundancyMode,omitempty"`

	// true if reserved; otherwise, false.
	Reserved *bool `json:"reserved,omitempty"`

	// true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.
	ScmSiteAlsoStopped *bool `json:"scmSiteAlsoStopped,omitempty"`

	// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
	ServerFarmID *string `json:"serverFarmId,omitempty"`

	// Configuration of the app.
	SiteConfig *SiteConfig `json:"siteConfig,omitempty"`

	// Checks if Customer provided storage account is required
	StorageAccountRequired *bool `json:"storageAccountRequired,omitempty"`

	// Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of
	// the form
	// /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}
	VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"`

	// READ-ONLY; Management information availability state for the app.
	AvailabilityState *SiteAvailabilityState `json:"availabilityState,omitempty" azure:"ro"`

	// READ-ONLY; Default hostname of the app. Read-only.
	DefaultHostName *string `json:"defaultHostName,omitempty" azure:"ro"`

	// 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" azure:"ro"`

	// READ-ONLY; Hostnames associated with the app.
	HostNames []*string `json:"hostNames,omitempty" azure:"ro"`

	// READ-ONLY; Specifies an operation id if this site has a pending operation.
	InProgressOperationID *string `json:"inProgressOperationId,omitempty" azure:"ro"`

	// READ-ONLY; true if the app is a default container; otherwise, false.
	IsDefaultContainer *bool `json:"isDefaultContainer,omitempty" azure:"ro"`

	// READ-ONLY; Last time the app was modified, in UTC. Read-only.
	LastModifiedTimeUTC *time.Time `json:"lastModifiedTimeUtc,omitempty" azure:"ro"`

	// READ-ONLY; Maximum number of workers. This only applies to Functions container.
	MaxNumberOfWorkers *int32 `json:"maxNumberOfWorkers,omitempty" azure:"ro"`

	// 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" azure:"ro"`

	// READ-ONLY; List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all
	// tenants except dataComponent. Read-only.
	PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty" azure:"ro"`

	// READ-ONLY; Name of the repository site.
	RepositorySiteName *string `json:"repositorySiteName,omitempty" azure:"ro"`

	// READ-ONLY; Name of the resource group the app belongs to. Read-only.
	ResourceGroup *string `json:"resourceGroup,omitempty" azure:"ro"`

	// READ-ONLY; Status of the last deployment slot swap operation.
	SlotSwapStatus *SlotSwapStatus `json:"slotSwapStatus,omitempty" azure:"ro"`

	// READ-ONLY; Current state of the app.
	State *string `json:"state,omitempty" azure:"ro"`

	// READ-ONLY; App suspended till in case memory-time quota is exceeded.
	SuspendedTill *time.Time `json:"suspendedTill,omitempty" azure:"ro"`

	// READ-ONLY; Specifies which deployment slot this app will swap into. Read-only.
	TargetSwapSlot *string `json:"targetSwapSlot,omitempty" azure:"ro"`

	// READ-ONLY; Azure Traffic Manager hostnames associated with the app. Read-only.
	TrafficManagerHostNames []*string `json:"trafficManagerHostNames,omitempty" azure:"ro"`

	// READ-ONLY; State indicating whether the app has exceeded its quota usage. Read-only.
	UsageState *UsageState `json:"usageState,omitempty" azure:"ro"`
}

SitePatchResourceProperties - SitePatchResource resource specific properties

func (SitePatchResourceProperties) MarshalJSON

func (s SitePatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SitePatchResourceProperties.

func (*SitePatchResourceProperties) UnmarshalJSON

func (s *SitePatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SitePatchResourceProperties.

type SitePhpErrorLogFlag

type SitePhpErrorLogFlag struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SitePhpErrorLogFlag resource specific properties
	Properties *SitePhpErrorLogFlagProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SitePhpErrorLogFlag - Used for getting PHP error logging flag.

type SitePhpErrorLogFlagProperties

type SitePhpErrorLogFlagProperties struct {
	// Local log_errors setting.
	LocalLogErrors *string `json:"localLogErrors,omitempty"`

	// Local logerrorsmax_len setting.
	LocalLogErrorsMaxLength *string `json:"localLogErrorsMaxLength,omitempty"`

	// Master log_errors setting.
	MasterLogErrors *string `json:"masterLogErrors,omitempty"`

	// Master logerrorsmax_len setting.
	MasterLogErrorsMaxLength *string `json:"masterLogErrorsMaxLength,omitempty"`
}

SitePhpErrorLogFlagProperties - SitePhpErrorLogFlag resource specific properties

type SiteProperties

type SiteProperties struct {
	// true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same
	// session to the same instance. Default is true.
	ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty"`

	// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.
	ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"`

	// client certificate authentication comma-separated exclusion paths
	ClientCertExclusionPaths *string `json:"clientCertExclusionPaths,omitempty"`

	// This composes with ClientCertEnabled setting.
	// * ClientCertEnabled: false means ClientCert is ignored.
	// * ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.
	// * ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.
	ClientCertMode *ClientCertMode `json:"clientCertMode,omitempty"`

	// If specified during app creation, the app is cloned from a source app.
	CloningInfo *CloningInfo `json:"cloningInfo,omitempty"`

	// Size of the function container.
	ContainerSize *int32 `json:"containerSize,omitempty"`

	// Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.
	CustomDomainVerificationID *string `json:"customDomainVerificationId,omitempty"`

	// Maximum allowed daily memory-time quota (applicable on dynamic apps only).
	DailyMemoryTimeQuota *int32 `json:"dailyMemoryTimeQuota,omitempty"`

	// true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).
	Enabled *bool `json:"enabled,omitempty"`

	// HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
	HTTPSOnly *bool `json:"httpsOnly,omitempty"`

	// Hostname SSL states are used to manage the SSL bindings for app's hostnames.
	HostNameSSLStates []*HostNameSSLState `json:"hostNameSslStates,omitempty"`

	// true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management
	// process.
	HostNamesDisabled *bool `json:"hostNamesDisabled,omitempty"`

	// App Service Environment to use for the app.
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`

	// Hyper-V sandbox.
	HyperV *bool `json:"hyperV,omitempty"`

	// Obsolete: Hyper-V sandbox.
	IsXenon *bool `json:"isXenon,omitempty"`

	// Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string `json:"keyVaultReferenceIdentity,omitempty"`

	// Site redundancy mode
	RedundancyMode *RedundancyMode `json:"redundancyMode,omitempty"`

	// true if reserved; otherwise, false.
	Reserved *bool `json:"reserved,omitempty"`

	// true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.
	ScmSiteAlsoStopped *bool `json:"scmSiteAlsoStopped,omitempty"`

	// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
	ServerFarmID *string `json:"serverFarmId,omitempty"`

	// Configuration of the app.
	SiteConfig *SiteConfig `json:"siteConfig,omitempty"`

	// Checks if Customer provided storage account is required
	StorageAccountRequired *bool `json:"storageAccountRequired,omitempty"`

	// Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of
	// the form
	// /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}
	VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"`

	// READ-ONLY; Management information availability state for the app.
	AvailabilityState *SiteAvailabilityState `json:"availabilityState,omitempty" azure:"ro"`

	// READ-ONLY; Default hostname of the app. Read-only.
	DefaultHostName *string `json:"defaultHostName,omitempty" azure:"ro"`

	// 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" azure:"ro"`

	// READ-ONLY; Hostnames associated with the app.
	HostNames []*string `json:"hostNames,omitempty" azure:"ro"`

	// READ-ONLY; Specifies an operation id if this site has a pending operation.
	InProgressOperationID *string `json:"inProgressOperationId,omitempty" azure:"ro"`

	// READ-ONLY; true if the app is a default container; otherwise, false.
	IsDefaultContainer *bool `json:"isDefaultContainer,omitempty" azure:"ro"`

	// READ-ONLY; Last time the app was modified, in UTC. Read-only.
	LastModifiedTimeUTC *time.Time `json:"lastModifiedTimeUtc,omitempty" azure:"ro"`

	// READ-ONLY; Maximum number of workers. This only applies to Functions container.
	MaxNumberOfWorkers *int32 `json:"maxNumberOfWorkers,omitempty" azure:"ro"`

	// 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" azure:"ro"`

	// READ-ONLY; List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all
	// tenants except dataComponent. Read-only.
	PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty" azure:"ro"`

	// READ-ONLY; Name of the repository site.
	RepositorySiteName *string `json:"repositorySiteName,omitempty" azure:"ro"`

	// READ-ONLY; Name of the resource group the app belongs to. Read-only.
	ResourceGroup *string `json:"resourceGroup,omitempty" azure:"ro"`

	// READ-ONLY; Status of the last deployment slot swap operation.
	SlotSwapStatus *SlotSwapStatus `json:"slotSwapStatus,omitempty" azure:"ro"`

	// READ-ONLY; Current state of the app.
	State *string `json:"state,omitempty" azure:"ro"`

	// READ-ONLY; App suspended till in case memory-time quota is exceeded.
	SuspendedTill *time.Time `json:"suspendedTill,omitempty" azure:"ro"`

	// READ-ONLY; Specifies which deployment slot this app will swap into. Read-only.
	TargetSwapSlot *string `json:"targetSwapSlot,omitempty" azure:"ro"`

	// READ-ONLY; Azure Traffic Manager hostnames associated with the app. Read-only.
	TrafficManagerHostNames []*string `json:"trafficManagerHostNames,omitempty" azure:"ro"`

	// READ-ONLY; State indicating whether the app has exceeded its quota usage. Read-only.
	UsageState *UsageState `json:"usageState,omitempty" azure:"ro"`
}

SiteProperties - Site resource specific properties

func (SiteProperties) MarshalJSON

func (s SiteProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteProperties.

func (*SiteProperties) UnmarshalJSON

func (s *SiteProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteProperties.

type SiteRuntimeState

type SiteRuntimeState string
const (
	SiteRuntimeStateREADY   SiteRuntimeState = "READY"
	SiteRuntimeStateSTOPPED SiteRuntimeState = "STOPPED"
	SiteRuntimeStateUNKNOWN SiteRuntimeState = "UNKNOWN"
)

func PossibleSiteRuntimeStateValues

func PossibleSiteRuntimeStateValues() []SiteRuntimeState

PossibleSiteRuntimeStateValues returns the possible values for the SiteRuntimeState const type.

type SiteSeal

type SiteSeal struct {
	// REQUIRED; HTML snippet
	HTML *string `json:"html,omitempty"`
}

SiteSeal - Site seal

type SiteSealRequest

type SiteSealRequest struct {
	// If true use the light color theme for site seal; otherwise, use the default color theme.
	LightTheme *bool `json:"lightTheme,omitempty"`

	// Locale of site seal.
	Locale *string `json:"locale,omitempty"`
}

SiteSealRequest - Site seal request.

type SiteSourceControl

type SiteSourceControl struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SiteSourceControl resource specific properties
	Properties *SiteSourceControlProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SiteSourceControl - Source control configuration for an app.

func (SiteSourceControl) MarshalJSON

func (s SiteSourceControl) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteSourceControl.

type SiteSourceControlProperties

type SiteSourceControlProperties struct {
	// Name of branch to use for deployment.
	Branch *string `json:"branch,omitempty"`

	// true to enable deployment rollback; otherwise, false.
	DeploymentRollbackEnabled *bool `json:"deploymentRollbackEnabled,omitempty"`

	// If GitHub Action is selected, than the associated configuration.
	GitHubActionConfiguration *GitHubActionConfiguration `json:"gitHubActionConfiguration,omitempty"`

	// true if this is deployed via GitHub action.
	IsGitHubAction *bool `json:"isGitHubAction,omitempty"`

	// true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos
	// like GitHub).
	IsManualIntegration *bool `json:"isManualIntegration,omitempty"`

	// true for a Mercurial repository; false for a Git repository.
	IsMercurial *bool `json:"isMercurial,omitempty"`

	// Repository or source control URL.
	RepoURL *string `json:"repoUrl,omitempty"`
}

SiteSourceControlProperties - SiteSourceControl resource specific properties

type SlotConfigNames

type SlotConfigNames struct {
	// List of application settings names.
	AppSettingNames []*string `json:"appSettingNames,omitempty"`

	// List of external Azure storage account identifiers.
	AzureStorageConfigNames []*string `json:"azureStorageConfigNames,omitempty"`

	// List of connection string names.
	ConnectionStringNames []*string `json:"connectionStringNames,omitempty"`
}

SlotConfigNames - Names for connection strings, application settings, and external Azure storage account configuration identifiers 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.

func (SlotConfigNames) MarshalJSON

func (s SlotConfigNames) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlotConfigNames.

type SlotConfigNamesResource

type SlotConfigNamesResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *SlotConfigNames `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SlotConfigNamesResource - Slot Config names azure resource.

type SlotDifference

type SlotDifference struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SlotDifference resource specific properties
	Properties *SlotDifferenceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SlotDifference - A setting difference between two deployment slots of an app.

type SlotDifferenceCollection

type SlotDifferenceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SlotDifference `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SlotDifferenceCollection - Collection of slot differences.

type SlotDifferenceProperties

type SlotDifferenceProperties struct {
	// READ-ONLY; Description of the setting difference.
	Description *string `json:"description,omitempty" azure:"ro"`

	// READ-ONLY; Rule that describes how to process the setting difference during a slot swap.
	DiffRule *string `json:"diffRule,omitempty" azure:"ro"`

	// READ-ONLY; Level of the difference: Information, Warning or Error.
	Level *string `json:"level,omitempty" azure:"ro"`

	// READ-ONLY; Name of the setting.
	SettingName *string `json:"settingName,omitempty" azure:"ro"`

	// READ-ONLY; The type of the setting: General, AppSetting or ConnectionString.
	SettingType *string `json:"settingType,omitempty" azure:"ro"`

	// READ-ONLY; Value of the setting in the current slot.
	ValueInCurrentSlot *string `json:"valueInCurrentSlot,omitempty" azure:"ro"`

	// READ-ONLY; Value of the setting in the target slot.
	ValueInTargetSlot *string `json:"valueInTargetSlot,omitempty" azure:"ro"`
}

SlotDifferenceProperties - SlotDifference resource specific properties

type SlotSwapStatus

type SlotSwapStatus struct {
	// READ-ONLY; The destination slot of the last swap operation.
	DestinationSlotName *string `json:"destinationSlotName,omitempty" azure:"ro"`

	// READ-ONLY; The source slot of the last swap operation.
	SourceSlotName *string `json:"sourceSlotName,omitempty" azure:"ro"`

	// READ-ONLY; The time the last successful slot swap completed.
	TimestampUTC *time.Time `json:"timestampUtc,omitempty" azure:"ro"`
}

SlotSwapStatus - The status of the last successful slot swap operation.

func (SlotSwapStatus) MarshalJSON

func (s SlotSwapStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlotSwapStatus.

func (*SlotSwapStatus) UnmarshalJSON

func (s *SlotSwapStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlotSwapStatus.

type SlowRequestsBasedTrigger

type SlowRequestsBasedTrigger struct {
	// Request Count.
	Count *int32 `json:"count,omitempty"`

	// Request Path.
	Path *string `json:"path,omitempty"`

	// Time interval.
	TimeInterval *string `json:"timeInterval,omitempty"`

	// Time taken.
	TimeTaken *string `json:"timeTaken,omitempty"`
}

SlowRequestsBasedTrigger - Trigger based on request execution time.

type Snapshot

type Snapshot struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Snapshot resource specific properties
	Properties *SnapshotProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Snapshot - A snapshot of an app.

type SnapshotCollection

type SnapshotCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Snapshot `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SnapshotCollection - Collection of snapshots which can be used to revert an app to a previous time.

type SnapshotProperties

type SnapshotProperties struct {
	// READ-ONLY; The time the snapshot was taken.
	Time *string `json:"time,omitempty" azure:"ro"`
}

SnapshotProperties - Snapshot resource specific properties

type SnapshotRecoverySource

type SnapshotRecoverySource struct {
	// ARM resource ID of the source 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"`

	// Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS
	Location *string `json:"location,omitempty"`
}

SnapshotRecoverySource - Specifies the web app that snapshot contents will be retrieved from.

type SnapshotRestoreRequest

type SnapshotRestoreRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SnapshotRestoreRequest resource specific properties
	Properties *SnapshotRestoreRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SnapshotRestoreRequest - Details about app recovery operation.

type SnapshotRestoreRequestProperties

type SnapshotRestoreRequestProperties struct {
	// REQUIRED; If true the restore operation can overwrite source app; otherwise, false.
	Overwrite *bool `json:"overwrite,omitempty"`

	// 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"`

	// If true, site configuration, in addition to content, will be reverted.
	RecoverConfiguration *bool `json:"recoverConfiguration,omitempty"`

	// Optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used
	// as the source.
	RecoverySource *SnapshotRecoverySource `json:"recoverySource,omitempty"`

	// Point in time in which the app restore should be done, formatted as a DateTime string.
	SnapshotTime *string `json:"snapshotTime,omitempty"`

	// If true, the snapshot is retrieved from DRSecondary endpoint.
	UseDRSecondary *bool `json:"useDRSecondary,omitempty"`
}

SnapshotRestoreRequestProperties - SnapshotRestoreRequest resource specific properties

type Solution

type Solution struct {
	// Solution Data.
	Data [][]*NameValuePair `json:"data,omitempty"`

	// Description of the solution
	Description *string `json:"description,omitempty"`

	// Display Name of the solution
	DisplayName *string `json:"displayName,omitempty"`

	// Solution Id.
	ID *float64 `json:"id,omitempty"`

	// Solution Metadata.
	Metadata [][]*NameValuePair `json:"metadata,omitempty"`

	// Order of the solution.
	Order *float64 `json:"order,omitempty"`

	// Type of Solution
	Type *SolutionType `json:"type,omitempty"`
}

Solution - Class Representing Solution for problems detected.

func (Solution) MarshalJSON

func (s Solution) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Solution.

type SolutionType

type SolutionType string

SolutionType - Type of Solution

const (
	SolutionTypeQuickSolution     SolutionType = "QuickSolution"
	SolutionTypeDeepInvestigation SolutionType = "DeepInvestigation"
	SolutionTypeBestPractices     SolutionType = "BestPractices"
)

func PossibleSolutionTypeValues

func PossibleSolutionTypeValues() []SolutionType

PossibleSolutionTypeValues returns the possible values for the SolutionType const type.

type SourceControl

type SourceControl struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SourceControl resource specific properties
	Properties *SourceControlProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SourceControl - The source control OAuth token.

type SourceControlCollection

type SourceControlCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SourceControl `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

SourceControlCollection - Collection of source controls.

type SourceControlProperties

type SourceControlProperties struct {
	// OAuth token expiration.
	ExpirationTime *time.Time `json:"expirationTime,omitempty"`

	// OAuth refresh token.
	RefreshToken *string `json:"refreshToken,omitempty"`

	// OAuth access token.
	Token *string `json:"token,omitempty"`

	// OAuth access token secret.
	TokenSecret *string `json:"tokenSecret,omitempty"`
}

SourceControlProperties - SourceControl resource specific properties

func (SourceControlProperties) MarshalJSON

func (s SourceControlProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SourceControlProperties.

func (*SourceControlProperties) UnmarshalJSON

func (s *SourceControlProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SourceControlProperties.

type StackMajorVersion

type StackMajorVersion struct {
	// Example: All the function apps need AppSetting: "FUNCTIONSWORKERRUNTIME" to be set stack name
	AppSettingsDictionary map[string]interface{} `json:"appSettingsDictionary,omitempty"`

	// true if this supports Application Insights; otherwise, false.
	ApplicationInsights *bool `json:"applicationInsights,omitempty"`

	// Application stack major version (display only).
	DisplayVersion *string `json:"displayVersion,omitempty"`

	// true if this is the default major version; otherwise, false.
	IsDefault *bool `json:"isDefault,omitempty"`

	// true if this stack has been deprecated, otherwise false.
	IsDeprecated *bool `json:"isDeprecated,omitempty"`

	// true if this stack should be hidden for new customers on portal, otherwise false.
	IsHidden *bool `json:"isHidden,omitempty"`

	// true if this stack is in Preview, otherwise false.
	IsPreview *bool `json:"isPreview,omitempty"`

	// Minor versions associated with the major version.
	MinorVersions []*StackMinorVersion `json:"minorVersions,omitempty"`

	// Application stack major version (runtime only).
	RuntimeVersion *string `json:"runtimeVersion,omitempty"`

	// Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0
	SiteConfigPropertiesDictionary map[string]interface{} `json:"siteConfigPropertiesDictionary,omitempty"`
}

StackMajorVersion - Application stack major version.

func (StackMajorVersion) MarshalJSON

func (s StackMajorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StackMajorVersion.

type StackMinorVersion

type StackMinorVersion struct {
	// Application stack minor version (display only).
	DisplayVersion *string `json:"displayVersion,omitempty"`

	// true if this is the default minor version; otherwise, false.
	IsDefault *bool `json:"isDefault,omitempty"`

	// true if this supports Remote Debugging, otherwise false.
	IsRemoteDebuggingEnabled *bool `json:"isRemoteDebuggingEnabled,omitempty"`

	// Application stack minor version (runtime only).
	RuntimeVersion *string `json:"runtimeVersion,omitempty"`
}

StackMinorVersion - Application stack minor version.

type StackPreferredOs

type StackPreferredOs string

StackPreferredOs - Function App stack preferred OS.

const (
	StackPreferredOsWindows StackPreferredOs = "Windows"
	StackPreferredOsLinux   StackPreferredOs = "Linux"
)

func PossibleStackPreferredOsValues

func PossibleStackPreferredOsValues() []StackPreferredOs

PossibleStackPreferredOsValues returns the possible values for the StackPreferredOs const type.

type StagingEnvironmentPolicy

type StagingEnvironmentPolicy string

StagingEnvironmentPolicy - State indicating whether staging environments are allowed or not allowed for a static web app.

const (
	StagingEnvironmentPolicyEnabled  StagingEnvironmentPolicy = "Enabled"
	StagingEnvironmentPolicyDisabled StagingEnvironmentPolicy = "Disabled"
)

func PossibleStagingEnvironmentPolicyValues

func PossibleStagingEnvironmentPolicyValues() []StagingEnvironmentPolicy

PossibleStagingEnvironmentPolicyValues returns the possible values for the StagingEnvironmentPolicy const type.

type StampCapacity

type StampCapacity struct {
	// Available capacity (# of machines, bytes of storage etc…).
	AvailableCapacity *int64 `json:"availableCapacity,omitempty"`

	// Shared/dedicated workers.
	ComputeMode *ComputeModeOptions `json:"computeMode,omitempty"`

	// If true, it includes basic apps. Basic apps are not used for capacity allocation.
	ExcludeFromCapacityAllocation *bool `json:"excludeFromCapacityAllocation,omitempty"`

	// true if capacity is applicable for all apps; otherwise, false.
	IsApplicableForAllComputeModes *bool `json:"isApplicableForAllComputeModes,omitempty"`

	// Is this a linux stamp capacity
	IsLinux *bool `json:"isLinux,omitempty"`

	// Name of the stamp.
	Name *string `json:"name,omitempty"`

	// Shared or Dedicated.
	SiteMode *string `json:"siteMode,omitempty"`

	// Total capacity (# of machines, bytes of storage etc…).
	TotalCapacity *int64 `json:"totalCapacity,omitempty"`

	// Name of the unit.
	Unit *string `json:"unit,omitempty"`

	// Size of the machines.
	WorkerSize *WorkerSizeOptions `json:"workerSize,omitempty"`

	// Size ID of machines: 0 - Small 1 - Medium 2 - Large
	WorkerSizeID *int32 `json:"workerSizeId,omitempty"`
}

StampCapacity - Stamp capacity information.

type StampCapacityCollection

type StampCapacityCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StampCapacity `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StampCapacityCollection - Collection of stamp capacities.

type StaticSite

type StaticSite struct {
	// false if config file is locked for this static web app; otherwise, true.
	AllowConfigFileUpdates *bool `json:"allowConfigFileUpdates,omitempty"`

	// The target branch in the repository.
	Branch *string `json:"branch,omitempty"`

	// Build properties to configure on the repository.
	BuildProperties *StaticSiteBuildProperties `json:"buildProperties,omitempty"`

	// State indicating the status of the enterprise grade CDN serving traffic to the static web app.
	EnterpriseGradeCdnStatus *EnterpriseGradeCdnStatus `json:"enterpriseGradeCdnStatus,omitempty"`

	// The provider that submitted the last deployment to the primary environment of the static site.
	Provider *string `json:"provider,omitempty"`

	// A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.
	RepositoryToken *string `json:"repositoryToken,omitempty"`

	// URL for the repository of the static site.
	RepositoryURL *string `json:"repositoryUrl,omitempty"`

	// State indicating whether staging environments are allowed or not allowed for a static web app.
	StagingEnvironmentPolicy *StagingEnvironmentPolicy `json:"stagingEnvironmentPolicy,omitempty"`

	// Template options for generating a new repository.
	TemplateProperties *StaticSiteTemplateOptions `json:"templateProperties,omitempty"`

	// READ-ONLY; The content distribution endpoint for the static site.
	ContentDistributionEndpoint *string `json:"contentDistributionEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; The custom domains associated with this static site.
	CustomDomains []*string `json:"customDomains,omitempty" azure:"ro"`

	// READ-ONLY; The default autogenerated hostname for the static site.
	DefaultHostname *string `json:"defaultHostname,omitempty" azure:"ro"`

	// READ-ONLY; Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string `json:"keyVaultReferenceIdentity,omitempty" azure:"ro"`

	// READ-ONLY; Private endpoint connections
	PrivateEndpointConnections []*ResponseMessageEnvelopeRemotePrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"`

	// READ-ONLY; User provided function apps registered with the static site
	UserProvidedFunctionApps []*StaticSiteUserProvidedFunctionApp `json:"userProvidedFunctionApps,omitempty" azure:"ro"`
}

StaticSite - A static site.

func (StaticSite) MarshalJSON

func (s StaticSite) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSite.

type StaticSiteARMResource

type StaticSiteARMResource struct {
	// REQUIRED; Resource Location.
	Location *string `json:"location,omitempty"`

	// Managed service identity.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *StaticSite `json:"properties,omitempty"`

	// Description of a SKU for a scalable resource.
	SKU *SKUDescription `json:"sku,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteARMResource - Static Site ARM resource.

func (StaticSiteARMResource) MarshalJSON

func (s StaticSiteARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteARMResource.

type StaticSiteBuildARMResource

type StaticSiteBuildARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteBuildARMResource resource specific properties
	Properties *StaticSiteBuildARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteBuildARMResource - Static Site Build ARM resource.

type StaticSiteBuildARMResourceProperties

type StaticSiteBuildARMResourceProperties struct {
	// READ-ONLY; An identifier for the static site build.
	BuildID *string `json:"buildId,omitempty" azure:"ro"`

	// READ-ONLY; When this build was created.
	CreatedTimeUTC *time.Time `json:"createdTimeUtc,omitempty" azure:"ro"`

	// READ-ONLY; The hostname for a static site build.
	Hostname *string `json:"hostname,omitempty" azure:"ro"`

	// READ-ONLY; When this build was updated.
	LastUpdatedOn *time.Time `json:"lastUpdatedOn,omitempty" azure:"ro"`

	// READ-ONLY; The title of a pull request that a static site build is related to.
	PullRequestTitle *string `json:"pullRequestTitle,omitempty" azure:"ro"`

	// READ-ONLY; The source branch.
	SourceBranch *string `json:"sourceBranch,omitempty" azure:"ro"`

	// READ-ONLY; The status of the static site build.
	Status *BuildStatus `json:"status,omitempty" azure:"ro"`

	// READ-ONLY; User provided function apps registered with the static site build
	UserProvidedFunctionApps []*StaticSiteUserProvidedFunctionApp `json:"userProvidedFunctionApps,omitempty" azure:"ro"`
}

StaticSiteBuildARMResourceProperties - StaticSiteBuildARMResource resource specific properties

func (StaticSiteBuildARMResourceProperties) MarshalJSON

func (s StaticSiteBuildARMResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteBuildARMResourceProperties.

func (*StaticSiteBuildARMResourceProperties) UnmarshalJSON

func (s *StaticSiteBuildARMResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBuildARMResourceProperties.

type StaticSiteBuildCollection

type StaticSiteBuildCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteBuildARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StaticSiteBuildCollection - Collection of static site builds.

type StaticSiteBuildProperties

type StaticSiteBuildProperties struct {
	// A custom command to run during deployment of the Azure Functions API application.
	APIBuildCommand *string `json:"apiBuildCommand,omitempty"`

	// The path to the api code within the repository.
	APILocation *string `json:"apiLocation,omitempty"`

	// Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
	AppArtifactLocation *string `json:"appArtifactLocation,omitempty"`

	// A custom command to run during deployment of the static content application.
	AppBuildCommand *string `json:"appBuildCommand,omitempty"`

	// The path to the app code within the repository.
	AppLocation *string `json:"appLocation,omitempty"`

	// Github Action secret name override.
	GithubActionSecretNameOverride *string `json:"githubActionSecretNameOverride,omitempty"`

	// The output path of the app after building.
	OutputLocation *string `json:"outputLocation,omitempty"`

	// Skip Github Action workflow generation.
	SkipGithubActionWorkflowGeneration *bool `json:"skipGithubActionWorkflowGeneration,omitempty"`
}

StaticSiteBuildProperties - Build properties for the static site.

type StaticSiteCollection

type StaticSiteCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StaticSiteCollection - Collection of static sites.

type StaticSiteCustomDomainOverviewARMResource

type StaticSiteCustomDomainOverviewARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteCustomDomainOverviewARMResource resource specific properties
	Properties *StaticSiteCustomDomainOverviewARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteCustomDomainOverviewARMResource - Static Site Custom Domain Overview ARM resource.

type StaticSiteCustomDomainOverviewARMResourceProperties

type StaticSiteCustomDomainOverviewARMResourceProperties struct {
	// READ-ONLY; The date and time on which the custom domain was created for the static site.
	CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"`

	// READ-ONLY; The domain name for the static site custom domain.
	DomainName *string `json:"domainName,omitempty" azure:"ro"`

	// READ-ONLY
	ErrorMessage *string `json:"errorMessage,omitempty" azure:"ro"`

	// READ-ONLY; The status of the custom domain
	Status *CustomDomainStatus `json:"status,omitempty" azure:"ro"`

	// READ-ONLY; The TXT record validation token
	ValidationToken *string `json:"validationToken,omitempty" azure:"ro"`
}

StaticSiteCustomDomainOverviewARMResourceProperties - StaticSiteCustomDomainOverviewARMResource resource specific properties

func (StaticSiteCustomDomainOverviewARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteCustomDomainOverviewARMResourceProperties.

func (*StaticSiteCustomDomainOverviewARMResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteCustomDomainOverviewARMResourceProperties.

type StaticSiteCustomDomainOverviewCollection

type StaticSiteCustomDomainOverviewCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteCustomDomainOverviewARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StaticSiteCustomDomainOverviewCollection - Collection of static site custom domains.

type StaticSiteCustomDomainRequestPropertiesARMResource

type StaticSiteCustomDomainRequestPropertiesARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties
	Properties *StaticSiteCustomDomainRequestPropertiesARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteCustomDomainRequestPropertiesARMResource - Static Site Custom Domain Request Properties ARM resource.

type StaticSiteCustomDomainRequestPropertiesARMResourceProperties

type StaticSiteCustomDomainRequestPropertiesARMResourceProperties struct {
	// Validation method for adding a custom domain
	ValidationMethod *string `json:"validationMethod,omitempty"`
}

StaticSiteCustomDomainRequestPropertiesARMResourceProperties - StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties

type StaticSiteFunctionOverviewARMResource

type StaticSiteFunctionOverviewARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteFunctionOverviewARMResource resource specific properties
	Properties *StaticSiteFunctionOverviewARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteFunctionOverviewARMResource - Static Site Function Overview ARM resource.

type StaticSiteFunctionOverviewARMResourceProperties

type StaticSiteFunctionOverviewARMResourceProperties struct {
	// READ-ONLY; The name for the function
	FunctionName *string `json:"functionName,omitempty" azure:"ro"`

	// READ-ONLY; The trigger type of the function
	TriggerType *TriggerTypes `json:"triggerType,omitempty" azure:"ro"`
}

StaticSiteFunctionOverviewARMResourceProperties - StaticSiteFunctionOverviewARMResource resource specific properties

type StaticSiteFunctionOverviewCollection

type StaticSiteFunctionOverviewCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteFunctionOverviewARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StaticSiteFunctionOverviewCollection - Collection of static site functions.

type StaticSitePatchResource

type StaticSitePatchResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *StaticSite `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSitePatchResource - ARM resource for a static site when patching

func (StaticSitePatchResource) MarshalJSON

func (s StaticSitePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSitePatchResource.

type StaticSiteResetPropertiesARMResource

type StaticSiteResetPropertiesARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteResetPropertiesARMResource resource specific properties
	Properties *StaticSiteResetPropertiesARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteResetPropertiesARMResource - Static Site Reset Properties ARM resource.

type StaticSiteResetPropertiesARMResourceProperties

type StaticSiteResetPropertiesARMResourceProperties struct {
	// The token which proves admin privileges to the repository.
	RepositoryToken *string `json:"repositoryToken,omitempty"`

	// Determines whether the repository should be updated with the new properties.
	ShouldUpdateRepository *bool `json:"shouldUpdateRepository,omitempty"`
}

StaticSiteResetPropertiesARMResourceProperties - StaticSiteResetPropertiesARMResource resource specific properties

type StaticSiteTemplateOptions

type StaticSiteTemplateOptions struct {
	// Description of the newly generated repository.
	Description *string `json:"description,omitempty"`

	// Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
	IsPrivate *bool `json:"isPrivate,omitempty"`

	// Owner of the newly generated repository.
	Owner *string `json:"owner,omitempty"`

	// Name of the newly generated repository.
	RepositoryName *string `json:"repositoryName,omitempty"`

	// URL of the template repository. The newly generated repository will be based on this one.
	TemplateRepositoryURL *string `json:"templateRepositoryUrl,omitempty"`
}

StaticSiteTemplateOptions - Template Options for the static site.

type StaticSiteUserARMResource

type StaticSiteUserARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteUserARMResource resource specific properties
	Properties *StaticSiteUserARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteUserARMResource - Static Site User ARM resource.

func (StaticSiteUserARMResource) MarshalJSON

func (s StaticSiteUserARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserARMResource.

type StaticSiteUserARMResourceProperties

type StaticSiteUserARMResourceProperties struct {
	// The roles for the static site user, in free-form string format
	Roles *string `json:"roles,omitempty"`

	// READ-ONLY; The display name for the static site user.
	DisplayName *string `json:"displayName,omitempty" azure:"ro"`

	// READ-ONLY; The identity provider for the static site user.
	Provider *string `json:"provider,omitempty" azure:"ro"`

	// READ-ONLY; The user id for the static site user.
	UserID *string `json:"userId,omitempty" azure:"ro"`
}

StaticSiteUserARMResourceProperties - StaticSiteUserARMResource resource specific properties

type StaticSiteUserCollection

type StaticSiteUserCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteUserARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StaticSiteUserCollection - Collection of static site custom users.

type StaticSiteUserInvitationRequestResource

type StaticSiteUserInvitationRequestResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteUserInvitationRequestResource resource specific properties
	Properties *StaticSiteUserInvitationRequestResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteUserInvitationRequestResource - Static sites user roles invitation resource.

type StaticSiteUserInvitationRequestResourceProperties

type StaticSiteUserInvitationRequestResourceProperties struct {
	// The domain name for the static site custom domain.
	Domain *string `json:"domain,omitempty"`

	// The number of hours the sas token stays valid
	NumHoursToExpiration *int32 `json:"numHoursToExpiration,omitempty"`

	// The identity provider for the static site user.
	Provider *string `json:"provider,omitempty"`

	// The roles for the static site user, in free-form string format
	Roles *string `json:"roles,omitempty"`

	// The user id for the static site user.
	UserDetails *string `json:"userDetails,omitempty"`
}

StaticSiteUserInvitationRequestResourceProperties - StaticSiteUserInvitationRequestResource resource specific properties

type StaticSiteUserInvitationResponseResource

type StaticSiteUserInvitationResponseResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteUserInvitationResponseResource resource specific properties
	Properties *StaticSiteUserInvitationResponseResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteUserInvitationResponseResource - Static sites user roles invitation link resource.

type StaticSiteUserInvitationResponseResourceProperties

type StaticSiteUserInvitationResponseResourceProperties struct {
	// READ-ONLY; The expiration time of the invitation
	ExpiresOn *time.Time `json:"expiresOn,omitempty" azure:"ro"`

	// READ-ONLY; The url for the invitation link
	InvitationURL *string `json:"invitationUrl,omitempty" azure:"ro"`
}

StaticSiteUserInvitationResponseResourceProperties - StaticSiteUserInvitationResponseResource resource specific properties

func (StaticSiteUserInvitationResponseResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserInvitationResponseResourceProperties.

func (*StaticSiteUserInvitationResponseResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserInvitationResponseResourceProperties.

type StaticSiteUserProvidedFunctionApp

type StaticSiteUserProvidedFunctionApp struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteUserProvidedFunctionApp resource specific properties
	Properties *StaticSiteUserProvidedFunctionAppProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteUserProvidedFunctionApp - A static site user provided function.

type StaticSiteUserProvidedFunctionAppARMResource

type StaticSiteUserProvidedFunctionAppARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSiteUserProvidedFunctionAppARMResource resource specific properties
	Properties *StaticSiteUserProvidedFunctionAppARMResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteUserProvidedFunctionAppARMResource - Static Site User Provided Function App ARM resource.

type StaticSiteUserProvidedFunctionAppARMResourceProperties

type StaticSiteUserProvidedFunctionAppARMResourceProperties struct {
	// The region of the function app registered with the static site
	FunctionAppRegion *string `json:"functionAppRegion,omitempty"`

	// The resource id of the function app registered with the static site
	FunctionAppResourceID *string `json:"functionAppResourceId,omitempty"`

	// READ-ONLY; The date and time on which the function app was registered with the static site.
	CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"`
}

StaticSiteUserProvidedFunctionAppARMResourceProperties - StaticSiteUserProvidedFunctionAppARMResource resource specific properties

func (StaticSiteUserProvidedFunctionAppARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserProvidedFunctionAppARMResourceProperties.

func (*StaticSiteUserProvidedFunctionAppARMResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserProvidedFunctionAppARMResourceProperties.

type StaticSiteUserProvidedFunctionAppProperties

type StaticSiteUserProvidedFunctionAppProperties struct {
	// The region of the function app registered with the static site
	FunctionAppRegion *string `json:"functionAppRegion,omitempty"`

	// The resource id of the function app registered with the static site
	FunctionAppResourceID *string `json:"functionAppResourceId,omitempty"`

	// READ-ONLY; The date and time on which the function app was registered with the static site.
	CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"`
}

StaticSiteUserProvidedFunctionAppProperties - StaticSiteUserProvidedFunctionApp resource specific properties

func (StaticSiteUserProvidedFunctionAppProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserProvidedFunctionAppProperties.

func (*StaticSiteUserProvidedFunctionAppProperties) UnmarshalJSON

func (s *StaticSiteUserProvidedFunctionAppProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserProvidedFunctionAppProperties.

type StaticSiteUserProvidedFunctionAppsCollection

type StaticSiteUserProvidedFunctionAppsCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteUserProvidedFunctionAppARMResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

StaticSiteUserProvidedFunctionAppsCollection - Collection of static site user provided function apps.

type StaticSiteZipDeployment

type StaticSiteZipDeployment struct {
	// URL for the zipped api content
	APIZipURL *string `json:"apiZipUrl,omitempty"`

	// URL for the zipped app content
	AppZipURL *string `json:"appZipUrl,omitempty"`

	// A title to label the deployment
	DeploymentTitle *string `json:"deploymentTitle,omitempty"`

	// The language of the api content, if it exists
	FunctionLanguage *string `json:"functionLanguage,omitempty"`

	// The provider submitting this deployment
	Provider *string `json:"provider,omitempty"`
}

StaticSiteZipDeployment - A static site zip deployment.

type StaticSiteZipDeploymentARMResource

type StaticSiteZipDeploymentARMResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *StaticSiteZipDeployment `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSiteZipDeploymentARMResource - Static site zip deployment ARM resource.

type StaticSitesClient

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

StaticSitesClient contains the methods for the StaticSites group. Don't use this type directly, use NewStaticSitesClient() instead.

func NewStaticSitesClient

func NewStaticSitesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*StaticSitesClient, error)

NewStaticSitesClient creates a new instance of StaticSitesClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*StaticSitesClient) BeginApproveOrRejectPrivateEndpointConnection

func (client *StaticSitesClient) BeginApproveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*runtime.Poller[StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse], error)

BeginApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. privateEndpointConnectionName - Name of the private endpoint connection. privateEndpointWrapper - Request body. options - StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.BeginApproveOrRejectPrivateEndpointConnection method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginApproveOrRejectPrivateEndpointConnection(ctx,
		"rg",
		"testSite",
		"connection",
		armappservice.PrivateLinkConnectionApprovalRequestResource{
			Properties: &armappservice.PrivateLinkConnectionApprovalRequest{
				PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
					Description:     to.Ptr("Approved by admin."),
					ActionsRequired: to.Ptr(""),
					Status:          to.Ptr("Approved"),
				},
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) BeginCreateOrUpdateStaticSite

BeginCreateOrUpdateStaticSite - Creates a new static site in an existing resource group, or updates an existing static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site to create or update. staticSiteEnvelope - A JSON representation of the staticsite properties. See example. options - StaticSitesClientBeginCreateOrUpdateStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginCreateOrUpdateStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateOrUpdateStaticSite(ctx,
		"rg",
		"testStaticSite0",
		armappservice.StaticSiteARMResource{
			Location: to.Ptr("West US 2"),
			Properties: &armappservice.StaticSite{
				Branch: to.Ptr("master"),
				BuildProperties: &armappservice.StaticSiteBuildProperties{
					APILocation:         to.Ptr("api"),
					AppArtifactLocation: to.Ptr("build"),
					AppLocation:         to.Ptr("app"),
				},
				RepositoryToken: to.Ptr("repoToken123"),
				RepositoryURL:   to.Ptr("https://github.com/username/RepoName"),
			},
			SKU: &armappservice.SKUDescription{
				Name: to.Ptr("Basic"),
				Tier: to.Ptr("Basic"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) BeginCreateOrUpdateStaticSiteCustomDomain

func (client *StaticSitesClient) BeginCreateOrUpdateStaticSiteCustomDomain(ctx context.Context, resourceGroupName string, name string, domainName string, staticSiteCustomDomainRequestPropertiesEnvelope StaticSiteCustomDomainRequestPropertiesARMResource, options *StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions) (*runtime.Poller[StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse], error)

BeginCreateOrUpdateStaticSiteCustomDomain - Creates a new static site custom domain in an existing resource group and static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. domainName - The custom domain to create. staticSiteCustomDomainRequestPropertiesEnvelope - A JSON representation of the static site custom domain request properties. See example. options - StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.BeginCreateOrUpdateStaticSiteCustomDomain method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteCustomDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateOrUpdateStaticSiteCustomDomain(ctx,
		"rg",
		"testStaticSite0",
		"custom.domain.net",
		armappservice.StaticSiteCustomDomainRequestPropertiesARMResource{
			Properties: &armappservice.StaticSiteCustomDomainRequestPropertiesARMResourceProperties{},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) BeginCreateZipDeploymentForStaticSite

func (client *StaticSitesClient) BeginCreateZipDeploymentForStaticSite(ctx context.Context, resourceGroupName string, name string, staticSiteZipDeploymentEnvelope StaticSiteZipDeploymentARMResource, options *StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions) (*runtime.Poller[StaticSitesClientCreateZipDeploymentForStaticSiteResponse], error)

BeginCreateZipDeploymentForStaticSite - Deploys zipped content to a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. staticSiteZipDeploymentEnvelope - A JSON representation of the StaticSiteZipDeployment properties. See example. options - StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginCreateZipDeploymentForStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StaticSiteZipDeploy.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateZipDeploymentForStaticSite(ctx,
		"rg",
		"testStaticSite0",
		armappservice.StaticSiteZipDeploymentARMResource{
			Properties: &armappservice.StaticSiteZipDeployment{
				APIZipURL:        to.Ptr("https://teststorageaccount.net/happy-sea-15afae3e-master-81828877/api-zipdeploy.zip"),
				AppZipURL:        to.Ptr("https://teststorageaccount.net/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip"),
				DeploymentTitle:  to.Ptr("Update index.html"),
				FunctionLanguage: to.Ptr("testFunctionLanguage"),
				Provider:         to.Ptr("testProvider"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) BeginCreateZipDeploymentForStaticSiteBuild

func (client *StaticSitesClient) BeginCreateZipDeploymentForStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, staticSiteZipDeploymentEnvelope StaticSiteZipDeploymentARMResource, options *StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions) (*runtime.Poller[StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse], error)

BeginCreateZipDeploymentForStaticSiteBuild - Deploys zipped content to a specific environment of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - Name of the environment. staticSiteZipDeploymentEnvelope - A JSON representation of the StaticSiteZipDeployment properties. See example. options - StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginCreateZipDeploymentForStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StaticSiteBuildZipDeploy.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginCreateZipDeploymentForStaticSiteBuild(ctx,
		"rg",
		"testStaticSite0",
		"12",
		armappservice.StaticSiteZipDeploymentARMResource{
			Properties: &armappservice.StaticSiteZipDeployment{
				APIZipURL:        to.Ptr("https://teststorageaccount.net/happy-sea-15afae3e-master-81828877/api-zipdeploy.zip"),
				AppZipURL:        to.Ptr("https://teststorageaccount.net/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip"),
				DeploymentTitle:  to.Ptr("Update index.html"),
				FunctionLanguage: to.Ptr("testFunctionLanguage"),
				Provider:         to.Ptr("testProvider"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) BeginDeletePrivateEndpointConnection

func (client *StaticSitesClient) BeginDeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *StaticSitesClientBeginDeletePrivateEndpointConnectionOptions) (*runtime.Poller[StaticSitesClientDeletePrivateEndpointConnectionResponse], error)

BeginDeletePrivateEndpointConnection - Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. privateEndpointConnectionName - Name of the private endpoint connection. options - StaticSitesClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.BeginDeletePrivateEndpointConnection method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteSitePrivateEndpointConnection.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDeletePrivateEndpointConnection(ctx,
		"rg",
		"testSite",
		"connection",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) BeginDeleteStaticSite

BeginDeleteStaticSite - Deletes a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site to delete. options - StaticSitesClientBeginDeleteStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDeleteStaticSite(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) BeginDeleteStaticSiteBuild

func (client *StaticSitesClient) BeginDeleteStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientBeginDeleteStaticSiteBuildOptions) (*runtime.Poller[StaticSitesClientDeleteStaticSiteBuildResponse], error)

BeginDeleteStaticSiteBuild - Deletes a static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. options - StaticSitesClientBeginDeleteStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSiteBuild.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDeleteStaticSiteBuild(ctx,
		"rg",
		"testStaticSite0",
		"12",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) BeginDeleteStaticSiteCustomDomain

func (client *StaticSitesClient) BeginDeleteStaticSiteCustomDomain(ctx context.Context, resourceGroupName string, name string, domainName string, options *StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions) (*runtime.Poller[StaticSitesClientDeleteStaticSiteCustomDomainResponse], error)

BeginDeleteStaticSiteCustomDomain - Deletes a custom domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. domainName - The custom domain to delete. options - StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSiteCustomDomain method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSiteCustomDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDeleteStaticSiteCustomDomain(ctx,
		"rg",
		"testStaticSite0",
		"custom.domain.net",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) BeginDetachStaticSite

BeginDetachStaticSite - Detaches a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site to detach. options - StaticSitesClientBeginDetachStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginDetachStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DetachStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDetachStaticSite(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) BeginRegisterUserProvidedFunctionAppWithStaticSite

func (client *StaticSitesClient) BeginRegisterUserProvidedFunctionAppWithStaticSite(ctx context.Context, resourceGroupName string, name string, functionAppName string, staticSiteUserProvidedFunctionEnvelope StaticSiteUserProvidedFunctionAppARMResource, options *StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions) (*runtime.Poller[StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse], error)

BeginRegisterUserProvidedFunctionAppWithStaticSite - Register a user provided function app with a static site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. functionAppName - Name of the function app to register with the static site. staticSiteUserProvidedFunctionEnvelope - A JSON representation of the user provided function app properties. See example. options - StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginRegisterUserProvidedFunctionAppWithStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginRegisterUserProvidedFunctionAppWithStaticSite(ctx,
		"rg",
		"testStaticSite0",
		"testFunctionApp",
		armappservice.StaticSiteUserProvidedFunctionAppARMResource{
			Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
				FunctionAppRegion:     to.Ptr("West US 2"),
				FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
			},
		},
		&armappservice.StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions{IsForced: to.Ptr(true)})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild

func (client *StaticSitesClient) BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, functionAppName string, staticSiteUserProvidedFunctionEnvelope StaticSiteUserProvidedFunctionAppARMResource, options *StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions) (*runtime.Poller[StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse], error)

BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild - Register a user provided function app with a static site build If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. functionAppName - Name of the function app to register with the static site build. staticSiteUserProvidedFunctionEnvelope - A JSON representation of the user provided function app properties. See example. options - StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild(ctx,
		"rg",
		"testStaticSite0",
		"default",
		"testFunctionApp",
		armappservice.StaticSiteUserProvidedFunctionAppARMResource{
			Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
				FunctionAppRegion:     to.Ptr("West US 2"),
				FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
			},
		},
		&armappservice.StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions{IsForced: to.Ptr(true)})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) BeginValidateCustomDomainCanBeAddedToStaticSite

func (client *StaticSitesClient) BeginValidateCustomDomainCanBeAddedToStaticSite(ctx context.Context, resourceGroupName string, name string, domainName string, staticSiteCustomDomainRequestPropertiesEnvelope StaticSiteCustomDomainRequestPropertiesARMResource, options *StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions) (*runtime.Poller[StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse], error)

BeginValidateCustomDomainCanBeAddedToStaticSite - Validates a particular custom domain can be added to a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. domainName - The custom domain to validate. staticSiteCustomDomainRequestPropertiesEnvelope - A JSON representation of the static site custom domain request properties. See example. options - StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginValidateCustomDomainCanBeAddedToStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ValidateStaticSiteCustomDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginValidateCustomDomainCanBeAddedToStaticSite(ctx,
		"rg",
		"testStaticSite0",
		"custom.domain.net",
		armappservice.StaticSiteCustomDomainRequestPropertiesARMResource{
			Properties: &armappservice.StaticSiteCustomDomainRequestPropertiesARMResourceProperties{},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteAppSettings

CreateOrUpdateStaticSiteAppSettings - Creates or updates the app settings of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. appSettings - The dictionary containing the static site app settings to update. options - StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.CreateOrUpdateStaticSiteAppSettings(ctx,
		"rg",
		"testStaticSite0",
		armappservice.StringDictionary{
			Properties: map[string]*string{
				"setting1": to.Ptr("someval"),
				"setting2": to.Ptr("someval2"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettings

func (client *StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, appSettings StringDictionary, options *StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions) (StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse, error)

CreateOrUpdateStaticSiteBuildAppSettings - Creates or updates the app settings of a static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. appSettings - The dictionary containing the static site app settings to update. options - StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteBuildAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.CreateOrUpdateStaticSiteBuildAppSettings(ctx,
		"rg",
		"testStaticSite0",
		"12",
		armappservice.StringDictionary{
			Properties: map[string]*string{
				"setting1": to.Ptr("someval"),
				"setting2": to.Ptr("someval2"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings

func (client *StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, appSettings StringDictionary, options *StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions) (StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse, error)

CreateOrUpdateStaticSiteBuildFunctionAppSettings - Creates or updates the function app settings of a static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. appSettings - The dictionary containing the static site function app settings to update. options - StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteBuildFunctionAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.CreateOrUpdateStaticSiteBuildFunctionAppSettings(ctx,
		"rg",
		"testStaticSite0",
		"12",
		armappservice.StringDictionary{
			Properties: map[string]*string{
				"setting1": to.Ptr("someval"),
				"setting2": to.Ptr("someval2"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettings

CreateOrUpdateStaticSiteFunctionAppSettings - Creates or updates the function app settings of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. appSettings - The dictionary containing the static site function app settings to update. options - StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteFunctionAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.CreateOrUpdateStaticSiteFunctionAppSettings(ctx,
		"rg",
		"testStaticSite0",
		armappservice.StringDictionary{
			Properties: map[string]*string{
				"setting1": to.Ptr("someval"),
				"setting2": to.Ptr("someval2"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (client *StaticSitesClient) CreateUserRolesInvitationLink(ctx context.Context, resourceGroupName string, name string, staticSiteUserRolesInvitationEnvelope StaticSiteUserInvitationRequestResource, options *StaticSitesClientCreateUserRolesInvitationLinkOptions) (StaticSitesClientCreateUserRolesInvitationLinkResponse, error)

CreateUserRolesInvitationLink - Creates an invitation link for a user with the role If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientCreateUserRolesInvitationLinkOptions contains the optional parameters for the StaticSitesClient.CreateUserRolesInvitationLink method.

func (*StaticSitesClient) DeleteStaticSiteUser

func (client *StaticSitesClient) DeleteStaticSiteUser(ctx context.Context, resourceGroupName string, name string, authprovider string, userid string, options *StaticSitesClientDeleteStaticSiteUserOptions) (StaticSitesClientDeleteStaticSiteUserResponse, error)

DeleteStaticSiteUser - Deletes the user entry from the static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the staticsite. authprovider - The auth provider for this user. userid - The user id of the user. options - StaticSitesClientDeleteStaticSiteUserOptions contains the optional parameters for the StaticSitesClient.DeleteStaticSiteUser method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteStaticSiteUser.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.DeleteStaticSiteUser(ctx,
		"rg",
		"testStaticSite0",
		"aad",
		"1234",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSite

func (client *StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSite(ctx context.Context, resourceGroupName string, name string, functionAppName string, options *StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions) (StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse, error)

DetachUserProvidedFunctionAppFromStaticSite - Detach the user provided function app from the static site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. functionAppName - Name of the function app registered with the static site. options - StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions contains the optional parameters for the StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.DetachUserProvidedFunctionAppFromStaticSite(ctx,
		"rg",
		"testStaticSite0",
		"testFunctionApp",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteBuild

func (client *StaticSitesClient) DetachUserProvidedFunctionAppFromStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, functionAppName string, options *StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions) (StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse, error)

DetachUserProvidedFunctionAppFromStaticSiteBuild - Detach the user provided function app from the static site build If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. functionAppName - Name of the function app registered with the static site build. options - StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.DetachUserProvidedFunctionAppFromStaticSiteBuild(ctx,
		"rg",
		"testStaticSite0",
		"12",
		"testFunctionApp",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*StaticSitesClient) GetPrivateEndpointConnection

func (client *StaticSitesClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *StaticSitesClientGetPrivateEndpointConnectionOptions) (StaticSitesClientGetPrivateEndpointConnectionResponse, error)

GetPrivateEndpointConnection - Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. privateEndpointConnectionName - Name of the private endpoint connection. options - StaticSitesClientGetPrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.GetPrivateEndpointConnection method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnection.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetPrivateEndpointConnection(ctx,
		"rg",
		"testSite",
		"connection",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) GetPrivateLinkResources

GetPrivateLinkResources - Gets the private link resources If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - StaticSitesClientGetPrivateLinkResourcesOptions contains the optional parameters for the StaticSitesClient.GetPrivateLinkResources method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateLinkResources.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetPrivateLinkResources(ctx,
		"rg",
		"testSite",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) GetStaticSite

GetStaticSite - Gets the details of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientGetStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetStaticSite(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) GetStaticSiteBuild

func (client *StaticSitesClient) GetStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetStaticSiteBuildOptions) (StaticSitesClientGetStaticSiteBuildResponse, error)

GetStaticSiteBuild - Gets the details of a static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. options - StaticSitesClientGetStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteBuild.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetStaticSiteBuild(ctx,
		"rg",
		"testStaticSite0",
		"12",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) GetStaticSiteCustomDomain

func (client *StaticSitesClient) GetStaticSiteCustomDomain(ctx context.Context, resourceGroupName string, name string, domainName string, options *StaticSitesClientGetStaticSiteCustomDomainOptions) (StaticSitesClientGetStaticSiteCustomDomainResponse, error)

GetStaticSiteCustomDomain - Gets an existing custom domain for a particular static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site resource to search in. domainName - The custom domain name. options - StaticSitesClientGetStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteCustomDomain method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteCustomDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetStaticSiteCustomDomain(ctx,
		"rg",
		"testStaticSite0",
		"custom.domain.net",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) GetUserProvidedFunctionAppForStaticSite

func (client *StaticSitesClient) GetUserProvidedFunctionAppForStaticSite(ctx context.Context, resourceGroupName string, name string, functionAppName string, options *StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions) (StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse, error)

GetUserProvidedFunctionAppForStaticSite - Gets the details of the user provided function app registered with a static site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. functionAppName - Name of the function app registered with the static site. options - StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppForStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppForStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetUserProvidedFunctionAppForStaticSite(ctx,
		"rg",
		"testStaticSite0",
		"testFunctionApp",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuild

func (client *StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, functionAppName string, options *StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions) (StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse, error)

GetUserProvidedFunctionAppForStaticSiteBuild - Gets the details of the user provided function app registered with a static site build If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. functionAppName - Name of the function app registered with the static site build. options - StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppForStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetUserProvidedFunctionAppForStaticSiteBuild(ctx,
		"rg",
		"testStaticSite0",
		"default",
		"testFunctionApp",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ListStaticSiteAppSettings

ListStaticSiteAppSettings - Gets the application settings of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientListStaticSiteAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListStaticSiteAppSettings(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ListStaticSiteBuildAppSettings

func (client *StaticSitesClient) ListStaticSiteBuildAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientListStaticSiteBuildAppSettingsOptions) (StaticSitesClientListStaticSiteBuildAppSettingsResponse, error)

ListStaticSiteBuildAppSettings - Gets the application settings of a static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. options - StaticSitesClientListStaticSiteBuildAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteBuildAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListStaticSiteBuildAppSettings(ctx,
		"rg",
		"testStaticSite0",
		"12",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ListStaticSiteBuildFunctionAppSettings

func (client *StaticSitesClient) ListStaticSiteBuildFunctionAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions) (StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse, error)

ListStaticSiteBuildFunctionAppSettings - Gets the application settings of a static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. options - StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildFunctionAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteBuildFunctionAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListStaticSiteBuildFunctionAppSettings(ctx,
		"rg",
		"testStaticSite0",
		"12",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ListStaticSiteConfiguredRoles

ListStaticSiteConfiguredRoles - Lists the roles configured for the static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientListStaticSiteConfiguredRolesOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteConfiguredRoles method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteConfiguredRoles.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListStaticSiteConfiguredRoles(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ListStaticSiteFunctionAppSettings

ListStaticSiteFunctionAppSettings - Gets the application settings of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientListStaticSiteFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteFunctionAppSettings method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteFunctionAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListStaticSiteFunctionAppSettings(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ListStaticSiteSecrets

ListStaticSiteSecrets - Lists the secrets for an existing static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientListStaticSiteSecretsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteSecrets method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteSecrets.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.ListStaticSiteSecrets(ctx,
		"rg",
		"testStaticSite0",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) NewGetPrivateEndpointConnectionListPager added in v0.4.0

NewGetPrivateEndpointConnectionListPager - Gets the list of private endpoint connections associated with a static site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the StaticSitesClient.GetPrivateEndpointConnectionList method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnectionList.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetPrivateEndpointConnectionListPager("rg",
		"testStaticSite0",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewGetStaticSiteBuildsPager added in v0.4.0

func (client *StaticSitesClient) NewGetStaticSiteBuildsPager(resourceGroupName string, name string, options *StaticSitesClientGetStaticSiteBuildsOptions) *runtime.Pager[StaticSitesClientGetStaticSiteBuildsResponse]

NewGetStaticSiteBuildsPager - Gets all static site builds for a particular static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientGetStaticSiteBuildsOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteBuilds method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteBuilds.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetStaticSiteBuildsPager("rg",
		"testStaticSite0",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewGetStaticSitesByResourceGroupPager added in v0.4.0

NewGetStaticSitesByResourceGroupPager - Gets all static sites in the specified resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - StaticSitesClientGetStaticSitesByResourceGroupOptions contains the optional parameters for the StaticSitesClient.GetStaticSitesByResourceGroup method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSites.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetStaticSitesByResourceGroupPager("rg",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewGetUserProvidedFunctionAppsForStaticSiteBuildPager added in v0.4.0

func (client *StaticSitesClient) NewGetUserProvidedFunctionAppsForStaticSiteBuildPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions) *runtime.Pager[StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse]

NewGetUserProvidedFunctionAppsForStaticSiteBuildPager - Gets the details of the user provided function apps registered with a static site build If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. options - StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppsForStaticSiteBuild method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetUserProvidedFunctionAppsForStaticSiteBuildPager("rg",
		"testStaticSite0",
		"default",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewGetUserProvidedFunctionAppsForStaticSitePager added in v0.4.0

NewGetUserProvidedFunctionAppsForStaticSitePager - Gets the details of the user provided function apps registered with a static site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppsForStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetUserProvidedFunctionAppsForStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetUserProvidedFunctionAppsForStaticSitePager("rg",
		"testStaticSite0",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewListPager added in v0.4.0

NewListPager - Get all Static Sites for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - StaticSitesClientListOptions contains the optional parameters for the StaticSitesClient.List method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetAllStaticSites.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewListStaticSiteBuildFunctionsPager added in v0.4.0

func (client *StaticSitesClient) NewListStaticSiteBuildFunctionsPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientListStaticSiteBuildFunctionsOptions) *runtime.Pager[StaticSitesClientListStaticSiteBuildFunctionsResponse]

NewListStaticSiteBuildFunctionsPager - Gets the functions of a particular static site build. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. environmentName - The stage site identifier. options - StaticSitesClientListStaticSiteBuildFunctionsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildFunctions method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteBuildFunctions.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListStaticSiteBuildFunctionsPager("rg",
		"testStaticSite0",
		"default",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewListStaticSiteCustomDomainsPager added in v0.4.0

func (client *StaticSitesClient) NewListStaticSiteCustomDomainsPager(resourceGroupName string, name string, options *StaticSitesClientListStaticSiteCustomDomainsOptions) *runtime.Pager[StaticSitesClientListStaticSiteCustomDomainsResponse]

NewListStaticSiteCustomDomainsPager - Gets all static site custom domains for a particular static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site resource to search in. options - StaticSitesClientListStaticSiteCustomDomainsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteCustomDomains method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetStaticSiteCustomDomains.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListStaticSiteCustomDomainsPager("rg",
		"testStaticSite0",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewListStaticSiteFunctionsPager added in v0.4.0

func (client *StaticSitesClient) NewListStaticSiteFunctionsPager(resourceGroupName string, name string, options *StaticSitesClientListStaticSiteFunctionsOptions) *runtime.Pager[StaticSitesClientListStaticSiteFunctionsResponse]

NewListStaticSiteFunctionsPager - Gets the functions of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientListStaticSiteFunctionsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteFunctions method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteFunctions.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListStaticSiteFunctionsPager("rg",
		"testStaticSite0",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) NewListStaticSiteUsersPager added in v0.4.0

func (client *StaticSitesClient) NewListStaticSiteUsersPager(resourceGroupName string, name string, authprovider string, options *StaticSitesClientListStaticSiteUsersOptions) *runtime.Pager[StaticSitesClientListStaticSiteUsersResponse]

NewListStaticSiteUsersPager - Gets the list of users of a static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. authprovider - The auth provider for the users. options - StaticSitesClientListStaticSiteUsersOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteUsers method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListStaticSiteUsers.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListStaticSiteUsersPager("rg",
		"testStaticSite0",
		"all",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*StaticSitesClient) PreviewWorkflow

func (client *StaticSitesClient) PreviewWorkflow(ctx context.Context, location string, staticSitesWorkflowPreviewRequest StaticSitesWorkflowPreviewRequest, options *StaticSitesClientPreviewWorkflowOptions) (StaticSitesClientPreviewWorkflowResponse, error)

PreviewWorkflow - Generates a preview workflow file for the static site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 location - Location where you plan to create the static site. staticSitesWorkflowPreviewRequest - A JSON representation of the StaticSitesWorkflowPreviewRequest properties. See example. options - StaticSitesClientPreviewWorkflowOptions contains the optional parameters for the StaticSitesClient.PreviewWorkflow method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GenerateStaticSiteWorkflowPreview.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.PreviewWorkflow(ctx,
		"West US 2",
		armappservice.StaticSitesWorkflowPreviewRequest{
			Properties: &armappservice.StaticSitesWorkflowPreviewRequestProperties{
				Branch: to.Ptr("master"),
				BuildProperties: &armappservice.StaticSiteBuildProperties{
					APILocation:         to.Ptr("api"),
					AppArtifactLocation: to.Ptr("build"),
					AppLocation:         to.Ptr("app"),
				},
				RepositoryURL: to.Ptr("https://github.com/username/RepoName"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) ResetStaticSiteAPIKey

ResetStaticSiteAPIKey - Resets the api key for an existing static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. options - StaticSitesClientResetStaticSiteAPIKeyOptions contains the optional parameters for the StaticSitesClient.ResetStaticSiteAPIKey method.

func (*StaticSitesClient) UpdateStaticSite

func (client *StaticSitesClient) UpdateStaticSite(ctx context.Context, resourceGroupName string, name string, staticSiteEnvelope StaticSitePatchResource, options *StaticSitesClientUpdateStaticSiteOptions) (StaticSitesClientUpdateStaticSiteResponse, error)

UpdateStaticSite - Creates a new static site in an existing resource group, or updates an existing static site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site to create or update. staticSiteEnvelope - A JSON representation of the staticsite properties. See example. options - StaticSitesClientUpdateStaticSiteOptions contains the optional parameters for the StaticSitesClient.UpdateStaticSite method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/PatchStaticSite.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.UpdateStaticSite(ctx,
		"rg",
		"testStaticSite0",
		armappservice.StaticSitePatchResource{
			Properties: &armappservice.StaticSite{},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*StaticSitesClient) UpdateStaticSiteUser

func (client *StaticSitesClient) UpdateStaticSiteUser(ctx context.Context, resourceGroupName string, name string, authprovider string, userid string, staticSiteUserEnvelope StaticSiteUserARMResource, options *StaticSitesClientUpdateStaticSiteUserOptions) (StaticSitesClientUpdateStaticSiteUserResponse, error)

UpdateStaticSiteUser - Updates a user entry with the listed roles If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the static site. authprovider - The auth provider for this user. userid - The user id of the user. staticSiteUserEnvelope - A JSON representation of the StaticSiteUser properties. See example. options - StaticSitesClientUpdateStaticSiteUserOptions contains the optional parameters for the StaticSitesClient.UpdateStaticSiteUser method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdateStaticSiteUser.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewStaticSitesClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.UpdateStaticSiteUser(ctx,
		"rg",
		"testStaticSite0",
		"aad",
		"1234",
		armappservice.StaticSiteUserARMResource{
			Properties: &armappservice.StaticSiteUserARMResourceProperties{
				Roles: to.Ptr("contributor"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

type StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse added in v0.2.0

type StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse contains the response from method StaticSitesClient.ApproveOrRejectPrivateEndpointConnection.

type StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions added in v0.2.0

type StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.BeginApproveOrRejectPrivateEndpointConnection method.

type StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions added in v0.2.0

type StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.BeginCreateOrUpdateStaticSiteCustomDomain method.

type StaticSitesClientBeginCreateOrUpdateStaticSiteOptions added in v0.2.0

type StaticSitesClientBeginCreateOrUpdateStaticSiteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginCreateOrUpdateStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginCreateOrUpdateStaticSite method.

type StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginCreateZipDeploymentForStaticSiteBuild method.

type StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions added in v0.2.0

type StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginCreateZipDeploymentForStaticSite method.

type StaticSitesClientBeginDeletePrivateEndpointConnectionOptions added in v0.2.0

type StaticSitesClientBeginDeletePrivateEndpointConnectionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.BeginDeletePrivateEndpointConnection method.

type StaticSitesClientBeginDeleteStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientBeginDeleteStaticSiteBuildOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginDeleteStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSiteBuild method.

type StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions added in v0.2.0

type StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSiteCustomDomain method.

type StaticSitesClientBeginDeleteStaticSiteOptions added in v0.2.0

type StaticSitesClientBeginDeleteStaticSiteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginDeleteStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSite method.

type StaticSitesClientBeginDetachStaticSiteOptions added in v0.2.0

type StaticSitesClientBeginDetachStaticSiteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginDetachStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginDetachStaticSite method.

type StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions struct {
	// Specify true to force the update of the auth configuration on the function app even if an AzureStaticWebApps provider is
	// already configured on the function app. The default is false.
	IsForced *bool
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild method.

type StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions added in v0.2.0

type StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions struct {
	// Specify true to force the update of the auth configuration on the function app even if an AzureStaticWebApps provider is
	// already configured on the function app. The default is false.
	IsForced *bool
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginRegisterUserProvidedFunctionAppWithStaticSite method.

type StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions added in v0.2.0

type StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginValidateCustomDomainCanBeAddedToStaticSite method.

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsResponse added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteBuildAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteBuildAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteBuildFunctionAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteBuildFunctionAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse struct {
	StaticSiteCustomDomainOverviewARMResource
}

StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteCustomDomain.

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteFunctionAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsResponse added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteFunctionAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteResponse added in v0.2.0

type StaticSitesClientCreateOrUpdateStaticSiteResponse struct {
	StaticSiteARMResource
}

StaticSitesClientCreateOrUpdateStaticSiteResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSite.

type StaticSitesClientCreateUserRolesInvitationLinkOptions added in v0.2.0

type StaticSitesClientCreateUserRolesInvitationLinkOptions struct {
}

StaticSitesClientCreateUserRolesInvitationLinkOptions contains the optional parameters for the StaticSitesClient.CreateUserRolesInvitationLink method.

type StaticSitesClientCreateUserRolesInvitationLinkResponse added in v0.2.0

type StaticSitesClientCreateUserRolesInvitationLinkResponse struct {
	StaticSiteUserInvitationResponseResource
}

StaticSitesClientCreateUserRolesInvitationLinkResponse contains the response from method StaticSitesClient.CreateUserRolesInvitationLink.

type StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse struct {
}

StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse contains the response from method StaticSitesClient.CreateZipDeploymentForStaticSiteBuild.

type StaticSitesClientCreateZipDeploymentForStaticSiteResponse added in v0.2.0

type StaticSitesClientCreateZipDeploymentForStaticSiteResponse struct {
}

StaticSitesClientCreateZipDeploymentForStaticSiteResponse contains the response from method StaticSitesClient.CreateZipDeploymentForStaticSite.

type StaticSitesClientDeletePrivateEndpointConnectionResponse added in v0.2.0

type StaticSitesClientDeletePrivateEndpointConnectionResponse struct {
	// Anything
	Interface interface{}
}

StaticSitesClientDeletePrivateEndpointConnectionResponse contains the response from method StaticSitesClient.DeletePrivateEndpointConnection.

func (*StaticSitesClientDeletePrivateEndpointConnectionResponse) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitesClientDeletePrivateEndpointConnectionResponse.

type StaticSitesClientDeleteStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientDeleteStaticSiteBuildResponse struct {
}

StaticSitesClientDeleteStaticSiteBuildResponse contains the response from method StaticSitesClient.DeleteStaticSiteBuild.

type StaticSitesClientDeleteStaticSiteCustomDomainResponse added in v0.2.0

type StaticSitesClientDeleteStaticSiteCustomDomainResponse struct {
}

StaticSitesClientDeleteStaticSiteCustomDomainResponse contains the response from method StaticSitesClient.DeleteStaticSiteCustomDomain.

type StaticSitesClientDeleteStaticSiteResponse added in v0.2.0

type StaticSitesClientDeleteStaticSiteResponse struct {
}

StaticSitesClientDeleteStaticSiteResponse contains the response from method StaticSitesClient.DeleteStaticSite.

type StaticSitesClientDeleteStaticSiteUserOptions added in v0.2.0

type StaticSitesClientDeleteStaticSiteUserOptions struct {
}

StaticSitesClientDeleteStaticSiteUserOptions contains the optional parameters for the StaticSitesClient.DeleteStaticSiteUser method.

type StaticSitesClientDeleteStaticSiteUserResponse added in v0.2.0

type StaticSitesClientDeleteStaticSiteUserResponse struct {
}

StaticSitesClientDeleteStaticSiteUserResponse contains the response from method StaticSitesClient.DeleteStaticSiteUser.

type StaticSitesClientDetachStaticSiteResponse added in v0.2.0

type StaticSitesClientDetachStaticSiteResponse struct {
}

StaticSitesClientDetachStaticSiteResponse contains the response from method StaticSitesClient.DetachStaticSite.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSiteBuild method.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse contains the response from method StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSiteBuild.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions added in v0.2.0

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions contains the optional parameters for the StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSite method.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse added in v0.2.0

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse contains the response from method StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSite.

type StaticSitesClientGetPrivateEndpointConnectionListOptions added in v0.2.0

type StaticSitesClientGetPrivateEndpointConnectionListOptions struct {
}

StaticSitesClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the StaticSitesClient.GetPrivateEndpointConnectionList method.

type StaticSitesClientGetPrivateEndpointConnectionListResponse added in v0.2.0

type StaticSitesClientGetPrivateEndpointConnectionListResponse struct {
	PrivateEndpointConnectionCollection
}

StaticSitesClientGetPrivateEndpointConnectionListResponse contains the response from method StaticSitesClient.GetPrivateEndpointConnectionList.

type StaticSitesClientGetPrivateEndpointConnectionOptions added in v0.2.0

type StaticSitesClientGetPrivateEndpointConnectionOptions struct {
}

StaticSitesClientGetPrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.GetPrivateEndpointConnection method.

type StaticSitesClientGetPrivateEndpointConnectionResponse added in v0.2.0

type StaticSitesClientGetPrivateEndpointConnectionResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

StaticSitesClientGetPrivateEndpointConnectionResponse contains the response from method StaticSitesClient.GetPrivateEndpointConnection.

type StaticSitesClientGetPrivateLinkResourcesOptions added in v0.2.0

type StaticSitesClientGetPrivateLinkResourcesOptions struct {
}

StaticSitesClientGetPrivateLinkResourcesOptions contains the optional parameters for the StaticSitesClient.GetPrivateLinkResources method.

type StaticSitesClientGetPrivateLinkResourcesResponse added in v0.2.0

type StaticSitesClientGetPrivateLinkResourcesResponse struct {
	PrivateLinkResourcesWrapper
}

StaticSitesClientGetPrivateLinkResourcesResponse contains the response from method StaticSitesClient.GetPrivateLinkResources.

type StaticSitesClientGetStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientGetStaticSiteBuildOptions struct {
}

StaticSitesClientGetStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteBuild method.

type StaticSitesClientGetStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientGetStaticSiteBuildResponse struct {
	StaticSiteBuildARMResource
}

StaticSitesClientGetStaticSiteBuildResponse contains the response from method StaticSitesClient.GetStaticSiteBuild.

type StaticSitesClientGetStaticSiteBuildsOptions added in v0.2.0

type StaticSitesClientGetStaticSiteBuildsOptions struct {
}

StaticSitesClientGetStaticSiteBuildsOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteBuilds method.

type StaticSitesClientGetStaticSiteBuildsResponse added in v0.2.0

type StaticSitesClientGetStaticSiteBuildsResponse struct {
	StaticSiteBuildCollection
}

StaticSitesClientGetStaticSiteBuildsResponse contains the response from method StaticSitesClient.GetStaticSiteBuilds.

type StaticSitesClientGetStaticSiteCustomDomainOptions added in v0.2.0

type StaticSitesClientGetStaticSiteCustomDomainOptions struct {
}

StaticSitesClientGetStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteCustomDomain method.

type StaticSitesClientGetStaticSiteCustomDomainResponse added in v0.2.0

type StaticSitesClientGetStaticSiteCustomDomainResponse struct {
	StaticSiteCustomDomainOverviewARMResource
}

StaticSitesClientGetStaticSiteCustomDomainResponse contains the response from method StaticSitesClient.GetStaticSiteCustomDomain.

type StaticSitesClientGetStaticSiteOptions added in v0.2.0

type StaticSitesClientGetStaticSiteOptions struct {
}

StaticSitesClientGetStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetStaticSite method.

type StaticSitesClientGetStaticSiteResponse added in v0.2.0

type StaticSitesClientGetStaticSiteResponse struct {
	StaticSiteARMResource
}

StaticSitesClientGetStaticSiteResponse contains the response from method StaticSitesClient.GetStaticSite.

type StaticSitesClientGetStaticSitesByResourceGroupOptions added in v0.2.0

type StaticSitesClientGetStaticSitesByResourceGroupOptions struct {
}

StaticSitesClientGetStaticSitesByResourceGroupOptions contains the optional parameters for the StaticSitesClient.GetStaticSitesByResourceGroup method.

type StaticSitesClientGetStaticSitesByResourceGroupResponse added in v0.2.0

type StaticSitesClientGetStaticSitesByResourceGroupResponse struct {
	StaticSiteCollection
}

StaticSitesClientGetStaticSitesByResourceGroupResponse contains the response from method StaticSitesClient.GetStaticSitesByResourceGroup.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppForStaticSiteBuild method.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse struct {
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse contains the response from method StaticSitesClient.GetUserProvidedFunctionAppForStaticSiteBuild.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppForStaticSite method.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse struct {
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse contains the response from method StaticSitesClient.GetUserProvidedFunctionAppForStaticSite.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppsForStaticSiteBuild method.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse struct {
	StaticSiteUserProvidedFunctionAppsCollection
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse contains the response from method StaticSitesClient.GetUserProvidedFunctionAppsForStaticSiteBuild.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppsForStaticSite method.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteResponse added in v0.2.0

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteResponse struct {
	StaticSiteUserProvidedFunctionAppsCollection
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteResponse contains the response from method StaticSitesClient.GetUserProvidedFunctionAppsForStaticSite.

type StaticSitesClientListOptions added in v0.2.0

type StaticSitesClientListOptions struct {
}

StaticSitesClientListOptions contains the optional parameters for the StaticSitesClient.List method.

type StaticSitesClientListResponse added in v0.2.0

type StaticSitesClientListResponse struct {
	StaticSiteCollection
}

StaticSitesClientListResponse contains the response from method StaticSitesClient.List.

type StaticSitesClientListStaticSiteAppSettingsOptions added in v0.2.0

type StaticSitesClientListStaticSiteAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteAppSettings method.

type StaticSitesClientListStaticSiteAppSettingsResponse added in v0.2.0

type StaticSitesClientListStaticSiteAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientListStaticSiteAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteAppSettings.

type StaticSitesClientListStaticSiteBuildAppSettingsOptions added in v0.2.0

type StaticSitesClientListStaticSiteBuildAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteBuildAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildAppSettings method.

type StaticSitesClientListStaticSiteBuildAppSettingsResponse added in v0.2.0

type StaticSitesClientListStaticSiteBuildAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientListStaticSiteBuildAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteBuildAppSettings.

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions added in v0.2.0

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildFunctionAppSettings method.

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse added in v0.2.0

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteBuildFunctionAppSettings.

type StaticSitesClientListStaticSiteBuildFunctionsOptions added in v0.2.0

type StaticSitesClientListStaticSiteBuildFunctionsOptions struct {
}

StaticSitesClientListStaticSiteBuildFunctionsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildFunctions method.

type StaticSitesClientListStaticSiteBuildFunctionsResponse added in v0.2.0

type StaticSitesClientListStaticSiteBuildFunctionsResponse struct {
	StaticSiteFunctionOverviewCollection
}

StaticSitesClientListStaticSiteBuildFunctionsResponse contains the response from method StaticSitesClient.ListStaticSiteBuildFunctions.

type StaticSitesClientListStaticSiteConfiguredRolesOptions added in v0.2.0

type StaticSitesClientListStaticSiteConfiguredRolesOptions struct {
}

StaticSitesClientListStaticSiteConfiguredRolesOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteConfiguredRoles method.

type StaticSitesClientListStaticSiteConfiguredRolesResponse added in v0.2.0

type StaticSitesClientListStaticSiteConfiguredRolesResponse struct {
	StringList
}

StaticSitesClientListStaticSiteConfiguredRolesResponse contains the response from method StaticSitesClient.ListStaticSiteConfiguredRoles.

type StaticSitesClientListStaticSiteCustomDomainsOptions added in v0.2.0

type StaticSitesClientListStaticSiteCustomDomainsOptions struct {
}

StaticSitesClientListStaticSiteCustomDomainsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteCustomDomains method.

type StaticSitesClientListStaticSiteCustomDomainsResponse added in v0.2.0

type StaticSitesClientListStaticSiteCustomDomainsResponse struct {
	StaticSiteCustomDomainOverviewCollection
}

StaticSitesClientListStaticSiteCustomDomainsResponse contains the response from method StaticSitesClient.ListStaticSiteCustomDomains.

type StaticSitesClientListStaticSiteFunctionAppSettingsOptions added in v0.2.0

type StaticSitesClientListStaticSiteFunctionAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteFunctionAppSettings method.

type StaticSitesClientListStaticSiteFunctionAppSettingsResponse added in v0.2.0

type StaticSitesClientListStaticSiteFunctionAppSettingsResponse struct {
	StringDictionary
}

StaticSitesClientListStaticSiteFunctionAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteFunctionAppSettings.

type StaticSitesClientListStaticSiteFunctionsOptions added in v0.2.0

type StaticSitesClientListStaticSiteFunctionsOptions struct {
}

StaticSitesClientListStaticSiteFunctionsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteFunctions method.

type StaticSitesClientListStaticSiteFunctionsResponse added in v0.2.0

type StaticSitesClientListStaticSiteFunctionsResponse struct {
	StaticSiteFunctionOverviewCollection
}

StaticSitesClientListStaticSiteFunctionsResponse contains the response from method StaticSitesClient.ListStaticSiteFunctions.

type StaticSitesClientListStaticSiteSecretsOptions added in v0.2.0

type StaticSitesClientListStaticSiteSecretsOptions struct {
}

StaticSitesClientListStaticSiteSecretsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteSecrets method.

type StaticSitesClientListStaticSiteSecretsResponse added in v0.2.0

type StaticSitesClientListStaticSiteSecretsResponse struct {
	StringDictionary
}

StaticSitesClientListStaticSiteSecretsResponse contains the response from method StaticSitesClient.ListStaticSiteSecrets.

type StaticSitesClientListStaticSiteUsersOptions added in v0.2.0

type StaticSitesClientListStaticSiteUsersOptions struct {
}

StaticSitesClientListStaticSiteUsersOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteUsers method.

type StaticSitesClientListStaticSiteUsersResponse added in v0.2.0

type StaticSitesClientListStaticSiteUsersResponse struct {
	StaticSiteUserCollection
}

StaticSitesClientListStaticSiteUsersResponse contains the response from method StaticSitesClient.ListStaticSiteUsers.

type StaticSitesClientPreviewWorkflowOptions added in v0.2.0

type StaticSitesClientPreviewWorkflowOptions struct {
}

StaticSitesClientPreviewWorkflowOptions contains the optional parameters for the StaticSitesClient.PreviewWorkflow method.

type StaticSitesClientPreviewWorkflowResponse added in v0.2.0

type StaticSitesClientPreviewWorkflowResponse struct {
	StaticSitesWorkflowPreview
}

StaticSitesClientPreviewWorkflowResponse contains the response from method StaticSitesClient.PreviewWorkflow.

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse added in v0.2.0

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse struct {
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse contains the response from method StaticSitesClient.RegisterUserProvidedFunctionAppWithStaticSiteBuild.

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse added in v0.2.0

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse struct {
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse contains the response from method StaticSitesClient.RegisterUserProvidedFunctionAppWithStaticSite.

type StaticSitesClientResetStaticSiteAPIKeyOptions added in v0.2.0

type StaticSitesClientResetStaticSiteAPIKeyOptions struct {
}

StaticSitesClientResetStaticSiteAPIKeyOptions contains the optional parameters for the StaticSitesClient.ResetStaticSiteAPIKey method.

type StaticSitesClientResetStaticSiteAPIKeyResponse added in v0.2.0

type StaticSitesClientResetStaticSiteAPIKeyResponse struct {
}

StaticSitesClientResetStaticSiteAPIKeyResponse contains the response from method StaticSitesClient.ResetStaticSiteAPIKey.

type StaticSitesClientUpdateStaticSiteOptions added in v0.2.0

type StaticSitesClientUpdateStaticSiteOptions struct {
}

StaticSitesClientUpdateStaticSiteOptions contains the optional parameters for the StaticSitesClient.UpdateStaticSite method.

type StaticSitesClientUpdateStaticSiteResponse added in v0.2.0

type StaticSitesClientUpdateStaticSiteResponse struct {
	StaticSiteARMResource
}

StaticSitesClientUpdateStaticSiteResponse contains the response from method StaticSitesClient.UpdateStaticSite.

type StaticSitesClientUpdateStaticSiteUserOptions added in v0.2.0

type StaticSitesClientUpdateStaticSiteUserOptions struct {
}

StaticSitesClientUpdateStaticSiteUserOptions contains the optional parameters for the StaticSitesClient.UpdateStaticSiteUser method.

type StaticSitesClientUpdateStaticSiteUserResponse added in v0.2.0

type StaticSitesClientUpdateStaticSiteUserResponse struct {
	StaticSiteUserARMResource
}

StaticSitesClientUpdateStaticSiteUserResponse contains the response from method StaticSitesClient.UpdateStaticSiteUser.

type StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse added in v0.2.0

type StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse struct {
}

StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse contains the response from method StaticSitesClient.ValidateCustomDomainCanBeAddedToStaticSite.

type StaticSitesWorkflowPreview

type StaticSitesWorkflowPreview struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSitesWorkflowPreview resource specific properties
	Properties *StaticSitesWorkflowPreviewProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSitesWorkflowPreview - Preview for the Static Site Workflow to be generated

type StaticSitesWorkflowPreviewProperties

type StaticSitesWorkflowPreviewProperties struct {
	// READ-ONLY; The contents for the workflow file to be generated
	Contents *string `json:"contents,omitempty" azure:"ro"`

	// READ-ONLY; The path for the workflow file to be generated
	Path *string `json:"path,omitempty" azure:"ro"`
}

StaticSitesWorkflowPreviewProperties - StaticSitesWorkflowPreview resource specific properties

type StaticSitesWorkflowPreviewRequest

type StaticSitesWorkflowPreviewRequest struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StaticSitesWorkflowPreviewRequest resource specific properties
	Properties *StaticSitesWorkflowPreviewRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StaticSitesWorkflowPreviewRequest - Request entity for previewing the Static Site workflow

type StaticSitesWorkflowPreviewRequestProperties

type StaticSitesWorkflowPreviewRequestProperties struct {
	// The target branch in the repository.
	Branch *string `json:"branch,omitempty"`

	// Build properties to configure on the repository.
	BuildProperties *StaticSiteBuildProperties `json:"buildProperties,omitempty"`

	// URL for the repository of the static site.
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
}

StaticSitesWorkflowPreviewRequestProperties - StaticSitesWorkflowPreviewRequest resource specific properties

type Status

type Status struct {
	// Descriptive message.
	Message *string `json:"message,omitempty"`

	// Level of the most severe insight generated by the detector.
	StatusID *InsightStatus `json:"statusId,omitempty"`
}

Status - Identify the status of the most severe insight generated by the detector.

type StatusCodesBasedTrigger

type StatusCodesBasedTrigger struct {
	// Request Count.
	Count *int32 `json:"count,omitempty"`

	// Request Path
	Path *string `json:"path,omitempty"`

	// HTTP status code.
	Status *int32 `json:"status,omitempty"`

	// Request Sub Status.
	SubStatus *int32 `json:"subStatus,omitempty"`

	// Time interval.
	TimeInterval *string `json:"timeInterval,omitempty"`

	// Win32 error code.
	Win32Status *int32 `json:"win32Status,omitempty"`
}

StatusCodesBasedTrigger - Trigger based on status code.

type StatusCodesRangeBasedTrigger

type StatusCodesRangeBasedTrigger struct {
	// Request Count.
	Count *int32  `json:"count,omitempty"`
	Path  *string `json:"path,omitempty"`

	// HTTP status code.
	StatusCodes *string `json:"statusCodes,omitempty"`

	// Time interval.
	TimeInterval *string `json:"timeInterval,omitempty"`
}

StatusCodesRangeBasedTrigger - Trigger based on range of status codes.

type StatusOptions

type StatusOptions string

StatusOptions - App Service plan status.

const (
	StatusOptionsReady    StatusOptions = "Ready"
	StatusOptionsPending  StatusOptions = "Pending"
	StatusOptionsCreating StatusOptions = "Creating"
)

func PossibleStatusOptionsValues

func PossibleStatusOptionsValues() []StatusOptions

PossibleStatusOptionsValues returns the possible values for the StatusOptions const type.

type StorageMigrationOptions

type StorageMigrationOptions struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StorageMigrationOptions resource specific properties
	Properties *StorageMigrationOptionsProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StorageMigrationOptions - Options for app content migration.

type StorageMigrationOptionsProperties

type StorageMigrationOptionsProperties struct {
	// REQUIRED; AzureFiles connection string.
	AzurefilesConnectionString *string `json:"azurefilesConnectionString,omitempty"`

	// REQUIRED; AzureFiles share.
	AzurefilesShare *string `json:"azurefilesShare,omitempty"`

	// true if the app should be read only during copy operation; otherwise, false.
	BlockWriteAccessToSite *bool `json:"blockWriteAccessToSite,omitempty"`

	// trueif the app should be switched over; otherwise, false.
	SwitchSiteAfterMigration *bool `json:"switchSiteAfterMigration,omitempty"`
}

StorageMigrationOptionsProperties - StorageMigrationOptions resource specific properties

type StorageMigrationResponse

type StorageMigrationResponse struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// StorageMigrationResponse resource specific properties
	Properties *StorageMigrationResponseProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StorageMigrationResponse - Response for a migration of app content request.

type StorageMigrationResponseProperties

type StorageMigrationResponseProperties struct {
	// READ-ONLY; When server starts the migration process, it will return an operation ID identifying that particular migration
	// operation.
	OperationID *string `json:"operationId,omitempty" azure:"ro"`
}

StorageMigrationResponseProperties - StorageMigrationResponse resource specific properties

type StorageType

type StorageType string
const (
	StorageTypeLocalNode         StorageType = "LocalNode"
	StorageTypeNetworkFileSystem StorageType = "NetworkFileSystem"
)

func PossibleStorageTypeValues

func PossibleStorageTypeValues() []StorageType

PossibleStorageTypeValues returns the possible values for the StorageType const type.

type StringDictionary

type StringDictionary struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Settings.
	Properties map[string]*string `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StringDictionary - String dictionary resource.

func (StringDictionary) MarshalJSON

func (s StringDictionary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StringDictionary.

type StringList

type StringList struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// List of string resources.
	Properties []*string `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

StringList - String list resource.

func (StringList) MarshalJSON

func (s StringList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StringList.

type SupportTopic

type SupportTopic struct {
	// READ-ONLY; Support Topic Id
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Unique resource Id
	PesID *string `json:"pesId,omitempty" azure:"ro"`
}

SupportTopic - Defines a unique Support Topic

type SupportedTLSVersions

type SupportedTLSVersions string

SupportedTLSVersions - MinTlsVersion: configures the minimum version of TLS required for SSL requests

const (
	SupportedTLSVersionsOne0 SupportedTLSVersions = "1.0"
	SupportedTLSVersionsOne1 SupportedTLSVersions = "1.1"
	SupportedTLSVersionsOne2 SupportedTLSVersions = "1.2"
)

func PossibleSupportedTLSVersionsValues

func PossibleSupportedTLSVersionsValues() []SupportedTLSVersions

PossibleSupportedTLSVersionsValues returns the possible values for the SupportedTLSVersions const type.

type SwiftVirtualNetwork

type SwiftVirtualNetwork struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// SwiftVirtualNetwork resource specific properties
	Properties *SwiftVirtualNetworkProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SwiftVirtualNetwork - Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.

func (SwiftVirtualNetwork) MarshalJSON

func (s SwiftVirtualNetwork) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwiftVirtualNetwork.

type SwiftVirtualNetworkProperties

type SwiftVirtualNetworkProperties struct {
	// The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation
	// to Microsoft.Web/serverFarms defined first.
	SubnetResourceID *string `json:"subnetResourceId,omitempty"`

	// A flag that specifies if the scale unit this Web App is on supports Swift integration.
	SwiftSupported *bool `json:"swiftSupported,omitempty"`
}

SwiftVirtualNetworkProperties - SwiftVirtualNetwork resource specific properties

type Template added in v0.2.0

type Template struct {
	// List of container definitions for the Container App.
	Containers []*Container `json:"containers,omitempty"`

	// Dapr configuration for the Container App.
	Dapr *Dapr `json:"dapr,omitempty"`

	// User friendly suffix that is appended to the revision name
	RevisionSuffix *string `json:"revisionSuffix,omitempty"`

	// Scaling properties for the Container App.
	Scale *Scale `json:"scale,omitempty"`
}

Template - Container App versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created

func (Template) MarshalJSON added in v0.2.0

func (t Template) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Template.

type TldLegalAgreement

type TldLegalAgreement struct {
	// REQUIRED; Unique identifier for the agreement.
	AgreementKey *string `json:"agreementKey,omitempty"`

	// REQUIRED; Agreement details.
	Content *string `json:"content,omitempty"`

	// REQUIRED; Agreement title.
	Title *string `json:"title,omitempty"`

	// URL where a copy of the agreement details is hosted.
	URL *string `json:"url,omitempty"`
}

TldLegalAgreement - Legal agreement for a top level domain.

type TldLegalAgreementCollection

type TldLegalAgreementCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TldLegalAgreement `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

TldLegalAgreementCollection - Collection of top-level domain legal agreements.

type TokenStore

type TokenStore struct {
	// The configuration settings of the storage of the tokens if blob storage is used.
	AzureBlobStorage *BlobStorageTokenStore `json:"azureBlobStorage,omitempty"`

	// true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default
	// is false.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the storage of the tokens if a file system is used.
	FileSystem *FileSystemTokenStore `json:"fileSystem,omitempty"`

	// 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"`
}

TokenStore - The configuration settings of the token store.

type TopLevelDomain

type TopLevelDomain struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// TopLevelDomain resource specific properties
	Properties *TopLevelDomainProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

TopLevelDomain - A top level domain object.

type TopLevelDomainAgreementOption

type TopLevelDomainAgreementOption struct {
	// If true, then the list of agreements will include agreements for domain transfer as well; otherwise, false.
	ForTransfer *bool `json:"forTransfer,omitempty"`

	// If true, then the list of agreements will include agreements for domain privacy as well; otherwise, false.
	IncludePrivacy *bool `json:"includePrivacy,omitempty"`
}

TopLevelDomainAgreementOption - Options for retrieving the list of top level domain legal agreements.

type TopLevelDomainCollection

type TopLevelDomainCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TopLevelDomain `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

TopLevelDomainCollection - Collection of Top-level domains.

type TopLevelDomainProperties

type TopLevelDomainProperties struct {
	// If true, then the top level domain supports domain privacy; otherwise, false.
	Privacy *bool `json:"privacy,omitempty"`
}

TopLevelDomainProperties - TopLevelDomain resource specific properties

type TopLevelDomainsClient

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

TopLevelDomainsClient contains the methods for the TopLevelDomains group. Don't use this type directly, use NewTopLevelDomainsClient() instead.

func NewTopLevelDomainsClient

func NewTopLevelDomainsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*TopLevelDomainsClient, error)

NewTopLevelDomainsClient creates a new instance of TopLevelDomainsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*TopLevelDomainsClient) Get

Get - Get details of a top-level domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 name - Name of the top-level domain. options - TopLevelDomainsClientGetOptions contains the optional parameters for the TopLevelDomainsClient.Get method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/GetTopLevelDomain.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewTopLevelDomainsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.Get(ctx,
		"com",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*TopLevelDomainsClient) NewListAgreementsPager added in v0.4.0

NewListAgreementsPager - Gets all legal agreements that user needs to accept before purchasing a domain. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 name - Name of the top-level domain. agreementOption - Domain agreement options. options - TopLevelDomainsClientListAgreementsOptions contains the optional parameters for the TopLevelDomainsClient.ListAgreements method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/ListTopLevelDomainAgreements.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewTopLevelDomainsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListAgreementsPager("in",
		armappservice.TopLevelDomainAgreementOption{
			ForTransfer:    to.Ptr(false),
			IncludePrivacy: to.Ptr(true),
		},
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*TopLevelDomainsClient) NewListPager added in v0.4.0

NewListPager - Get all top-level domains supported for registration. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - TopLevelDomainsClientListOptions contains the optional parameters for the TopLevelDomainsClient.List method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/examples/ListTopLevelDomains.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewTopLevelDomainsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

type TopLevelDomainsClientGetOptions added in v0.2.0

type TopLevelDomainsClientGetOptions struct {
}

TopLevelDomainsClientGetOptions contains the optional parameters for the TopLevelDomainsClient.Get method.

type TopLevelDomainsClientGetResponse added in v0.2.0

type TopLevelDomainsClientGetResponse struct {
	TopLevelDomain
}

TopLevelDomainsClientGetResponse contains the response from method TopLevelDomainsClient.Get.

type TopLevelDomainsClientListAgreementsOptions added in v0.2.0

type TopLevelDomainsClientListAgreementsOptions struct {
}

TopLevelDomainsClientListAgreementsOptions contains the optional parameters for the TopLevelDomainsClient.ListAgreements method.

type TopLevelDomainsClientListAgreementsResponse added in v0.2.0

type TopLevelDomainsClientListAgreementsResponse struct {
	TldLegalAgreementCollection
}

TopLevelDomainsClientListAgreementsResponse contains the response from method TopLevelDomainsClient.ListAgreements.

type TopLevelDomainsClientListOptions added in v0.2.0

type TopLevelDomainsClientListOptions struct {
}

TopLevelDomainsClientListOptions contains the optional parameters for the TopLevelDomainsClient.List method.

type TopLevelDomainsClientListResponse added in v0.2.0

type TopLevelDomainsClientListResponse struct {
	TopLevelDomainCollection
}

TopLevelDomainsClientListResponse contains the response from method TopLevelDomainsClient.List.

type TrafficWeight added in v0.2.0

type TrafficWeight struct {
	// Indicates that the traffic weight belongs to a latest stable revision
	LatestRevision *bool `json:"latestRevision,omitempty"`

	// Name of a revision
	RevisionName *string `json:"revisionName,omitempty"`

	// Traffic weight assigned to a revision
	Weight *int32 `json:"weight,omitempty"`
}

TrafficWeight - Traffic weight assigned to a revision

type TriggerTypes

type TriggerTypes string

TriggerTypes - The trigger type of the function

const (
	TriggerTypesHTTPTrigger TriggerTypes = "HttpTrigger"
	TriggerTypesUnknown     TriggerTypes = "Unknown"
)

func PossibleTriggerTypesValues

func PossibleTriggerTypesValues() []TriggerTypes

PossibleTriggerTypesValues returns the possible values for the TriggerTypes const type.

type TriggeredJobHistory

type TriggeredJobHistory struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// TriggeredJobHistory resource specific properties
	Properties *TriggeredJobHistoryProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

TriggeredJobHistory - Triggered Web Job History. List of Triggered Web Job Run Information elements.

type TriggeredJobHistoryCollection

type TriggeredJobHistoryCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TriggeredJobHistory `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

TriggeredJobHistoryCollection - Collection of Kudu continuous web job information elements.

type TriggeredJobHistoryProperties

type TriggeredJobHistoryProperties struct {
	// List of triggered web job runs.
	Runs []*TriggeredJobRun `json:"runs,omitempty"`
}

TriggeredJobHistoryProperties - TriggeredJobHistory resource specific properties

func (TriggeredJobHistoryProperties) MarshalJSON

func (t TriggeredJobHistoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredJobHistoryProperties.

type TriggeredJobRun

type TriggeredJobRun struct {
	// Job duration.
	Duration *string `json:"duration,omitempty"`

	// End time.
	EndTime *time.Time `json:"end_time,omitempty"`

	// Error URL.
	ErrorURL *string `json:"error_url,omitempty"`

	// Job name.
	JobName *string `json:"job_name,omitempty"`

	// Output URL.
	OutputURL *string `json:"output_url,omitempty"`

	// Start time.
	StartTime *time.Time `json:"start_time,omitempty"`

	// Job status.
	Status *TriggeredWebJobStatus `json:"status,omitempty"`

	// Job trigger.
	Trigger *string `json:"trigger,omitempty"`

	// Job URL.
	URL *string `json:"url,omitempty"`

	// Job ID.
	WebJobID *string `json:"web_job_id,omitempty"`

	// Job name.
	WebJobName *string `json:"web_job_name,omitempty"`
}

TriggeredJobRun - Triggered Web Job Run Information.

func (TriggeredJobRun) MarshalJSON

func (t TriggeredJobRun) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredJobRun.

func (*TriggeredJobRun) UnmarshalJSON

func (t *TriggeredJobRun) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredJobRun.

type TriggeredWebJob

type TriggeredWebJob struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// TriggeredWebJob resource specific properties
	Properties *TriggeredWebJobProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

TriggeredWebJob - Triggered Web Job Information.

type TriggeredWebJobCollection

type TriggeredWebJobCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TriggeredWebJob `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

TriggeredWebJobCollection - Collection of Kudu continuous web job information elements.

type TriggeredWebJobProperties

type TriggeredWebJobProperties struct {
	// Error information.
	Error *string `json:"error,omitempty"`

	// Extra Info URL.
	ExtraInfoURL *string `json:"extra_info_url,omitempty"`

	// History URL.
	HistoryURL *string `json:"history_url,omitempty"`

	// Latest job run information.
	LatestRun *TriggeredJobRun `json:"latest_run,omitempty"`

	// Run command.
	RunCommand *string `json:"run_command,omitempty"`

	// Scheduler Logs URL.
	SchedulerLogsURL *string `json:"scheduler_logs_url,omitempty"`

	// Job settings.
	Settings map[string]interface{} `json:"settings,omitempty"`

	// Job URL.
	URL *string `json:"url,omitempty"`

	// Using SDK?
	UsingSdk *bool `json:"using_sdk,omitempty"`

	// Job type.
	WebJobType *WebJobType `json:"web_job_type,omitempty"`
}

TriggeredWebJobProperties - TriggeredWebJob resource specific properties

func (TriggeredWebJobProperties) MarshalJSON

func (t TriggeredWebJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredWebJobProperties.

type TriggeredWebJobStatus

type TriggeredWebJobStatus string

TriggeredWebJobStatus - Job status.

const (
	TriggeredWebJobStatusSuccess TriggeredWebJobStatus = "Success"
	TriggeredWebJobStatusFailed  TriggeredWebJobStatus = "Failed"
	TriggeredWebJobStatusError   TriggeredWebJobStatus = "Error"
)

func PossibleTriggeredWebJobStatusValues

func PossibleTriggeredWebJobStatusValues() []TriggeredWebJobStatus

PossibleTriggeredWebJobStatusValues returns the possible values for the TriggeredWebJobStatus const type.

type Twitter

type Twitter struct {
	// false if the Twitter provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool `json:"enabled,omitempty"`

	// The configuration settings of the app registration for the Twitter provider.
	Registration *TwitterRegistration `json:"registration,omitempty"`
}

Twitter - The configuration settings of the Twitter provider.

type TwitterRegistration

type TwitterRegistration struct {
	// 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
	ConsumerKey *string `json:"consumerKey,omitempty"`

	// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
	ConsumerSecretSettingName *string `json:"consumerSecretSettingName,omitempty"`
}

TwitterRegistration - The configuration settings of the app registration for the Twitter provider.

type UnauthenticatedClientAction

type UnauthenticatedClientAction string

UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app.

const (
	UnauthenticatedClientActionRedirectToLoginPage UnauthenticatedClientAction = "RedirectToLoginPage"
	UnauthenticatedClientActionAllowAnonymous      UnauthenticatedClientAction = "AllowAnonymous"
)

func PossibleUnauthenticatedClientActionValues

func PossibleUnauthenticatedClientActionValues() []UnauthenticatedClientAction

PossibleUnauthenticatedClientActionValues returns the possible values for the UnauthenticatedClientAction const type.

type UnauthenticatedClientActionV2

type UnauthenticatedClientActionV2 string

UnauthenticatedClientActionV2 - The action to take when an unauthenticated client attempts to access the app.

const (
	UnauthenticatedClientActionV2RedirectToLoginPage UnauthenticatedClientActionV2 = "RedirectToLoginPage"
	UnauthenticatedClientActionV2AllowAnonymous      UnauthenticatedClientActionV2 = "AllowAnonymous"
	UnauthenticatedClientActionV2Return401           UnauthenticatedClientActionV2 = "Return401"
	UnauthenticatedClientActionV2Return403           UnauthenticatedClientActionV2 = "Return403"
)

func PossibleUnauthenticatedClientActionV2Values

func PossibleUnauthenticatedClientActionV2Values() []UnauthenticatedClientActionV2

PossibleUnauthenticatedClientActionV2Values returns the possible values for the UnauthenticatedClientActionV2 const type.

type Usage

type Usage struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Usage resource specific properties
	Properties *UsageProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Usage of the quota resource.

type UsageCollection

type UsageCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Usage `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

UsageCollection - Collection of usages.

type UsageProperties

type UsageProperties struct {
	// READ-ONLY; Compute mode used for this usage.
	ComputeMode *ComputeModeOptions `json:"computeMode,omitempty" azure:"ro"`

	// READ-ONLY; The current value of the resource counter.
	CurrentValue *int64 `json:"currentValue,omitempty" azure:"ro"`

	// READ-ONLY; Friendly name shown in the UI.
	DisplayName *string `json:"displayName,omitempty" azure:"ro"`

	// READ-ONLY; The resource limit.
	Limit *int64 `json:"limit,omitempty" azure:"ro"`

	// READ-ONLY; Next reset time for the resource counter.
	NextResetTime *time.Time `json:"nextResetTime,omitempty" azure:"ro"`

	// READ-ONLY; Name of the quota resource.
	ResourceName *string `json:"resourceName,omitempty" azure:"ro"`

	// READ-ONLY; Site mode used for this usage.
	SiteMode *string `json:"siteMode,omitempty" azure:"ro"`

	// READ-ONLY; Units of measurement for the quota resource.
	Unit *string `json:"unit,omitempty" azure:"ro"`
}

UsageProperties - Usage resource specific properties

func (UsageProperties) MarshalJSON

func (u UsageProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UsageProperties.

func (*UsageProperties) UnmarshalJSON

func (u *UsageProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UsageProperties.

type UsageState

type UsageState string

UsageState - State indicating whether the app has exceeded its quota usage. Read-only.

const (
	UsageStateNormal   UsageState = "Normal"
	UsageStateExceeded UsageState = "Exceeded"
)

func PossibleUsageStateValues

func PossibleUsageStateValues() []UsageState

PossibleUsageStateValues returns the possible values for the UsageState const type.

type User

type User struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// User resource specific properties
	Properties *UserProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

User credentials used for publishing activity.

type UserAssignedIdentity

type UserAssignedIdentity struct {
	// READ-ONLY; Client Id of user assigned identity
	ClientID *string `json:"clientId,omitempty" azure:"ro"`

	// READ-ONLY; Principal Id of user assigned identity
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`
}

UserAssignedIdentity - User Assigned identity.

type UserProperties

type UserProperties struct {
	// REQUIRED; Username used for publishing.
	PublishingUserName *string `json:"publishingUserName,omitempty"`

	// Password used for publishing.
	PublishingPassword *string `json:"publishingPassword,omitempty"`

	// Password hash used for publishing.
	PublishingPasswordHash *string `json:"publishingPasswordHash,omitempty"`

	// Password hash salt used for publishing.
	PublishingPasswordHashSalt *string `json:"publishingPasswordHashSalt,omitempty"`

	// Url of SCM site.
	ScmURI *string `json:"scmUri,omitempty"`
}

UserProperties - User resource specific properties

type ValidateProperties

type ValidateProperties struct {
	// App Service Environment Properties
	AppServiceEnvironment *Environment `json:"appServiceEnvironment,omitempty"`

	// Target capacity of the App Service plan (number of VMs).
	Capacity *int32 `json:"capacity,omitempty"`

	// Platform (windows or linux)
	ContainerImagePlatform *string `json:"containerImagePlatform,omitempty"`

	// Repository name (image name)
	ContainerImageRepository *string `json:"containerImageRepository,omitempty"`

	// Image tag
	ContainerImageTag *string `json:"containerImageTag,omitempty"`

	// Base URL of the container registry
	ContainerRegistryBaseURL *string `json:"containerRegistryBaseUrl,omitempty"`

	// Password for to access the container registry
	ContainerRegistryPassword *string `json:"containerRegistryPassword,omitempty"`

	// Username for to access the container registry
	ContainerRegistryUsername *string `json:"containerRegistryUsername,omitempty"`

	// Name of App Service Environment where app or App Service plan should be created.
	HostingEnvironment *string `json:"hostingEnvironment,omitempty"`

	// true if App Service plan is for Spot instances; otherwise, false.
	IsSpot *bool `json:"isSpot,omitempty"`

	// true if App Service plan is running as a windows container
	IsXenon *bool `json:"isXenon,omitempty"`

	// true if App Service plan is for Linux workers; otherwise, false.
	NeedLinuxWorkers *bool `json:"needLinuxWorkers,omitempty"`

	// Name of the target SKU for the App Service plan.
	SKUName *string `json:"skuName,omitempty"`

	// ARM resource ID of an App Service plan that would host the app.
	ServerFarmID *string `json:"serverFarmId,omitempty"`
}

ValidateProperties - App properties used for validation.

type ValidateRequest

type ValidateRequest struct {
	// REQUIRED; Expected location of the resource.
	Location *string `json:"location,omitempty"`

	// REQUIRED; Resource name to verify.
	Name *string `json:"name,omitempty"`

	// REQUIRED; Properties of the resource to validate.
	Properties *ValidateProperties `json:"properties,omitempty"`

	// REQUIRED; Resource type used for verification.
	Type *ValidateResourceTypes `json:"type,omitempty"`
}

ValidateRequest - Resource validation request content.

type ValidateResourceTypes

type ValidateResourceTypes string

ValidateResourceTypes - Resource type used for verification.

const (
	ValidateResourceTypesMicrosoftWebHostingEnvironments ValidateResourceTypes = "Microsoft.Web/hostingEnvironments"
	ValidateResourceTypesServerFarm                      ValidateResourceTypes = "ServerFarm"
	ValidateResourceTypesSite                            ValidateResourceTypes = "Site"
)

func PossibleValidateResourceTypesValues

func PossibleValidateResourceTypesValues() []ValidateResourceTypes

PossibleValidateResourceTypesValues returns the possible values for the ValidateResourceTypes const type.

type ValidateResponse

type ValidateResponse struct {
	// Error details for the case when validation fails.
	Error *ValidateResponseError `json:"error,omitempty"`

	// Result of validation.
	Status *string `json:"status,omitempty"`
}

ValidateResponse - Describes the result of resource validation.

type ValidateResponseError

type ValidateResponseError struct {
	// Validation error code.
	Code *string `json:"code,omitempty"`

	// Validation error message.
	Message *string `json:"message,omitempty"`
}

ValidateResponseError - Error details for when validation fails.

type VirtualApplication

type VirtualApplication struct {
	// Physical path.
	PhysicalPath *string `json:"physicalPath,omitempty"`

	// true if preloading is enabled; otherwise, false.
	PreloadEnabled *bool `json:"preloadEnabled,omitempty"`

	// Virtual directories for virtual application.
	VirtualDirectories []*VirtualDirectory `json:"virtualDirectories,omitempty"`

	// Virtual path.
	VirtualPath *string `json:"virtualPath,omitempty"`
}

VirtualApplication - Virtual application in an app.

func (VirtualApplication) MarshalJSON

func (v VirtualApplication) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualApplication.

type VirtualDirectory

type VirtualDirectory struct {
	// Physical path.
	PhysicalPath *string `json:"physicalPath,omitempty"`

	// Path to virtual application.
	VirtualPath *string `json:"virtualPath,omitempty"`
}

VirtualDirectory - Directory for virtual application.

type VirtualIPMapping

type VirtualIPMapping struct {
	// Is virtual IP mapping in use.
	InUse *bool `json:"inUse,omitempty"`

	// Internal HTTP port.
	InternalHTTPPort *int32 `json:"internalHttpPort,omitempty"`

	// Internal HTTPS port.
	InternalHTTPSPort *int32 `json:"internalHttpsPort,omitempty"`

	// name of the service that virtual IP is assigned to
	ServiceName *string `json:"serviceName,omitempty"`

	// Virtual IP address.
	VirtualIP *string `json:"virtualIP,omitempty"`
}

VirtualIPMapping - Virtual IP mapping.

type VirtualNetworkProfile

type VirtualNetworkProfile struct {
	// REQUIRED; Resource id of the Virtual Network.
	ID *string `json:"id,omitempty"`

	// Subnet within the Virtual Network.
	Subnet *string `json:"subnet,omitempty"`

	// READ-ONLY; Name of the Virtual Network (read-only).
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type of the Virtual Network (read-only).
	Type *string `json:"type,omitempty" azure:"ro"`
}

VirtualNetworkProfile - Specification for using a Virtual Network.

type VnetGateway

type VnetGateway struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// VnetGateway resource specific properties
	Properties *VnetGatewayProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VnetGateway - The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.

func (VnetGateway) MarshalJSON

func (v VnetGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetGateway.

type VnetGatewayProperties

type VnetGatewayProperties struct {
	// REQUIRED; The URI where the VPN package can be downloaded.
	VPNPackageURI *string `json:"vpnPackageUri,omitempty"`

	// The Virtual Network name.
	VnetName *string `json:"vnetName,omitempty"`
}

VnetGatewayProperties - VnetGateway resource specific properties

type VnetInfo

type VnetInfo struct {
	// A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.
	CertBlob *string `json:"certBlob,omitempty"`

	// DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
	DNSServers *string `json:"dnsServers,omitempty"`

	// Flag that is used to denote if this is VNET injection
	IsSwift *bool `json:"isSwift,omitempty"`

	// The Virtual Network's resource ID.
	VnetResourceID *string `json:"vnetResourceId,omitempty"`

	// READ-ONLY; The client certificate thumbprint.
	CertThumbprint *string `json:"certThumbprint,omitempty" azure:"ro"`

	// READ-ONLY; true if a resync is required; otherwise, false.
	ResyncRequired *bool `json:"resyncRequired,omitempty" azure:"ro"`

	// READ-ONLY; The routes that this Virtual Network connection uses.
	Routes []*VnetRoute `json:"routes,omitempty" azure:"ro"`
}

VnetInfo - Virtual Network information contract.

func (VnetInfo) MarshalJSON

func (v VnetInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetInfo.

type VnetInfoResource

type VnetInfoResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *VnetInfo `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VnetInfoResource - Virtual Network information ARM resource.

func (VnetInfoResource) MarshalJSON

func (v VnetInfoResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetInfoResource.

type VnetParameters

type VnetParameters struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// VnetParameters resource specific properties
	Properties *VnetParametersProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VnetParameters - The required set of inputs to validate a VNET

type VnetParametersProperties

type VnetParametersProperties struct {
	// The ARM Resource ID of the subnet to validate
	SubnetResourceID *string `json:"subnetResourceId,omitempty"`

	// The name of the VNET to be validated
	VnetName *string `json:"vnetName,omitempty"`

	// The Resource Group of the VNET to be validated
	VnetResourceGroup *string `json:"vnetResourceGroup,omitempty"`

	// The subnet name to be validated
	VnetSubnetName *string `json:"vnetSubnetName,omitempty"`
}

VnetParametersProperties - VnetParameters resource specific properties

type VnetRoute

type VnetRoute struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// VnetRoute resource specific properties
	Properties *VnetRouteProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VnetRoute - Virtual Network route contract used to pass routing information for a Virtual Network.

func (VnetRoute) MarshalJSON

func (v VnetRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetRoute.

type VnetRouteProperties

type VnetRouteProperties struct {
	// The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.
	EndAddress *string `json:"endAddress,omitempty"`

	// 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.
	RouteType *RouteType `json:"routeType,omitempty"`

	// 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"`
}

VnetRouteProperties - VnetRoute resource specific properties

type VnetValidationFailureDetails

type VnetValidationFailureDetails struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// VnetValidationFailureDetails resource specific properties
	Properties *VnetValidationFailureDetailsProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VnetValidationFailureDetails - A class that describes the reason for a validation failure.

type VnetValidationFailureDetailsProperties

type VnetValidationFailureDetailsProperties struct {
	// A flag describing whether or not validation failed.
	Failed *bool `json:"failed,omitempty"`

	// A list of tests that failed in the validation.
	FailedTests []*VnetValidationTestFailure `json:"failedTests,omitempty"`

	// Text describing the validation outcome.
	Message *string `json:"message,omitempty"`

	// A list of warnings generated during validation.
	Warnings []*VnetValidationTestFailure `json:"warnings,omitempty"`
}

VnetValidationFailureDetailsProperties - VnetValidationFailureDetails resource specific properties

func (VnetValidationFailureDetailsProperties) MarshalJSON

func (v VnetValidationFailureDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetValidationFailureDetailsProperties.

type VnetValidationTestFailure

type VnetValidationTestFailure struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// VnetValidationTestFailure resource specific properties
	Properties *VnetValidationTestFailureProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VnetValidationTestFailure - A class that describes a test that failed during NSG and UDR validation.

type VnetValidationTestFailureProperties

type VnetValidationTestFailureProperties struct {
	// The details of what caused the failure, e.g. the blocking rule name, etc.
	Details *string `json:"details,omitempty"`

	// The name of the test that failed.
	TestName *string `json:"testName,omitempty"`
}

VnetValidationTestFailureProperties - VnetValidationTestFailure resource specific properties

type WebAppCollection

type WebAppCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Site `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

WebAppCollection - Collection of App Service apps.

type WebAppInstanceStatusCollection

type WebAppInstanceStatusCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WebSiteInstanceStatus `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

WebAppInstanceStatusCollection - Collection of app instances.

type WebAppMajorVersion

type WebAppMajorVersion struct {
	// READ-ONLY; Web App stack major version (display only).
	DisplayText *string `json:"displayText,omitempty" azure:"ro"`

	// READ-ONLY; Minor versions associated with the major version.
	MinorVersions []*WebAppMinorVersion `json:"minorVersions,omitempty" azure:"ro"`

	// READ-ONLY; Web App stack major version name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

WebAppMajorVersion - Web App stack major version.

func (WebAppMajorVersion) MarshalJSON

func (w WebAppMajorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppMajorVersion.

type WebAppMinorVersion

type WebAppMinorVersion struct {
	// READ-ONLY; Web App stack minor version (display only).
	DisplayText *string `json:"displayText,omitempty" azure:"ro"`

	// READ-ONLY; Settings associated with the minor version.
	StackSettings *WebAppRuntimes `json:"stackSettings,omitempty" azure:"ro"`

	// READ-ONLY; Web App stack major version name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

WebAppMinorVersion - Web App stack minor version.

type WebAppRuntimeSettings

type WebAppRuntimeSettings struct {
	// READ-ONLY; Application Insights settings associated with the minor version.
	AppInsightsSettings *AppInsightsWebAppStackSettings `json:"appInsightsSettings,omitempty" azure:"ro"`

	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time `json:"endOfLifeDate,omitempty" azure:"ro"`

	// READ-ONLY; GitHub Actions settings associated with the minor version.
	GitHubActionSettings *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool `json:"isAutoUpdate,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool `json:"isDeprecated,omitempty" azure:"ro"`

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool `json:"isEarlyAccess,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool `json:"isHidden,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool `json:"isPreview,omitempty" azure:"ro"`

	// READ-ONLY; true if remote debugging is supported for the stack; otherwise, false.
	RemoteDebuggingSupported *bool `json:"remoteDebuggingSupported,omitempty" azure:"ro"`

	// READ-ONLY; Web App stack minor version (runtime only).
	RuntimeVersion *string `json:"runtimeVersion,omitempty" azure:"ro"`
}

WebAppRuntimeSettings - Web App runtime settings.

func (WebAppRuntimeSettings) MarshalJSON

func (w WebAppRuntimeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppRuntimeSettings.

func (*WebAppRuntimeSettings) UnmarshalJSON

func (w *WebAppRuntimeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppRuntimeSettings.

type WebAppRuntimes

type WebAppRuntimes struct {
	// READ-ONLY; Linux-specific settings associated with the Java container minor version.
	LinuxContainerSettings *LinuxJavaContainerSettings `json:"linuxContainerSettings,omitempty" azure:"ro"`

	// READ-ONLY; Linux-specific settings associated with the minor version.
	LinuxRuntimeSettings *WebAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty" azure:"ro"`

	// READ-ONLY; Windows-specific settings associated with the Java container minor version.
	WindowsContainerSettings *WindowsJavaContainerSettings `json:"windowsContainerSettings,omitempty" azure:"ro"`

	// READ-ONLY; Windows-specific settings associated with the minor version.
	WindowsRuntimeSettings *WebAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty" azure:"ro"`
}

WebAppRuntimes - Web App stack runtimes.

type WebAppStack

type WebAppStack struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// WebAppStack resource specific properties
	Properties *WebAppStackProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Web App stack location.
	Location *string `json:"location,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

WebAppStack - Web App stack.

type WebAppStackCollection

type WebAppStackCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WebAppStack `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

WebAppStackCollection - Collection of Web app Stacks

type WebAppStackProperties

type WebAppStackProperties struct {
	// READ-ONLY; Web App stack (display only).
	DisplayText *string `json:"displayText,omitempty" azure:"ro"`

	// READ-ONLY; List of major versions available.
	MajorVersions []*WebAppMajorVersion `json:"majorVersions,omitempty" azure:"ro"`

	// READ-ONLY; Web App stack preferred OS.
	PreferredOs *StackPreferredOs `json:"preferredOs,omitempty" azure:"ro"`

	// READ-ONLY; Web App stack name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

WebAppStackProperties - WebAppStack resource specific properties

func (WebAppStackProperties) MarshalJSON

func (w WebAppStackProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppStackProperties.

type WebAppsClient

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

WebAppsClient contains the methods for the WebApps group. Don't use this type directly, use NewWebAppsClient() instead.

func NewWebAppsClient

func NewWebAppsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebAppsClient, error)

NewWebAppsClient creates a new instance of WebAppsClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*WebAppsClient) AddPremierAddOn

func (client *WebAppsClient) AddPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn, options *WebAppsClientAddPremierAddOnOptions) (WebAppsClientAddPremierAddOnResponse, error)

AddPremierAddOn - Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientAddPremierAddOnOptions contains the optional parameters for the WebAppsClient.AddPremierAddOn method.

func (*WebAppsClient) AddPremierAddOnSlot

func (client *WebAppsClient) AddPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string, premierAddOn PremierAddOn, options *WebAppsClientAddPremierAddOnSlotOptions) (WebAppsClientAddPremierAddOnSlotResponse, error)

AddPremierAddOnSlot - Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the named add-on for the production slot. premierAddOn - A JSON representation of the edited premier add-on. options - WebAppsClientAddPremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.AddPremierAddOnSlot method.

func (*WebAppsClient) AnalyzeCustomHostname

func (client *WebAppsClient) AnalyzeCustomHostname(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientAnalyzeCustomHostnameOptions) (WebAppsClientAnalyzeCustomHostnameResponse, error)

AnalyzeCustomHostname - Analyze a custom hostname. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientAnalyzeCustomHostnameOptions contains the optional parameters for the WebAppsClient.AnalyzeCustomHostname method.

func (*WebAppsClient) AnalyzeCustomHostnameSlot

func (client *WebAppsClient) AnalyzeCustomHostnameSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientAnalyzeCustomHostnameSlotOptions) (WebAppsClientAnalyzeCustomHostnameSlotResponse, error)

AnalyzeCustomHostnameSlot - Analyze a custom hostname. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientAnalyzeCustomHostnameSlotOptions contains the optional parameters for the WebAppsClient.AnalyzeCustomHostnameSlot method.

func (*WebAppsClient) ApplySlotConfigToProduction

func (client *WebAppsClient) ApplySlotConfigToProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, options *WebAppsClientApplySlotConfigToProductionOptions) (WebAppsClientApplySlotConfigToProductionResponse, error)

ApplySlotConfigToProduction - Applies the configuration settings from the target slot onto the current slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientApplySlotConfigToProductionOptions contains the optional parameters for the WebAppsClient.ApplySlotConfigToProduction method.

func (*WebAppsClient) ApplySlotConfigurationSlot

func (client *WebAppsClient) ApplySlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, slotSwapEntity CsmSlotEntity, options *WebAppsClientApplySlotConfigurationSlotOptions) (WebAppsClientApplySlotConfigurationSlotResponse, error)

ApplySlotConfigurationSlot - Applies the configuration settings from the target slot onto the current slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the source slot. If a slot is not specified, the production slot is used as the source slot. slotSwapEntity - JSON object that contains the target slot name. See example. options - WebAppsClientApplySlotConfigurationSlotOptions contains the optional parameters for the WebAppsClient.ApplySlotConfigurationSlot method.

func (*WebAppsClient) Backup

func (client *WebAppsClient) Backup(ctx context.Context, resourceGroupName string, name string, request BackupRequest, options *WebAppsClientBackupOptions) (WebAppsClientBackupResponse, error)

Backup - Creates a backup of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBackupOptions contains the optional parameters for the WebAppsClient.Backup method.

func (*WebAppsClient) BackupSlot

func (client *WebAppsClient) BackupSlot(ctx context.Context, resourceGroupName string, name string, slot string, request BackupRequest, options *WebAppsClientBackupSlotOptions) (WebAppsClientBackupSlotResponse, error)

BackupSlot - Creates a backup of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 create a backup for the production slot. request - Backup configuration. You can use the JSON response from the POST action as input here. options - WebAppsClientBackupSlotOptions contains the optional parameters for the WebAppsClient.BackupSlot method.

func (*WebAppsClient) BeginApproveOrRejectPrivateEndpointConnection

func (client *WebAppsClient) BeginApproveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*runtime.Poller[WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse], error)

BeginApproveOrRejectPrivateEndpointConnection - Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.BeginApproveOrRejectPrivateEndpointConnection method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginApproveOrRejectPrivateEndpointConnection(ctx,
		"rg",
		"testSite",
		"connection",
		armappservice.PrivateLinkConnectionApprovalRequestResource{
			Properties: &armappservice.PrivateLinkConnectionApprovalRequest{
				PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
					Description:     to.Ptr("Approved by admin."),
					ActionsRequired: to.Ptr(""),
					Status:          to.Ptr("Approved"),
				},
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginApproveOrRejectPrivateEndpointConnectionSlot

func (client *WebAppsClient) BeginApproveOrRejectPrivateEndpointConnectionSlot(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, slot string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions) (*runtime.Poller[WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse], error)

BeginApproveOrRejectPrivateEndpointConnectionSlot - Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.BeginApproveOrRejectPrivateEndpointConnectionSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginApproveOrRejectPrivateEndpointConnectionSlot(ctx,
		"rg",
		"testSite",
		"connection",
		"stage",
		armappservice.PrivateLinkConnectionApprovalRequestResource{
			Properties: &armappservice.PrivateLinkConnectionApprovalRequest{
				PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
					Description:     to.Ptr("Approved by admin."),
					ActionsRequired: to.Ptr(""),
					Status:          to.Ptr("Approved"),
				},
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginCreateFunction

func (client *WebAppsClient) BeginCreateFunction(ctx context.Context, resourceGroupName string, name string, functionName string, functionEnvelope FunctionEnvelope, options *WebAppsClientBeginCreateFunctionOptions) (*runtime.Poller[WebAppsClientCreateFunctionResponse], error)

BeginCreateFunction - Create function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. functionEnvelope - Function details. options - WebAppsClientBeginCreateFunctionOptions contains the optional parameters for the WebAppsClient.BeginCreateFunction method.

func (*WebAppsClient) BeginCreateInstanceFunctionSlot

func (client *WebAppsClient) BeginCreateInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, functionEnvelope FunctionEnvelope, options *WebAppsClientBeginCreateInstanceFunctionSlotOptions) (*runtime.Poller[WebAppsClientCreateInstanceFunctionSlotResponse], error)

BeginCreateInstanceFunctionSlot - Create function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. slot - Name of the deployment slot. functionEnvelope - Function details. options - WebAppsClientBeginCreateInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceFunctionSlot method.

func (*WebAppsClient) BeginCreateInstanceMSDeployOperation

func (client *WebAppsClient) BeginCreateInstanceMSDeployOperation(ctx context.Context, resourceGroupName string, name string, instanceID string, msDeploy MSDeploy, options *WebAppsClientBeginCreateInstanceMSDeployOperationOptions) (*runtime.Poller[WebAppsClientCreateInstanceMSDeployOperationResponse], error)

BeginCreateInstanceMSDeployOperation - Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 options - WebAppsClientBeginCreateInstanceMSDeployOperationOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceMSDeployOperation method.

func (*WebAppsClient) BeginCreateInstanceMSDeployOperationSlot

func (client *WebAppsClient) BeginCreateInstanceMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, msDeploy MSDeploy, options *WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions) (*runtime.Poller[WebAppsClientCreateInstanceMSDeployOperationSlotResponse], error)

BeginCreateInstanceMSDeployOperationSlot - Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 options - WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceMSDeployOperationSlot method.

func (*WebAppsClient) BeginCreateMSDeployOperation

func (client *WebAppsClient) BeginCreateMSDeployOperation(ctx context.Context, resourceGroupName string, name string, msDeploy MSDeploy, options *WebAppsClientBeginCreateMSDeployOperationOptions) (*runtime.Poller[WebAppsClientCreateMSDeployOperationResponse], error)

BeginCreateMSDeployOperation - Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. msDeploy - Details of MSDeploy operation options - WebAppsClientBeginCreateMSDeployOperationOptions contains the optional parameters for the WebAppsClient.BeginCreateMSDeployOperation method.

func (*WebAppsClient) BeginCreateMSDeployOperationSlot

func (client *WebAppsClient) BeginCreateMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, msDeploy MSDeploy, options *WebAppsClientBeginCreateMSDeployOperationSlotOptions) (*runtime.Poller[WebAppsClientCreateMSDeployOperationSlotResponse], error)

BeginCreateMSDeployOperationSlot - Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 options - WebAppsClientBeginCreateMSDeployOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateMSDeployOperationSlot method.

func (*WebAppsClient) BeginCreateOrUpdate

func (client *WebAppsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, options *WebAppsClientBeginCreateOrUpdateOptions) (*runtime.Poller[WebAppsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBeginCreateOrUpdateOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdate method.

func (*WebAppsClient) BeginCreateOrUpdateSlot

func (client *WebAppsClient) BeginCreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteEnvelope Site, options *WebAppsClientBeginCreateOrUpdateSlotOptions) (*runtime.Poller[WebAppsClientCreateOrUpdateSlotResponse], error)

BeginCreateOrUpdateSlot - Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. slot - Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. siteEnvelope - A JSON representation of the app properties. See example. options - WebAppsClientBeginCreateOrUpdateSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSlot method.

func (*WebAppsClient) BeginCreateOrUpdateSourceControl

func (client *WebAppsClient) BeginCreateOrUpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, options *WebAppsClientBeginCreateOrUpdateSourceControlOptions) (*runtime.Poller[WebAppsClientCreateOrUpdateSourceControlResponse], error)

BeginCreateOrUpdateSourceControl - Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBeginCreateOrUpdateSourceControlOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSourceControl method.

func (*WebAppsClient) BeginCreateOrUpdateSourceControlSlot

func (client *WebAppsClient) BeginCreateOrUpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteSourceControl SiteSourceControl, options *WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions) (*runtime.Poller[WebAppsClientCreateOrUpdateSourceControlSlotResponse], error)

BeginCreateOrUpdateSourceControlSlot - Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the source control configuration for the production slot. siteSourceControl - JSON representation of a SiteSourceControl object. See example. options - WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSourceControlSlot method.

func (*WebAppsClient) BeginDeletePrivateEndpointConnection

func (client *WebAppsClient) BeginDeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *WebAppsClientBeginDeletePrivateEndpointConnectionOptions) (*runtime.Poller[WebAppsClientDeletePrivateEndpointConnectionResponse], error)

BeginDeletePrivateEndpointConnection - Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.BeginDeletePrivateEndpointConnection method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteSitePrivateEndpointConnection.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDeletePrivateEndpointConnection(ctx,
		"rg",
		"testSite",
		"connection",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginDeletePrivateEndpointConnectionSlot

func (client *WebAppsClient) BeginDeletePrivateEndpointConnectionSlot(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, slot string, options *WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions) (*runtime.Poller[WebAppsClientDeletePrivateEndpointConnectionSlotResponse], error)

BeginDeletePrivateEndpointConnectionSlot - Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.BeginDeletePrivateEndpointConnectionSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/DeleteSitePrivateEndpointConnectionSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginDeletePrivateEndpointConnectionSlot(ctx,
		"rg",
		"testSite",
		"connection",
		"stage",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginInstallSiteExtension

func (client *WebAppsClient) BeginInstallSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, options *WebAppsClientBeginInstallSiteExtensionOptions) (*runtime.Poller[WebAppsClientInstallSiteExtensionResponse], error)

BeginInstallSiteExtension - Install site extension on a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. siteExtensionID - Site extension name. options - WebAppsClientBeginInstallSiteExtensionOptions contains the optional parameters for the WebAppsClient.BeginInstallSiteExtension method.

func (*WebAppsClient) BeginInstallSiteExtensionSlot

func (client *WebAppsClient) BeginInstallSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string, options *WebAppsClientBeginInstallSiteExtensionSlotOptions) (*runtime.Poller[WebAppsClientInstallSiteExtensionSlotResponse], error)

BeginInstallSiteExtensionSlot - Install site extension on a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientBeginInstallSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.BeginInstallSiteExtensionSlot method.

func (*WebAppsClient) BeginListPublishingCredentials

func (client *WebAppsClient) BeginListPublishingCredentials(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientBeginListPublishingCredentialsOptions) (*runtime.Poller[WebAppsClientListPublishingCredentialsResponse], error)

BeginListPublishingCredentials - Gets the Git/FTP publishing credentials of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientBeginListPublishingCredentialsOptions contains the optional parameters for the WebAppsClient.BeginListPublishingCredentials method.

func (*WebAppsClient) BeginListPublishingCredentialsSlot

func (client *WebAppsClient) BeginListPublishingCredentialsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientBeginListPublishingCredentialsSlotOptions) (*runtime.Poller[WebAppsClientListPublishingCredentialsSlotResponse], error)

BeginListPublishingCredentialsSlot - Gets the Git/FTP publishing credentials of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBeginListPublishingCredentialsSlotOptions contains the optional parameters for the WebAppsClient.BeginListPublishingCredentialsSlot method.

func (*WebAppsClient) BeginMigrateMySQL

func (client *WebAppsClient) BeginMigrateMySQL(ctx context.Context, resourceGroupName string, name string, migrationRequestEnvelope MigrateMySQLRequest, options *WebAppsClientBeginMigrateMySQLOptions) (*runtime.Poller[WebAppsClientMigrateMySQLResponse], error)

BeginMigrateMySQL - Migrates a local (in-app) MySql database to a remote MySql database. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. migrationRequestEnvelope - MySql migration options. options - WebAppsClientBeginMigrateMySQLOptions contains the optional parameters for the WebAppsClient.BeginMigrateMySQL method.

func (*WebAppsClient) BeginMigrateStorage

func (client *WebAppsClient) BeginMigrateStorage(ctx context.Context, subscriptionName string, resourceGroupName string, name string, migrationOptions StorageMigrationOptions, options *WebAppsClientBeginMigrateStorageOptions) (*runtime.Poller[WebAppsClientMigrateStorageResponse], error)

BeginMigrateStorage - Restores a web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 subscriptionName - Azure subscription. resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. migrationOptions - Migration migrationOptions. options - WebAppsClientBeginMigrateStorageOptions contains the optional parameters for the WebAppsClient.BeginMigrateStorage method.

func (*WebAppsClient) BeginRestore

func (client *WebAppsClient) BeginRestore(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest, options *WebAppsClientBeginRestoreOptions) (*runtime.Poller[WebAppsClientRestoreResponse], error)

BeginRestore - Restores a specific backup to another app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 . options - WebAppsClientBeginRestoreOptions contains the optional parameters for the WebAppsClient.BeginRestore method.

func (*WebAppsClient) BeginRestoreFromBackupBlob

func (client *WebAppsClient) BeginRestoreFromBackupBlob(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, options *WebAppsClientBeginRestoreFromBackupBlobOptions) (*runtime.Poller[WebAppsClientRestoreFromBackupBlobResponse], error)

BeginRestoreFromBackupBlob - Restores an app from a backup blob in Azure Storage. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. request - Information on restore request . options - WebAppsClientBeginRestoreFromBackupBlobOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromBackupBlob method.

func (*WebAppsClient) BeginRestoreFromBackupBlobSlot

func (client *WebAppsClient) BeginRestoreFromBackupBlobSlot(ctx context.Context, resourceGroupName string, name string, slot string, request RestoreRequest, options *WebAppsClientBeginRestoreFromBackupBlobSlotOptions) (*runtime.Poller[WebAppsClientRestoreFromBackupBlobSlotResponse], error)

BeginRestoreFromBackupBlobSlot - Restores an app from a backup blob in Azure Storage. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. request - Information on restore request . options - WebAppsClientBeginRestoreFromBackupBlobSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromBackupBlobSlot method.

func (*WebAppsClient) BeginRestoreFromDeletedApp

func (client *WebAppsClient) BeginRestoreFromDeletedApp(ctx context.Context, resourceGroupName string, name string, restoreRequest DeletedAppRestoreRequest, options *WebAppsClientBeginRestoreFromDeletedAppOptions) (*runtime.Poller[WebAppsClientRestoreFromDeletedAppResponse], error)

BeginRestoreFromDeletedApp - Restores a deleted web app to this web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. restoreRequest - Deleted web app restore information. options - WebAppsClientBeginRestoreFromDeletedAppOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromDeletedApp method.

func (*WebAppsClient) BeginRestoreFromDeletedAppSlot

func (client *WebAppsClient) BeginRestoreFromDeletedAppSlot(ctx context.Context, resourceGroupName string, name string, slot string, restoreRequest DeletedAppRestoreRequest, options *WebAppsClientBeginRestoreFromDeletedAppSlotOptions) (*runtime.Poller[WebAppsClientRestoreFromDeletedAppSlotResponse], error)

BeginRestoreFromDeletedAppSlot - Restores a deleted web app to this web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. restoreRequest - Deleted web app restore information. options - WebAppsClientBeginRestoreFromDeletedAppSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromDeletedAppSlot method.

func (*WebAppsClient) BeginRestoreSlot

func (client *WebAppsClient) BeginRestoreSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string, request RestoreRequest, options *WebAppsClientBeginRestoreSlotOptions) (*runtime.Poller[WebAppsClientRestoreSlotResponse], error)

BeginRestoreSlot - Restores a specific backup to another app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 restore a backup of the production slot. request - Information on restore request . options - WebAppsClientBeginRestoreSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSlot method.

func (*WebAppsClient) BeginRestoreSnapshot

func (client *WebAppsClient) BeginRestoreSnapshot(ctx context.Context, resourceGroupName string, name string, restoreRequest SnapshotRestoreRequest, options *WebAppsClientBeginRestoreSnapshotOptions) (*runtime.Poller[WebAppsClientRestoreSnapshotResponse], error)

BeginRestoreSnapshot - Restores a web app from a snapshot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. restoreRequest - Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. options - WebAppsClientBeginRestoreSnapshotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSnapshot method.

func (*WebAppsClient) BeginRestoreSnapshotSlot

func (client *WebAppsClient) BeginRestoreSnapshotSlot(ctx context.Context, resourceGroupName string, name string, slot string, restoreRequest SnapshotRestoreRequest, options *WebAppsClientBeginRestoreSnapshotSlotOptions) (*runtime.Poller[WebAppsClientRestoreSnapshotSlotResponse], error)

BeginRestoreSnapshotSlot - Restores a web app from a snapshot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. restoreRequest - Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. options - WebAppsClientBeginRestoreSnapshotSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSnapshotSlot method.

func (*WebAppsClient) BeginStartNetworkTrace

func (client *WebAppsClient) BeginStartNetworkTrace(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientBeginStartNetworkTraceOptions) (*runtime.Poller[WebAppsClientStartNetworkTraceResponse], error)

BeginStartNetworkTrace - Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientBeginStartNetworkTraceOptions contains the optional parameters for the WebAppsClient.BeginStartNetworkTrace method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginStartNetworkTrace(ctx,
		"testrg123",
		"SampleApp",
		&armappservice.WebAppsClientBeginStartNetworkTraceOptions{DurationInSeconds: to.Ptr[int32](60),
			MaxFrameLength: nil,
			SasURL:         nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginStartNetworkTraceSlot

func (client *WebAppsClient) BeginStartNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientBeginStartNetworkTraceSlotOptions) (*runtime.Poller[WebAppsClientStartNetworkTraceSlotResponse], error)

BeginStartNetworkTraceSlot - Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBeginStartNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.BeginStartNetworkTraceSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginStartNetworkTraceSlot(ctx,
		"testrg123",
		"SampleApp",
		"Production",
		&armappservice.WebAppsClientBeginStartNetworkTraceSlotOptions{DurationInSeconds: to.Ptr[int32](60),
			MaxFrameLength: nil,
			SasURL:         nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginStartWebSiteNetworkTraceOperation

BeginStartWebSiteNetworkTraceOperation - Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions contains the optional parameters for the WebAppsClient.BeginStartWebSiteNetworkTraceOperation method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginStartWebSiteNetworkTraceOperation(ctx,
		"testrg123",
		"SampleApp",
		&armappservice.WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions{DurationInSeconds: to.Ptr[int32](60),
			MaxFrameLength: nil,
			SasURL:         nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginStartWebSiteNetworkTraceOperationSlot

BeginStartWebSiteNetworkTraceOperationSlot - Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginStartWebSiteNetworkTraceOperationSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StartWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := client.BeginStartWebSiteNetworkTraceOperationSlot(ctx,
		"testrg123",
		"SampleApp",
		"Production",
		&armappservice.WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions{DurationInSeconds: to.Ptr[int32](60),
			MaxFrameLength: nil,
			SasURL:         nil,
		})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) BeginSwapSlot

func (client *WebAppsClient) BeginSwapSlot(ctx context.Context, resourceGroupName string, name string, slot string, slotSwapEntity CsmSlotEntity, options *WebAppsClientBeginSwapSlotOptions) (*runtime.Poller[WebAppsClientSwapSlotResponse], error)

BeginSwapSlot - Swaps two deployment slots of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the source slot. If a slot is not specified, the production slot is used as the source slot. slotSwapEntity - JSON object that contains the target slot name. See example. options - WebAppsClientBeginSwapSlotOptions contains the optional parameters for the WebAppsClient.BeginSwapSlot method.

func (*WebAppsClient) BeginSwapSlotWithProduction

func (client *WebAppsClient) BeginSwapSlotWithProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, options *WebAppsClientBeginSwapSlotWithProductionOptions) (*runtime.Poller[WebAppsClientSwapSlotWithProductionResponse], error)

BeginSwapSlotWithProduction - Swaps two deployment slots of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientBeginSwapSlotWithProductionOptions contains the optional parameters for the WebAppsClient.BeginSwapSlotWithProduction method.

func (*WebAppsClient) CreateDeployment

func (client *WebAppsClient) CreateDeployment(ctx context.Context, resourceGroupName string, name string, id string, deployment Deployment, options *WebAppsClientCreateDeploymentOptions) (WebAppsClientCreateDeploymentResponse, error)

CreateDeployment - Create a deployment for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateDeploymentOptions contains the optional parameters for the WebAppsClient.CreateDeployment method.

func (*WebAppsClient) CreateDeploymentSlot

func (client *WebAppsClient) CreateDeploymentSlot(ctx context.Context, resourceGroupName string, name string, id string, slot string, deployment Deployment, options *WebAppsClientCreateDeploymentSlotOptions) (WebAppsClientCreateDeploymentSlotResponse, error)

CreateDeploymentSlot - Create a deployment for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateDeploymentSlotOptions contains the optional parameters for the WebAppsClient.CreateDeploymentSlot method.

func (*WebAppsClient) CreateOneDeployOperation added in v0.2.0

func (client *WebAppsClient) CreateOneDeployOperation(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientCreateOneDeployOperationOptions) (WebAppsClientCreateOneDeployOperationResponse, error)

CreateOneDeployOperation - Invoke the OneDeploy publish web app extension. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientCreateOneDeployOperationOptions contains the optional parameters for the WebAppsClient.CreateOneDeployOperation method.

func (*WebAppsClient) CreateOrUpdateConfiguration

func (client *WebAppsClient) CreateOrUpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, options *WebAppsClientCreateOrUpdateConfigurationOptions) (WebAppsClientCreateOrUpdateConfigurationResponse, error)

CreateOrUpdateConfiguration - Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateConfigurationOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateConfiguration method.

func (*WebAppsClient) CreateOrUpdateConfigurationSlot

func (client *WebAppsClient) CreateOrUpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteConfig SiteConfigResource, options *WebAppsClientCreateOrUpdateConfigurationSlotOptions) (WebAppsClientCreateOrUpdateConfigurationSlotResponse, error)

CreateOrUpdateConfigurationSlot - Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update configuration for the production slot. siteConfig - JSON representation of a SiteConfig object. See example. options - WebAppsClientCreateOrUpdateConfigurationSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateConfigurationSlot method.

func (*WebAppsClient) CreateOrUpdateDomainOwnershipIdentifier

func (client *WebAppsClient) CreateOrUpdateDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, options *WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions) (WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse, error)

CreateOrUpdateDomainOwnershipIdentifier - Creates a domain ownership identifier for web app, or updates an existing ownership identifier. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateDomainOwnershipIdentifier method.

func (*WebAppsClient) CreateOrUpdateDomainOwnershipIdentifierSlot

func (client *WebAppsClient) CreateOrUpdateDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string, domainOwnershipIdentifier Identifier, options *WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions) (WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse, error)

CreateOrUpdateDomainOwnershipIdentifierSlot - Creates a domain ownership identifier for web app, or updates an existing ownership identifier. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. domainOwnershipIdentifier - A JSON representation of the domain ownership properties. options - WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateDomainOwnershipIdentifierSlot method.

func (*WebAppsClient) CreateOrUpdateFunctionSecret

func (client *WebAppsClient) CreateOrUpdateFunctionSecret(ctx context.Context, resourceGroupName string, name string, functionName string, keyName string, key KeyInfo, options *WebAppsClientCreateOrUpdateFunctionSecretOptions) (WebAppsClientCreateOrUpdateFunctionSecretResponse, error)

CreateOrUpdateFunctionSecret - Add or update a function secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - The name of the function. keyName - The name of the key. key - The key to create or update options - WebAppsClientCreateOrUpdateFunctionSecretOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateFunctionSecret method.

func (*WebAppsClient) CreateOrUpdateFunctionSecretSlot

func (client *WebAppsClient) CreateOrUpdateFunctionSecretSlot(ctx context.Context, resourceGroupName string, name string, functionName string, keyName string, slot string, key KeyInfo, options *WebAppsClientCreateOrUpdateFunctionSecretSlotOptions) (WebAppsClientCreateOrUpdateFunctionSecretSlotResponse, error)

CreateOrUpdateFunctionSecretSlot - Add or update a function secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - The name of the function. keyName - The name of the key. slot - Name of the deployment slot. key - The key to create or update options - WebAppsClientCreateOrUpdateFunctionSecretSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateFunctionSecretSlot method.

func (*WebAppsClient) CreateOrUpdateHostNameBinding

func (client *WebAppsClient) CreateOrUpdateHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding, options *WebAppsClientCreateOrUpdateHostNameBindingOptions) (WebAppsClientCreateOrUpdateHostNameBindingResponse, error)

CreateOrUpdateHostNameBinding - Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateHostNameBindingOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostNameBinding method.

func (*WebAppsClient) CreateOrUpdateHostNameBindingSlot

func (client *WebAppsClient) CreateOrUpdateHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, hostName string, slot string, hostNameBinding HostNameBinding, options *WebAppsClientCreateOrUpdateHostNameBindingSlotOptions) (WebAppsClientCreateOrUpdateHostNameBindingSlotResponse, error)

CreateOrUpdateHostNameBindingSlot - Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. hostName - Hostname in the hostname binding. slot - Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. hostNameBinding - Binding details. This is the JSON representation of a HostNameBinding object. options - WebAppsClientCreateOrUpdateHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostNameBindingSlot method.

func (*WebAppsClient) CreateOrUpdateHostSecret

func (client *WebAppsClient) CreateOrUpdateHostSecret(ctx context.Context, resourceGroupName string, name string, keyType string, keyName string, key KeyInfo, options *WebAppsClientCreateOrUpdateHostSecretOptions) (WebAppsClientCreateOrUpdateHostSecretResponse, error)

CreateOrUpdateHostSecret - Add or update a host level secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. keyType - The type of host key. keyName - The name of the key. key - The key to create or update options - WebAppsClientCreateOrUpdateHostSecretOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostSecret method.

func (*WebAppsClient) CreateOrUpdateHostSecretSlot

func (client *WebAppsClient) CreateOrUpdateHostSecretSlot(ctx context.Context, resourceGroupName string, name string, keyType string, keyName string, slot string, key KeyInfo, options *WebAppsClientCreateOrUpdateHostSecretSlotOptions) (WebAppsClientCreateOrUpdateHostSecretSlotResponse, error)

CreateOrUpdateHostSecretSlot - Add or update a host level secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. keyType - The type of host key. keyName - The name of the key. slot - Name of the deployment slot. key - The key to create or update options - WebAppsClientCreateOrUpdateHostSecretSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostSecretSlot method.

func (*WebAppsClient) CreateOrUpdateHybridConnection

func (client *WebAppsClient) CreateOrUpdateHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, options *WebAppsClientCreateOrUpdateHybridConnectionOptions) (WebAppsClientCreateOrUpdateHybridConnectionResponse, error)

CreateOrUpdateHybridConnection - Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateHybridConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHybridConnection method.

func (*WebAppsClient) CreateOrUpdateHybridConnectionSlot

func (client *WebAppsClient) CreateOrUpdateHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string, connectionEnvelope HybridConnection, options *WebAppsClientCreateOrUpdateHybridConnectionSlotOptions) (WebAppsClientCreateOrUpdateHybridConnectionSlotResponse, error)

CreateOrUpdateHybridConnectionSlot - Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. connectionEnvelope - The details of the hybrid connection. options - WebAppsClientCreateOrUpdateHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHybridConnectionSlot method.

func (*WebAppsClient) CreateOrUpdatePublicCertificate

func (client *WebAppsClient) CreateOrUpdatePublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate, options *WebAppsClientCreateOrUpdatePublicCertificateOptions) (WebAppsClientCreateOrUpdatePublicCertificateResponse, error)

CreateOrUpdatePublicCertificate - Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdatePublicCertificateOptions contains the optional parameters for the WebAppsClient.CreateOrUpdatePublicCertificate method.

func (*WebAppsClient) CreateOrUpdatePublicCertificateSlot

func (client *WebAppsClient) CreateOrUpdatePublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, slot string, publicCertificate PublicCertificate, options *WebAppsClientCreateOrUpdatePublicCertificateSlotOptions) (WebAppsClientCreateOrUpdatePublicCertificateSlotResponse, error)

CreateOrUpdatePublicCertificateSlot - Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. publicCertificateName - Public certificate name. slot - Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. publicCertificate - Public certificate details. This is the JSON representation of a PublicCertificate object. options - WebAppsClientCreateOrUpdatePublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdatePublicCertificateSlot method.

func (*WebAppsClient) CreateOrUpdateRelayServiceConnection

func (client *WebAppsClient) CreateOrUpdateRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, options *WebAppsClientCreateOrUpdateRelayServiceConnectionOptions) (WebAppsClientCreateOrUpdateRelayServiceConnectionResponse, error)

CreateOrUpdateRelayServiceConnection - Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateRelayServiceConnection method.

func (*WebAppsClient) CreateOrUpdateRelayServiceConnectionSlot

func (client *WebAppsClient) CreateOrUpdateRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string, connectionEnvelope RelayServiceConnectionEntity, options *WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions) (WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse, error)

CreateOrUpdateRelayServiceConnectionSlot - Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 create or update a hybrid connection for the production slot. connectionEnvelope - Details of the hybrid connection configuration. options - WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateRelayServiceConnectionSlot method.

func (*WebAppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck

func (client *WebAppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck(ctx context.Context, resourceGroupName string, name string, connectionEnvelope SwiftVirtualNetwork, options *WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions) (WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse, error)

CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck - Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. connectionEnvelope - Properties of the Virtual Network connection. See example. options - WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck method.

func (*WebAppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot

func (client *WebAppsClient) CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot(ctx context.Context, resourceGroupName string, name string, slot string, connectionEnvelope SwiftVirtualNetwork, options *WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions) (WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse, error)

CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot - Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 add or update connections for the production slot. connectionEnvelope - Properties of the Virtual Network connection. See example. options - WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot method.

func (*WebAppsClient) CreateOrUpdateVnetConnection

func (client *WebAppsClient) CreateOrUpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfoResource, options *WebAppsClientCreateOrUpdateVnetConnectionOptions) (WebAppsClientCreateOrUpdateVnetConnectionResponse, error)

CreateOrUpdateVnetConnection - Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateVnetConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnection method.

func (*WebAppsClient) CreateOrUpdateVnetConnectionGateway

func (client *WebAppsClient) CreateOrUpdateVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, options *WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions) (WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse, error)

CreateOrUpdateVnetConnectionGateway - Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionGateway method.

func (*WebAppsClient) CreateOrUpdateVnetConnectionGatewaySlot

func (client *WebAppsClient) CreateOrUpdateVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, slot string, connectionEnvelope VnetGateway, options *WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions) (WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse, error)

CreateOrUpdateVnetConnectionGatewaySlot - Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 add or update a gateway for the production slot's Virtual Network. connectionEnvelope - The properties to update this gateway with. options - WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionGatewaySlot method.

func (*WebAppsClient) CreateOrUpdateVnetConnectionSlot

func (client *WebAppsClient) CreateOrUpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfoResource, options *WebAppsClientCreateOrUpdateVnetConnectionSlotOptions) (WebAppsClientCreateOrUpdateVnetConnectionSlotResponse, error)

CreateOrUpdateVnetConnectionSlot - Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. vnetName - Name of an existing Virtual Network. slot - Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. connectionEnvelope - Properties of the Virtual Network connection. See example. options - WebAppsClientCreateOrUpdateVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionSlot method.

func (*WebAppsClient) Delete

func (client *WebAppsClient) Delete(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeleteOptions) (WebAppsClientDeleteResponse, error)

Delete - Deletes a web, mobile, or API app, or one of the deployment slots. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app to delete. options - WebAppsClientDeleteOptions contains the optional parameters for the WebAppsClient.Delete method.

func (*WebAppsClient) DeleteBackup

func (client *WebAppsClient) DeleteBackup(ctx context.Context, resourceGroupName string, name string, backupID string, options *WebAppsClientDeleteBackupOptions) (WebAppsClientDeleteBackupResponse, error)

DeleteBackup - Deletes a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. backupID - ID of the backup. options - WebAppsClientDeleteBackupOptions contains the optional parameters for the WebAppsClient.DeleteBackup method.

func (*WebAppsClient) DeleteBackupConfiguration

func (client *WebAppsClient) DeleteBackupConfiguration(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeleteBackupConfigurationOptions) (WebAppsClientDeleteBackupConfigurationResponse, error)

DeleteBackupConfiguration - Deletes the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientDeleteBackupConfigurationOptions contains the optional parameters for the WebAppsClient.DeleteBackupConfiguration method.

func (*WebAppsClient) DeleteBackupConfigurationSlot

func (client *WebAppsClient) DeleteBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientDeleteBackupConfigurationSlotOptions) (WebAppsClientDeleteBackupConfigurationSlotResponse, error)

DeleteBackupConfigurationSlot - Deletes the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.DeleteBackupConfigurationSlot method.

func (*WebAppsClient) DeleteBackupSlot

func (client *WebAppsClient) DeleteBackupSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string, options *WebAppsClientDeleteBackupSlotOptions) (WebAppsClientDeleteBackupSlotResponse, error)

DeleteBackupSlot - Deletes a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteBackupSlotOptions contains the optional parameters for the WebAppsClient.DeleteBackupSlot method.

func (*WebAppsClient) DeleteContinuousWebJob

func (client *WebAppsClient) DeleteContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientDeleteContinuousWebJobOptions) (WebAppsClientDeleteContinuousWebJobResponse, error)

DeleteContinuousWebJob - Delete a continuous web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientDeleteContinuousWebJobOptions contains the optional parameters for the WebAppsClient.DeleteContinuousWebJob method.

func (*WebAppsClient) DeleteContinuousWebJobSlot

func (client *WebAppsClient) DeleteContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientDeleteContinuousWebJobSlotOptions) (WebAppsClientDeleteContinuousWebJobSlotResponse, error)

DeleteContinuousWebJobSlot - Delete a continuous web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.DeleteContinuousWebJobSlot method.

func (*WebAppsClient) DeleteDeployment

func (client *WebAppsClient) DeleteDeployment(ctx context.Context, resourceGroupName string, name string, id string, options *WebAppsClientDeleteDeploymentOptions) (WebAppsClientDeleteDeploymentResponse, error)

DeleteDeployment - Delete a deployment by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. id - Deployment ID. options - WebAppsClientDeleteDeploymentOptions contains the optional parameters for the WebAppsClient.DeleteDeployment method.

func (*WebAppsClient) DeleteDeploymentSlot

func (client *WebAppsClient) DeleteDeploymentSlot(ctx context.Context, resourceGroupName string, name string, id string, slot string, options *WebAppsClientDeleteDeploymentSlotOptions) (WebAppsClientDeleteDeploymentSlotResponse, error)

DeleteDeploymentSlot - Delete a deployment by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteDeploymentSlotOptions contains the optional parameters for the WebAppsClient.DeleteDeploymentSlot method.

func (*WebAppsClient) DeleteDomainOwnershipIdentifier

func (client *WebAppsClient) DeleteDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, options *WebAppsClientDeleteDomainOwnershipIdentifierOptions) (WebAppsClientDeleteDomainOwnershipIdentifierResponse, error)

DeleteDomainOwnershipIdentifier - Deletes a domain ownership identifier for a web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. domainOwnershipIdentifierName - Name of domain ownership identifier. options - WebAppsClientDeleteDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.DeleteDomainOwnershipIdentifier method.

func (*WebAppsClient) DeleteDomainOwnershipIdentifierSlot

func (client *WebAppsClient) DeleteDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string, options *WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions) (WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse, error)

DeleteDomainOwnershipIdentifierSlot - Deletes a domain ownership identifier for a web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.DeleteDomainOwnershipIdentifierSlot method.

func (*WebAppsClient) DeleteFunction

func (client *WebAppsClient) DeleteFunction(ctx context.Context, resourceGroupName string, name string, functionName string, options *WebAppsClientDeleteFunctionOptions) (WebAppsClientDeleteFunctionResponse, error)

DeleteFunction - Delete a function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. options - WebAppsClientDeleteFunctionOptions contains the optional parameters for the WebAppsClient.DeleteFunction method.

func (*WebAppsClient) DeleteFunctionSecret

func (client *WebAppsClient) DeleteFunctionSecret(ctx context.Context, resourceGroupName string, name string, functionName string, keyName string, options *WebAppsClientDeleteFunctionSecretOptions) (WebAppsClientDeleteFunctionSecretResponse, error)

DeleteFunctionSecret - Delete a function secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - The name of the function. keyName - The name of the key. options - WebAppsClientDeleteFunctionSecretOptions contains the optional parameters for the WebAppsClient.DeleteFunctionSecret method.

func (*WebAppsClient) DeleteFunctionSecretSlot

func (client *WebAppsClient) DeleteFunctionSecretSlot(ctx context.Context, resourceGroupName string, name string, functionName string, keyName string, slot string, options *WebAppsClientDeleteFunctionSecretSlotOptions) (WebAppsClientDeleteFunctionSecretSlotResponse, error)

DeleteFunctionSecretSlot - Delete a function secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - The name of the function. keyName - The name of the key. slot - Name of the deployment slot. options - WebAppsClientDeleteFunctionSecretSlotOptions contains the optional parameters for the WebAppsClient.DeleteFunctionSecretSlot method.

func (*WebAppsClient) DeleteHostNameBinding

func (client *WebAppsClient) DeleteHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string, options *WebAppsClientDeleteHostNameBindingOptions) (WebAppsClientDeleteHostNameBindingResponse, error)

DeleteHostNameBinding - Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. hostName - Hostname in the hostname binding. options - WebAppsClientDeleteHostNameBindingOptions contains the optional parameters for the WebAppsClient.DeleteHostNameBinding method.

func (*WebAppsClient) DeleteHostNameBindingSlot

func (client *WebAppsClient) DeleteHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string, options *WebAppsClientDeleteHostNameBindingSlotOptions) (WebAppsClientDeleteHostNameBindingSlotResponse, error)

DeleteHostNameBindingSlot - Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.DeleteHostNameBindingSlot method.

func (*WebAppsClient) DeleteHostSecret

func (client *WebAppsClient) DeleteHostSecret(ctx context.Context, resourceGroupName string, name string, keyType string, keyName string, options *WebAppsClientDeleteHostSecretOptions) (WebAppsClientDeleteHostSecretResponse, error)

DeleteHostSecret - Delete a host level secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. keyType - The type of host key. keyName - The name of the key. options - WebAppsClientDeleteHostSecretOptions contains the optional parameters for the WebAppsClient.DeleteHostSecret method.

func (*WebAppsClient) DeleteHostSecretSlot

func (client *WebAppsClient) DeleteHostSecretSlot(ctx context.Context, resourceGroupName string, name string, keyType string, keyName string, slot string, options *WebAppsClientDeleteHostSecretSlotOptions) (WebAppsClientDeleteHostSecretSlotResponse, error)

DeleteHostSecretSlot - Delete a host level secret. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. keyType - The type of host key. keyName - The name of the key. slot - Name of the deployment slot. options - WebAppsClientDeleteHostSecretSlotOptions contains the optional parameters for the WebAppsClient.DeleteHostSecretSlot method.

func (*WebAppsClient) DeleteHybridConnection

func (client *WebAppsClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *WebAppsClientDeleteHybridConnectionOptions) (WebAppsClientDeleteHybridConnectionResponse, error)

DeleteHybridConnection - Removes a Hybrid Connection from this site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteHybridConnectionOptions contains the optional parameters for the WebAppsClient.DeleteHybridConnection method.

func (*WebAppsClient) DeleteHybridConnectionSlot

func (client *WebAppsClient) DeleteHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string, options *WebAppsClientDeleteHybridConnectionSlotOptions) (WebAppsClientDeleteHybridConnectionSlotResponse, error)

DeleteHybridConnectionSlot - Removes a Hybrid Connection from this site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteHybridConnectionSlot method.

func (*WebAppsClient) DeleteInstanceFunctionSlot

func (client *WebAppsClient) DeleteInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, options *WebAppsClientDeleteInstanceFunctionSlotOptions) (WebAppsClientDeleteInstanceFunctionSlotResponse, error)

DeleteInstanceFunctionSlot - Delete a function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. slot - Name of the deployment slot. options - WebAppsClientDeleteInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.DeleteInstanceFunctionSlot method.

func (*WebAppsClient) DeleteInstanceProcess

func (client *WebAppsClient) DeleteInstanceProcess(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientDeleteInstanceProcessOptions) (WebAppsClientDeleteInstanceProcessResponse, 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. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientDeleteInstanceProcessOptions contains the optional parameters for the WebAppsClient.DeleteInstanceProcess method.

func (*WebAppsClient) DeleteInstanceProcessSlot

func (client *WebAppsClient) DeleteInstanceProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientDeleteInstanceProcessSlotOptions) (WebAppsClientDeleteInstanceProcessSlotResponse, 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. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientDeleteInstanceProcessSlotOptions contains the optional parameters for the WebAppsClient.DeleteInstanceProcessSlot method.

func (*WebAppsClient) DeletePremierAddOn

func (client *WebAppsClient) DeletePremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, options *WebAppsClientDeletePremierAddOnOptions) (WebAppsClientDeletePremierAddOnResponse, error)

DeletePremierAddOn - Delete a premier add-on from an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. premierAddOnName - Add-on name. options - WebAppsClientDeletePremierAddOnOptions contains the optional parameters for the WebAppsClient.DeletePremierAddOn method.

func (*WebAppsClient) DeletePremierAddOnSlot

func (client *WebAppsClient) DeletePremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string, options *WebAppsClientDeletePremierAddOnSlotOptions) (WebAppsClientDeletePremierAddOnSlotResponse, error)

DeletePremierAddOnSlot - Delete a premier add-on from an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeletePremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.DeletePremierAddOnSlot method.

func (*WebAppsClient) DeleteProcess

func (client *WebAppsClient) DeleteProcess(ctx context.Context, resourceGroupName string, name string, processID string, options *WebAppsClientDeleteProcessOptions) (WebAppsClientDeleteProcessResponse, 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. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. processID - PID. options - WebAppsClientDeleteProcessOptions contains the optional parameters for the WebAppsClient.DeleteProcess method.

func (*WebAppsClient) DeleteProcessSlot

func (client *WebAppsClient) DeleteProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, options *WebAppsClientDeleteProcessSlotOptions) (WebAppsClientDeleteProcessSlotResponse, 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. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteProcessSlotOptions contains the optional parameters for the WebAppsClient.DeleteProcessSlot method.

func (*WebAppsClient) DeletePublicCertificate

func (client *WebAppsClient) DeletePublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, options *WebAppsClientDeletePublicCertificateOptions) (WebAppsClientDeletePublicCertificateResponse, error)

DeletePublicCertificate - Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. publicCertificateName - Public certificate name. options - WebAppsClientDeletePublicCertificateOptions contains the optional parameters for the WebAppsClient.DeletePublicCertificate method.

func (*WebAppsClient) DeletePublicCertificateSlot

func (client *WebAppsClient) DeletePublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string, options *WebAppsClientDeletePublicCertificateSlotOptions) (WebAppsClientDeletePublicCertificateSlotResponse, error)

DeletePublicCertificateSlot - Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeletePublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.DeletePublicCertificateSlot method.

func (*WebAppsClient) DeleteRelayServiceConnection

func (client *WebAppsClient) DeleteRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, options *WebAppsClientDeleteRelayServiceConnectionOptions) (WebAppsClientDeleteRelayServiceConnectionResponse, error)

DeleteRelayServiceConnection - Deletes a relay service connection by its name. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. entityName - Name of the hybrid connection configuration. options - WebAppsClientDeleteRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.DeleteRelayServiceConnection method.

func (*WebAppsClient) DeleteRelayServiceConnectionSlot

func (client *WebAppsClient) DeleteRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string, options *WebAppsClientDeleteRelayServiceConnectionSlotOptions) (WebAppsClientDeleteRelayServiceConnectionSlotResponse, error)

DeleteRelayServiceConnectionSlot - Deletes a relay service connection by its name. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteRelayServiceConnectionSlot method.

func (*WebAppsClient) DeleteSiteExtension

func (client *WebAppsClient) DeleteSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, options *WebAppsClientDeleteSiteExtensionOptions) (WebAppsClientDeleteSiteExtensionResponse, error)

DeleteSiteExtension - Remove a site extension from a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. siteExtensionID - Site extension name. options - WebAppsClientDeleteSiteExtensionOptions contains the optional parameters for the WebAppsClient.DeleteSiteExtension method.

func (*WebAppsClient) DeleteSiteExtensionSlot

func (client *WebAppsClient) DeleteSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string, options *WebAppsClientDeleteSiteExtensionSlotOptions) (WebAppsClientDeleteSiteExtensionSlotResponse, error)

DeleteSiteExtensionSlot - Remove a site extension from a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.DeleteSiteExtensionSlot method.

func (*WebAppsClient) DeleteSlot

func (client *WebAppsClient) DeleteSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientDeleteSlotOptions) (WebAppsClientDeleteSlotResponse, error)

DeleteSlot - Deletes a web, mobile, or API app, or one of the deployment slots. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteSlotOptions contains the optional parameters for the WebAppsClient.DeleteSlot method.

func (*WebAppsClient) DeleteSourceControl

func (client *WebAppsClient) DeleteSourceControl(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeleteSourceControlOptions) (WebAppsClientDeleteSourceControlResponse, error)

DeleteSourceControl - Deletes the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientDeleteSourceControlOptions contains the optional parameters for the WebAppsClient.DeleteSourceControl method.

func (*WebAppsClient) DeleteSourceControlSlot

func (client *WebAppsClient) DeleteSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientDeleteSourceControlSlotOptions) (WebAppsClientDeleteSourceControlSlotResponse, error)

DeleteSourceControlSlot - Deletes the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteSourceControlSlotOptions contains the optional parameters for the WebAppsClient.DeleteSourceControlSlot method.

func (*WebAppsClient) DeleteSwiftVirtualNetwork

func (client *WebAppsClient) DeleteSwiftVirtualNetwork(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeleteSwiftVirtualNetworkOptions) (WebAppsClientDeleteSwiftVirtualNetworkResponse, error)

DeleteSwiftVirtualNetwork - Deletes a Swift Virtual Network connection from an app (or deployment slot). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientDeleteSwiftVirtualNetworkOptions contains the optional parameters for the WebAppsClient.DeleteSwiftVirtualNetwork method.

func (*WebAppsClient) DeleteSwiftVirtualNetworkSlot

func (client *WebAppsClient) DeleteSwiftVirtualNetworkSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientDeleteSwiftVirtualNetworkSlotOptions) (WebAppsClientDeleteSwiftVirtualNetworkSlotResponse, error)

DeleteSwiftVirtualNetworkSlot - Deletes a Swift Virtual Network connection from an app (or deployment slot). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 connection for the production slot. options - WebAppsClientDeleteSwiftVirtualNetworkSlotOptions contains the optional parameters for the WebAppsClient.DeleteSwiftVirtualNetworkSlot method.

func (*WebAppsClient) DeleteTriggeredWebJob

func (client *WebAppsClient) DeleteTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientDeleteTriggeredWebJobOptions) (WebAppsClientDeleteTriggeredWebJobResponse, error)

DeleteTriggeredWebJob - Delete a triggered web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientDeleteTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.DeleteTriggeredWebJob method.

func (*WebAppsClient) DeleteTriggeredWebJobSlot

func (client *WebAppsClient) DeleteTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientDeleteTriggeredWebJobSlotOptions) (WebAppsClientDeleteTriggeredWebJobSlotResponse, error)

DeleteTriggeredWebJobSlot - Delete a triggered web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 web job for the production slot. options - WebAppsClientDeleteTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.DeleteTriggeredWebJobSlot method.

func (*WebAppsClient) DeleteVnetConnection

func (client *WebAppsClient) DeleteVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, options *WebAppsClientDeleteVnetConnectionOptions) (WebAppsClientDeleteVnetConnectionResponse, error)

DeleteVnetConnection - Deletes a connection from an app (or deployment slot to a named virtual network. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. vnetName - Name of the virtual network. options - WebAppsClientDeleteVnetConnectionOptions contains the optional parameters for the WebAppsClient.DeleteVnetConnection method.

func (*WebAppsClient) DeleteVnetConnectionSlot

func (client *WebAppsClient) DeleteVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, options *WebAppsClientDeleteVnetConnectionSlotOptions) (WebAppsClientDeleteVnetConnectionSlotResponse, error)

DeleteVnetConnectionSlot - Deletes a connection from an app (or deployment slot to a named virtual network. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDeleteVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteVnetConnectionSlot method.

func (*WebAppsClient) DiscoverBackup

func (client *WebAppsClient) DiscoverBackup(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, options *WebAppsClientDiscoverBackupOptions) (WebAppsClientDiscoverBackupResponse, error)

DiscoverBackup - Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientDiscoverBackupOptions contains the optional parameters for the WebAppsClient.DiscoverBackup method.

func (*WebAppsClient) DiscoverBackupSlot

func (client *WebAppsClient) DiscoverBackupSlot(ctx context.Context, resourceGroupName string, name string, slot string, request RestoreRequest, options *WebAppsClientDiscoverBackupSlotOptions) (WebAppsClientDiscoverBackupSlotResponse, error)

DiscoverBackupSlot - Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 perform discovery for the production slot. request - A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. options - WebAppsClientDiscoverBackupSlotOptions contains the optional parameters for the WebAppsClient.DiscoverBackupSlot method.

func (*WebAppsClient) GenerateNewSitePublishingPassword

func (client *WebAppsClient) GenerateNewSitePublishingPassword(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGenerateNewSitePublishingPasswordOptions) (WebAppsClientGenerateNewSitePublishingPasswordResponse, error)

GenerateNewSitePublishingPassword - Generates a new publishing password for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGenerateNewSitePublishingPasswordOptions contains the optional parameters for the WebAppsClient.GenerateNewSitePublishingPassword method.

func (*WebAppsClient) GenerateNewSitePublishingPasswordSlot

func (client *WebAppsClient) GenerateNewSitePublishingPasswordSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGenerateNewSitePublishingPasswordSlotOptions) (WebAppsClientGenerateNewSitePublishingPasswordSlotResponse, error)

GenerateNewSitePublishingPasswordSlot - Generates a new publishing password for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGenerateNewSitePublishingPasswordSlotOptions contains the optional parameters for the WebAppsClient.GenerateNewSitePublishingPasswordSlot method.

func (*WebAppsClient) Get

func (client *WebAppsClient) Get(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetOptions) (WebAppsClientGetResponse, error)

Get - Gets the details of a web, mobile, or API app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetOptions contains the optional parameters for the WebAppsClient.Get method.

func (*WebAppsClient) GetAppSettingKeyVaultReference

func (client *WebAppsClient) GetAppSettingKeyVaultReference(ctx context.Context, resourceGroupName string, name string, appSettingKey string, options *WebAppsClientGetAppSettingKeyVaultReferenceOptions) (WebAppsClientGetAppSettingKeyVaultReferenceResponse, error)

GetAppSettingKeyVaultReference - Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. appSettingKey - App Setting key name. options - WebAppsClientGetAppSettingKeyVaultReferenceOptions contains the optional parameters for the WebAppsClient.GetAppSettingKeyVaultReference method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSetting.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetAppSettingKeyVaultReference(ctx,
		"testrg123",
		"testc6282",
		"setting",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetAppSettingKeyVaultReferenceSlot

func (client *WebAppsClient) GetAppSettingKeyVaultReferenceSlot(ctx context.Context, resourceGroupName string, name string, appSettingKey string, slot string, options *WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions) (WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse, error)

GetAppSettingKeyVaultReferenceSlot - Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. appSettingKey - App Setting key name. options - WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions contains the optional parameters for the WebAppsClient.GetAppSettingKeyVaultReferenceSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSettingSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetAppSettingKeyVaultReferenceSlot(ctx,
		"testrg123",
		"testc6282",
		"setting",
		"stage",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetAuthSettings

func (client *WebAppsClient) GetAuthSettings(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetAuthSettingsOptions) (WebAppsClientGetAuthSettingsResponse, error)

GetAuthSettings - Gets the Authentication/Authorization settings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetAuthSettingsOptions contains the optional parameters for the WebAppsClient.GetAuthSettings method.

func (*WebAppsClient) GetAuthSettingsSlot

func (client *WebAppsClient) GetAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetAuthSettingsSlotOptions) (WebAppsClientGetAuthSettingsSlotResponse, error)

GetAuthSettingsSlot - Gets the Authentication/Authorization settings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetAuthSettingsSlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsSlot method.

func (*WebAppsClient) GetAuthSettingsV2

func (client *WebAppsClient) GetAuthSettingsV2(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetAuthSettingsV2Options) (WebAppsClientGetAuthSettingsV2Response, error)

GetAuthSettingsV2 - Gets site's Authentication / Authorization settings for apps via the V2 format If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetAuthSettingsV2Options contains the optional parameters for the WebAppsClient.GetAuthSettingsV2 method.

func (*WebAppsClient) GetAuthSettingsV2Slot

func (client *WebAppsClient) GetAuthSettingsV2Slot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetAuthSettingsV2SlotOptions) (WebAppsClientGetAuthSettingsV2SlotResponse, error)

GetAuthSettingsV2Slot - Gets site's Authentication / Authorization settings for apps via the V2 format If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetAuthSettingsV2SlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2Slot method.

func (*WebAppsClient) GetAuthSettingsV2WithoutSecrets added in v0.2.0

func (client *WebAppsClient) GetAuthSettingsV2WithoutSecrets(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetAuthSettingsV2WithoutSecretsOptions) (WebAppsClientGetAuthSettingsV2WithoutSecretsResponse, error)

GetAuthSettingsV2WithoutSecrets - Gets site's Authentication / Authorization settings for apps via the V2 format If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetAuthSettingsV2WithoutSecretsOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2WithoutSecrets method.

func (*WebAppsClient) GetAuthSettingsV2WithoutSecretsSlot added in v0.3.0

func (client *WebAppsClient) GetAuthSettingsV2WithoutSecretsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions) (WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse, error)

GetAuthSettingsV2WithoutSecretsSlot - Gets site's Authentication / Authorization settings for apps via the V2 format If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2WithoutSecretsSlot method.

func (*WebAppsClient) GetBackupConfiguration

func (client *WebAppsClient) GetBackupConfiguration(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetBackupConfigurationOptions) (WebAppsClientGetBackupConfigurationResponse, error)

GetBackupConfiguration - Gets the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetBackupConfigurationOptions contains the optional parameters for the WebAppsClient.GetBackupConfiguration method.

func (*WebAppsClient) GetBackupConfigurationSlot

func (client *WebAppsClient) GetBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetBackupConfigurationSlotOptions) (WebAppsClientGetBackupConfigurationSlotResponse, error)

GetBackupConfigurationSlot - Gets the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetBackupConfigurationSlot method.

func (*WebAppsClient) GetBackupStatus

func (client *WebAppsClient) GetBackupStatus(ctx context.Context, resourceGroupName string, name string, backupID string, options *WebAppsClientGetBackupStatusOptions) (WebAppsClientGetBackupStatusResponse, error)

GetBackupStatus - Gets a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. backupID - ID of the backup. options - WebAppsClientGetBackupStatusOptions contains the optional parameters for the WebAppsClient.GetBackupStatus method.

func (*WebAppsClient) GetBackupStatusSlot

func (client *WebAppsClient) GetBackupStatusSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string, options *WebAppsClientGetBackupStatusSlotOptions) (WebAppsClientGetBackupStatusSlotResponse, error)

GetBackupStatusSlot - Gets a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetBackupStatusSlotOptions contains the optional parameters for the WebAppsClient.GetBackupStatusSlot method.

func (*WebAppsClient) GetConfiguration

func (client *WebAppsClient) GetConfiguration(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetConfigurationOptions) (WebAppsClientGetConfigurationResponse, error)

GetConfiguration - Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetConfigurationOptions contains the optional parameters for the WebAppsClient.GetConfiguration method.

func (*WebAppsClient) GetConfigurationSlot

func (client *WebAppsClient) GetConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetConfigurationSlotOptions) (WebAppsClientGetConfigurationSlotResponse, error)

GetConfigurationSlot - Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSlot method.

func (*WebAppsClient) GetConfigurationSnapshot

func (client *WebAppsClient) GetConfigurationSnapshot(ctx context.Context, resourceGroupName string, name string, snapshotID string, options *WebAppsClientGetConfigurationSnapshotOptions) (WebAppsClientGetConfigurationSnapshotResponse, error)

GetConfigurationSnapshot - Gets a snapshot of the configuration of an app at a previous point in time. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. snapshotID - The ID of the snapshot to read. options - WebAppsClientGetConfigurationSnapshotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSnapshot method.

func (*WebAppsClient) GetConfigurationSnapshotSlot

func (client *WebAppsClient) GetConfigurationSnapshotSlot(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string, options *WebAppsClientGetConfigurationSnapshotSlotOptions) (WebAppsClientGetConfigurationSnapshotSlotResponse, error)

GetConfigurationSnapshotSlot - Gets a snapshot of the configuration of an app at a previous point in time. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetConfigurationSnapshotSlotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSnapshotSlot method.

func (*WebAppsClient) GetContainerLogsZip

func (client *WebAppsClient) GetContainerLogsZip(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetContainerLogsZipOptions) (WebAppsClientGetContainerLogsZipResponse, error)

GetContainerLogsZip - Gets the ZIP archived docker log files for the given site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetContainerLogsZipOptions contains the optional parameters for the WebAppsClient.GetContainerLogsZip method.

func (*WebAppsClient) GetContainerLogsZipSlot

func (client *WebAppsClient) GetContainerLogsZipSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetContainerLogsZipSlotOptions) (WebAppsClientGetContainerLogsZipSlotResponse, error)

GetContainerLogsZipSlot - Gets the ZIP archived docker log files for the given site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetContainerLogsZipSlotOptions contains the optional parameters for the WebAppsClient.GetContainerLogsZipSlot method.

func (*WebAppsClient) GetContinuousWebJob

func (client *WebAppsClient) GetContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientGetContinuousWebJobOptions) (WebAppsClientGetContinuousWebJobResponse, error)

GetContinuousWebJob - Gets a continuous web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientGetContinuousWebJobOptions contains the optional parameters for the WebAppsClient.GetContinuousWebJob method.

func (*WebAppsClient) GetContinuousWebJobSlot

func (client *WebAppsClient) GetContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientGetContinuousWebJobSlotOptions) (WebAppsClientGetContinuousWebJobSlotResponse, error)

GetContinuousWebJobSlot - Gets a continuous web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetContinuousWebJobSlot method.

func (*WebAppsClient) GetDeployment

func (client *WebAppsClient) GetDeployment(ctx context.Context, resourceGroupName string, name string, id string, options *WebAppsClientGetDeploymentOptions) (WebAppsClientGetDeploymentResponse, error)

GetDeployment - Get a deployment by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. id - Deployment ID. options - WebAppsClientGetDeploymentOptions contains the optional parameters for the WebAppsClient.GetDeployment method.

func (*WebAppsClient) GetDeploymentSlot

func (client *WebAppsClient) GetDeploymentSlot(ctx context.Context, resourceGroupName string, name string, id string, slot string, options *WebAppsClientGetDeploymentSlotOptions) (WebAppsClientGetDeploymentSlotResponse, error)

GetDeploymentSlot - Get a deployment by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetDeploymentSlotOptions contains the optional parameters for the WebAppsClient.GetDeploymentSlot method.

func (*WebAppsClient) GetDiagnosticLogsConfiguration

func (client *WebAppsClient) GetDiagnosticLogsConfiguration(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetDiagnosticLogsConfigurationOptions) (WebAppsClientGetDiagnosticLogsConfigurationResponse, error)

GetDiagnosticLogsConfiguration - Gets the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetDiagnosticLogsConfigurationOptions contains the optional parameters for the WebAppsClient.GetDiagnosticLogsConfiguration method.

func (*WebAppsClient) GetDiagnosticLogsConfigurationSlot

func (client *WebAppsClient) GetDiagnosticLogsConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetDiagnosticLogsConfigurationSlotOptions) (WebAppsClientGetDiagnosticLogsConfigurationSlotResponse, error)

GetDiagnosticLogsConfigurationSlot - Gets the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetDiagnosticLogsConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetDiagnosticLogsConfigurationSlot method.

func (*WebAppsClient) GetDomainOwnershipIdentifier

func (client *WebAppsClient) GetDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, options *WebAppsClientGetDomainOwnershipIdentifierOptions) (WebAppsClientGetDomainOwnershipIdentifierResponse, error)

GetDomainOwnershipIdentifier - Get domain ownership identifier for web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. domainOwnershipIdentifierName - Name of domain ownership identifier. options - WebAppsClientGetDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.GetDomainOwnershipIdentifier method.

func (*WebAppsClient) GetDomainOwnershipIdentifierSlot

func (client *WebAppsClient) GetDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string, options *WebAppsClientGetDomainOwnershipIdentifierSlotOptions) (WebAppsClientGetDomainOwnershipIdentifierSlotResponse, error)

GetDomainOwnershipIdentifierSlot - Get domain ownership identifier for web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.GetDomainOwnershipIdentifierSlot method.

func (*WebAppsClient) GetFtpAllowed

func (client *WebAppsClient) GetFtpAllowed(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetFtpAllowedOptions) (WebAppsClientGetFtpAllowedResponse, error)

GetFtpAllowed - Returns whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetFtpAllowedOptions contains the optional parameters for the WebAppsClient.GetFtpAllowed method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicy.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetFtpAllowed(ctx,
		"rg",
		"testSite",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetFtpAllowedSlot

func (client *WebAppsClient) GetFtpAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetFtpAllowedSlotOptions) (WebAppsClientGetFtpAllowedSlotResponse, error)

GetFtpAllowedSlot - Returns whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetFtpAllowedSlotOptions contains the optional parameters for the WebAppsClient.GetFtpAllowedSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicySlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetFtpAllowedSlot(ctx,
		"rg",
		"testSite",
		"stage",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetFunction

func (client *WebAppsClient) GetFunction(ctx context.Context, resourceGroupName string, name string, functionName string, options *WebAppsClientGetFunctionOptions) (WebAppsClientGetFunctionResponse, error)

GetFunction - Get function information by its ID for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. options - WebAppsClientGetFunctionOptions contains the optional parameters for the WebAppsClient.GetFunction method.

func (*WebAppsClient) GetFunctionsAdminToken

func (client *WebAppsClient) GetFunctionsAdminToken(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetFunctionsAdminTokenOptions) (WebAppsClientGetFunctionsAdminTokenResponse, error)

GetFunctionsAdminToken - Fetch a short lived token that can be exchanged for a master key. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetFunctionsAdminTokenOptions contains the optional parameters for the WebAppsClient.GetFunctionsAdminToken method.

func (*WebAppsClient) GetFunctionsAdminTokenSlot

func (client *WebAppsClient) GetFunctionsAdminTokenSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetFunctionsAdminTokenSlotOptions) (WebAppsClientGetFunctionsAdminTokenSlotResponse, error)

GetFunctionsAdminTokenSlot - Fetch a short lived token that can be exchanged for a master key. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetFunctionsAdminTokenSlotOptions contains the optional parameters for the WebAppsClient.GetFunctionsAdminTokenSlot method.

func (*WebAppsClient) GetHostNameBinding

func (client *WebAppsClient) GetHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string, options *WebAppsClientGetHostNameBindingOptions) (WebAppsClientGetHostNameBindingResponse, error)

GetHostNameBinding - Get the named hostname binding for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. hostName - Hostname in the hostname binding. options - WebAppsClientGetHostNameBindingOptions contains the optional parameters for the WebAppsClient.GetHostNameBinding method.

func (*WebAppsClient) GetHostNameBindingSlot

func (client *WebAppsClient) GetHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string, options *WebAppsClientGetHostNameBindingSlotOptions) (WebAppsClientGetHostNameBindingSlotResponse, error)

GetHostNameBindingSlot - Get the named hostname binding for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.GetHostNameBindingSlot method.

func (*WebAppsClient) GetHybridConnection

func (client *WebAppsClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *WebAppsClientGetHybridConnectionOptions) (WebAppsClientGetHybridConnectionResponse, error)

GetHybridConnection - Retrieves a specific Service Bus Hybrid Connection used by this Web App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetHybridConnectionOptions contains the optional parameters for the WebAppsClient.GetHybridConnection method.

func (*WebAppsClient) GetHybridConnectionSlot

func (client *WebAppsClient) GetHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string, options *WebAppsClientGetHybridConnectionSlotOptions) (WebAppsClientGetHybridConnectionSlotResponse, error)

GetHybridConnectionSlot - Retrieves a specific Service Bus Hybrid Connection used by this Web App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetHybridConnectionSlot method.

func (*WebAppsClient) GetInstanceFunctionSlot

func (client *WebAppsClient) GetInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, options *WebAppsClientGetInstanceFunctionSlotOptions) (WebAppsClientGetInstanceFunctionSlotResponse, error)

GetInstanceFunctionSlot - Get function information by its ID for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. slot - Name of the deployment slot. options - WebAppsClientGetInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceFunctionSlot method.

func (*WebAppsClient) GetInstanceInfo

func (client *WebAppsClient) GetInstanceInfo(ctx context.Context, resourceGroupName string, name string, instanceID string, options *WebAppsClientGetInstanceInfoOptions) (WebAppsClientGetInstanceInfoResponse, error)

GetInstanceInfo - Gets all scale-out instances of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetInstanceInfoOptions contains the optional parameters for the WebAppsClient.GetInstanceInfo method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSiteInstanceInfo.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetInstanceInfo(ctx,
		"testrg123",
		"tests346",
		"134987120",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetInstanceInfoSlot

func (client *WebAppsClient) GetInstanceInfoSlot(ctx context.Context, resourceGroupName string, name string, instanceID string, slot string, options *WebAppsClientGetInstanceInfoSlotOptions) (WebAppsClientGetInstanceInfoSlotResponse, error)

GetInstanceInfoSlot - Gets all scale-out instances of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetInstanceInfoSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceInfoSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSiteInstanceInfo.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetInstanceInfoSlot(ctx,
		"testrg123",
		"tests346",
		"134987120",
		"staging",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetInstanceMSDeployLog

func (client *WebAppsClient) GetInstanceMSDeployLog(ctx context.Context, resourceGroupName string, name string, instanceID string, options *WebAppsClientGetInstanceMSDeployLogOptions) (WebAppsClientGetInstanceMSDeployLogResponse, error)

GetInstanceMSDeployLog - Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. instanceID - ID of web app instance. options - WebAppsClientGetInstanceMSDeployLogOptions contains the optional parameters for the WebAppsClient.GetInstanceMSDeployLog method.

func (*WebAppsClient) GetInstanceMSDeployLogSlot

func (client *WebAppsClient) GetInstanceMSDeployLogSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, options *WebAppsClientGetInstanceMSDeployLogSlotOptions) (WebAppsClientGetInstanceMSDeployLogSlotResponse, error)

GetInstanceMSDeployLogSlot - Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetInstanceMSDeployLogSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceMSDeployLogSlot method.

func (*WebAppsClient) GetInstanceMsDeployStatus

func (client *WebAppsClient) GetInstanceMsDeployStatus(ctx context.Context, resourceGroupName string, name string, instanceID string, options *WebAppsClientGetInstanceMsDeployStatusOptions) (WebAppsClientGetInstanceMsDeployStatusResponse, error)

GetInstanceMsDeployStatus - Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. instanceID - ID of web app instance. options - WebAppsClientGetInstanceMsDeployStatusOptions contains the optional parameters for the WebAppsClient.GetInstanceMsDeployStatus method.

func (*WebAppsClient) GetInstanceMsDeployStatusSlot

func (client *WebAppsClient) GetInstanceMsDeployStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, options *WebAppsClientGetInstanceMsDeployStatusSlotOptions) (WebAppsClientGetInstanceMsDeployStatusSlotResponse, error)

GetInstanceMsDeployStatusSlot - Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetInstanceMsDeployStatusSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceMsDeployStatusSlot method.

func (*WebAppsClient) GetInstanceProcess

func (client *WebAppsClient) GetInstanceProcess(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientGetInstanceProcessOptions) (WebAppsClientGetInstanceProcessResponse, error)

GetInstanceProcess - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetInstanceProcessOptions contains the optional parameters for the WebAppsClient.GetInstanceProcess method.

func (*WebAppsClient) GetInstanceProcessDump

func (client *WebAppsClient) GetInstanceProcessDump(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientGetInstanceProcessDumpOptions) (WebAppsClientGetInstanceProcessDumpResponse, error)

GetInstanceProcessDump - Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetInstanceProcessDumpOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessDump method.

func (*WebAppsClient) GetInstanceProcessDumpSlot

func (client *WebAppsClient) GetInstanceProcessDumpSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientGetInstanceProcessDumpSlotOptions) (WebAppsClientGetInstanceProcessDumpSlotResponse, error)

GetInstanceProcessDumpSlot - Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetInstanceProcessDumpSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessDumpSlot method.

func (*WebAppsClient) GetInstanceProcessModule

func (client *WebAppsClient) GetInstanceProcessModule(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, instanceID string, options *WebAppsClientGetInstanceProcessModuleOptions) (WebAppsClientGetInstanceProcessModuleResponse, error)

GetInstanceProcessModule - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetInstanceProcessModuleOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessModule method.

func (*WebAppsClient) GetInstanceProcessModuleSlot

func (client *WebAppsClient) GetInstanceProcessModuleSlot(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string, instanceID string, options *WebAppsClientGetInstanceProcessModuleSlotOptions) (WebAppsClientGetInstanceProcessModuleSlotResponse, error)

GetInstanceProcessModuleSlot - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetInstanceProcessModuleSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessModuleSlot method.

func (*WebAppsClient) GetInstanceProcessSlot

func (client *WebAppsClient) GetInstanceProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientGetInstanceProcessSlotOptions) (WebAppsClientGetInstanceProcessSlotResponse, error)

GetInstanceProcessSlot - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetInstanceProcessSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessSlot method.

func (*WebAppsClient) GetMSDeployLog

func (client *WebAppsClient) GetMSDeployLog(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetMSDeployLogOptions) (WebAppsClientGetMSDeployLogResponse, error)

GetMSDeployLog - Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetMSDeployLogOptions contains the optional parameters for the WebAppsClient.GetMSDeployLog method.

func (*WebAppsClient) GetMSDeployLogSlot

func (client *WebAppsClient) GetMSDeployLogSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetMSDeployLogSlotOptions) (WebAppsClientGetMSDeployLogSlotResponse, error)

GetMSDeployLogSlot - Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetMSDeployLogSlotOptions contains the optional parameters for the WebAppsClient.GetMSDeployLogSlot method.

func (*WebAppsClient) GetMSDeployStatus

func (client *WebAppsClient) GetMSDeployStatus(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetMSDeployStatusOptions) (WebAppsClientGetMSDeployStatusResponse, error)

GetMSDeployStatus - Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetMSDeployStatusOptions contains the optional parameters for the WebAppsClient.GetMSDeployStatus method.

func (*WebAppsClient) GetMSDeployStatusSlot

func (client *WebAppsClient) GetMSDeployStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetMSDeployStatusSlotOptions) (WebAppsClientGetMSDeployStatusSlotResponse, error)

GetMSDeployStatusSlot - Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetMSDeployStatusSlotOptions contains the optional parameters for the WebAppsClient.GetMSDeployStatusSlot method.

func (*WebAppsClient) GetMigrateMySQLStatus

func (client *WebAppsClient) GetMigrateMySQLStatus(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetMigrateMySQLStatusOptions) (WebAppsClientGetMigrateMySQLStatusResponse, error)

GetMigrateMySQLStatus - Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetMigrateMySQLStatusOptions contains the optional parameters for the WebAppsClient.GetMigrateMySQLStatus method.

func (*WebAppsClient) GetMigrateMySQLStatusSlot

func (client *WebAppsClient) GetMigrateMySQLStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetMigrateMySQLStatusSlotOptions) (WebAppsClientGetMigrateMySQLStatusSlotResponse, error)

GetMigrateMySQLStatusSlot - Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. slot - Name of the deployment slot. options - WebAppsClientGetMigrateMySQLStatusSlotOptions contains the optional parameters for the WebAppsClient.GetMigrateMySQLStatusSlot method.

func (*WebAppsClient) GetNetworkTraceOperation

func (client *WebAppsClient) GetNetworkTraceOperation(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTraceOperationOptions) (WebAppsClientGetNetworkTraceOperationResponse, error)

GetNetworkTraceOperation - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. options - WebAppsClientGetNetworkTraceOperationOptions contains the optional parameters for the WebAppsClient.GetNetworkTraceOperation method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTraceOperation(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTraceOperationSlot

func (client *WebAppsClient) GetNetworkTraceOperationSlot(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTraceOperationSlotOptions) (WebAppsClientGetNetworkTraceOperationSlotResponse, error)

GetNetworkTraceOperationSlot - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. slot - Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. options - WebAppsClientGetNetworkTraceOperationSlotOptions contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTraceOperationSlot(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTraceOperationSlotV2

func (client *WebAppsClient) GetNetworkTraceOperationSlotV2(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTraceOperationSlotV2Options) (WebAppsClientGetNetworkTraceOperationSlotV2Response, error)

GetNetworkTraceOperationSlotV2 - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. slot - Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. options - WebAppsClientGetNetworkTraceOperationSlotV2Options contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationSlotV2 method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTraceOperationSlotV2(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTraceOperationV2

func (client *WebAppsClient) GetNetworkTraceOperationV2(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTraceOperationV2Options) (WebAppsClientGetNetworkTraceOperationV2Response, error)

GetNetworkTraceOperationV2 - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. options - WebAppsClientGetNetworkTraceOperationV2Options contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationV2 method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraceOperation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTraceOperationV2(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTraces

func (client *WebAppsClient) GetNetworkTraces(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTracesOptions) (WebAppsClientGetNetworkTracesResponse, error)

GetNetworkTraces - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. options - WebAppsClientGetNetworkTracesOptions contains the optional parameters for the WebAppsClient.GetNetworkTraces method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTraces(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTracesSlot

func (client *WebAppsClient) GetNetworkTracesSlot(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTracesSlotOptions) (WebAppsClientGetNetworkTracesSlotResponse, error)

GetNetworkTracesSlot - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. slot - Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. options - WebAppsClientGetNetworkTracesSlotOptions contains the optional parameters for the WebAppsClient.GetNetworkTracesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTracesSlot(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTracesSlotV2

func (client *WebAppsClient) GetNetworkTracesSlotV2(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTracesSlotV2Options) (WebAppsClientGetNetworkTracesSlotV2Response, error)

GetNetworkTracesSlotV2 - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. slot - Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. options - WebAppsClientGetNetworkTracesSlotV2Options contains the optional parameters for the WebAppsClient.GetNetworkTracesSlotV2 method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTracesSlotV2(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetNetworkTracesV2

func (client *WebAppsClient) GetNetworkTracesV2(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTracesV2Options) (WebAppsClientGetNetworkTracesV2Response, error)

GetNetworkTracesV2 - Gets a named operation for a network trace capturing (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. operationID - GUID of the operation. options - WebAppsClientGetNetworkTracesV2Options contains the optional parameters for the WebAppsClient.GetNetworkTracesV2 method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetWebSiteNetworkTraces.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetNetworkTracesV2(ctx,
		"testrg123",
		"SampleApp",
		"c291433b-53ad-4c49-8cae-0a293eae1c6d",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetOneDeployStatus added in v0.2.0

func (client *WebAppsClient) GetOneDeployStatus(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetOneDeployStatusOptions) (WebAppsClientGetOneDeployStatusResponse, error)

GetOneDeployStatus - Invoke onedeploy status API /api/deployments and gets the deployment status for the site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetOneDeployStatusOptions contains the optional parameters for the WebAppsClient.GetOneDeployStatus method.

func (*WebAppsClient) GetPremierAddOn

func (client *WebAppsClient) GetPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, options *WebAppsClientGetPremierAddOnOptions) (WebAppsClientGetPremierAddOnResponse, error)

GetPremierAddOn - Gets a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. premierAddOnName - Add-on name. options - WebAppsClientGetPremierAddOnOptions contains the optional parameters for the WebAppsClient.GetPremierAddOn method.

func (*WebAppsClient) GetPremierAddOnSlot

func (client *WebAppsClient) GetPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string, options *WebAppsClientGetPremierAddOnSlotOptions) (WebAppsClientGetPremierAddOnSlotResponse, error)

GetPremierAddOnSlot - Gets a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetPremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.GetPremierAddOnSlot method.

func (*WebAppsClient) GetPrivateAccess

func (client *WebAppsClient) GetPrivateAccess(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetPrivateAccessOptions) (WebAppsClientGetPrivateAccessResponse, error)

GetPrivateAccess - Gets data around private site access enablement and authorized Virtual Networks that can access the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientGetPrivateAccessOptions contains the optional parameters for the WebAppsClient.GetPrivateAccess method.

func (*WebAppsClient) GetPrivateAccessSlot

func (client *WebAppsClient) GetPrivateAccessSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetPrivateAccessSlotOptions) (WebAppsClientGetPrivateAccessSlotResponse, error)

GetPrivateAccessSlot - Gets data around private site access enablement and authorized Virtual Networks that can access the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetPrivateAccessSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateAccessSlot method.

func (*WebAppsClient) GetPrivateEndpointConnection

func (client *WebAppsClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *WebAppsClientGetPrivateEndpointConnectionOptions) (WebAppsClientGetPrivateEndpointConnectionResponse, error)

GetPrivateEndpointConnection - Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. privateEndpointConnectionName - Name of the private endpoint connection. options - WebAppsClientGetPrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnection method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnection.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetPrivateEndpointConnection(ctx,
		"rg",
		"testSite",
		"connection",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetPrivateEndpointConnectionSlot

func (client *WebAppsClient) GetPrivateEndpointConnectionSlot(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, slot string, options *WebAppsClientGetPrivateEndpointConnectionSlotOptions) (WebAppsClientGetPrivateEndpointConnectionSlotResponse, error)

GetPrivateEndpointConnectionSlot - Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. privateEndpointConnectionName - Name of the private endpoint connection. slot - Name of the site deployment slot. options - WebAppsClientGetPrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateEndpointConnectionSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetPrivateEndpointConnectionSlot(ctx,
		"rg",
		"testSite",
		"connection",
		"stage",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetPrivateLinkResources

func (client *WebAppsClient) GetPrivateLinkResources(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetPrivateLinkResourcesOptions) (WebAppsClientGetPrivateLinkResourcesResponse, error)

GetPrivateLinkResources - Gets the private link resources If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientGetPrivateLinkResourcesOptions contains the optional parameters for the WebAppsClient.GetPrivateLinkResources method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateLinkResources.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetPrivateLinkResources(ctx,
		"rg",
		"testSite",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetPrivateLinkResourcesSlot

func (client *WebAppsClient) GetPrivateLinkResourcesSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetPrivateLinkResourcesSlotOptions) (WebAppsClientGetPrivateLinkResourcesSlotResponse, error)

GetPrivateLinkResourcesSlot - Gets the private link resources If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientGetPrivateLinkResourcesSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateLinkResourcesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetSitePrivateLinkResourcesSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetPrivateLinkResourcesSlot(ctx,
		"rg",
		"testSite",
		"stage",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetProcess

func (client *WebAppsClient) GetProcess(ctx context.Context, resourceGroupName string, name string, processID string, options *WebAppsClientGetProcessOptions) (WebAppsClientGetProcessResponse, error)

GetProcess - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. processID - PID. options - WebAppsClientGetProcessOptions contains the optional parameters for the WebAppsClient.GetProcess method.

func (*WebAppsClient) GetProcessDump

func (client *WebAppsClient) GetProcessDump(ctx context.Context, resourceGroupName string, name string, processID string, options *WebAppsClientGetProcessDumpOptions) (WebAppsClientGetProcessDumpResponse, error)

GetProcessDump - Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. processID - PID. options - WebAppsClientGetProcessDumpOptions contains the optional parameters for the WebAppsClient.GetProcessDump method.

func (*WebAppsClient) GetProcessDumpSlot

func (client *WebAppsClient) GetProcessDumpSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, options *WebAppsClientGetProcessDumpSlotOptions) (WebAppsClientGetProcessDumpSlotResponse, error)

GetProcessDumpSlot - Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetProcessDumpSlotOptions contains the optional parameters for the WebAppsClient.GetProcessDumpSlot method.

func (*WebAppsClient) GetProcessModule

func (client *WebAppsClient) GetProcessModule(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, options *WebAppsClientGetProcessModuleOptions) (WebAppsClientGetProcessModuleResponse, error)

GetProcessModule - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. processID - PID. baseAddress - Module base address. options - WebAppsClientGetProcessModuleOptions contains the optional parameters for the WebAppsClient.GetProcessModule method.

func (*WebAppsClient) GetProcessModuleSlot

func (client *WebAppsClient) GetProcessModuleSlot(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string, options *WebAppsClientGetProcessModuleSlotOptions) (WebAppsClientGetProcessModuleSlotResponse, error)

GetProcessModuleSlot - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetProcessModuleSlotOptions contains the optional parameters for the WebAppsClient.GetProcessModuleSlot method.

func (*WebAppsClient) GetProcessSlot

func (client *WebAppsClient) GetProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, options *WebAppsClientGetProcessSlotOptions) (WebAppsClientGetProcessSlotResponse, error)

GetProcessSlot - Get process information by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetProcessSlotOptions contains the optional parameters for the WebAppsClient.GetProcessSlot method.

func (*WebAppsClient) GetPublicCertificate

func (client *WebAppsClient) GetPublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, options *WebAppsClientGetPublicCertificateOptions) (WebAppsClientGetPublicCertificateResponse, error)

GetPublicCertificate - Get the named public certificate for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. publicCertificateName - Public certificate name. options - WebAppsClientGetPublicCertificateOptions contains the optional parameters for the WebAppsClient.GetPublicCertificate method.

func (*WebAppsClient) GetPublicCertificateSlot

func (client *WebAppsClient) GetPublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string, options *WebAppsClientGetPublicCertificateSlotOptions) (WebAppsClientGetPublicCertificateSlotResponse, error)

GetPublicCertificateSlot - Get the named public certificate for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetPublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.GetPublicCertificateSlot method.

func (*WebAppsClient) GetRelayServiceConnection

func (client *WebAppsClient) GetRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, options *WebAppsClientGetRelayServiceConnectionOptions) (WebAppsClientGetRelayServiceConnectionResponse, error)

GetRelayServiceConnection - Gets a hybrid connection configuration by its name. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. entityName - Name of the hybrid connection. options - WebAppsClientGetRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.GetRelayServiceConnection method.

func (*WebAppsClient) GetRelayServiceConnectionSlot

func (client *WebAppsClient) GetRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string, options *WebAppsClientGetRelayServiceConnectionSlotOptions) (WebAppsClientGetRelayServiceConnectionSlotResponse, error)

GetRelayServiceConnectionSlot - Gets a hybrid connection configuration by its name. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetRelayServiceConnectionSlot method.

func (*WebAppsClient) GetScmAllowed

func (client *WebAppsClient) GetScmAllowed(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetScmAllowedOptions) (WebAppsClientGetScmAllowedResponse, error)

GetScmAllowed - Returns whether Scm basic auth is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetScmAllowedOptions contains the optional parameters for the WebAppsClient.GetScmAllowed method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicy.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetScmAllowed(ctx,
		"rg",
		"testSite",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetScmAllowedSlot

func (client *WebAppsClient) GetScmAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetScmAllowedSlotOptions) (WebAppsClientGetScmAllowedSlotResponse, error)

GetScmAllowedSlot - Returns whether Scm basic auth is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetScmAllowedSlotOptions contains the optional parameters for the WebAppsClient.GetScmAllowedSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetPublishingCredentialsPolicySlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.GetScmAllowedSlot(ctx,
		"rg",
		"testSite",
		"stage",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) GetSiteConnectionStringKeyVaultReference

func (client *WebAppsClient) GetSiteConnectionStringKeyVaultReference(ctx context.Context, resourceGroupName string, name string, connectionStringKey string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions) (WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse, error)

GetSiteConnectionStringKeyVaultReference - Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReference method.

func (*WebAppsClient) GetSiteConnectionStringKeyVaultReferenceSlot

func (client *WebAppsClient) GetSiteConnectionStringKeyVaultReferenceSlot(ctx context.Context, resourceGroupName string, name string, connectionStringKey string, slot string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions) (WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse, error)

GetSiteConnectionStringKeyVaultReferenceSlot - Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferenceSlot method.

func (*WebAppsClient) GetSiteExtension

func (client *WebAppsClient) GetSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, options *WebAppsClientGetSiteExtensionOptions) (WebAppsClientGetSiteExtensionResponse, error)

GetSiteExtension - Get site extension information by its ID for a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. siteExtensionID - Site extension name. options - WebAppsClientGetSiteExtensionOptions contains the optional parameters for the WebAppsClient.GetSiteExtension method.

func (*WebAppsClient) GetSiteExtensionSlot

func (client *WebAppsClient) GetSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string, options *WebAppsClientGetSiteExtensionSlotOptions) (WebAppsClientGetSiteExtensionSlotResponse, error)

GetSiteExtensionSlot - Get site extension information by its ID for a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientGetSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.GetSiteExtensionSlot method.

func (*WebAppsClient) GetSitePhpErrorLogFlag

func (client *WebAppsClient) GetSitePhpErrorLogFlag(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetSitePhpErrorLogFlagOptions) (WebAppsClientGetSitePhpErrorLogFlagResponse, error)

GetSitePhpErrorLogFlag - Gets web app's event logs. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetSitePhpErrorLogFlagOptions contains the optional parameters for the WebAppsClient.GetSitePhpErrorLogFlag method.

func (*WebAppsClient) GetSitePhpErrorLogFlagSlot

func (client *WebAppsClient) GetSitePhpErrorLogFlagSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetSitePhpErrorLogFlagSlotOptions) (WebAppsClientGetSitePhpErrorLogFlagSlotResponse, error)

GetSitePhpErrorLogFlagSlot - Gets web app's event logs. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetSitePhpErrorLogFlagSlotOptions contains the optional parameters for the WebAppsClient.GetSitePhpErrorLogFlagSlot method.

func (*WebAppsClient) GetSlot

func (client *WebAppsClient) GetSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetSlotOptions) (WebAppsClientGetSlotResponse, error)

GetSlot - Gets the details of a web, mobile, or API app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetSlotOptions contains the optional parameters for the WebAppsClient.GetSlot method.

func (*WebAppsClient) GetSourceControl

func (client *WebAppsClient) GetSourceControl(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetSourceControlOptions) (WebAppsClientGetSourceControlResponse, error)

GetSourceControl - Gets the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetSourceControlOptions contains the optional parameters for the WebAppsClient.GetSourceControl method.

func (*WebAppsClient) GetSourceControlSlot

func (client *WebAppsClient) GetSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetSourceControlSlotOptions) (WebAppsClientGetSourceControlSlotResponse, error)

GetSourceControlSlot - Gets the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetSourceControlSlotOptions contains the optional parameters for the WebAppsClient.GetSourceControlSlot method.

func (*WebAppsClient) GetSwiftVirtualNetworkConnection

func (client *WebAppsClient) GetSwiftVirtualNetworkConnection(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetSwiftVirtualNetworkConnectionOptions) (WebAppsClientGetSwiftVirtualNetworkConnectionResponse, error)

GetSwiftVirtualNetworkConnection - Gets a Swift Virtual Network connection. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetSwiftVirtualNetworkConnectionOptions contains the optional parameters for the WebAppsClient.GetSwiftVirtualNetworkConnection method.

func (*WebAppsClient) GetSwiftVirtualNetworkConnectionSlot

func (client *WebAppsClient) GetSwiftVirtualNetworkConnectionSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions) (WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse, error)

GetSwiftVirtualNetworkConnectionSlot - Gets a Swift Virtual Network connection. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 a gateway for the production slot's Virtual Network. options - WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetSwiftVirtualNetworkConnectionSlot method.

func (*WebAppsClient) GetTriggeredWebJob

func (client *WebAppsClient) GetTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientGetTriggeredWebJobOptions) (WebAppsClientGetTriggeredWebJobResponse, error)

GetTriggeredWebJob - Gets a triggered web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientGetTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJob method.

func (*WebAppsClient) GetTriggeredWebJobHistory

func (client *WebAppsClient) GetTriggeredWebJobHistory(ctx context.Context, resourceGroupName string, name string, webJobName string, id string, options *WebAppsClientGetTriggeredWebJobHistoryOptions) (WebAppsClientGetTriggeredWebJobHistoryResponse, error)

GetTriggeredWebJobHistory - Gets a triggered web job's history by its ID for an app, , or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. id - History ID. options - WebAppsClientGetTriggeredWebJobHistoryOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobHistory method.

func (*WebAppsClient) GetTriggeredWebJobHistorySlot

func (client *WebAppsClient) GetTriggeredWebJobHistorySlot(ctx context.Context, resourceGroupName string, name string, webJobName string, id string, slot string, options *WebAppsClientGetTriggeredWebJobHistorySlotOptions) (WebAppsClientGetTriggeredWebJobHistorySlotResponse, error)

GetTriggeredWebJobHistorySlot - Gets a triggered web job's history by its ID for an app, , or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientGetTriggeredWebJobHistorySlotOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobHistorySlot method.

func (*WebAppsClient) GetTriggeredWebJobSlot

func (client *WebAppsClient) GetTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientGetTriggeredWebJobSlotOptions) (WebAppsClientGetTriggeredWebJobSlotResponse, error)

GetTriggeredWebJobSlot - Gets a triggered web job by its ID for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientGetTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobSlot method.

func (*WebAppsClient) GetVnetConnection

func (client *WebAppsClient) GetVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, options *WebAppsClientGetVnetConnectionOptions) (WebAppsClientGetVnetConnectionResponse, error)

GetVnetConnection - Gets a virtual network the app (or deployment slot) is connected to by name. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. vnetName - Name of the virtual network. options - WebAppsClientGetVnetConnectionOptions contains the optional parameters for the WebAppsClient.GetVnetConnection method.

func (*WebAppsClient) GetVnetConnectionGateway

func (client *WebAppsClient) GetVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, options *WebAppsClientGetVnetConnectionGatewayOptions) (WebAppsClientGetVnetConnectionGatewayResponse, error)

GetVnetConnectionGateway - Gets an app's Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientGetVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionGateway method.

func (*WebAppsClient) GetVnetConnectionGatewaySlot

func (client *WebAppsClient) GetVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, slot string, options *WebAppsClientGetVnetConnectionGatewaySlotOptions) (WebAppsClientGetVnetConnectionGatewaySlotResponse, error)

GetVnetConnectionGatewaySlot - Gets an app's Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionGatewaySlot method.

func (*WebAppsClient) GetVnetConnectionSlot

func (client *WebAppsClient) GetVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, options *WebAppsClientGetVnetConnectionSlotOptions) (WebAppsClientGetVnetConnectionSlotResponse, error)

GetVnetConnectionSlot - Gets a virtual network the app (or deployment slot) is connected to by name. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionSlot method.

func (*WebAppsClient) GetWebJob

func (client *WebAppsClient) GetWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientGetWebJobOptions) (WebAppsClientGetWebJobResponse, error)

GetWebJob - Get webjob information for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of the web job. options - WebAppsClientGetWebJobOptions contains the optional parameters for the WebAppsClient.GetWebJob method.

func (*WebAppsClient) GetWebJobSlot

func (client *WebAppsClient) GetWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientGetWebJobSlotOptions) (WebAppsClientGetWebJobSlotResponse, error)

GetWebJobSlot - Get webjob information for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetWebJobSlot method.

func (*WebAppsClient) GetWebSiteContainerLogs

func (client *WebAppsClient) GetWebSiteContainerLogs(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetWebSiteContainerLogsOptions) (WebAppsClientGetWebSiteContainerLogsResponse, error)

GetWebSiteContainerLogs - Gets the last lines of docker logs for the given site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientGetWebSiteContainerLogsOptions contains the optional parameters for the WebAppsClient.GetWebSiteContainerLogs method.

func (*WebAppsClient) GetWebSiteContainerLogsSlot

func (client *WebAppsClient) GetWebSiteContainerLogsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetWebSiteContainerLogsSlotOptions) (WebAppsClientGetWebSiteContainerLogsSlotResponse, error)

GetWebSiteContainerLogsSlot - Gets the last lines of docker logs for the given site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientGetWebSiteContainerLogsSlotOptions contains the optional parameters for the WebAppsClient.GetWebSiteContainerLogsSlot method.

func (*WebAppsClient) IsCloneable

func (client *WebAppsClient) IsCloneable(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientIsCloneableOptions) (WebAppsClientIsCloneableResponse, error)

IsCloneable - Shows whether an app can be cloned to another resource group or subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientIsCloneableOptions contains the optional parameters for the WebAppsClient.IsCloneable method.

func (*WebAppsClient) IsCloneableSlot

func (client *WebAppsClient) IsCloneableSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientIsCloneableSlotOptions) (WebAppsClientIsCloneableSlotResponse, error)

IsCloneableSlot - Shows whether an app can be cloned to another resource group or subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientIsCloneableSlotOptions contains the optional parameters for the WebAppsClient.IsCloneableSlot method.

func (*WebAppsClient) ListApplicationSettings

func (client *WebAppsClient) ListApplicationSettings(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListApplicationSettingsOptions) (WebAppsClientListApplicationSettingsResponse, error)

ListApplicationSettings - Gets the application settings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListApplicationSettingsOptions contains the optional parameters for the WebAppsClient.ListApplicationSettings method.

func (*WebAppsClient) ListApplicationSettingsSlot

func (client *WebAppsClient) ListApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListApplicationSettingsSlotOptions) (WebAppsClientListApplicationSettingsSlotResponse, error)

ListApplicationSettingsSlot - Gets the application settings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListApplicationSettingsSlotOptions contains the optional parameters for the WebAppsClient.ListApplicationSettingsSlot method.

func (*WebAppsClient) ListAzureStorageAccounts

func (client *WebAppsClient) ListAzureStorageAccounts(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListAzureStorageAccountsOptions) (WebAppsClientListAzureStorageAccountsResponse, error)

ListAzureStorageAccounts - Gets the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListAzureStorageAccountsOptions contains the optional parameters for the WebAppsClient.ListAzureStorageAccounts method.

func (*WebAppsClient) ListAzureStorageAccountsSlot

func (client *WebAppsClient) ListAzureStorageAccountsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListAzureStorageAccountsSlotOptions) (WebAppsClientListAzureStorageAccountsSlotResponse, error)

ListAzureStorageAccountsSlot - Gets the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the Azure storage account configurations for the production slot. options - WebAppsClientListAzureStorageAccountsSlotOptions contains the optional parameters for the WebAppsClient.ListAzureStorageAccountsSlot method.

func (*WebAppsClient) ListBackupStatusSecrets

func (client *WebAppsClient) ListBackupStatusSecrets(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest, options *WebAppsClientListBackupStatusSecretsOptions) (WebAppsClientListBackupStatusSecretsResponse, 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. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListBackupStatusSecretsOptions contains the optional parameters for the WebAppsClient.ListBackupStatusSecrets method.

func (*WebAppsClient) ListBackupStatusSecretsSlot

func (client *WebAppsClient) ListBackupStatusSecretsSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string, request BackupRequest, options *WebAppsClientListBackupStatusSecretsSlotOptions) (WebAppsClientListBackupStatusSecretsSlotResponse, 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. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. backupID - ID of backup. slot - Name of web app slot. If not specified then will default to production slot. request - Information on backup request. options - WebAppsClientListBackupStatusSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListBackupStatusSecretsSlot method.

func (*WebAppsClient) ListConnectionStrings

func (client *WebAppsClient) ListConnectionStrings(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListConnectionStringsOptions) (WebAppsClientListConnectionStringsResponse, error)

ListConnectionStrings - Gets the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListConnectionStringsOptions contains the optional parameters for the WebAppsClient.ListConnectionStrings method.

func (*WebAppsClient) ListConnectionStringsSlot

func (client *WebAppsClient) ListConnectionStringsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListConnectionStringsSlotOptions) (WebAppsClientListConnectionStringsSlotResponse, error)

ListConnectionStringsSlot - Gets the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListConnectionStringsSlotOptions contains the optional parameters for the WebAppsClient.ListConnectionStringsSlot method.

func (*WebAppsClient) ListDeploymentLog

func (client *WebAppsClient) ListDeploymentLog(ctx context.Context, resourceGroupName string, name string, id string, options *WebAppsClientListDeploymentLogOptions) (WebAppsClientListDeploymentLogResponse, error)

ListDeploymentLog - List deployment log for specific deployment for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListDeploymentLogOptions contains the optional parameters for the WebAppsClient.ListDeploymentLog method.

func (*WebAppsClient) ListDeploymentLogSlot

func (client *WebAppsClient) ListDeploymentLogSlot(ctx context.Context, resourceGroupName string, name string, id string, slot string, options *WebAppsClientListDeploymentLogSlotOptions) (WebAppsClientListDeploymentLogSlotResponse, error)

ListDeploymentLogSlot - List deployment log for specific deployment for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListDeploymentLogSlotOptions contains the optional parameters for the WebAppsClient.ListDeploymentLogSlot method.

func (*WebAppsClient) ListFunctionKeys

func (client *WebAppsClient) ListFunctionKeys(ctx context.Context, resourceGroupName string, name string, functionName string, options *WebAppsClientListFunctionKeysOptions) (WebAppsClientListFunctionKeysResponse, error)

ListFunctionKeys - Get function keys for a function in a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. options - WebAppsClientListFunctionKeysOptions contains the optional parameters for the WebAppsClient.ListFunctionKeys method.

func (*WebAppsClient) ListFunctionKeysSlot

func (client *WebAppsClient) ListFunctionKeysSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, options *WebAppsClientListFunctionKeysSlotOptions) (WebAppsClientListFunctionKeysSlotResponse, error)

ListFunctionKeysSlot - Get function keys for a function in a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. slot - Name of the deployment slot. options - WebAppsClientListFunctionKeysSlotOptions contains the optional parameters for the WebAppsClient.ListFunctionKeysSlot method.

func (*WebAppsClient) ListFunctionSecrets

func (client *WebAppsClient) ListFunctionSecrets(ctx context.Context, resourceGroupName string, name string, functionName string, options *WebAppsClientListFunctionSecretsOptions) (WebAppsClientListFunctionSecretsResponse, error)

ListFunctionSecrets - Get function secrets for a function in a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. options - WebAppsClientListFunctionSecretsOptions contains the optional parameters for the WebAppsClient.ListFunctionSecrets method.

func (*WebAppsClient) ListFunctionSecretsSlot

func (client *WebAppsClient) ListFunctionSecretsSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, options *WebAppsClientListFunctionSecretsSlotOptions) (WebAppsClientListFunctionSecretsSlotResponse, error)

ListFunctionSecretsSlot - Get function secrets for a function in a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. functionName - Function name. slot - Name of the deployment slot. options - WebAppsClientListFunctionSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListFunctionSecretsSlot method.

func (*WebAppsClient) ListHostKeys

func (client *WebAppsClient) ListHostKeys(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListHostKeysOptions) (WebAppsClientListHostKeysResponse, error)

ListHostKeys - Get host secrets for a function app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListHostKeysOptions contains the optional parameters for the WebAppsClient.ListHostKeys method.

func (*WebAppsClient) ListHostKeysSlot

func (client *WebAppsClient) ListHostKeysSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListHostKeysSlotOptions) (WebAppsClientListHostKeysSlotResponse, error)

ListHostKeysSlot - Get host secrets for a function app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. slot - Name of the deployment slot. options - WebAppsClientListHostKeysSlotOptions contains the optional parameters for the WebAppsClient.ListHostKeysSlot method.

func (*WebAppsClient) ListHybridConnections

func (client *WebAppsClient) ListHybridConnections(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListHybridConnectionsOptions) (WebAppsClientListHybridConnectionsResponse, error)

ListHybridConnections - Retrieves all Service Bus Hybrid Connections used by this Web App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientListHybridConnectionsOptions contains the optional parameters for the WebAppsClient.ListHybridConnections method.

func (*WebAppsClient) ListHybridConnectionsSlot

func (client *WebAppsClient) ListHybridConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListHybridConnectionsSlotOptions) (WebAppsClientListHybridConnectionsSlotResponse, error)

ListHybridConnectionsSlot - Retrieves all Service Bus Hybrid Connections used by this Web App. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListHybridConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListHybridConnectionsSlot method.

func (*WebAppsClient) ListMetadata

func (client *WebAppsClient) ListMetadata(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListMetadataOptions) (WebAppsClientListMetadataResponse, error)

ListMetadata - Gets the metadata of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListMetadataOptions contains the optional parameters for the WebAppsClient.ListMetadata method.

func (*WebAppsClient) ListMetadataSlot

func (client *WebAppsClient) ListMetadataSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListMetadataSlotOptions) (WebAppsClientListMetadataSlotResponse, error)

ListMetadataSlot - Gets the metadata of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListMetadataSlotOptions contains the optional parameters for the WebAppsClient.ListMetadataSlot method.

func (*WebAppsClient) ListNetworkFeatures

func (client *WebAppsClient) ListNetworkFeatures(ctx context.Context, resourceGroupName string, name string, view string, options *WebAppsClientListNetworkFeaturesOptions) (WebAppsClientListNetworkFeaturesResponse, error)

ListNetworkFeatures - Gets all network features used by the app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. view - The type of view. Only "summary" is supported at this time. options - WebAppsClientListNetworkFeaturesOptions contains the optional parameters for the WebAppsClient.ListNetworkFeatures method.

func (*WebAppsClient) ListNetworkFeaturesSlot

func (client *WebAppsClient) ListNetworkFeaturesSlot(ctx context.Context, resourceGroupName string, name string, view string, slot string, options *WebAppsClientListNetworkFeaturesSlotOptions) (WebAppsClientListNetworkFeaturesSlotResponse, error)

ListNetworkFeaturesSlot - Gets all network features used by the app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. view - The type of view. Only "summary" is supported at this time. slot - Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. options - WebAppsClientListNetworkFeaturesSlotOptions contains the optional parameters for the WebAppsClient.ListNetworkFeaturesSlot method.

func (*WebAppsClient) ListPremierAddOns

func (client *WebAppsClient) ListPremierAddOns(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListPremierAddOnsOptions) (WebAppsClientListPremierAddOnsResponse, error)

ListPremierAddOns - Gets the premier add-ons of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListPremierAddOnsOptions contains the optional parameters for the WebAppsClient.ListPremierAddOns method.

func (*WebAppsClient) ListPremierAddOnsSlot

func (client *WebAppsClient) ListPremierAddOnsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListPremierAddOnsSlotOptions) (WebAppsClientListPremierAddOnsSlotResponse, error)

ListPremierAddOnsSlot - Gets the premier add-ons of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListPremierAddOnsSlotOptions contains the optional parameters for the WebAppsClient.ListPremierAddOnsSlot method.

func (*WebAppsClient) ListPublishingProfileXMLWithSecrets

func (client *WebAppsClient) ListPublishingProfileXMLWithSecrets(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions, options *WebAppsClientListPublishingProfileXMLWithSecretsOptions) (WebAppsClientListPublishingProfileXMLWithSecretsResponse, error)

ListPublishingProfileXMLWithSecrets - Gets the publishing profile for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListPublishingProfileXMLWithSecretsOptions contains the optional parameters for the WebAppsClient.ListPublishingProfileXMLWithSecrets method.

func (*WebAppsClient) ListPublishingProfileXMLWithSecretsSlot

func (client *WebAppsClient) ListPublishingProfileXMLWithSecretsSlot(ctx context.Context, resourceGroupName string, name string, slot string, publishingProfileOptions CsmPublishingProfileOptions, options *WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions) (WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse, error)

ListPublishingProfileXMLWithSecretsSlot - Gets the publishing profile for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 profile for the production slot. publishingProfileOptions - Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. options - WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListPublishingProfileXMLWithSecretsSlot method.

func (*WebAppsClient) ListRelayServiceConnections

func (client *WebAppsClient) ListRelayServiceConnections(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListRelayServiceConnectionsOptions) (WebAppsClientListRelayServiceConnectionsResponse, error)

ListRelayServiceConnections - Gets hybrid connections configured for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListRelayServiceConnectionsOptions contains the optional parameters for the WebAppsClient.ListRelayServiceConnections method.

func (*WebAppsClient) ListRelayServiceConnectionsSlot

func (client *WebAppsClient) ListRelayServiceConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListRelayServiceConnectionsSlotOptions) (WebAppsClientListRelayServiceConnectionsSlotResponse, error)

ListRelayServiceConnectionsSlot - Gets hybrid connections configured for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListRelayServiceConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListRelayServiceConnectionsSlot method.

func (*WebAppsClient) ListSitePushSettings

func (client *WebAppsClient) ListSitePushSettings(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListSitePushSettingsOptions) (WebAppsClientListSitePushSettingsResponse, error)

ListSitePushSettings - Gets the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientListSitePushSettingsOptions contains the optional parameters for the WebAppsClient.ListSitePushSettings method.

func (*WebAppsClient) ListSitePushSettingsSlot

func (client *WebAppsClient) ListSitePushSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListSitePushSettingsSlotOptions) (WebAppsClientListSitePushSettingsSlotResponse, error)

ListSitePushSettingsSlot - Gets the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListSitePushSettingsSlotOptions contains the optional parameters for the WebAppsClient.ListSitePushSettingsSlot method.

func (*WebAppsClient) ListSlotConfigurationNames

func (client *WebAppsClient) ListSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListSlotConfigurationNamesOptions) (WebAppsClientListSlotConfigurationNamesResponse, error)

ListSlotConfigurationNames - Gets the names of app settings and connection strings that stick to the slot (not swapped). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListSlotConfigurationNamesOptions contains the optional parameters for the WebAppsClient.ListSlotConfigurationNames method.

func (*WebAppsClient) ListSyncFunctionTriggers

func (client *WebAppsClient) ListSyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListSyncFunctionTriggersOptions) (WebAppsClientListSyncFunctionTriggersResponse, error)

ListSyncFunctionTriggers - This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListSyncFunctionTriggersOptions contains the optional parameters for the WebAppsClient.ListSyncFunctionTriggers method.

func (*WebAppsClient) ListSyncFunctionTriggersSlot

func (client *WebAppsClient) ListSyncFunctionTriggersSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListSyncFunctionTriggersSlotOptions) (WebAppsClientListSyncFunctionTriggersSlotResponse, error)

ListSyncFunctionTriggersSlot - This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the deployment slot. options - WebAppsClientListSyncFunctionTriggersSlotOptions contains the optional parameters for the WebAppsClient.ListSyncFunctionTriggersSlot method.

func (*WebAppsClient) ListSyncStatus

func (client *WebAppsClient) ListSyncStatus(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListSyncStatusOptions) (WebAppsClientListSyncStatusResponse, error)

ListSyncStatus - This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListSyncStatusOptions contains the optional parameters for the WebAppsClient.ListSyncStatus method.

func (*WebAppsClient) ListSyncStatusSlot

func (client *WebAppsClient) ListSyncStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListSyncStatusSlotOptions) (WebAppsClientListSyncStatusSlotResponse, error)

ListSyncStatusSlot - This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the deployment slot. options - WebAppsClientListSyncStatusSlotOptions contains the optional parameters for the WebAppsClient.ListSyncStatusSlot method.

func (*WebAppsClient) ListVnetConnections

func (client *WebAppsClient) ListVnetConnections(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListVnetConnectionsOptions) (WebAppsClientListVnetConnectionsResponse, error)

ListVnetConnections - Gets the virtual networks the app (or deployment slot) is connected to. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListVnetConnectionsOptions contains the optional parameters for the WebAppsClient.ListVnetConnections method.

func (*WebAppsClient) ListVnetConnectionsSlot

func (client *WebAppsClient) ListVnetConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListVnetConnectionsSlotOptions) (WebAppsClientListVnetConnectionsSlotResponse, error)

ListVnetConnectionsSlot - Gets the virtual networks the app (or deployment slot) is connected to. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListVnetConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListVnetConnectionsSlot method.

func (*WebAppsClient) NewGetAppSettingsKeyVaultReferencesPager added in v0.4.0

func (client *WebAppsClient) NewGetAppSettingsKeyVaultReferencesPager(resourceGroupName string, name string, options *WebAppsClientGetAppSettingsKeyVaultReferencesOptions) *runtime.Pager[WebAppsClientGetAppSettingsKeyVaultReferencesResponse]

NewGetAppSettingsKeyVaultReferencesPager - Gets the config reference app settings and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetAppSettingsKeyVaultReferencesOptions contains the optional parameters for the WebAppsClient.GetAppSettingsKeyVaultReferences method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSettings.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetAppSettingsKeyVaultReferencesPager("testrg123",
		"testc6282",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebAppsClient) NewGetAppSettingsKeyVaultReferencesSlotPager added in v0.4.0

func (client *WebAppsClient) NewGetAppSettingsKeyVaultReferencesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions) *runtime.Pager[WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse]

NewGetAppSettingsKeyVaultReferencesSlotPager - Gets the config reference app settings and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions contains the optional parameters for the WebAppsClient.GetAppSettingsKeyVaultReferencesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewGetAppSettingsKeyVaultReferencesSlotPager("testrg123",
		"testc6282",
		"stage",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebAppsClient) NewGetPrivateEndpointConnectionListPager added in v0.4.0

func (client *WebAppsClient) NewGetPrivateEndpointConnectionListPager(resourceGroupName string, name string, options *WebAppsClientGetPrivateEndpointConnectionListOptions) *runtime.Pager[WebAppsClientGetPrivateEndpointConnectionListResponse]

NewGetPrivateEndpointConnectionListPager - Gets the list of private endpoint connections associated with a site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. options - WebAppsClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionList method.

func (*WebAppsClient) NewGetPrivateEndpointConnectionListSlotPager added in v0.4.0

func (client *WebAppsClient) NewGetPrivateEndpointConnectionListSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientGetPrivateEndpointConnectionListSlotOptions) *runtime.Pager[WebAppsClientGetPrivateEndpointConnectionListSlotResponse]

NewGetPrivateEndpointConnectionListSlotPager - Gets the list of private endpoint connections associated with a site If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the site. slot - Name of the site deployment slot. options - WebAppsClientGetPrivateEndpointConnectionListSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionListSlot method.

func (*WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesPager added in v0.4.0

func (client *WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesPager(resourceGroupName string, name string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions) *runtime.Pager[WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse]

NewGetSiteConnectionStringKeyVaultReferencesPager - Gets the config reference app settings and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferences method.

func (*WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesSlotPager added in v0.4.0

func (client *WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions) *runtime.Pager[WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse]

NewGetSiteConnectionStringKeyVaultReferencesSlotPager - Gets the config reference app settings and status of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferencesSlot method.

func (*WebAppsClient) NewListBackupsPager added in v0.4.0

func (client *WebAppsClient) NewListBackupsPager(resourceGroupName string, name string, options *WebAppsClientListBackupsOptions) *runtime.Pager[WebAppsClientListBackupsResponse]

NewListBackupsPager - Gets existing backups of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListBackupsOptions contains the optional parameters for the WebAppsClient.ListBackups method.

func (*WebAppsClient) NewListBackupsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListBackupsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListBackupsSlotOptions) *runtime.Pager[WebAppsClientListBackupsSlotResponse]

NewListBackupsSlotPager - Gets existing backups of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListBackupsSlotOptions contains the optional parameters for the WebAppsClient.ListBackupsSlot method.

func (*WebAppsClient) NewListBasicPublishingCredentialsPoliciesPager added in v0.4.0

func (client *WebAppsClient) NewListBasicPublishingCredentialsPoliciesPager(resourceGroupName string, name string, options *WebAppsClientListBasicPublishingCredentialsPoliciesOptions) *runtime.Pager[WebAppsClientListBasicPublishingCredentialsPoliciesResponse]

NewListBasicPublishingCredentialsPoliciesPager - Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListBasicPublishingCredentialsPoliciesOptions contains the optional parameters for the WebAppsClient.ListBasicPublishingCredentialsPolicies method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListPublishingCredentialsPolicies.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("3fb8d758-2e2c-42e9-a528-a8acdfe87237", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListBasicPublishingCredentialsPoliciesPager("testrg123",
		"testsite",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebAppsClient) NewListBasicPublishingCredentialsPoliciesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListBasicPublishingCredentialsPoliciesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions) *runtime.Pager[WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse]

NewListBasicPublishingCredentialsPoliciesSlotPager - Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions contains the optional parameters for the WebAppsClient.ListBasicPublishingCredentialsPoliciesSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListPublishingCredentialsPoliciesSlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("3fb8d758-2e2c-42e9-a528-a8acdfe87237", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListBasicPublishingCredentialsPoliciesSlotPager("testrg123",
		"testsite",
		"staging",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebAppsClient) NewListByResourceGroupPager added in v0.4.0

func (client *WebAppsClient) NewListByResourceGroupPager(resourceGroupName string, options *WebAppsClientListByResourceGroupOptions) *runtime.Pager[WebAppsClientListByResourceGroupResponse]

NewListByResourceGroupPager - Gets all web, mobile, and API apps in the specified resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. options - WebAppsClientListByResourceGroupOptions contains the optional parameters for the WebAppsClient.ListByResourceGroup method.

func (*WebAppsClient) NewListConfigurationSnapshotInfoPager added in v0.4.0

func (client *WebAppsClient) NewListConfigurationSnapshotInfoPager(resourceGroupName string, name string, options *WebAppsClientListConfigurationSnapshotInfoOptions) *runtime.Pager[WebAppsClientListConfigurationSnapshotInfoResponse]

NewListConfigurationSnapshotInfoPager - Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListConfigurationSnapshotInfoOptions contains the optional parameters for the WebAppsClient.ListConfigurationSnapshotInfo method.

func (*WebAppsClient) NewListConfigurationSnapshotInfoSlotPager added in v0.4.0

func (client *WebAppsClient) NewListConfigurationSnapshotInfoSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListConfigurationSnapshotInfoSlotOptions) *runtime.Pager[WebAppsClientListConfigurationSnapshotInfoSlotResponse]

NewListConfigurationSnapshotInfoSlotPager - Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListConfigurationSnapshotInfoSlotOptions contains the optional parameters for the WebAppsClient.ListConfigurationSnapshotInfoSlot method.

func (*WebAppsClient) NewListConfigurationsPager added in v0.4.0

func (client *WebAppsClient) NewListConfigurationsPager(resourceGroupName string, name string, options *WebAppsClientListConfigurationsOptions) *runtime.Pager[WebAppsClientListConfigurationsResponse]

NewListConfigurationsPager - List the configurations of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListConfigurationsOptions contains the optional parameters for the WebAppsClient.ListConfigurations method.

func (*WebAppsClient) NewListConfigurationsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListConfigurationsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListConfigurationsSlotOptions) *runtime.Pager[WebAppsClientListConfigurationsSlotResponse]

NewListConfigurationsSlotPager - List the configurations of an app If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListConfigurationsSlotOptions contains the optional parameters for the WebAppsClient.ListConfigurationsSlot method.

func (*WebAppsClient) NewListContinuousWebJobsPager added in v0.4.0

func (client *WebAppsClient) NewListContinuousWebJobsPager(resourceGroupName string, name string, options *WebAppsClientListContinuousWebJobsOptions) *runtime.Pager[WebAppsClientListContinuousWebJobsResponse]

NewListContinuousWebJobsPager - List continuous web jobs for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListContinuousWebJobsOptions contains the optional parameters for the WebAppsClient.ListContinuousWebJobs method.

func (*WebAppsClient) NewListContinuousWebJobsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListContinuousWebJobsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListContinuousWebJobsSlotOptions) *runtime.Pager[WebAppsClientListContinuousWebJobsSlotResponse]

NewListContinuousWebJobsSlotPager - List continuous web jobs for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListContinuousWebJobsSlotOptions contains the optional parameters for the WebAppsClient.ListContinuousWebJobsSlot method.

func (*WebAppsClient) NewListDeploymentsPager added in v0.4.0

func (client *WebAppsClient) NewListDeploymentsPager(resourceGroupName string, name string, options *WebAppsClientListDeploymentsOptions) *runtime.Pager[WebAppsClientListDeploymentsResponse]

NewListDeploymentsPager - List deployments for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListDeploymentsOptions contains the optional parameters for the WebAppsClient.ListDeployments method.

func (*WebAppsClient) NewListDeploymentsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListDeploymentsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListDeploymentsSlotOptions) *runtime.Pager[WebAppsClientListDeploymentsSlotResponse]

NewListDeploymentsSlotPager - List deployments for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListDeploymentsSlotOptions contains the optional parameters for the WebAppsClient.ListDeploymentsSlot method.

func (*WebAppsClient) NewListDomainOwnershipIdentifiersPager added in v0.4.0

func (client *WebAppsClient) NewListDomainOwnershipIdentifiersPager(resourceGroupName string, name string, options *WebAppsClientListDomainOwnershipIdentifiersOptions) *runtime.Pager[WebAppsClientListDomainOwnershipIdentifiersResponse]

NewListDomainOwnershipIdentifiersPager - Lists ownership identifiers for domain associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListDomainOwnershipIdentifiersOptions contains the optional parameters for the WebAppsClient.ListDomainOwnershipIdentifiers method.

func (*WebAppsClient) NewListDomainOwnershipIdentifiersSlotPager added in v0.4.0

func (client *WebAppsClient) NewListDomainOwnershipIdentifiersSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListDomainOwnershipIdentifiersSlotOptions) *runtime.Pager[WebAppsClientListDomainOwnershipIdentifiersSlotResponse]

NewListDomainOwnershipIdentifiersSlotPager - Lists ownership identifiers for domain associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListDomainOwnershipIdentifiersSlotOptions contains the optional parameters for the WebAppsClient.ListDomainOwnershipIdentifiersSlot method.

func (*WebAppsClient) NewListFunctionsPager added in v0.4.0

func (client *WebAppsClient) NewListFunctionsPager(resourceGroupName string, name string, options *WebAppsClientListFunctionsOptions) *runtime.Pager[WebAppsClientListFunctionsResponse]

NewListFunctionsPager - List the functions for a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListFunctionsOptions contains the optional parameters for the WebAppsClient.ListFunctions method.

func (*WebAppsClient) NewListHostNameBindingsPager added in v0.4.0

func (client *WebAppsClient) NewListHostNameBindingsPager(resourceGroupName string, name string, options *WebAppsClientListHostNameBindingsOptions) *runtime.Pager[WebAppsClientListHostNameBindingsResponse]

NewListHostNameBindingsPager - Get hostname bindings for an app or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListHostNameBindingsOptions contains the optional parameters for the WebAppsClient.ListHostNameBindings method.

func (*WebAppsClient) NewListHostNameBindingsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListHostNameBindingsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListHostNameBindingsSlotOptions) *runtime.Pager[WebAppsClientListHostNameBindingsSlotResponse]

NewListHostNameBindingsSlotPager - Get hostname bindings for an app or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListHostNameBindingsSlotOptions contains the optional parameters for the WebAppsClient.ListHostNameBindingsSlot method.

func (*WebAppsClient) NewListInstanceFunctionsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceFunctionsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListInstanceFunctionsSlotOptions) *runtime.Pager[WebAppsClientListInstanceFunctionsSlotResponse]

NewListInstanceFunctionsSlotPager - List the functions for a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. slot - Name of the deployment slot. options - WebAppsClientListInstanceFunctionsSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceFunctionsSlot method.

func (*WebAppsClient) NewListInstanceIdentifiersPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceIdentifiersPager(resourceGroupName string, name string, options *WebAppsClientListInstanceIdentifiersOptions) *runtime.Pager[WebAppsClientListInstanceIdentifiersResponse]

NewListInstanceIdentifiersPager - Gets all scale-out instances of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListInstanceIdentifiersOptions contains the optional parameters for the WebAppsClient.ListInstanceIdentifiers method.

func (*WebAppsClient) NewListInstanceIdentifiersSlotPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceIdentifiersSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListInstanceIdentifiersSlotOptions) *runtime.Pager[WebAppsClientListInstanceIdentifiersSlotResponse]

NewListInstanceIdentifiersSlotPager - Gets all scale-out instances of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListInstanceIdentifiersSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceIdentifiersSlot method.

func (*WebAppsClient) NewListInstanceProcessModulesPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceProcessModulesPager(resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientListInstanceProcessModulesOptions) *runtime.Pager[WebAppsClientListInstanceProcessModulesResponse]

NewListInstanceProcessModulesPager - List module information for a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListInstanceProcessModulesOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessModules method.

func (*WebAppsClient) NewListInstanceProcessModulesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceProcessModulesSlotPager(resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientListInstanceProcessModulesSlotOptions) *runtime.Pager[WebAppsClientListInstanceProcessModulesSlotResponse]

NewListInstanceProcessModulesSlotPager - List module information for a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListInstanceProcessModulesSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessModulesSlot method.

func (*WebAppsClient) NewListInstanceProcessThreadsPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceProcessThreadsPager(resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientListInstanceProcessThreadsOptions) *runtime.Pager[WebAppsClientListInstanceProcessThreadsResponse]

NewListInstanceProcessThreadsPager - List the threads in a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListInstanceProcessThreadsOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessThreads method.

func (*WebAppsClient) NewListInstanceProcessThreadsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceProcessThreadsSlotPager(resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientListInstanceProcessThreadsSlotOptions) *runtime.Pager[WebAppsClientListInstanceProcessThreadsSlotResponse]

NewListInstanceProcessThreadsSlotPager - List the threads in a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListInstanceProcessThreadsSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessThreadsSlot method.

func (*WebAppsClient) NewListInstanceProcessesPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceProcessesPager(resourceGroupName string, name string, instanceID string, options *WebAppsClientListInstanceProcessesOptions) *runtime.Pager[WebAppsClientListInstanceProcessesResponse]

NewListInstanceProcessesPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListInstanceProcessesOptions contains the optional parameters for the WebAppsClient.ListInstanceProcesses method.

func (*WebAppsClient) NewListInstanceProcessesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListInstanceProcessesSlotPager(resourceGroupName string, name string, slot string, instanceID string, options *WebAppsClientListInstanceProcessesSlotOptions) *runtime.Pager[WebAppsClientListInstanceProcessesSlotResponse]

NewListInstanceProcessesSlotPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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". options - WebAppsClientListInstanceProcessesSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessesSlot method.

func (*WebAppsClient) NewListPager added in v0.4.0

NewListPager - Get all apps for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebAppsClientListOptions contains the optional parameters for the WebAppsClient.List method.

func (*WebAppsClient) NewListPerfMonCountersPager added in v0.4.0

func (client *WebAppsClient) NewListPerfMonCountersPager(resourceGroupName string, name string, options *WebAppsClientListPerfMonCountersOptions) *runtime.Pager[WebAppsClientListPerfMonCountersResponse]

NewListPerfMonCountersPager - Gets perfmon counters for web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientListPerfMonCountersOptions contains the optional parameters for the WebAppsClient.ListPerfMonCounters method.

func (*WebAppsClient) NewListPerfMonCountersSlotPager added in v0.4.0

func (client *WebAppsClient) NewListPerfMonCountersSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListPerfMonCountersSlotOptions) *runtime.Pager[WebAppsClientListPerfMonCountersSlotResponse]

NewListPerfMonCountersSlotPager - Gets perfmon counters for web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListPerfMonCountersSlotOptions contains the optional parameters for the WebAppsClient.ListPerfMonCountersSlot method.

func (*WebAppsClient) NewListProcessModulesPager added in v0.4.0

func (client *WebAppsClient) NewListProcessModulesPager(resourceGroupName string, name string, processID string, options *WebAppsClientListProcessModulesOptions) *runtime.Pager[WebAppsClientListProcessModulesResponse]

NewListProcessModulesPager - List module information for a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. processID - PID. options - WebAppsClientListProcessModulesOptions contains the optional parameters for the WebAppsClient.ListProcessModules method.

func (*WebAppsClient) NewListProcessModulesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListProcessModulesSlotPager(resourceGroupName string, name string, processID string, slot string, options *WebAppsClientListProcessModulesSlotOptions) *runtime.Pager[WebAppsClientListProcessModulesSlotResponse]

NewListProcessModulesSlotPager - List module information for a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListProcessModulesSlotOptions contains the optional parameters for the WebAppsClient.ListProcessModulesSlot method.

func (*WebAppsClient) NewListProcessThreadsPager added in v0.4.0

func (client *WebAppsClient) NewListProcessThreadsPager(resourceGroupName string, name string, processID string, options *WebAppsClientListProcessThreadsOptions) *runtime.Pager[WebAppsClientListProcessThreadsResponse]

NewListProcessThreadsPager - List the threads in a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. processID - PID. options - WebAppsClientListProcessThreadsOptions contains the optional parameters for the WebAppsClient.ListProcessThreads method.

func (*WebAppsClient) NewListProcessThreadsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListProcessThreadsSlotPager(resourceGroupName string, name string, processID string, slot string, options *WebAppsClientListProcessThreadsSlotOptions) *runtime.Pager[WebAppsClientListProcessThreadsSlotResponse]

NewListProcessThreadsSlotPager - List the threads in a process by its ID for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListProcessThreadsSlotOptions contains the optional parameters for the WebAppsClient.ListProcessThreadsSlot method.

func (*WebAppsClient) NewListProcessesPager added in v0.4.0

func (client *WebAppsClient) NewListProcessesPager(resourceGroupName string, name string, options *WebAppsClientListProcessesOptions) *runtime.Pager[WebAppsClientListProcessesResponse]

NewListProcessesPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListProcessesOptions contains the optional parameters for the WebAppsClient.ListProcesses method.

func (*WebAppsClient) NewListProcessesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListProcessesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListProcessesSlotOptions) *runtime.Pager[WebAppsClientListProcessesSlotResponse]

NewListProcessesSlotPager - Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListProcessesSlotOptions contains the optional parameters for the WebAppsClient.ListProcessesSlot method.

func (*WebAppsClient) NewListPublicCertificatesPager added in v0.4.0

func (client *WebAppsClient) NewListPublicCertificatesPager(resourceGroupName string, name string, options *WebAppsClientListPublicCertificatesOptions) *runtime.Pager[WebAppsClientListPublicCertificatesResponse]

NewListPublicCertificatesPager - Get public certificates for an app or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListPublicCertificatesOptions contains the optional parameters for the WebAppsClient.ListPublicCertificates method.

func (*WebAppsClient) NewListPublicCertificatesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListPublicCertificatesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListPublicCertificatesSlotOptions) *runtime.Pager[WebAppsClientListPublicCertificatesSlotResponse]

NewListPublicCertificatesSlotPager - Get public certificates for an app or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListPublicCertificatesSlotOptions contains the optional parameters for the WebAppsClient.ListPublicCertificatesSlot method.

func (*WebAppsClient) NewListSiteBackupsPager added in v0.4.0

func (client *WebAppsClient) NewListSiteBackupsPager(resourceGroupName string, name string, options *WebAppsClientListSiteBackupsOptions) *runtime.Pager[WebAppsClientListSiteBackupsResponse]

NewListSiteBackupsPager - Gets existing backups of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListSiteBackupsOptions contains the optional parameters for the WebAppsClient.ListSiteBackups method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListSlotBackups.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteBackupsPager("testrg123",
		"tests346",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebAppsClient) NewListSiteBackupsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListSiteBackupsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSiteBackupsSlotOptions) *runtime.Pager[WebAppsClientListSiteBackupsSlotResponse]

NewListSiteBackupsSlotPager - Gets existing backups of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListSiteBackupsSlotOptions contains the optional parameters for the WebAppsClient.ListSiteBackupsSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListSlotBackups.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListSiteBackupsSlotPager("testrg123",
		"tests346",
		"staging",
		nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebAppsClient) NewListSiteExtensionsPager added in v0.4.0

func (client *WebAppsClient) NewListSiteExtensionsPager(resourceGroupName string, name string, options *WebAppsClientListSiteExtensionsOptions) *runtime.Pager[WebAppsClientListSiteExtensionsResponse]

NewListSiteExtensionsPager - Get list of siteextensions for a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListSiteExtensionsOptions contains the optional parameters for the WebAppsClient.ListSiteExtensions method.

func (*WebAppsClient) NewListSiteExtensionsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListSiteExtensionsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSiteExtensionsSlotOptions) *runtime.Pager[WebAppsClientListSiteExtensionsSlotResponse]

NewListSiteExtensionsSlotPager - Get list of siteextensions for a web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientListSiteExtensionsSlotOptions contains the optional parameters for the WebAppsClient.ListSiteExtensionsSlot method.

func (*WebAppsClient) NewListSlotDifferencesFromProductionPager added in v0.4.0

func (client *WebAppsClient) NewListSlotDifferencesFromProductionPager(resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, options *WebAppsClientListSlotDifferencesFromProductionOptions) *runtime.Pager[WebAppsClientListSlotDifferencesFromProductionResponse]

NewListSlotDifferencesFromProductionPager - Get the difference in configuration settings between two web app slots. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListSlotDifferencesFromProductionOptions contains the optional parameters for the WebAppsClient.ListSlotDifferencesFromProduction method.

func (*WebAppsClient) NewListSlotDifferencesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListSlotDifferencesSlotPager(resourceGroupName string, name string, slot string, slotSwapEntity CsmSlotEntity, options *WebAppsClientListSlotDifferencesSlotOptions) *runtime.Pager[WebAppsClientListSlotDifferencesSlotResponse]

NewListSlotDifferencesSlotPager - Get the difference in configuration settings between two web app slots. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the source slot. If a slot is not specified, the production slot is used as the source slot. slotSwapEntity - JSON object that contains the target slot name. See example. options - WebAppsClientListSlotDifferencesSlotOptions contains the optional parameters for the WebAppsClient.ListSlotDifferencesSlot method.

func (*WebAppsClient) NewListSlotsPager added in v0.4.0

func (client *WebAppsClient) NewListSlotsPager(resourceGroupName string, name string, options *WebAppsClientListSlotsOptions) *runtime.Pager[WebAppsClientListSlotsResponse]

NewListSlotsPager - Gets an app's deployment slots. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListSlotsOptions contains the optional parameters for the WebAppsClient.ListSlots method.

func (*WebAppsClient) NewListSnapshotsFromDRSecondaryPager added in v0.4.0

func (client *WebAppsClient) NewListSnapshotsFromDRSecondaryPager(resourceGroupName string, name string, options *WebAppsClientListSnapshotsFromDRSecondaryOptions) *runtime.Pager[WebAppsClientListSnapshotsFromDRSecondaryResponse]

NewListSnapshotsFromDRSecondaryPager - Returns all Snapshots to the user from DRSecondary endpoint. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Website Name. options - WebAppsClientListSnapshotsFromDRSecondaryOptions contains the optional parameters for the WebAppsClient.ListSnapshotsFromDRSecondary method.

func (*WebAppsClient) NewListSnapshotsFromDRSecondarySlotPager added in v0.4.0

func (client *WebAppsClient) NewListSnapshotsFromDRSecondarySlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSnapshotsFromDRSecondarySlotOptions) *runtime.Pager[WebAppsClientListSnapshotsFromDRSecondarySlotResponse]

NewListSnapshotsFromDRSecondarySlotPager - Returns all Snapshots to the user from DRSecondary endpoint. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Website Name. slot - Website Slot. options - WebAppsClientListSnapshotsFromDRSecondarySlotOptions contains the optional parameters for the WebAppsClient.ListSnapshotsFromDRSecondarySlot method.

func (*WebAppsClient) NewListSnapshotsPager added in v0.4.0

func (client *WebAppsClient) NewListSnapshotsPager(resourceGroupName string, name string, options *WebAppsClientListSnapshotsOptions) *runtime.Pager[WebAppsClientListSnapshotsResponse]

NewListSnapshotsPager - Returns all Snapshots to the user. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Website Name. options - WebAppsClientListSnapshotsOptions contains the optional parameters for the WebAppsClient.ListSnapshots method.

func (*WebAppsClient) NewListSnapshotsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListSnapshotsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSnapshotsSlotOptions) *runtime.Pager[WebAppsClientListSnapshotsSlotResponse]

NewListSnapshotsSlotPager - Returns all Snapshots to the user. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Website Name. slot - Website Slot. options - WebAppsClientListSnapshotsSlotOptions contains the optional parameters for the WebAppsClient.ListSnapshotsSlot method.

func (*WebAppsClient) NewListTriggeredWebJobHistoryPager added in v0.4.0

func (client *WebAppsClient) NewListTriggeredWebJobHistoryPager(resourceGroupName string, name string, webJobName string, options *WebAppsClientListTriggeredWebJobHistoryOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobHistoryResponse]

NewListTriggeredWebJobHistoryPager - List a triggered web job's history for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientListTriggeredWebJobHistoryOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobHistory method.

func (*WebAppsClient) NewListTriggeredWebJobHistorySlotPager added in v0.4.0

func (client *WebAppsClient) NewListTriggeredWebJobHistorySlotPager(resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientListTriggeredWebJobHistorySlotOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobHistorySlotResponse]

NewListTriggeredWebJobHistorySlotPager - List a triggered web job's history for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientListTriggeredWebJobHistorySlotOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobHistorySlot method.

func (*WebAppsClient) NewListTriggeredWebJobsPager added in v0.4.0

func (client *WebAppsClient) NewListTriggeredWebJobsPager(resourceGroupName string, name string, options *WebAppsClientListTriggeredWebJobsOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobsResponse]

NewListTriggeredWebJobsPager - List triggered web jobs for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListTriggeredWebJobsOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobs method.

func (*WebAppsClient) NewListTriggeredWebJobsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListTriggeredWebJobsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListTriggeredWebJobsSlotOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobsSlotResponse]

NewListTriggeredWebJobsSlotPager - List triggered web jobs for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListTriggeredWebJobsSlotOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobsSlot method.

func (*WebAppsClient) NewListUsagesPager added in v0.4.0

func (client *WebAppsClient) NewListUsagesPager(resourceGroupName string, name string, options *WebAppsClientListUsagesOptions) *runtime.Pager[WebAppsClientListUsagesResponse]

NewListUsagesPager - Gets the quota usage information of an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientListUsagesOptions contains the optional parameters for the WebAppsClient.ListUsages method.

func (*WebAppsClient) NewListUsagesSlotPager added in v0.4.0

func (client *WebAppsClient) NewListUsagesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListUsagesSlotOptions) *runtime.Pager[WebAppsClientListUsagesSlotResponse]

NewListUsagesSlotPager - Gets the quota usage information of an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListUsagesSlotOptions contains the optional parameters for the WebAppsClient.ListUsagesSlot method.

func (*WebAppsClient) NewListWebJobsPager added in v0.4.0

func (client *WebAppsClient) NewListWebJobsPager(resourceGroupName string, name string, options *WebAppsClientListWebJobsOptions) *runtime.Pager[WebAppsClientListWebJobsResponse]

NewListWebJobsPager - List webjobs for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. options - WebAppsClientListWebJobsOptions contains the optional parameters for the WebAppsClient.ListWebJobs method.

func (*WebAppsClient) NewListWebJobsSlotPager added in v0.4.0

func (client *WebAppsClient) NewListWebJobsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListWebJobsSlotOptions) *runtime.Pager[WebAppsClientListWebJobsSlotResponse]

NewListWebJobsSlotPager - List webjobs for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientListWebJobsSlotOptions contains the optional parameters for the WebAppsClient.ListWebJobsSlot method.

func (*WebAppsClient) PutPrivateAccessVnet

func (client *WebAppsClient) PutPrivateAccessVnet(ctx context.Context, resourceGroupName string, name string, access PrivateAccess, options *WebAppsClientPutPrivateAccessVnetOptions) (WebAppsClientPutPrivateAccessVnetResponse, error)

PutPrivateAccessVnet - Sets data around private site access enablement and authorized Virtual Networks that can access the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. access - The information for the private access options - WebAppsClientPutPrivateAccessVnetOptions contains the optional parameters for the WebAppsClient.PutPrivateAccessVnet method.

func (*WebAppsClient) PutPrivateAccessVnetSlot

func (client *WebAppsClient) PutPrivateAccessVnetSlot(ctx context.Context, resourceGroupName string, name string, slot string, access PrivateAccess, options *WebAppsClientPutPrivateAccessVnetSlotOptions) (WebAppsClientPutPrivateAccessVnetSlotResponse, error)

PutPrivateAccessVnetSlot - Sets data around private site access enablement and authorized Virtual Networks that can access the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. access - The information for the private access options - WebAppsClientPutPrivateAccessVnetSlotOptions contains the optional parameters for the WebAppsClient.PutPrivateAccessVnetSlot method.

func (*WebAppsClient) RecoverSiteConfigurationSnapshot

func (client *WebAppsClient) RecoverSiteConfigurationSnapshot(ctx context.Context, resourceGroupName string, name string, snapshotID string, options *WebAppsClientRecoverSiteConfigurationSnapshotOptions) (WebAppsClientRecoverSiteConfigurationSnapshotResponse, error)

RecoverSiteConfigurationSnapshot - Reverts the configuration of an app to a previous snapshot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. snapshotID - The ID of the snapshot to read. options - WebAppsClientRecoverSiteConfigurationSnapshotOptions contains the optional parameters for the WebAppsClient.RecoverSiteConfigurationSnapshot method.

func (*WebAppsClient) RecoverSiteConfigurationSnapshotSlot

func (client *WebAppsClient) RecoverSiteConfigurationSnapshotSlot(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string, options *WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions) (WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse, error)

RecoverSiteConfigurationSnapshotSlot - Reverts the configuration of an app to a previous snapshot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions contains the optional parameters for the WebAppsClient.RecoverSiteConfigurationSnapshotSlot method.

func (*WebAppsClient) ResetProductionSlotConfig

func (client *WebAppsClient) ResetProductionSlotConfig(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientResetProductionSlotConfigOptions) (WebAppsClientResetProductionSlotConfigResponse, error)

ResetProductionSlotConfig - Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientResetProductionSlotConfigOptions contains the optional parameters for the WebAppsClient.ResetProductionSlotConfig method.

func (*WebAppsClient) ResetSlotConfigurationSlot

func (client *WebAppsClient) ResetSlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientResetSlotConfigurationSlotOptions) (WebAppsClientResetSlotConfigurationSlotResponse, error)

ResetSlotConfigurationSlot - Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientResetSlotConfigurationSlotOptions contains the optional parameters for the WebAppsClient.ResetSlotConfigurationSlot method.

func (*WebAppsClient) Restart

func (client *WebAppsClient) Restart(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientRestartOptions) (WebAppsClientRestartResponse, error)

Restart - Restarts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientRestartOptions contains the optional parameters for the WebAppsClient.Restart method.

func (*WebAppsClient) RestartSlot

func (client *WebAppsClient) RestartSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientRestartSlotOptions) (WebAppsClientRestartSlotResponse, error)

RestartSlot - Restarts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientRestartSlotOptions contains the optional parameters for the WebAppsClient.RestartSlot method.

func (*WebAppsClient) RunTriggeredWebJob

func (client *WebAppsClient) RunTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientRunTriggeredWebJobOptions) (WebAppsClientRunTriggeredWebJobResponse, error)

RunTriggeredWebJob - Run a triggered web job for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientRunTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.RunTriggeredWebJob method.

func (*WebAppsClient) RunTriggeredWebJobSlot

func (client *WebAppsClient) RunTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientRunTriggeredWebJobSlotOptions) (WebAppsClientRunTriggeredWebJobSlotResponse, error)

RunTriggeredWebJobSlot - Run a triggered web job for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 uses the production slot. options - WebAppsClientRunTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.RunTriggeredWebJobSlot method.

func (*WebAppsClient) Start

func (client *WebAppsClient) Start(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientStartOptions) (WebAppsClientStartResponse, error)

Start - Starts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientStartOptions contains the optional parameters for the WebAppsClient.Start method.

func (*WebAppsClient) StartContinuousWebJob

func (client *WebAppsClient) StartContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientStartContinuousWebJobOptions) (WebAppsClientStartContinuousWebJobResponse, error)

StartContinuousWebJob - Start a continuous web job for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientStartContinuousWebJobOptions contains the optional parameters for the WebAppsClient.StartContinuousWebJob method.

func (*WebAppsClient) StartContinuousWebJobSlot

func (client *WebAppsClient) StartContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientStartContinuousWebJobSlotOptions) (WebAppsClientStartContinuousWebJobSlotResponse, error)

StartContinuousWebJobSlot - Start a continuous web job for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStartContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.StartContinuousWebJobSlot method.

func (*WebAppsClient) StartSlot

func (client *WebAppsClient) StartSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStartSlotOptions) (WebAppsClientStartSlotResponse, error)

StartSlot - Starts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStartSlotOptions contains the optional parameters for the WebAppsClient.StartSlot method.

func (*WebAppsClient) StartWebSiteNetworkTrace

func (client *WebAppsClient) StartWebSiteNetworkTrace(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientStartWebSiteNetworkTraceOptions) (WebAppsClientStartWebSiteNetworkTraceResponse, error)

StartWebSiteNetworkTrace - Start capturing network packets for the site (To be deprecated). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientStartWebSiteNetworkTraceOptions contains the optional parameters for the WebAppsClient.StartWebSiteNetworkTrace method.

func (*WebAppsClient) StartWebSiteNetworkTraceSlot

func (client *WebAppsClient) StartWebSiteNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStartWebSiteNetworkTraceSlotOptions) (WebAppsClientStartWebSiteNetworkTraceSlotResponse, error)

StartWebSiteNetworkTraceSlot - Start capturing network packets for the site (To be deprecated). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStartWebSiteNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StartWebSiteNetworkTraceSlot method.

func (*WebAppsClient) Stop

func (client *WebAppsClient) Stop(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientStopOptions) (WebAppsClientStopResponse, error)

Stop - Stops an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientStopOptions contains the optional parameters for the WebAppsClient.Stop method.

func (*WebAppsClient) StopContinuousWebJob

func (client *WebAppsClient) StopContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string, options *WebAppsClientStopContinuousWebJobOptions) (WebAppsClientStopContinuousWebJobResponse, error)

StopContinuousWebJob - Stop a continuous web job for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Site name. webJobName - Name of Web Job. options - WebAppsClientStopContinuousWebJobOptions contains the optional parameters for the WebAppsClient.StopContinuousWebJob method.

func (*WebAppsClient) StopContinuousWebJobSlot

func (client *WebAppsClient) StopContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientStopContinuousWebJobSlotOptions) (WebAppsClientStopContinuousWebJobSlotResponse, error)

StopContinuousWebJobSlot - Stop a continuous web job for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStopContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.StopContinuousWebJobSlot method.

func (*WebAppsClient) StopNetworkTrace

func (client *WebAppsClient) StopNetworkTrace(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientStopNetworkTraceOptions) (WebAppsClientStopNetworkTraceResponse, error)

StopNetworkTrace - Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientStopNetworkTraceOptions contains the optional parameters for the WebAppsClient.StopNetworkTrace method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.StopNetworkTrace(ctx,
		"testrg123",
		"SampleApp",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WebAppsClient) StopNetworkTraceSlot

func (client *WebAppsClient) StopNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStopNetworkTraceSlotOptions) (WebAppsClientStopNetworkTraceSlotResponse, error)

StopNetworkTraceSlot - Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStopNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StopNetworkTraceSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.StopNetworkTraceSlot(ctx,
		"testrg123",
		"SampleApp",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WebAppsClient) StopSlot

func (client *WebAppsClient) StopSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStopSlotOptions) (WebAppsClientStopSlotResponse, error)

StopSlot - Stops an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStopSlotOptions contains the optional parameters for the WebAppsClient.StopSlot method.

func (*WebAppsClient) StopWebSiteNetworkTrace

func (client *WebAppsClient) StopWebSiteNetworkTrace(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientStopWebSiteNetworkTraceOptions) (WebAppsClientStopWebSiteNetworkTraceResponse, error)

StopWebSiteNetworkTrace - Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - The name of the web app. options - WebAppsClientStopWebSiteNetworkTraceOptions contains the optional parameters for the WebAppsClient.StopWebSiteNetworkTrace method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.StopWebSiteNetworkTrace(ctx,
		"testrg123",
		"SampleApp",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WebAppsClient) StopWebSiteNetworkTraceSlot

func (client *WebAppsClient) StopWebSiteNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStopWebSiteNetworkTraceSlotOptions) (WebAppsClientStopWebSiteNetworkTraceSlotResponse, error)

StopWebSiteNetworkTraceSlot - Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientStopWebSiteNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StopWebSiteNetworkTraceSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/StopWebSiteNetworkTrace.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = client.StopWebSiteNetworkTraceSlot(ctx,
		"testrg123",
		"SampleApp",
		"Production",
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WebAppsClient) SyncFunctionTriggers

func (client *WebAppsClient) SyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientSyncFunctionTriggersOptions) (WebAppsClientSyncFunctionTriggersResponse, error)

SyncFunctionTriggers - Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientSyncFunctionTriggersOptions contains the optional parameters for the WebAppsClient.SyncFunctionTriggers method.

func (*WebAppsClient) SyncFunctionTriggersSlot

func (client *WebAppsClient) SyncFunctionTriggersSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientSyncFunctionTriggersSlotOptions) (WebAppsClientSyncFunctionTriggersSlotResponse, error)

SyncFunctionTriggersSlot - Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the deployment slot. options - WebAppsClientSyncFunctionTriggersSlotOptions contains the optional parameters for the WebAppsClient.SyncFunctionTriggersSlot method.

func (*WebAppsClient) SyncFunctions

func (client *WebAppsClient) SyncFunctions(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientSyncFunctionsOptions) (WebAppsClientSyncFunctionsResponse, error)

SyncFunctions - Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientSyncFunctionsOptions contains the optional parameters for the WebAppsClient.SyncFunctions method.

func (*WebAppsClient) SyncFunctionsSlot

func (client *WebAppsClient) SyncFunctionsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientSyncFunctionsSlotOptions) (WebAppsClientSyncFunctionsSlotResponse, error)

SyncFunctionsSlot - Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. slot - Name of the deployment slot. options - WebAppsClientSyncFunctionsSlotOptions contains the optional parameters for the WebAppsClient.SyncFunctionsSlot method.

func (*WebAppsClient) SyncRepository

func (client *WebAppsClient) SyncRepository(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientSyncRepositoryOptions) (WebAppsClientSyncRepositoryResponse, error)

SyncRepository - Sync web app repository. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. options - WebAppsClientSyncRepositoryOptions contains the optional parameters for the WebAppsClient.SyncRepository method.

func (*WebAppsClient) SyncRepositorySlot

func (client *WebAppsClient) SyncRepositorySlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientSyncRepositorySlotOptions) (WebAppsClientSyncRepositorySlotResponse, error)

SyncRepositorySlot - Sync web app repository. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientSyncRepositorySlotOptions contains the optional parameters for the WebAppsClient.SyncRepositorySlot method.

func (*WebAppsClient) Update

func (client *WebAppsClient) Update(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, options *WebAppsClientUpdateOptions) (WebAppsClientUpdateResponse, error)

Update - Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateOptions contains the optional parameters for the WebAppsClient.Update method.

func (*WebAppsClient) UpdateApplicationSettings

func (client *WebAppsClient) UpdateApplicationSettings(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary, options *WebAppsClientUpdateApplicationSettingsOptions) (WebAppsClientUpdateApplicationSettingsResponse, error)

UpdateApplicationSettings - Replaces the application settings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. appSettings - Application settings of the app. options - WebAppsClientUpdateApplicationSettingsOptions contains the optional parameters for the WebAppsClient.UpdateApplicationSettings method.

func (*WebAppsClient) UpdateApplicationSettingsSlot

func (client *WebAppsClient) UpdateApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, appSettings StringDictionary, options *WebAppsClientUpdateApplicationSettingsSlotOptions) (WebAppsClientUpdateApplicationSettingsSlotResponse, error)

UpdateApplicationSettingsSlot - Replaces the application settings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the application settings for the production slot. appSettings - Application settings of the app. options - WebAppsClientUpdateApplicationSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateApplicationSettingsSlot method.

func (*WebAppsClient) UpdateAuthSettings

func (client *WebAppsClient) UpdateAuthSettings(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings, options *WebAppsClientUpdateAuthSettingsOptions) (WebAppsClientUpdateAuthSettingsResponse, error)

UpdateAuthSettings - Updates the Authentication / Authorization settings associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. siteAuthSettings - Auth settings associated with web app. options - WebAppsClientUpdateAuthSettingsOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettings method.

func (*WebAppsClient) UpdateAuthSettingsSlot

func (client *WebAppsClient) UpdateAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteAuthSettings SiteAuthSettings, options *WebAppsClientUpdateAuthSettingsSlotOptions) (WebAppsClientUpdateAuthSettingsSlotResponse, error)

UpdateAuthSettingsSlot - Updates the Authentication / Authorization settings associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. siteAuthSettings - Auth settings associated with web app. options - WebAppsClientUpdateAuthSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettingsSlot method.

func (*WebAppsClient) UpdateAuthSettingsV2

func (client *WebAppsClient) UpdateAuthSettingsV2(ctx context.Context, resourceGroupName string, name string, siteAuthSettingsV2 SiteAuthSettingsV2, options *WebAppsClientUpdateAuthSettingsV2Options) (WebAppsClientUpdateAuthSettingsV2Response, error)

UpdateAuthSettingsV2 - Updates site's Authentication / Authorization settings for apps via the V2 format If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. siteAuthSettingsV2 - Auth settings associated with web app. options - WebAppsClientUpdateAuthSettingsV2Options contains the optional parameters for the WebAppsClient.UpdateAuthSettingsV2 method.

func (*WebAppsClient) UpdateAuthSettingsV2Slot

func (client *WebAppsClient) UpdateAuthSettingsV2Slot(ctx context.Context, resourceGroupName string, name string, slot string, siteAuthSettingsV2 SiteAuthSettingsV2, options *WebAppsClientUpdateAuthSettingsV2SlotOptions) (WebAppsClientUpdateAuthSettingsV2SlotResponse, error)

UpdateAuthSettingsV2Slot - Updates site's Authentication / Authorization settings for apps via the V2 format If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. siteAuthSettingsV2 - Auth settings associated with web app. options - WebAppsClientUpdateAuthSettingsV2SlotOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettingsV2Slot method.

func (*WebAppsClient) UpdateAzureStorageAccounts

func (client *WebAppsClient) UpdateAzureStorageAccounts(ctx context.Context, resourceGroupName string, name string, azureStorageAccounts AzureStoragePropertyDictionaryResource, options *WebAppsClientUpdateAzureStorageAccountsOptions) (WebAppsClientUpdateAzureStorageAccountsResponse, error)

UpdateAzureStorageAccounts - Updates the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. azureStorageAccounts - Azure storage accounts of the app. options - WebAppsClientUpdateAzureStorageAccountsOptions contains the optional parameters for the WebAppsClient.UpdateAzureStorageAccounts method.

func (*WebAppsClient) UpdateAzureStorageAccountsSlot

func (client *WebAppsClient) UpdateAzureStorageAccountsSlot(ctx context.Context, resourceGroupName string, name string, slot string, azureStorageAccounts AzureStoragePropertyDictionaryResource, options *WebAppsClientUpdateAzureStorageAccountsSlotOptions) (WebAppsClientUpdateAzureStorageAccountsSlotResponse, error)

UpdateAzureStorageAccountsSlot - Updates the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the Azure storage account configurations for the production slot. azureStorageAccounts - Azure storage accounts of the app. options - WebAppsClientUpdateAzureStorageAccountsSlotOptions contains the optional parameters for the WebAppsClient.UpdateAzureStorageAccountsSlot method.

func (*WebAppsClient) UpdateBackupConfiguration

func (client *WebAppsClient) UpdateBackupConfiguration(ctx context.Context, resourceGroupName string, name string, request BackupRequest, options *WebAppsClientUpdateBackupConfigurationOptions) (WebAppsClientUpdateBackupConfigurationResponse, error)

UpdateBackupConfiguration - Updates the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. request - Edited backup configuration. options - WebAppsClientUpdateBackupConfigurationOptions contains the optional parameters for the WebAppsClient.UpdateBackupConfiguration method.

func (*WebAppsClient) UpdateBackupConfigurationSlot

func (client *WebAppsClient) UpdateBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, request BackupRequest, options *WebAppsClientUpdateBackupConfigurationSlotOptions) (WebAppsClientUpdateBackupConfigurationSlotResponse, error)

UpdateBackupConfigurationSlot - Updates the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the backup configuration for the production slot. request - Edited backup configuration. options - WebAppsClientUpdateBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.UpdateBackupConfigurationSlot method.

func (*WebAppsClient) UpdateConfiguration

func (client *WebAppsClient) UpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, options *WebAppsClientUpdateConfigurationOptions) (WebAppsClientUpdateConfigurationResponse, error)

UpdateConfiguration - Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateConfigurationOptions contains the optional parameters for the WebAppsClient.UpdateConfiguration method.

func (*WebAppsClient) UpdateConfigurationSlot

func (client *WebAppsClient) UpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteConfig SiteConfigResource, options *WebAppsClientUpdateConfigurationSlotOptions) (WebAppsClientUpdateConfigurationSlotResponse, error)

UpdateConfigurationSlot - Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update configuration for the production slot. siteConfig - JSON representation of a SiteConfig object. See example. options - WebAppsClientUpdateConfigurationSlotOptions contains the optional parameters for the WebAppsClient.UpdateConfigurationSlot method.

func (*WebAppsClient) UpdateConnectionStrings

func (client *WebAppsClient) UpdateConnectionStrings(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary, options *WebAppsClientUpdateConnectionStringsOptions) (WebAppsClientUpdateConnectionStringsResponse, error)

UpdateConnectionStrings - Replaces the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateConnectionStringsOptions contains the optional parameters for the WebAppsClient.UpdateConnectionStrings method.

func (*WebAppsClient) UpdateConnectionStringsSlot

func (client *WebAppsClient) UpdateConnectionStringsSlot(ctx context.Context, resourceGroupName string, name string, slot string, connectionStrings ConnectionStringDictionary, options *WebAppsClientUpdateConnectionStringsSlotOptions) (WebAppsClientUpdateConnectionStringsSlotResponse, error)

UpdateConnectionStringsSlot - Replaces the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the connection settings for the production slot. connectionStrings - Connection strings of the app or deployment slot. See example. options - WebAppsClientUpdateConnectionStringsSlotOptions contains the optional parameters for the WebAppsClient.UpdateConnectionStringsSlot method.

func (*WebAppsClient) UpdateDiagnosticLogsConfig

func (client *WebAppsClient) UpdateDiagnosticLogsConfig(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig, options *WebAppsClientUpdateDiagnosticLogsConfigOptions) (WebAppsClientUpdateDiagnosticLogsConfigResponse, error)

UpdateDiagnosticLogsConfig - Updates the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateDiagnosticLogsConfigOptions contains the optional parameters for the WebAppsClient.UpdateDiagnosticLogsConfig method.

func (*WebAppsClient) UpdateDiagnosticLogsConfigSlot

func (client *WebAppsClient) UpdateDiagnosticLogsConfigSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteLogsConfig SiteLogsConfig, options *WebAppsClientUpdateDiagnosticLogsConfigSlotOptions) (WebAppsClientUpdateDiagnosticLogsConfigSlotResponse, error)

UpdateDiagnosticLogsConfigSlot - Updates the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the logging configuration for the production slot. siteLogsConfig - A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. options - WebAppsClientUpdateDiagnosticLogsConfigSlotOptions contains the optional parameters for the WebAppsClient.UpdateDiagnosticLogsConfigSlot method.

func (*WebAppsClient) UpdateDomainOwnershipIdentifier

func (client *WebAppsClient) UpdateDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, options *WebAppsClientUpdateDomainOwnershipIdentifierOptions) (WebAppsClientUpdateDomainOwnershipIdentifierResponse, error)

UpdateDomainOwnershipIdentifier - Creates a domain ownership identifier for web app, or updates an existing ownership identifier. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.UpdateDomainOwnershipIdentifier method.

func (*WebAppsClient) UpdateDomainOwnershipIdentifierSlot

func (client *WebAppsClient) UpdateDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string, domainOwnershipIdentifier Identifier, options *WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions) (WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse, error)

UpdateDomainOwnershipIdentifierSlot - Creates a domain ownership identifier for web app, or updates an existing ownership identifier. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. domainOwnershipIdentifier - A JSON representation of the domain ownership properties. options - WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.UpdateDomainOwnershipIdentifierSlot method.

func (*WebAppsClient) UpdateFtpAllowed

func (client *WebAppsClient) UpdateFtpAllowed(ctx context.Context, resourceGroupName string, name string, csmPublishingAccessPoliciesEntity CsmPublishingCredentialsPoliciesEntity, options *WebAppsClientUpdateFtpAllowedOptions) (WebAppsClientUpdateFtpAllowedResponse, error)

UpdateFtpAllowed - Updates whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientUpdateFtpAllowedOptions contains the optional parameters for the WebAppsClient.UpdateFtpAllowed method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicy.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.UpdateFtpAllowed(ctx,
		"rg",
		"testSite",
		armappservice.CsmPublishingCredentialsPoliciesEntity{
			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
				Allow: to.Ptr(true),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) UpdateFtpAllowedSlot

func (client *WebAppsClient) UpdateFtpAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, csmPublishingAccessPoliciesEntity CsmPublishingCredentialsPoliciesEntity, options *WebAppsClientUpdateFtpAllowedSlotOptions) (WebAppsClientUpdateFtpAllowedSlotResponse, error)

UpdateFtpAllowedSlot - Updates whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientUpdateFtpAllowedSlotOptions contains the optional parameters for the WebAppsClient.UpdateFtpAllowedSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicySlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.UpdateFtpAllowedSlot(ctx,
		"rg",
		"testSite",
		"stage",
		armappservice.CsmPublishingCredentialsPoliciesEntity{
			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
				Allow: to.Ptr(true),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) UpdateHybridConnection

func (client *WebAppsClient) UpdateHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, options *WebAppsClientUpdateHybridConnectionOptions) (WebAppsClientUpdateHybridConnectionResponse, error)

UpdateHybridConnection - Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateHybridConnectionOptions contains the optional parameters for the WebAppsClient.UpdateHybridConnection method.

func (*WebAppsClient) UpdateHybridConnectionSlot

func (client *WebAppsClient) UpdateHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string, connectionEnvelope HybridConnection, options *WebAppsClientUpdateHybridConnectionSlotOptions) (WebAppsClientUpdateHybridConnectionSlotResponse, error)

UpdateHybridConnectionSlot - Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. connectionEnvelope - The details of the hybrid connection. options - WebAppsClientUpdateHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateHybridConnectionSlot method.

func (*WebAppsClient) UpdateMetadata

func (client *WebAppsClient) UpdateMetadata(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary, options *WebAppsClientUpdateMetadataOptions) (WebAppsClientUpdateMetadataResponse, error)

UpdateMetadata - Replaces the metadata of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateMetadataOptions contains the optional parameters for the WebAppsClient.UpdateMetadata method.

func (*WebAppsClient) UpdateMetadataSlot

func (client *WebAppsClient) UpdateMetadataSlot(ctx context.Context, resourceGroupName string, name string, slot string, metadata StringDictionary, options *WebAppsClientUpdateMetadataSlotOptions) (WebAppsClientUpdateMetadataSlotResponse, error)

UpdateMetadataSlot - Replaces the metadata of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the metadata for the production slot. metadata - Edited metadata of the app or deployment slot. See example. options - WebAppsClientUpdateMetadataSlotOptions contains the optional parameters for the WebAppsClient.UpdateMetadataSlot method.

func (*WebAppsClient) UpdatePremierAddOn

func (client *WebAppsClient) UpdatePremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOnPatchResource, options *WebAppsClientUpdatePremierAddOnOptions) (WebAppsClientUpdatePremierAddOnResponse, error)

UpdatePremierAddOn - Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdatePremierAddOnOptions contains the optional parameters for the WebAppsClient.UpdatePremierAddOn method.

func (*WebAppsClient) UpdatePremierAddOnSlot

func (client *WebAppsClient) UpdatePremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string, premierAddOn PremierAddOnPatchResource, options *WebAppsClientUpdatePremierAddOnSlotOptions) (WebAppsClientUpdatePremierAddOnSlotResponse, error)

UpdatePremierAddOnSlot - Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the named add-on for the production slot. premierAddOn - A JSON representation of the edited premier add-on. options - WebAppsClientUpdatePremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.UpdatePremierAddOnSlot method.

func (*WebAppsClient) UpdateRelayServiceConnection

func (client *WebAppsClient) UpdateRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, options *WebAppsClientUpdateRelayServiceConnectionOptions) (WebAppsClientUpdateRelayServiceConnectionResponse, error)

UpdateRelayServiceConnection - Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.UpdateRelayServiceConnection method.

func (*WebAppsClient) UpdateRelayServiceConnectionSlot

func (client *WebAppsClient) UpdateRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string, connectionEnvelope RelayServiceConnectionEntity, options *WebAppsClientUpdateRelayServiceConnectionSlotOptions) (WebAppsClientUpdateRelayServiceConnectionSlotResponse, error)

UpdateRelayServiceConnectionSlot - Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 create or update a hybrid connection for the production slot. connectionEnvelope - Details of the hybrid connection configuration. options - WebAppsClientUpdateRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateRelayServiceConnectionSlot method.

func (*WebAppsClient) UpdateScmAllowed

func (client *WebAppsClient) UpdateScmAllowed(ctx context.Context, resourceGroupName string, name string, csmPublishingAccessPoliciesEntity CsmPublishingCredentialsPoliciesEntity, options *WebAppsClientUpdateScmAllowedOptions) (WebAppsClientUpdateScmAllowedResponse, error)

UpdateScmAllowed - Updates whether user publishing credentials are allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientUpdateScmAllowedOptions contains the optional parameters for the WebAppsClient.UpdateScmAllowed method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicy.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.UpdateScmAllowed(ctx,
		"rg",
		"testSite",
		armappservice.CsmPublishingCredentialsPoliciesEntity{
			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
				Allow: to.Ptr(true),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) UpdateScmAllowedSlot

func (client *WebAppsClient) UpdateScmAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, csmPublishingAccessPoliciesEntity CsmPublishingCredentialsPoliciesEntity, options *WebAppsClientUpdateScmAllowedSlotOptions) (WebAppsClientUpdateScmAllowedSlotResponse, error)

UpdateScmAllowedSlot - Updates whether user publishing credentials are allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. options - WebAppsClientUpdateScmAllowedSlotOptions contains the optional parameters for the WebAppsClient.UpdateScmAllowedSlot method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/UpdatePublishingCredentialsPolicySlot.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebAppsClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.UpdateScmAllowedSlot(ctx,
		"rg",
		"testSite",
		"stage",
		armappservice.CsmPublishingCredentialsPoliciesEntity{
			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
				Allow: to.Ptr(true),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

func (*WebAppsClient) UpdateSitePushSettings

func (client *WebAppsClient) UpdateSitePushSettings(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings, options *WebAppsClientUpdateSitePushSettingsOptions) (WebAppsClientUpdateSitePushSettingsResponse, error)

UpdateSitePushSettings - Updates the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of web app. pushSettings - Push settings associated with web app. options - WebAppsClientUpdateSitePushSettingsOptions contains the optional parameters for the WebAppsClient.UpdateSitePushSettings method.

func (*WebAppsClient) UpdateSitePushSettingsSlot

func (client *WebAppsClient) UpdateSitePushSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, pushSettings PushSettings, options *WebAppsClientUpdateSitePushSettingsSlotOptions) (WebAppsClientUpdateSitePushSettingsSlotResponse, error)

UpdateSitePushSettingsSlot - Updates the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. pushSettings - Push settings associated with web app. options - WebAppsClientUpdateSitePushSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateSitePushSettingsSlot method.

func (*WebAppsClient) UpdateSlot

func (client *WebAppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteEnvelope SitePatchResource, options *WebAppsClientUpdateSlotOptions) (WebAppsClientUpdateSlotResponse, error)

UpdateSlot - Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. slot - Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. siteEnvelope - A JSON representation of the app properties. See example. options - WebAppsClientUpdateSlotOptions contains the optional parameters for the WebAppsClient.UpdateSlot method.

func (*WebAppsClient) UpdateSlotConfigurationNames

func (client *WebAppsClient) UpdateSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string, slotConfigNames SlotConfigNamesResource, options *WebAppsClientUpdateSlotConfigurationNamesOptions) (WebAppsClientUpdateSlotConfigurationNamesResponse, error)

UpdateSlotConfigurationNames - Updates the names of application settings and connection string that remain with the slot during swap operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateSlotConfigurationNamesOptions contains the optional parameters for the WebAppsClient.UpdateSlotConfigurationNames method.

func (*WebAppsClient) UpdateSourceControl

func (client *WebAppsClient) UpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, options *WebAppsClientUpdateSourceControlOptions) (WebAppsClientUpdateSourceControlResponse, error)

UpdateSourceControl - Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateSourceControlOptions contains the optional parameters for the WebAppsClient.UpdateSourceControl method.

func (*WebAppsClient) UpdateSourceControlSlot

func (client *WebAppsClient) UpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteSourceControl SiteSourceControl, options *WebAppsClientUpdateSourceControlSlotOptions) (WebAppsClientUpdateSourceControlSlotResponse, error)

UpdateSourceControlSlot - Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 update the source control configuration for the production slot. siteSourceControl - JSON representation of a SiteSourceControl object. See example. options - WebAppsClientUpdateSourceControlSlotOptions contains the optional parameters for the WebAppsClient.UpdateSourceControlSlot method.

func (*WebAppsClient) UpdateSwiftVirtualNetworkConnectionWithCheck

func (client *WebAppsClient) UpdateSwiftVirtualNetworkConnectionWithCheck(ctx context.Context, resourceGroupName string, name string, connectionEnvelope SwiftVirtualNetwork, options *WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions) (WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse, error)

UpdateSwiftVirtualNetworkConnectionWithCheck - Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. connectionEnvelope - Properties of the Virtual Network connection. See example. options - WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions contains the optional parameters for the WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheck method.

func (*WebAppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckSlot

func (client *WebAppsClient) UpdateSwiftVirtualNetworkConnectionWithCheckSlot(ctx context.Context, resourceGroupName string, name string, slot string, connectionEnvelope SwiftVirtualNetwork, options *WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions) (WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse, error)

UpdateSwiftVirtualNetworkConnectionWithCheckSlot - Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 add or update connections for the production slot. connectionEnvelope - Properties of the Virtual Network connection. See example. options - WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions contains the optional parameters for the WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheckSlot method.

func (*WebAppsClient) UpdateVnetConnection

func (client *WebAppsClient) UpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfoResource, options *WebAppsClientUpdateVnetConnectionOptions) (WebAppsClientUpdateVnetConnectionResponse, error)

UpdateVnetConnection - Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateVnetConnectionOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnection method.

func (*WebAppsClient) UpdateVnetConnectionGateway

func (client *WebAppsClient) UpdateVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, options *WebAppsClientUpdateVnetConnectionGatewayOptions) (WebAppsClientUpdateVnetConnectionGatewayResponse, error)

UpdateVnetConnectionGateway - Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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. options - WebAppsClientUpdateVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionGateway method.

func (*WebAppsClient) UpdateVnetConnectionGatewaySlot

func (client *WebAppsClient) UpdateVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, slot string, connectionEnvelope VnetGateway, options *WebAppsClientUpdateVnetConnectionGatewaySlotOptions) (WebAppsClientUpdateVnetConnectionGatewaySlotResponse, error)

UpdateVnetConnectionGatewaySlot - Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 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 add or update a gateway for the production slot's Virtual Network. connectionEnvelope - The properties to update this gateway with. options - WebAppsClientUpdateVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionGatewaySlot method.

func (*WebAppsClient) UpdateVnetConnectionSlot

func (client *WebAppsClient) UpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string, connectionEnvelope VnetInfoResource, options *WebAppsClientUpdateVnetConnectionSlotOptions) (WebAppsClientUpdateVnetConnectionSlotResponse, error)

UpdateVnetConnectionSlot - Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. name - Name of the app. vnetName - Name of an existing Virtual Network. slot - Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. connectionEnvelope - Properties of the Virtual Network connection. See example. options - WebAppsClientUpdateVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionSlot method.

type WebAppsClientAddPremierAddOnOptions added in v0.2.0

type WebAppsClientAddPremierAddOnOptions struct {
}

WebAppsClientAddPremierAddOnOptions contains the optional parameters for the WebAppsClient.AddPremierAddOn method.

type WebAppsClientAddPremierAddOnResponse added in v0.2.0

type WebAppsClientAddPremierAddOnResponse struct {
	PremierAddOn
}

WebAppsClientAddPremierAddOnResponse contains the response from method WebAppsClient.AddPremierAddOn.

type WebAppsClientAddPremierAddOnSlotOptions added in v0.2.0

type WebAppsClientAddPremierAddOnSlotOptions struct {
}

WebAppsClientAddPremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.AddPremierAddOnSlot method.

type WebAppsClientAddPremierAddOnSlotResponse added in v0.2.0

type WebAppsClientAddPremierAddOnSlotResponse struct {
	PremierAddOn
}

WebAppsClientAddPremierAddOnSlotResponse contains the response from method WebAppsClient.AddPremierAddOnSlot.

type WebAppsClientAnalyzeCustomHostnameOptions added in v0.2.0

type WebAppsClientAnalyzeCustomHostnameOptions struct {
	// Custom hostname.
	HostName *string
}

WebAppsClientAnalyzeCustomHostnameOptions contains the optional parameters for the WebAppsClient.AnalyzeCustomHostname method.

type WebAppsClientAnalyzeCustomHostnameResponse added in v0.2.0

type WebAppsClientAnalyzeCustomHostnameResponse struct {
	CustomHostnameAnalysisResult
}

WebAppsClientAnalyzeCustomHostnameResponse contains the response from method WebAppsClient.AnalyzeCustomHostname.

type WebAppsClientAnalyzeCustomHostnameSlotOptions added in v0.2.0

type WebAppsClientAnalyzeCustomHostnameSlotOptions struct {
	// Custom hostname.
	HostName *string
}

WebAppsClientAnalyzeCustomHostnameSlotOptions contains the optional parameters for the WebAppsClient.AnalyzeCustomHostnameSlot method.

type WebAppsClientAnalyzeCustomHostnameSlotResponse added in v0.2.0

type WebAppsClientAnalyzeCustomHostnameSlotResponse struct {
	CustomHostnameAnalysisResult
}

WebAppsClientAnalyzeCustomHostnameSlotResponse contains the response from method WebAppsClient.AnalyzeCustomHostnameSlot.

type WebAppsClientApplySlotConfigToProductionOptions added in v0.2.0

type WebAppsClientApplySlotConfigToProductionOptions struct {
}

WebAppsClientApplySlotConfigToProductionOptions contains the optional parameters for the WebAppsClient.ApplySlotConfigToProduction method.

type WebAppsClientApplySlotConfigToProductionResponse added in v0.2.0

type WebAppsClientApplySlotConfigToProductionResponse struct {
}

WebAppsClientApplySlotConfigToProductionResponse contains the response from method WebAppsClient.ApplySlotConfigToProduction.

type WebAppsClientApplySlotConfigurationSlotOptions added in v0.2.0

type WebAppsClientApplySlotConfigurationSlotOptions struct {
}

WebAppsClientApplySlotConfigurationSlotOptions contains the optional parameters for the WebAppsClient.ApplySlotConfigurationSlot method.

type WebAppsClientApplySlotConfigurationSlotResponse added in v0.2.0

type WebAppsClientApplySlotConfigurationSlotResponse struct {
}

WebAppsClientApplySlotConfigurationSlotResponse contains the response from method WebAppsClient.ApplySlotConfigurationSlot.

type WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse added in v0.2.0

type WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse contains the response from method WebAppsClient.ApproveOrRejectPrivateEndpointConnection.

type WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse added in v0.2.0

type WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse contains the response from method WebAppsClient.ApproveOrRejectPrivateEndpointConnectionSlot.

type WebAppsClientBackupOptions added in v0.2.0

type WebAppsClientBackupOptions struct {
}

WebAppsClientBackupOptions contains the optional parameters for the WebAppsClient.Backup method.

type WebAppsClientBackupResponse added in v0.2.0

type WebAppsClientBackupResponse struct {
	BackupItem
}

WebAppsClientBackupResponse contains the response from method WebAppsClient.Backup.

type WebAppsClientBackupSlotOptions added in v0.2.0

type WebAppsClientBackupSlotOptions struct {
}

WebAppsClientBackupSlotOptions contains the optional parameters for the WebAppsClient.BackupSlot method.

type WebAppsClientBackupSlotResponse added in v0.2.0

type WebAppsClientBackupSlotResponse struct {
	BackupItem
}

WebAppsClientBackupSlotResponse contains the response from method WebAppsClient.BackupSlot.

type WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions added in v0.2.0

type WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.BeginApproveOrRejectPrivateEndpointConnection method.

type WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions added in v0.2.0

type WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.BeginApproveOrRejectPrivateEndpointConnectionSlot method.

type WebAppsClientBeginCreateFunctionOptions added in v0.2.0

type WebAppsClientBeginCreateFunctionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateFunctionOptions contains the optional parameters for the WebAppsClient.BeginCreateFunction method.

type WebAppsClientBeginCreateInstanceFunctionSlotOptions added in v0.2.0

type WebAppsClientBeginCreateInstanceFunctionSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceFunctionSlot method.

type WebAppsClientBeginCreateInstanceMSDeployOperationOptions added in v0.2.0

type WebAppsClientBeginCreateInstanceMSDeployOperationOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateInstanceMSDeployOperationOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceMSDeployOperation method.

type WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions added in v0.2.0

type WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceMSDeployOperationSlot method.

type WebAppsClientBeginCreateMSDeployOperationOptions added in v0.2.0

type WebAppsClientBeginCreateMSDeployOperationOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateMSDeployOperationOptions contains the optional parameters for the WebAppsClient.BeginCreateMSDeployOperation method.

type WebAppsClientBeginCreateMSDeployOperationSlotOptions added in v0.2.0

type WebAppsClientBeginCreateMSDeployOperationSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateMSDeployOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateMSDeployOperationSlot method.

type WebAppsClientBeginCreateOrUpdateOptions added in v0.2.0

type WebAppsClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateOrUpdateOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdate method.

type WebAppsClientBeginCreateOrUpdateSlotOptions added in v0.2.0

type WebAppsClientBeginCreateOrUpdateSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateOrUpdateSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSlot method.

type WebAppsClientBeginCreateOrUpdateSourceControlOptions added in v0.2.0

type WebAppsClientBeginCreateOrUpdateSourceControlOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateOrUpdateSourceControlOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSourceControl method.

type WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions added in v0.2.0

type WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSourceControlSlot method.

type WebAppsClientBeginDeletePrivateEndpointConnectionOptions added in v0.2.0

type WebAppsClientBeginDeletePrivateEndpointConnectionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.BeginDeletePrivateEndpointConnection method.

type WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions added in v0.2.0

type WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.BeginDeletePrivateEndpointConnectionSlot method.

type WebAppsClientBeginInstallSiteExtensionOptions added in v0.2.0

type WebAppsClientBeginInstallSiteExtensionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginInstallSiteExtensionOptions contains the optional parameters for the WebAppsClient.BeginInstallSiteExtension method.

type WebAppsClientBeginInstallSiteExtensionSlotOptions added in v0.2.0

type WebAppsClientBeginInstallSiteExtensionSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginInstallSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.BeginInstallSiteExtensionSlot method.

type WebAppsClientBeginListPublishingCredentialsOptions added in v0.2.0

type WebAppsClientBeginListPublishingCredentialsOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginListPublishingCredentialsOptions contains the optional parameters for the WebAppsClient.BeginListPublishingCredentials method.

type WebAppsClientBeginListPublishingCredentialsSlotOptions added in v0.2.0

type WebAppsClientBeginListPublishingCredentialsSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginListPublishingCredentialsSlotOptions contains the optional parameters for the WebAppsClient.BeginListPublishingCredentialsSlot method.

type WebAppsClientBeginMigrateMySQLOptions added in v0.2.0

type WebAppsClientBeginMigrateMySQLOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginMigrateMySQLOptions contains the optional parameters for the WebAppsClient.BeginMigrateMySQL method.

type WebAppsClientBeginMigrateStorageOptions added in v0.2.0

type WebAppsClientBeginMigrateStorageOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginMigrateStorageOptions contains the optional parameters for the WebAppsClient.BeginMigrateStorage method.

type WebAppsClientBeginRestoreFromBackupBlobOptions added in v0.2.0

type WebAppsClientBeginRestoreFromBackupBlobOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreFromBackupBlobOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromBackupBlob method.

type WebAppsClientBeginRestoreFromBackupBlobSlotOptions added in v0.2.0

type WebAppsClientBeginRestoreFromBackupBlobSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreFromBackupBlobSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromBackupBlobSlot method.

type WebAppsClientBeginRestoreFromDeletedAppOptions added in v0.2.0

type WebAppsClientBeginRestoreFromDeletedAppOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreFromDeletedAppOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromDeletedApp method.

type WebAppsClientBeginRestoreFromDeletedAppSlotOptions added in v0.2.0

type WebAppsClientBeginRestoreFromDeletedAppSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreFromDeletedAppSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromDeletedAppSlot method.

type WebAppsClientBeginRestoreOptions added in v0.2.0

type WebAppsClientBeginRestoreOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreOptions contains the optional parameters for the WebAppsClient.BeginRestore method.

type WebAppsClientBeginRestoreSlotOptions added in v0.2.0

type WebAppsClientBeginRestoreSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSlot method.

type WebAppsClientBeginRestoreSnapshotOptions added in v0.2.0

type WebAppsClientBeginRestoreSnapshotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreSnapshotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSnapshot method.

type WebAppsClientBeginRestoreSnapshotSlotOptions added in v0.2.0

type WebAppsClientBeginRestoreSnapshotSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginRestoreSnapshotSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSnapshotSlot method.

type WebAppsClientBeginStartNetworkTraceOptions added in v0.2.0

type WebAppsClientBeginStartNetworkTraceOptions struct {
	// The duration to keep capturing in seconds.
	DurationInSeconds *int32
	// The maximum frame length in bytes (Optional).
	MaxFrameLength *int32
	// Resumes the LRO from the provided token.
	ResumeToken string
	// The Blob URL to store capture file.
	SasURL *string
}

WebAppsClientBeginStartNetworkTraceOptions contains the optional parameters for the WebAppsClient.BeginStartNetworkTrace method.

type WebAppsClientBeginStartNetworkTraceSlotOptions added in v0.2.0

type WebAppsClientBeginStartNetworkTraceSlotOptions struct {
	// The duration to keep capturing in seconds.
	DurationInSeconds *int32
	// The maximum frame length in bytes (Optional).
	MaxFrameLength *int32
	// Resumes the LRO from the provided token.
	ResumeToken string
	// The Blob URL to store capture file.
	SasURL *string
}

WebAppsClientBeginStartNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.BeginStartNetworkTraceSlot method.

type WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions added in v0.2.0

type WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions struct {
	// The duration to keep capturing in seconds.
	DurationInSeconds *int32
	// The maximum frame length in bytes (Optional).
	MaxFrameLength *int32
	// Resumes the LRO from the provided token.
	ResumeToken string
	// The Blob URL to store capture file.
	SasURL *string
}

WebAppsClientBeginStartWebSiteNetworkTraceOperationOptions contains the optional parameters for the WebAppsClient.BeginStartWebSiteNetworkTraceOperation method.

type WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions added in v0.2.0

type WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions struct {
	// The duration to keep capturing in seconds.
	DurationInSeconds *int32
	// The maximum frame length in bytes (Optional).
	MaxFrameLength *int32
	// Resumes the LRO from the provided token.
	ResumeToken string
	// The Blob URL to store capture file.
	SasURL *string
}

WebAppsClientBeginStartWebSiteNetworkTraceOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginStartWebSiteNetworkTraceOperationSlot method.

type WebAppsClientBeginSwapSlotOptions added in v0.2.0

type WebAppsClientBeginSwapSlotOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginSwapSlotOptions contains the optional parameters for the WebAppsClient.BeginSwapSlot method.

type WebAppsClientBeginSwapSlotWithProductionOptions added in v0.2.0

type WebAppsClientBeginSwapSlotWithProductionOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WebAppsClientBeginSwapSlotWithProductionOptions contains the optional parameters for the WebAppsClient.BeginSwapSlotWithProduction method.

type WebAppsClientCreateDeploymentOptions added in v0.2.0

type WebAppsClientCreateDeploymentOptions struct {
}

WebAppsClientCreateDeploymentOptions contains the optional parameters for the WebAppsClient.CreateDeployment method.

type WebAppsClientCreateDeploymentResponse added in v0.2.0

type WebAppsClientCreateDeploymentResponse struct {
	Deployment
}

WebAppsClientCreateDeploymentResponse contains the response from method WebAppsClient.CreateDeployment.

type WebAppsClientCreateDeploymentSlotOptions added in v0.2.0

type WebAppsClientCreateDeploymentSlotOptions struct {
}

WebAppsClientCreateDeploymentSlotOptions contains the optional parameters for the WebAppsClient.CreateDeploymentSlot method.

type WebAppsClientCreateDeploymentSlotResponse added in v0.2.0

type WebAppsClientCreateDeploymentSlotResponse struct {
	Deployment
}

WebAppsClientCreateDeploymentSlotResponse contains the response from method WebAppsClient.CreateDeploymentSlot.

type WebAppsClientCreateFunctionResponse added in v0.2.0

type WebAppsClientCreateFunctionResponse struct {
	FunctionEnvelope
}

WebAppsClientCreateFunctionResponse contains the response from method WebAppsClient.CreateFunction.

type WebAppsClientCreateInstanceFunctionSlotResponse added in v0.2.0

type WebAppsClientCreateInstanceFunctionSlotResponse struct {
	FunctionEnvelope
}

WebAppsClientCreateInstanceFunctionSlotResponse contains the response from method WebAppsClient.CreateInstanceFunctionSlot.

type WebAppsClientCreateInstanceMSDeployOperationResponse added in v0.2.0

type WebAppsClientCreateInstanceMSDeployOperationResponse struct {
	MSDeployStatus
}

WebAppsClientCreateInstanceMSDeployOperationResponse contains the response from method WebAppsClient.CreateInstanceMSDeployOperation.

type WebAppsClientCreateInstanceMSDeployOperationSlotResponse added in v0.2.0

type WebAppsClientCreateInstanceMSDeployOperationSlotResponse struct {
	MSDeployStatus
}

WebAppsClientCreateInstanceMSDeployOperationSlotResponse contains the response from method WebAppsClient.CreateInstanceMSDeployOperationSlot.

type WebAppsClientCreateMSDeployOperationResponse added in v0.2.0

type WebAppsClientCreateMSDeployOperationResponse struct {
	MSDeployStatus
}

WebAppsClientCreateMSDeployOperationResponse contains the response from method WebAppsClient.CreateMSDeployOperation.

type WebAppsClientCreateMSDeployOperationSlotResponse added in v0.2.0

type WebAppsClientCreateMSDeployOperationSlotResponse struct {
	MSDeployStatus
}

WebAppsClientCreateMSDeployOperationSlotResponse contains the response from method WebAppsClient.CreateMSDeployOperationSlot.

type WebAppsClientCreateOneDeployOperationOptions added in v0.2.0

type WebAppsClientCreateOneDeployOperationOptions struct {
}

WebAppsClientCreateOneDeployOperationOptions contains the optional parameters for the WebAppsClient.CreateOneDeployOperation method.

type WebAppsClientCreateOneDeployOperationResponse added in v0.2.0

type WebAppsClientCreateOneDeployOperationResponse struct {
	// Anything
	Interface interface{}
}

WebAppsClientCreateOneDeployOperationResponse contains the response from method WebAppsClient.CreateOneDeployOperation.

type WebAppsClientCreateOrUpdateConfigurationOptions added in v0.2.0

type WebAppsClientCreateOrUpdateConfigurationOptions struct {
}

WebAppsClientCreateOrUpdateConfigurationOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateConfiguration method.

type WebAppsClientCreateOrUpdateConfigurationResponse added in v0.2.0

type WebAppsClientCreateOrUpdateConfigurationResponse struct {
	SiteConfigResource
}

WebAppsClientCreateOrUpdateConfigurationResponse contains the response from method WebAppsClient.CreateOrUpdateConfiguration.

type WebAppsClientCreateOrUpdateConfigurationSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateConfigurationSlotOptions struct {
}

WebAppsClientCreateOrUpdateConfigurationSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateConfigurationSlot method.

type WebAppsClientCreateOrUpdateConfigurationSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateConfigurationSlotResponse struct {
	SiteConfigResource
}

WebAppsClientCreateOrUpdateConfigurationSlotResponse contains the response from method WebAppsClient.CreateOrUpdateConfigurationSlot.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions added in v0.2.0

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions struct {
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateDomainOwnershipIdentifier method.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse added in v0.2.0

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse struct {
	Identifier
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.CreateOrUpdateDomainOwnershipIdentifier.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateDomainOwnershipIdentifierSlot method.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse struct {
	Identifier
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.CreateOrUpdateDomainOwnershipIdentifierSlot.

type WebAppsClientCreateOrUpdateFunctionSecretOptions added in v0.2.0

type WebAppsClientCreateOrUpdateFunctionSecretOptions struct {
}

WebAppsClientCreateOrUpdateFunctionSecretOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateFunctionSecret method.

type WebAppsClientCreateOrUpdateFunctionSecretResponse added in v0.2.0

type WebAppsClientCreateOrUpdateFunctionSecretResponse struct {
	KeyInfo
}

WebAppsClientCreateOrUpdateFunctionSecretResponse contains the response from method WebAppsClient.CreateOrUpdateFunctionSecret.

type WebAppsClientCreateOrUpdateFunctionSecretSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateFunctionSecretSlotOptions struct {
}

WebAppsClientCreateOrUpdateFunctionSecretSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateFunctionSecretSlot method.

type WebAppsClientCreateOrUpdateFunctionSecretSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateFunctionSecretSlotResponse struct {
	KeyInfo
}

WebAppsClientCreateOrUpdateFunctionSecretSlotResponse contains the response from method WebAppsClient.CreateOrUpdateFunctionSecretSlot.

type WebAppsClientCreateOrUpdateHostNameBindingOptions added in v0.2.0

type WebAppsClientCreateOrUpdateHostNameBindingOptions struct {
}

WebAppsClientCreateOrUpdateHostNameBindingOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostNameBinding method.

type WebAppsClientCreateOrUpdateHostNameBindingResponse added in v0.2.0

type WebAppsClientCreateOrUpdateHostNameBindingResponse struct {
	HostNameBinding
}

WebAppsClientCreateOrUpdateHostNameBindingResponse contains the response from method WebAppsClient.CreateOrUpdateHostNameBinding.

type WebAppsClientCreateOrUpdateHostNameBindingSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateHostNameBindingSlotOptions struct {
}

WebAppsClientCreateOrUpdateHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostNameBindingSlot method.

type WebAppsClientCreateOrUpdateHostNameBindingSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateHostNameBindingSlotResponse struct {
	HostNameBinding
}

WebAppsClientCreateOrUpdateHostNameBindingSlotResponse contains the response from method WebAppsClient.CreateOrUpdateHostNameBindingSlot.

type WebAppsClientCreateOrUpdateHostSecretOptions added in v0.2.0

type WebAppsClientCreateOrUpdateHostSecretOptions struct {
}

WebAppsClientCreateOrUpdateHostSecretOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostSecret method.

type WebAppsClientCreateOrUpdateHostSecretResponse added in v0.2.0

type WebAppsClientCreateOrUpdateHostSecretResponse struct {
	KeyInfo
}

WebAppsClientCreateOrUpdateHostSecretResponse contains the response from method WebAppsClient.CreateOrUpdateHostSecret.

type WebAppsClientCreateOrUpdateHostSecretSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateHostSecretSlotOptions struct {
}

WebAppsClientCreateOrUpdateHostSecretSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostSecretSlot method.

type WebAppsClientCreateOrUpdateHostSecretSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateHostSecretSlotResponse struct {
	KeyInfo
}

WebAppsClientCreateOrUpdateHostSecretSlotResponse contains the response from method WebAppsClient.CreateOrUpdateHostSecretSlot.

type WebAppsClientCreateOrUpdateHybridConnectionOptions added in v0.2.0

type WebAppsClientCreateOrUpdateHybridConnectionOptions struct {
}

WebAppsClientCreateOrUpdateHybridConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHybridConnection method.

type WebAppsClientCreateOrUpdateHybridConnectionResponse added in v0.2.0

type WebAppsClientCreateOrUpdateHybridConnectionResponse struct {
	HybridConnection
}

WebAppsClientCreateOrUpdateHybridConnectionResponse contains the response from method WebAppsClient.CreateOrUpdateHybridConnection.

type WebAppsClientCreateOrUpdateHybridConnectionSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateHybridConnectionSlotOptions struct {
}

WebAppsClientCreateOrUpdateHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHybridConnectionSlot method.

type WebAppsClientCreateOrUpdateHybridConnectionSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateHybridConnectionSlotResponse struct {
	HybridConnection
}

WebAppsClientCreateOrUpdateHybridConnectionSlotResponse contains the response from method WebAppsClient.CreateOrUpdateHybridConnectionSlot.

type WebAppsClientCreateOrUpdatePublicCertificateOptions added in v0.2.0

type WebAppsClientCreateOrUpdatePublicCertificateOptions struct {
}

WebAppsClientCreateOrUpdatePublicCertificateOptions contains the optional parameters for the WebAppsClient.CreateOrUpdatePublicCertificate method.

type WebAppsClientCreateOrUpdatePublicCertificateResponse added in v0.2.0

type WebAppsClientCreateOrUpdatePublicCertificateResponse struct {
	PublicCertificate
}

WebAppsClientCreateOrUpdatePublicCertificateResponse contains the response from method WebAppsClient.CreateOrUpdatePublicCertificate.

type WebAppsClientCreateOrUpdatePublicCertificateSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdatePublicCertificateSlotOptions struct {
}

WebAppsClientCreateOrUpdatePublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdatePublicCertificateSlot method.

type WebAppsClientCreateOrUpdatePublicCertificateSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdatePublicCertificateSlotResponse struct {
	PublicCertificate
}

WebAppsClientCreateOrUpdatePublicCertificateSlotResponse contains the response from method WebAppsClient.CreateOrUpdatePublicCertificateSlot.

type WebAppsClientCreateOrUpdateRelayServiceConnectionOptions added in v0.2.0

type WebAppsClientCreateOrUpdateRelayServiceConnectionOptions struct {
}

WebAppsClientCreateOrUpdateRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateRelayServiceConnection method.

type WebAppsClientCreateOrUpdateRelayServiceConnectionResponse added in v0.2.0

type WebAppsClientCreateOrUpdateRelayServiceConnectionResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientCreateOrUpdateRelayServiceConnectionResponse contains the response from method WebAppsClient.CreateOrUpdateRelayServiceConnection.

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions struct {
}

WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateRelayServiceConnectionSlot method.

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.CreateOrUpdateRelayServiceConnectionSlot.

type WebAppsClientCreateOrUpdateResponse added in v0.2.0

type WebAppsClientCreateOrUpdateResponse struct {
	Site
}

WebAppsClientCreateOrUpdateResponse contains the response from method WebAppsClient.CreateOrUpdate.

type WebAppsClientCreateOrUpdateSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateSlotResponse struct {
	Site
}

WebAppsClientCreateOrUpdateSlotResponse contains the response from method WebAppsClient.CreateOrUpdateSlot.

type WebAppsClientCreateOrUpdateSourceControlResponse added in v0.2.0

type WebAppsClientCreateOrUpdateSourceControlResponse struct {
	SiteSourceControl
}

WebAppsClientCreateOrUpdateSourceControlResponse contains the response from method WebAppsClient.CreateOrUpdateSourceControl.

type WebAppsClientCreateOrUpdateSourceControlSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateSourceControlSlotResponse struct {
	SiteSourceControl
}

WebAppsClientCreateOrUpdateSourceControlSlotResponse contains the response from method WebAppsClient.CreateOrUpdateSourceControlSlot.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions added in v0.2.0

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions struct {
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck method.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse added in v0.2.0

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse struct {
	SwiftVirtualNetwork
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse contains the response from method WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions struct {
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot method.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse struct {
	SwiftVirtualNetwork
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse contains the response from method WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot.

type WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionGateway method.

type WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse struct {
	VnetGateway
}

WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnectionGateway.

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionGatewaySlot method.

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse struct {
	VnetGateway
}

WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnectionGatewaySlot.

type WebAppsClientCreateOrUpdateVnetConnectionOptions added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnection method.

type WebAppsClientCreateOrUpdateVnetConnectionResponse added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionResponse struct {
	VnetInfoResource
}

WebAppsClientCreateOrUpdateVnetConnectionResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnection.

type WebAppsClientCreateOrUpdateVnetConnectionSlotOptions added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionSlotOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionSlot method.

type WebAppsClientCreateOrUpdateVnetConnectionSlotResponse added in v0.2.0

type WebAppsClientCreateOrUpdateVnetConnectionSlotResponse struct {
	VnetInfoResource
}

WebAppsClientCreateOrUpdateVnetConnectionSlotResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnectionSlot.

type WebAppsClientDeleteBackupConfigurationOptions added in v0.2.0

type WebAppsClientDeleteBackupConfigurationOptions struct {
}

WebAppsClientDeleteBackupConfigurationOptions contains the optional parameters for the WebAppsClient.DeleteBackupConfiguration method.

type WebAppsClientDeleteBackupConfigurationResponse added in v0.2.0

type WebAppsClientDeleteBackupConfigurationResponse struct {
}

WebAppsClientDeleteBackupConfigurationResponse contains the response from method WebAppsClient.DeleteBackupConfiguration.

type WebAppsClientDeleteBackupConfigurationSlotOptions added in v0.2.0

type WebAppsClientDeleteBackupConfigurationSlotOptions struct {
}

WebAppsClientDeleteBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.DeleteBackupConfigurationSlot method.

type WebAppsClientDeleteBackupConfigurationSlotResponse added in v0.2.0

type WebAppsClientDeleteBackupConfigurationSlotResponse struct {
}

WebAppsClientDeleteBackupConfigurationSlotResponse contains the response from method WebAppsClient.DeleteBackupConfigurationSlot.

type WebAppsClientDeleteBackupOptions added in v0.2.0

type WebAppsClientDeleteBackupOptions struct {
}

WebAppsClientDeleteBackupOptions contains the optional parameters for the WebAppsClient.DeleteBackup method.

type WebAppsClientDeleteBackupResponse added in v0.2.0

type WebAppsClientDeleteBackupResponse struct {
}

WebAppsClientDeleteBackupResponse contains the response from method WebAppsClient.DeleteBackup.

type WebAppsClientDeleteBackupSlotOptions added in v0.2.0

type WebAppsClientDeleteBackupSlotOptions struct {
}

WebAppsClientDeleteBackupSlotOptions contains the optional parameters for the WebAppsClient.DeleteBackupSlot method.

type WebAppsClientDeleteBackupSlotResponse added in v0.2.0

type WebAppsClientDeleteBackupSlotResponse struct {
}

WebAppsClientDeleteBackupSlotResponse contains the response from method WebAppsClient.DeleteBackupSlot.

type WebAppsClientDeleteContinuousWebJobOptions added in v0.2.0

type WebAppsClientDeleteContinuousWebJobOptions struct {
}

WebAppsClientDeleteContinuousWebJobOptions contains the optional parameters for the WebAppsClient.DeleteContinuousWebJob method.

type WebAppsClientDeleteContinuousWebJobResponse added in v0.2.0

type WebAppsClientDeleteContinuousWebJobResponse struct {
}

WebAppsClientDeleteContinuousWebJobResponse contains the response from method WebAppsClient.DeleteContinuousWebJob.

type WebAppsClientDeleteContinuousWebJobSlotOptions added in v0.2.0

type WebAppsClientDeleteContinuousWebJobSlotOptions struct {
}

WebAppsClientDeleteContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.DeleteContinuousWebJobSlot method.

type WebAppsClientDeleteContinuousWebJobSlotResponse added in v0.2.0

type WebAppsClientDeleteContinuousWebJobSlotResponse struct {
}

WebAppsClientDeleteContinuousWebJobSlotResponse contains the response from method WebAppsClient.DeleteContinuousWebJobSlot.

type WebAppsClientDeleteDeploymentOptions added in v0.2.0

type WebAppsClientDeleteDeploymentOptions struct {
}

WebAppsClientDeleteDeploymentOptions contains the optional parameters for the WebAppsClient.DeleteDeployment method.

type WebAppsClientDeleteDeploymentResponse added in v0.2.0

type WebAppsClientDeleteDeploymentResponse struct {
}

WebAppsClientDeleteDeploymentResponse contains the response from method WebAppsClient.DeleteDeployment.

type WebAppsClientDeleteDeploymentSlotOptions added in v0.2.0

type WebAppsClientDeleteDeploymentSlotOptions struct {
}

WebAppsClientDeleteDeploymentSlotOptions contains the optional parameters for the WebAppsClient.DeleteDeploymentSlot method.

type WebAppsClientDeleteDeploymentSlotResponse added in v0.2.0

type WebAppsClientDeleteDeploymentSlotResponse struct {
}

WebAppsClientDeleteDeploymentSlotResponse contains the response from method WebAppsClient.DeleteDeploymentSlot.

type WebAppsClientDeleteDomainOwnershipIdentifierOptions added in v0.2.0

type WebAppsClientDeleteDomainOwnershipIdentifierOptions struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.DeleteDomainOwnershipIdentifier method.

type WebAppsClientDeleteDomainOwnershipIdentifierResponse added in v0.2.0

type WebAppsClientDeleteDomainOwnershipIdentifierResponse struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.DeleteDomainOwnershipIdentifier.

type WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions added in v0.2.0

type WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.DeleteDomainOwnershipIdentifierSlot method.

type WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse added in v0.2.0

type WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.DeleteDomainOwnershipIdentifierSlot.

type WebAppsClientDeleteFunctionOptions added in v0.2.0

type WebAppsClientDeleteFunctionOptions struct {
}

WebAppsClientDeleteFunctionOptions contains the optional parameters for the WebAppsClient.DeleteFunction method.

type WebAppsClientDeleteFunctionResponse added in v0.2.0

type WebAppsClientDeleteFunctionResponse struct {
}

WebAppsClientDeleteFunctionResponse contains the response from method WebAppsClient.DeleteFunction.

type WebAppsClientDeleteFunctionSecretOptions added in v0.2.0

type WebAppsClientDeleteFunctionSecretOptions struct {
}

WebAppsClientDeleteFunctionSecretOptions contains the optional parameters for the WebAppsClient.DeleteFunctionSecret method.

type WebAppsClientDeleteFunctionSecretResponse added in v0.2.0

type WebAppsClientDeleteFunctionSecretResponse struct {
}

WebAppsClientDeleteFunctionSecretResponse contains the response from method WebAppsClient.DeleteFunctionSecret.

type WebAppsClientDeleteFunctionSecretSlotOptions added in v0.2.0

type WebAppsClientDeleteFunctionSecretSlotOptions struct {
}

WebAppsClientDeleteFunctionSecretSlotOptions contains the optional parameters for the WebAppsClient.DeleteFunctionSecretSlot method.

type WebAppsClientDeleteFunctionSecretSlotResponse added in v0.2.0

type WebAppsClientDeleteFunctionSecretSlotResponse struct {
}

WebAppsClientDeleteFunctionSecretSlotResponse contains the response from method WebAppsClient.DeleteFunctionSecretSlot.

type WebAppsClientDeleteHostNameBindingOptions added in v0.2.0

type WebAppsClientDeleteHostNameBindingOptions struct {
}

WebAppsClientDeleteHostNameBindingOptions contains the optional parameters for the WebAppsClient.DeleteHostNameBinding method.

type WebAppsClientDeleteHostNameBindingResponse added in v0.2.0

type WebAppsClientDeleteHostNameBindingResponse struct {
}

WebAppsClientDeleteHostNameBindingResponse contains the response from method WebAppsClient.DeleteHostNameBinding.

type WebAppsClientDeleteHostNameBindingSlotOptions added in v0.2.0

type WebAppsClientDeleteHostNameBindingSlotOptions struct {
}

WebAppsClientDeleteHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.DeleteHostNameBindingSlot method.

type WebAppsClientDeleteHostNameBindingSlotResponse added in v0.2.0

type WebAppsClientDeleteHostNameBindingSlotResponse struct {
}

WebAppsClientDeleteHostNameBindingSlotResponse contains the response from method WebAppsClient.DeleteHostNameBindingSlot.

type WebAppsClientDeleteHostSecretOptions added in v0.2.0

type WebAppsClientDeleteHostSecretOptions struct {
}

WebAppsClientDeleteHostSecretOptions contains the optional parameters for the WebAppsClient.DeleteHostSecret method.

type WebAppsClientDeleteHostSecretResponse added in v0.2.0

type WebAppsClientDeleteHostSecretResponse struct {
}

WebAppsClientDeleteHostSecretResponse contains the response from method WebAppsClient.DeleteHostSecret.

type WebAppsClientDeleteHostSecretSlotOptions added in v0.2.0

type WebAppsClientDeleteHostSecretSlotOptions struct {
}

WebAppsClientDeleteHostSecretSlotOptions contains the optional parameters for the WebAppsClient.DeleteHostSecretSlot method.

type WebAppsClientDeleteHostSecretSlotResponse added in v0.2.0

type WebAppsClientDeleteHostSecretSlotResponse struct {
}

WebAppsClientDeleteHostSecretSlotResponse contains the response from method WebAppsClient.DeleteHostSecretSlot.

type WebAppsClientDeleteHybridConnectionOptions added in v0.2.0

type WebAppsClientDeleteHybridConnectionOptions struct {
}

WebAppsClientDeleteHybridConnectionOptions contains the optional parameters for the WebAppsClient.DeleteHybridConnection method.

type WebAppsClientDeleteHybridConnectionResponse added in v0.2.0

type WebAppsClientDeleteHybridConnectionResponse struct {
}

WebAppsClientDeleteHybridConnectionResponse contains the response from method WebAppsClient.DeleteHybridConnection.

type WebAppsClientDeleteHybridConnectionSlotOptions added in v0.2.0

type WebAppsClientDeleteHybridConnectionSlotOptions struct {
}

WebAppsClientDeleteHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteHybridConnectionSlot method.

type WebAppsClientDeleteHybridConnectionSlotResponse added in v0.2.0

type WebAppsClientDeleteHybridConnectionSlotResponse struct {
}

WebAppsClientDeleteHybridConnectionSlotResponse contains the response from method WebAppsClient.DeleteHybridConnectionSlot.

type WebAppsClientDeleteInstanceFunctionSlotOptions added in v0.2.0

type WebAppsClientDeleteInstanceFunctionSlotOptions struct {
}

WebAppsClientDeleteInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.DeleteInstanceFunctionSlot method.

type WebAppsClientDeleteInstanceFunctionSlotResponse added in v0.2.0

type WebAppsClientDeleteInstanceFunctionSlotResponse struct {
}

WebAppsClientDeleteInstanceFunctionSlotResponse contains the response from method WebAppsClient.DeleteInstanceFunctionSlot.

type WebAppsClientDeleteInstanceProcessOptions added in v0.2.0

type WebAppsClientDeleteInstanceProcessOptions struct {
}

WebAppsClientDeleteInstanceProcessOptions contains the optional parameters for the WebAppsClient.DeleteInstanceProcess method.

type WebAppsClientDeleteInstanceProcessResponse added in v0.2.0

type WebAppsClientDeleteInstanceProcessResponse struct {
}

WebAppsClientDeleteInstanceProcessResponse contains the response from method WebAppsClient.DeleteInstanceProcess.

type WebAppsClientDeleteInstanceProcessSlotOptions added in v0.2.0

type WebAppsClientDeleteInstanceProcessSlotOptions struct {
}

WebAppsClientDeleteInstanceProcessSlotOptions contains the optional parameters for the WebAppsClient.DeleteInstanceProcessSlot method.

type WebAppsClientDeleteInstanceProcessSlotResponse added in v0.2.0

type WebAppsClientDeleteInstanceProcessSlotResponse struct {
}

WebAppsClientDeleteInstanceProcessSlotResponse contains the response from method WebAppsClient.DeleteInstanceProcessSlot.

type WebAppsClientDeleteOptions added in v0.2.0

type WebAppsClientDeleteOptions struct {
	// Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.
	DeleteEmptyServerFarm *bool
	// If true, web app metrics are also deleted.
	DeleteMetrics *bool
}

WebAppsClientDeleteOptions contains the optional parameters for the WebAppsClient.Delete method.

type WebAppsClientDeletePremierAddOnOptions added in v0.2.0

type WebAppsClientDeletePremierAddOnOptions struct {
}

WebAppsClientDeletePremierAddOnOptions contains the optional parameters for the WebAppsClient.DeletePremierAddOn method.

type WebAppsClientDeletePremierAddOnResponse added in v0.2.0

type WebAppsClientDeletePremierAddOnResponse struct {
}

WebAppsClientDeletePremierAddOnResponse contains the response from method WebAppsClient.DeletePremierAddOn.

type WebAppsClientDeletePremierAddOnSlotOptions added in v0.2.0

type WebAppsClientDeletePremierAddOnSlotOptions struct {
}

WebAppsClientDeletePremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.DeletePremierAddOnSlot method.

type WebAppsClientDeletePremierAddOnSlotResponse added in v0.2.0

type WebAppsClientDeletePremierAddOnSlotResponse struct {
}

WebAppsClientDeletePremierAddOnSlotResponse contains the response from method WebAppsClient.DeletePremierAddOnSlot.

type WebAppsClientDeletePrivateEndpointConnectionResponse added in v0.2.0

type WebAppsClientDeletePrivateEndpointConnectionResponse struct {
	// Anything
	Interface interface{}
}

WebAppsClientDeletePrivateEndpointConnectionResponse contains the response from method WebAppsClient.DeletePrivateEndpointConnection.

func (*WebAppsClientDeletePrivateEndpointConnectionResponse) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientDeletePrivateEndpointConnectionResponse.

type WebAppsClientDeletePrivateEndpointConnectionSlotResponse added in v0.2.0

type WebAppsClientDeletePrivateEndpointConnectionSlotResponse struct {
	// Anything
	Interface interface{}
}

WebAppsClientDeletePrivateEndpointConnectionSlotResponse contains the response from method WebAppsClient.DeletePrivateEndpointConnectionSlot.

func (*WebAppsClientDeletePrivateEndpointConnectionSlotResponse) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientDeletePrivateEndpointConnectionSlotResponse.

type WebAppsClientDeleteProcessOptions added in v0.2.0

type WebAppsClientDeleteProcessOptions struct {
}

WebAppsClientDeleteProcessOptions contains the optional parameters for the WebAppsClient.DeleteProcess method.

type WebAppsClientDeleteProcessResponse added in v0.2.0

type WebAppsClientDeleteProcessResponse struct {
}

WebAppsClientDeleteProcessResponse contains the response from method WebAppsClient.DeleteProcess.

type WebAppsClientDeleteProcessSlotOptions added in v0.2.0

type WebAppsClientDeleteProcessSlotOptions struct {
}

WebAppsClientDeleteProcessSlotOptions contains the optional parameters for the WebAppsClient.DeleteProcessSlot method.

type WebAppsClientDeleteProcessSlotResponse added in v0.2.0

type WebAppsClientDeleteProcessSlotResponse struct {
}

WebAppsClientDeleteProcessSlotResponse contains the response from method WebAppsClient.DeleteProcessSlot.

type WebAppsClientDeletePublicCertificateOptions added in v0.2.0

type WebAppsClientDeletePublicCertificateOptions struct {
}

WebAppsClientDeletePublicCertificateOptions contains the optional parameters for the WebAppsClient.DeletePublicCertificate method.

type WebAppsClientDeletePublicCertificateResponse added in v0.2.0

type WebAppsClientDeletePublicCertificateResponse struct {
}

WebAppsClientDeletePublicCertificateResponse contains the response from method WebAppsClient.DeletePublicCertificate.

type WebAppsClientDeletePublicCertificateSlotOptions added in v0.2.0

type WebAppsClientDeletePublicCertificateSlotOptions struct {
}

WebAppsClientDeletePublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.DeletePublicCertificateSlot method.

type WebAppsClientDeletePublicCertificateSlotResponse added in v0.2.0

type WebAppsClientDeletePublicCertificateSlotResponse struct {
}

WebAppsClientDeletePublicCertificateSlotResponse contains the response from method WebAppsClient.DeletePublicCertificateSlot.

type WebAppsClientDeleteRelayServiceConnectionOptions added in v0.2.0

type WebAppsClientDeleteRelayServiceConnectionOptions struct {
}

WebAppsClientDeleteRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.DeleteRelayServiceConnection method.

type WebAppsClientDeleteRelayServiceConnectionResponse added in v0.2.0

type WebAppsClientDeleteRelayServiceConnectionResponse struct {
}

WebAppsClientDeleteRelayServiceConnectionResponse contains the response from method WebAppsClient.DeleteRelayServiceConnection.

type WebAppsClientDeleteRelayServiceConnectionSlotOptions added in v0.2.0

type WebAppsClientDeleteRelayServiceConnectionSlotOptions struct {
}

WebAppsClientDeleteRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteRelayServiceConnectionSlot method.

type WebAppsClientDeleteRelayServiceConnectionSlotResponse added in v0.2.0

type WebAppsClientDeleteRelayServiceConnectionSlotResponse struct {
}

WebAppsClientDeleteRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.DeleteRelayServiceConnectionSlot.

type WebAppsClientDeleteResponse added in v0.2.0

type WebAppsClientDeleteResponse struct {
}

WebAppsClientDeleteResponse contains the response from method WebAppsClient.Delete.

type WebAppsClientDeleteSiteExtensionOptions added in v0.2.0

type WebAppsClientDeleteSiteExtensionOptions struct {
}

WebAppsClientDeleteSiteExtensionOptions contains the optional parameters for the WebAppsClient.DeleteSiteExtension method.

type WebAppsClientDeleteSiteExtensionResponse added in v0.2.0

type WebAppsClientDeleteSiteExtensionResponse struct {
}

WebAppsClientDeleteSiteExtensionResponse contains the response from method WebAppsClient.DeleteSiteExtension.

type WebAppsClientDeleteSiteExtensionSlotOptions added in v0.2.0

type WebAppsClientDeleteSiteExtensionSlotOptions struct {
}

WebAppsClientDeleteSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.DeleteSiteExtensionSlot method.

type WebAppsClientDeleteSiteExtensionSlotResponse added in v0.2.0

type WebAppsClientDeleteSiteExtensionSlotResponse struct {
}

WebAppsClientDeleteSiteExtensionSlotResponse contains the response from method WebAppsClient.DeleteSiteExtensionSlot.

type WebAppsClientDeleteSlotOptions added in v0.2.0

type WebAppsClientDeleteSlotOptions struct {
	// Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.
	DeleteEmptyServerFarm *bool
	// If true, web app metrics are also deleted.
	DeleteMetrics *bool
}

WebAppsClientDeleteSlotOptions contains the optional parameters for the WebAppsClient.DeleteSlot method.

type WebAppsClientDeleteSlotResponse added in v0.2.0

type WebAppsClientDeleteSlotResponse struct {
}

WebAppsClientDeleteSlotResponse contains the response from method WebAppsClient.DeleteSlot.

type WebAppsClientDeleteSourceControlOptions added in v0.2.0

type WebAppsClientDeleteSourceControlOptions struct {
	AdditionalFlags *string
}

WebAppsClientDeleteSourceControlOptions contains the optional parameters for the WebAppsClient.DeleteSourceControl method.

type WebAppsClientDeleteSourceControlResponse added in v0.2.0

type WebAppsClientDeleteSourceControlResponse struct {
}

WebAppsClientDeleteSourceControlResponse contains the response from method WebAppsClient.DeleteSourceControl.

type WebAppsClientDeleteSourceControlSlotOptions added in v0.2.0

type WebAppsClientDeleteSourceControlSlotOptions struct {
	AdditionalFlags *string
}

WebAppsClientDeleteSourceControlSlotOptions contains the optional parameters for the WebAppsClient.DeleteSourceControlSlot method.

type WebAppsClientDeleteSourceControlSlotResponse added in v0.2.0

type WebAppsClientDeleteSourceControlSlotResponse struct {
}

WebAppsClientDeleteSourceControlSlotResponse contains the response from method WebAppsClient.DeleteSourceControlSlot.

type WebAppsClientDeleteSwiftVirtualNetworkOptions added in v0.2.0

type WebAppsClientDeleteSwiftVirtualNetworkOptions struct {
}

WebAppsClientDeleteSwiftVirtualNetworkOptions contains the optional parameters for the WebAppsClient.DeleteSwiftVirtualNetwork method.

type WebAppsClientDeleteSwiftVirtualNetworkResponse added in v0.2.0

type WebAppsClientDeleteSwiftVirtualNetworkResponse struct {
}

WebAppsClientDeleteSwiftVirtualNetworkResponse contains the response from method WebAppsClient.DeleteSwiftVirtualNetwork.

type WebAppsClientDeleteSwiftVirtualNetworkSlotOptions added in v0.2.0

type WebAppsClientDeleteSwiftVirtualNetworkSlotOptions struct {
}

WebAppsClientDeleteSwiftVirtualNetworkSlotOptions contains the optional parameters for the WebAppsClient.DeleteSwiftVirtualNetworkSlot method.

type WebAppsClientDeleteSwiftVirtualNetworkSlotResponse added in v0.2.0

type WebAppsClientDeleteSwiftVirtualNetworkSlotResponse struct {
}

WebAppsClientDeleteSwiftVirtualNetworkSlotResponse contains the response from method WebAppsClient.DeleteSwiftVirtualNetworkSlot.

type WebAppsClientDeleteTriggeredWebJobOptions added in v0.2.0

type WebAppsClientDeleteTriggeredWebJobOptions struct {
}

WebAppsClientDeleteTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.DeleteTriggeredWebJob method.

type WebAppsClientDeleteTriggeredWebJobResponse added in v0.2.0

type WebAppsClientDeleteTriggeredWebJobResponse struct {
}

WebAppsClientDeleteTriggeredWebJobResponse contains the response from method WebAppsClient.DeleteTriggeredWebJob.

type WebAppsClientDeleteTriggeredWebJobSlotOptions added in v0.2.0

type WebAppsClientDeleteTriggeredWebJobSlotOptions struct {
}

WebAppsClientDeleteTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.DeleteTriggeredWebJobSlot method.

type WebAppsClientDeleteTriggeredWebJobSlotResponse added in v0.2.0

type WebAppsClientDeleteTriggeredWebJobSlotResponse struct {
}

WebAppsClientDeleteTriggeredWebJobSlotResponse contains the response from method WebAppsClient.DeleteTriggeredWebJobSlot.

type WebAppsClientDeleteVnetConnectionOptions added in v0.2.0

type WebAppsClientDeleteVnetConnectionOptions struct {
}

WebAppsClientDeleteVnetConnectionOptions contains the optional parameters for the WebAppsClient.DeleteVnetConnection method.

type WebAppsClientDeleteVnetConnectionResponse added in v0.2.0

type WebAppsClientDeleteVnetConnectionResponse struct {
}

WebAppsClientDeleteVnetConnectionResponse contains the response from method WebAppsClient.DeleteVnetConnection.

type WebAppsClientDeleteVnetConnectionSlotOptions added in v0.2.0

type WebAppsClientDeleteVnetConnectionSlotOptions struct {
}

WebAppsClientDeleteVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteVnetConnectionSlot method.

type WebAppsClientDeleteVnetConnectionSlotResponse added in v0.2.0

type WebAppsClientDeleteVnetConnectionSlotResponse struct {
}

WebAppsClientDeleteVnetConnectionSlotResponse contains the response from method WebAppsClient.DeleteVnetConnectionSlot.

type WebAppsClientDiscoverBackupOptions added in v0.2.0

type WebAppsClientDiscoverBackupOptions struct {
}

WebAppsClientDiscoverBackupOptions contains the optional parameters for the WebAppsClient.DiscoverBackup method.

type WebAppsClientDiscoverBackupResponse added in v0.2.0

type WebAppsClientDiscoverBackupResponse struct {
	RestoreRequest
}

WebAppsClientDiscoverBackupResponse contains the response from method WebAppsClient.DiscoverBackup.

type WebAppsClientDiscoverBackupSlotOptions added in v0.2.0

type WebAppsClientDiscoverBackupSlotOptions struct {
}

WebAppsClientDiscoverBackupSlotOptions contains the optional parameters for the WebAppsClient.DiscoverBackupSlot method.

type WebAppsClientDiscoverBackupSlotResponse added in v0.2.0

type WebAppsClientDiscoverBackupSlotResponse struct {
	RestoreRequest
}

WebAppsClientDiscoverBackupSlotResponse contains the response from method WebAppsClient.DiscoverBackupSlot.

type WebAppsClientGenerateNewSitePublishingPasswordOptions added in v0.2.0

type WebAppsClientGenerateNewSitePublishingPasswordOptions struct {
}

WebAppsClientGenerateNewSitePublishingPasswordOptions contains the optional parameters for the WebAppsClient.GenerateNewSitePublishingPassword method.

type WebAppsClientGenerateNewSitePublishingPasswordResponse added in v0.2.0

type WebAppsClientGenerateNewSitePublishingPasswordResponse struct {
}

WebAppsClientGenerateNewSitePublishingPasswordResponse contains the response from method WebAppsClient.GenerateNewSitePublishingPassword.

type WebAppsClientGenerateNewSitePublishingPasswordSlotOptions added in v0.2.0

type WebAppsClientGenerateNewSitePublishingPasswordSlotOptions struct {
}

WebAppsClientGenerateNewSitePublishingPasswordSlotOptions contains the optional parameters for the WebAppsClient.GenerateNewSitePublishingPasswordSlot method.

type WebAppsClientGenerateNewSitePublishingPasswordSlotResponse added in v0.2.0

type WebAppsClientGenerateNewSitePublishingPasswordSlotResponse struct {
}

WebAppsClientGenerateNewSitePublishingPasswordSlotResponse contains the response from method WebAppsClient.GenerateNewSitePublishingPasswordSlot.

type WebAppsClientGetAppSettingKeyVaultReferenceOptions added in v0.2.0

type WebAppsClientGetAppSettingKeyVaultReferenceOptions struct {
}

WebAppsClientGetAppSettingKeyVaultReferenceOptions contains the optional parameters for the WebAppsClient.GetAppSettingKeyVaultReference method.

type WebAppsClientGetAppSettingKeyVaultReferenceResponse added in v0.2.0

type WebAppsClientGetAppSettingKeyVaultReferenceResponse struct {
	APIKVReference
}

WebAppsClientGetAppSettingKeyVaultReferenceResponse contains the response from method WebAppsClient.GetAppSettingKeyVaultReference.

type WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions added in v0.2.0

type WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions struct {
}

WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions contains the optional parameters for the WebAppsClient.GetAppSettingKeyVaultReferenceSlot method.

type WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse added in v0.2.0

type WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse struct {
	APIKVReference
}

WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse contains the response from method WebAppsClient.GetAppSettingKeyVaultReferenceSlot.

type WebAppsClientGetAppSettingsKeyVaultReferencesOptions added in v0.2.0

type WebAppsClientGetAppSettingsKeyVaultReferencesOptions struct {
}

WebAppsClientGetAppSettingsKeyVaultReferencesOptions contains the optional parameters for the WebAppsClient.GetAppSettingsKeyVaultReferences method.

type WebAppsClientGetAppSettingsKeyVaultReferencesResponse added in v0.2.0

type WebAppsClientGetAppSettingsKeyVaultReferencesResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetAppSettingsKeyVaultReferencesResponse contains the response from method WebAppsClient.GetAppSettingsKeyVaultReferences.

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions added in v0.2.0

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions struct {
}

WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions contains the optional parameters for the WebAppsClient.GetAppSettingsKeyVaultReferencesSlot method.

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse added in v0.2.0

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse contains the response from method WebAppsClient.GetAppSettingsKeyVaultReferencesSlot.

type WebAppsClientGetAuthSettingsOptions added in v0.2.0

type WebAppsClientGetAuthSettingsOptions struct {
}

WebAppsClientGetAuthSettingsOptions contains the optional parameters for the WebAppsClient.GetAuthSettings method.

type WebAppsClientGetAuthSettingsResponse added in v0.2.0

type WebAppsClientGetAuthSettingsResponse struct {
	SiteAuthSettings
}

WebAppsClientGetAuthSettingsResponse contains the response from method WebAppsClient.GetAuthSettings.

type WebAppsClientGetAuthSettingsSlotOptions added in v0.2.0

type WebAppsClientGetAuthSettingsSlotOptions struct {
}

WebAppsClientGetAuthSettingsSlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsSlot method.

type WebAppsClientGetAuthSettingsSlotResponse added in v0.2.0

type WebAppsClientGetAuthSettingsSlotResponse struct {
	SiteAuthSettings
}

WebAppsClientGetAuthSettingsSlotResponse contains the response from method WebAppsClient.GetAuthSettingsSlot.

type WebAppsClientGetAuthSettingsV2Options added in v0.2.0

type WebAppsClientGetAuthSettingsV2Options struct {
}

WebAppsClientGetAuthSettingsV2Options contains the optional parameters for the WebAppsClient.GetAuthSettingsV2 method.

type WebAppsClientGetAuthSettingsV2Response added in v0.2.0

type WebAppsClientGetAuthSettingsV2Response struct {
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2Response contains the response from method WebAppsClient.GetAuthSettingsV2.

type WebAppsClientGetAuthSettingsV2SlotOptions added in v0.2.0

type WebAppsClientGetAuthSettingsV2SlotOptions struct {
}

WebAppsClientGetAuthSettingsV2SlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2Slot method.

type WebAppsClientGetAuthSettingsV2SlotResponse added in v0.2.0

type WebAppsClientGetAuthSettingsV2SlotResponse struct {
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2SlotResponse contains the response from method WebAppsClient.GetAuthSettingsV2Slot.

type WebAppsClientGetAuthSettingsV2WithoutSecretsOptions added in v0.2.0

type WebAppsClientGetAuthSettingsV2WithoutSecretsOptions struct {
}

WebAppsClientGetAuthSettingsV2WithoutSecretsOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2WithoutSecrets method.

type WebAppsClientGetAuthSettingsV2WithoutSecretsResponse added in v0.2.0

type WebAppsClientGetAuthSettingsV2WithoutSecretsResponse struct {
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2WithoutSecretsResponse contains the response from method WebAppsClient.GetAuthSettingsV2WithoutSecrets.

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions added in v0.3.0

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions struct {
}

WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2WithoutSecretsSlot method.

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse added in v0.3.0

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse struct {
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse contains the response from method WebAppsClient.GetAuthSettingsV2WithoutSecretsSlot.

type WebAppsClientGetBackupConfigurationOptions added in v0.2.0

type WebAppsClientGetBackupConfigurationOptions struct {
}

WebAppsClientGetBackupConfigurationOptions contains the optional parameters for the WebAppsClient.GetBackupConfiguration method.

type WebAppsClientGetBackupConfigurationResponse added in v0.2.0

type WebAppsClientGetBackupConfigurationResponse struct {
	BackupRequest
}

WebAppsClientGetBackupConfigurationResponse contains the response from method WebAppsClient.GetBackupConfiguration.

type WebAppsClientGetBackupConfigurationSlotOptions added in v0.2.0

type WebAppsClientGetBackupConfigurationSlotOptions struct {
}

WebAppsClientGetBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetBackupConfigurationSlot method.

type WebAppsClientGetBackupConfigurationSlotResponse added in v0.2.0

type WebAppsClientGetBackupConfigurationSlotResponse struct {
	BackupRequest
}

WebAppsClientGetBackupConfigurationSlotResponse contains the response from method WebAppsClient.GetBackupConfigurationSlot.

type WebAppsClientGetBackupStatusOptions added in v0.2.0

type WebAppsClientGetBackupStatusOptions struct {
}

WebAppsClientGetBackupStatusOptions contains the optional parameters for the WebAppsClient.GetBackupStatus method.

type WebAppsClientGetBackupStatusResponse added in v0.2.0

type WebAppsClientGetBackupStatusResponse struct {
	BackupItem
}

WebAppsClientGetBackupStatusResponse contains the response from method WebAppsClient.GetBackupStatus.

type WebAppsClientGetBackupStatusSlotOptions added in v0.2.0

type WebAppsClientGetBackupStatusSlotOptions struct {
}

WebAppsClientGetBackupStatusSlotOptions contains the optional parameters for the WebAppsClient.GetBackupStatusSlot method.

type WebAppsClientGetBackupStatusSlotResponse added in v0.2.0

type WebAppsClientGetBackupStatusSlotResponse struct {
	BackupItem
}

WebAppsClientGetBackupStatusSlotResponse contains the response from method WebAppsClient.GetBackupStatusSlot.

type WebAppsClientGetConfigurationOptions added in v0.2.0

type WebAppsClientGetConfigurationOptions struct {
}

WebAppsClientGetConfigurationOptions contains the optional parameters for the WebAppsClient.GetConfiguration method.

type WebAppsClientGetConfigurationResponse added in v0.2.0

type WebAppsClientGetConfigurationResponse struct {
	SiteConfigResource
}

WebAppsClientGetConfigurationResponse contains the response from method WebAppsClient.GetConfiguration.

type WebAppsClientGetConfigurationSlotOptions added in v0.2.0

type WebAppsClientGetConfigurationSlotOptions struct {
}

WebAppsClientGetConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSlot method.

type WebAppsClientGetConfigurationSlotResponse added in v0.2.0

type WebAppsClientGetConfigurationSlotResponse struct {
	SiteConfigResource
}

WebAppsClientGetConfigurationSlotResponse contains the response from method WebAppsClient.GetConfigurationSlot.

type WebAppsClientGetConfigurationSnapshotOptions added in v0.2.0

type WebAppsClientGetConfigurationSnapshotOptions struct {
}

WebAppsClientGetConfigurationSnapshotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSnapshot method.

type WebAppsClientGetConfigurationSnapshotResponse added in v0.2.0

type WebAppsClientGetConfigurationSnapshotResponse struct {
	SiteConfigResource
}

WebAppsClientGetConfigurationSnapshotResponse contains the response from method WebAppsClient.GetConfigurationSnapshot.

type WebAppsClientGetConfigurationSnapshotSlotOptions added in v0.2.0

type WebAppsClientGetConfigurationSnapshotSlotOptions struct {
}

WebAppsClientGetConfigurationSnapshotSlotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSnapshotSlot method.

type WebAppsClientGetConfigurationSnapshotSlotResponse added in v0.2.0

type WebAppsClientGetConfigurationSnapshotSlotResponse struct {
	SiteConfigResource
}

WebAppsClientGetConfigurationSnapshotSlotResponse contains the response from method WebAppsClient.GetConfigurationSnapshotSlot.

type WebAppsClientGetContainerLogsZipOptions added in v0.2.0

type WebAppsClientGetContainerLogsZipOptions struct {
}

WebAppsClientGetContainerLogsZipOptions contains the optional parameters for the WebAppsClient.GetContainerLogsZip method.

type WebAppsClientGetContainerLogsZipResponse added in v0.2.0

type WebAppsClientGetContainerLogsZipResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetContainerLogsZipResponse contains the response from method WebAppsClient.GetContainerLogsZip.

type WebAppsClientGetContainerLogsZipSlotOptions added in v0.2.0

type WebAppsClientGetContainerLogsZipSlotOptions struct {
}

WebAppsClientGetContainerLogsZipSlotOptions contains the optional parameters for the WebAppsClient.GetContainerLogsZipSlot method.

type WebAppsClientGetContainerLogsZipSlotResponse added in v0.2.0

type WebAppsClientGetContainerLogsZipSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetContainerLogsZipSlotResponse contains the response from method WebAppsClient.GetContainerLogsZipSlot.

type WebAppsClientGetContinuousWebJobOptions added in v0.2.0

type WebAppsClientGetContinuousWebJobOptions struct {
}

WebAppsClientGetContinuousWebJobOptions contains the optional parameters for the WebAppsClient.GetContinuousWebJob method.

type WebAppsClientGetContinuousWebJobResponse added in v0.2.0

type WebAppsClientGetContinuousWebJobResponse struct {
	ContinuousWebJob
}

WebAppsClientGetContinuousWebJobResponse contains the response from method WebAppsClient.GetContinuousWebJob.

type WebAppsClientGetContinuousWebJobSlotOptions added in v0.2.0

type WebAppsClientGetContinuousWebJobSlotOptions struct {
}

WebAppsClientGetContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetContinuousWebJobSlot method.

type WebAppsClientGetContinuousWebJobSlotResponse added in v0.2.0

type WebAppsClientGetContinuousWebJobSlotResponse struct {
	ContinuousWebJob
}

WebAppsClientGetContinuousWebJobSlotResponse contains the response from method WebAppsClient.GetContinuousWebJobSlot.

type WebAppsClientGetDeploymentOptions added in v0.2.0

type WebAppsClientGetDeploymentOptions struct {
}

WebAppsClientGetDeploymentOptions contains the optional parameters for the WebAppsClient.GetDeployment method.

type WebAppsClientGetDeploymentResponse added in v0.2.0

type WebAppsClientGetDeploymentResponse struct {
	Deployment
}

WebAppsClientGetDeploymentResponse contains the response from method WebAppsClient.GetDeployment.

type WebAppsClientGetDeploymentSlotOptions added in v0.2.0

type WebAppsClientGetDeploymentSlotOptions struct {
}

WebAppsClientGetDeploymentSlotOptions contains the optional parameters for the WebAppsClient.GetDeploymentSlot method.

type WebAppsClientGetDeploymentSlotResponse added in v0.2.0

type WebAppsClientGetDeploymentSlotResponse struct {
	Deployment
}

WebAppsClientGetDeploymentSlotResponse contains the response from method WebAppsClient.GetDeploymentSlot.

type WebAppsClientGetDiagnosticLogsConfigurationOptions added in v0.2.0

type WebAppsClientGetDiagnosticLogsConfigurationOptions struct {
}

WebAppsClientGetDiagnosticLogsConfigurationOptions contains the optional parameters for the WebAppsClient.GetDiagnosticLogsConfiguration method.

type WebAppsClientGetDiagnosticLogsConfigurationResponse added in v0.2.0

type WebAppsClientGetDiagnosticLogsConfigurationResponse struct {
	SiteLogsConfig
}

WebAppsClientGetDiagnosticLogsConfigurationResponse contains the response from method WebAppsClient.GetDiagnosticLogsConfiguration.

type WebAppsClientGetDiagnosticLogsConfigurationSlotOptions added in v0.2.0

type WebAppsClientGetDiagnosticLogsConfigurationSlotOptions struct {
}

WebAppsClientGetDiagnosticLogsConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetDiagnosticLogsConfigurationSlot method.

type WebAppsClientGetDiagnosticLogsConfigurationSlotResponse added in v0.2.0

type WebAppsClientGetDiagnosticLogsConfigurationSlotResponse struct {
	SiteLogsConfig
}

WebAppsClientGetDiagnosticLogsConfigurationSlotResponse contains the response from method WebAppsClient.GetDiagnosticLogsConfigurationSlot.

type WebAppsClientGetDomainOwnershipIdentifierOptions added in v0.2.0

type WebAppsClientGetDomainOwnershipIdentifierOptions struct {
}

WebAppsClientGetDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.GetDomainOwnershipIdentifier method.

type WebAppsClientGetDomainOwnershipIdentifierResponse added in v0.2.0

type WebAppsClientGetDomainOwnershipIdentifierResponse struct {
	Identifier
}

WebAppsClientGetDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.GetDomainOwnershipIdentifier.

type WebAppsClientGetDomainOwnershipIdentifierSlotOptions added in v0.2.0

type WebAppsClientGetDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientGetDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.GetDomainOwnershipIdentifierSlot method.

type WebAppsClientGetDomainOwnershipIdentifierSlotResponse added in v0.2.0

type WebAppsClientGetDomainOwnershipIdentifierSlotResponse struct {
	Identifier
}

WebAppsClientGetDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.GetDomainOwnershipIdentifierSlot.

type WebAppsClientGetFtpAllowedOptions added in v0.2.0

type WebAppsClientGetFtpAllowedOptions struct {
}

WebAppsClientGetFtpAllowedOptions contains the optional parameters for the WebAppsClient.GetFtpAllowed method.

type WebAppsClientGetFtpAllowedResponse added in v0.2.0

type WebAppsClientGetFtpAllowedResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetFtpAllowedResponse contains the response from method WebAppsClient.GetFtpAllowed.

type WebAppsClientGetFtpAllowedSlotOptions added in v0.2.0

type WebAppsClientGetFtpAllowedSlotOptions struct {
}

WebAppsClientGetFtpAllowedSlotOptions contains the optional parameters for the WebAppsClient.GetFtpAllowedSlot method.

type WebAppsClientGetFtpAllowedSlotResponse added in v0.2.0

type WebAppsClientGetFtpAllowedSlotResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetFtpAllowedSlotResponse contains the response from method WebAppsClient.GetFtpAllowedSlot.

type WebAppsClientGetFunctionOptions added in v0.2.0

type WebAppsClientGetFunctionOptions struct {
}

WebAppsClientGetFunctionOptions contains the optional parameters for the WebAppsClient.GetFunction method.

type WebAppsClientGetFunctionResponse added in v0.2.0

type WebAppsClientGetFunctionResponse struct {
	FunctionEnvelope
}

WebAppsClientGetFunctionResponse contains the response from method WebAppsClient.GetFunction.

type WebAppsClientGetFunctionsAdminTokenOptions added in v0.2.0

type WebAppsClientGetFunctionsAdminTokenOptions struct {
}

WebAppsClientGetFunctionsAdminTokenOptions contains the optional parameters for the WebAppsClient.GetFunctionsAdminToken method.

type WebAppsClientGetFunctionsAdminTokenResponse added in v0.2.0

type WebAppsClientGetFunctionsAdminTokenResponse struct {
	Value *string
}

WebAppsClientGetFunctionsAdminTokenResponse contains the response from method WebAppsClient.GetFunctionsAdminToken.

type WebAppsClientGetFunctionsAdminTokenSlotOptions added in v0.2.0

type WebAppsClientGetFunctionsAdminTokenSlotOptions struct {
}

WebAppsClientGetFunctionsAdminTokenSlotOptions contains the optional parameters for the WebAppsClient.GetFunctionsAdminTokenSlot method.

type WebAppsClientGetFunctionsAdminTokenSlotResponse added in v0.2.0

type WebAppsClientGetFunctionsAdminTokenSlotResponse struct {
	Value *string
}

WebAppsClientGetFunctionsAdminTokenSlotResponse contains the response from method WebAppsClient.GetFunctionsAdminTokenSlot.

type WebAppsClientGetHostNameBindingOptions added in v0.2.0

type WebAppsClientGetHostNameBindingOptions struct {
}

WebAppsClientGetHostNameBindingOptions contains the optional parameters for the WebAppsClient.GetHostNameBinding method.

type WebAppsClientGetHostNameBindingResponse added in v0.2.0

type WebAppsClientGetHostNameBindingResponse struct {
	HostNameBinding
}

WebAppsClientGetHostNameBindingResponse contains the response from method WebAppsClient.GetHostNameBinding.

type WebAppsClientGetHostNameBindingSlotOptions added in v0.2.0

type WebAppsClientGetHostNameBindingSlotOptions struct {
}

WebAppsClientGetHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.GetHostNameBindingSlot method.

type WebAppsClientGetHostNameBindingSlotResponse added in v0.2.0

type WebAppsClientGetHostNameBindingSlotResponse struct {
	HostNameBinding
}

WebAppsClientGetHostNameBindingSlotResponse contains the response from method WebAppsClient.GetHostNameBindingSlot.

type WebAppsClientGetHybridConnectionOptions added in v0.2.0

type WebAppsClientGetHybridConnectionOptions struct {
}

WebAppsClientGetHybridConnectionOptions contains the optional parameters for the WebAppsClient.GetHybridConnection method.

type WebAppsClientGetHybridConnectionResponse added in v0.2.0

type WebAppsClientGetHybridConnectionResponse struct {
	HybridConnection
}

WebAppsClientGetHybridConnectionResponse contains the response from method WebAppsClient.GetHybridConnection.

type WebAppsClientGetHybridConnectionSlotOptions added in v0.2.0

type WebAppsClientGetHybridConnectionSlotOptions struct {
}

WebAppsClientGetHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetHybridConnectionSlot method.

type WebAppsClientGetHybridConnectionSlotResponse added in v0.2.0

type WebAppsClientGetHybridConnectionSlotResponse struct {
	HybridConnection
}

WebAppsClientGetHybridConnectionSlotResponse contains the response from method WebAppsClient.GetHybridConnectionSlot.

type WebAppsClientGetInstanceFunctionSlotOptions added in v0.2.0

type WebAppsClientGetInstanceFunctionSlotOptions struct {
}

WebAppsClientGetInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceFunctionSlot method.

type WebAppsClientGetInstanceFunctionSlotResponse added in v0.2.0

type WebAppsClientGetInstanceFunctionSlotResponse struct {
	FunctionEnvelope
}

WebAppsClientGetInstanceFunctionSlotResponse contains the response from method WebAppsClient.GetInstanceFunctionSlot.

type WebAppsClientGetInstanceInfoOptions added in v0.2.0

type WebAppsClientGetInstanceInfoOptions struct {
}

WebAppsClientGetInstanceInfoOptions contains the optional parameters for the WebAppsClient.GetInstanceInfo method.

type WebAppsClientGetInstanceInfoResponse added in v0.2.0

type WebAppsClientGetInstanceInfoResponse struct {
	WebSiteInstanceStatus
}

WebAppsClientGetInstanceInfoResponse contains the response from method WebAppsClient.GetInstanceInfo.

type WebAppsClientGetInstanceInfoSlotOptions added in v0.2.0

type WebAppsClientGetInstanceInfoSlotOptions struct {
}

WebAppsClientGetInstanceInfoSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceInfoSlot method.

type WebAppsClientGetInstanceInfoSlotResponse added in v0.2.0

type WebAppsClientGetInstanceInfoSlotResponse struct {
	WebSiteInstanceStatus
}

WebAppsClientGetInstanceInfoSlotResponse contains the response from method WebAppsClient.GetInstanceInfoSlot.

type WebAppsClientGetInstanceMSDeployLogOptions added in v0.2.0

type WebAppsClientGetInstanceMSDeployLogOptions struct {
}

WebAppsClientGetInstanceMSDeployLogOptions contains the optional parameters for the WebAppsClient.GetInstanceMSDeployLog method.

type WebAppsClientGetInstanceMSDeployLogResponse added in v0.2.0

type WebAppsClientGetInstanceMSDeployLogResponse struct {
	MSDeployLog
}

WebAppsClientGetInstanceMSDeployLogResponse contains the response from method WebAppsClient.GetInstanceMSDeployLog.

type WebAppsClientGetInstanceMSDeployLogSlotOptions added in v0.2.0

type WebAppsClientGetInstanceMSDeployLogSlotOptions struct {
}

WebAppsClientGetInstanceMSDeployLogSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceMSDeployLogSlot method.

type WebAppsClientGetInstanceMSDeployLogSlotResponse added in v0.2.0

type WebAppsClientGetInstanceMSDeployLogSlotResponse struct {
	MSDeployLog
}

WebAppsClientGetInstanceMSDeployLogSlotResponse contains the response from method WebAppsClient.GetInstanceMSDeployLogSlot.

type WebAppsClientGetInstanceMsDeployStatusOptions added in v0.2.0

type WebAppsClientGetInstanceMsDeployStatusOptions struct {
}

WebAppsClientGetInstanceMsDeployStatusOptions contains the optional parameters for the WebAppsClient.GetInstanceMsDeployStatus method.

type WebAppsClientGetInstanceMsDeployStatusResponse added in v0.2.0

type WebAppsClientGetInstanceMsDeployStatusResponse struct {
	MSDeployStatus
}

WebAppsClientGetInstanceMsDeployStatusResponse contains the response from method WebAppsClient.GetInstanceMsDeployStatus.

type WebAppsClientGetInstanceMsDeployStatusSlotOptions added in v0.2.0

type WebAppsClientGetInstanceMsDeployStatusSlotOptions struct {
}

WebAppsClientGetInstanceMsDeployStatusSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceMsDeployStatusSlot method.

type WebAppsClientGetInstanceMsDeployStatusSlotResponse added in v0.2.0

type WebAppsClientGetInstanceMsDeployStatusSlotResponse struct {
	MSDeployStatus
}

WebAppsClientGetInstanceMsDeployStatusSlotResponse contains the response from method WebAppsClient.GetInstanceMsDeployStatusSlot.

type WebAppsClientGetInstanceProcessDumpOptions added in v0.2.0

type WebAppsClientGetInstanceProcessDumpOptions struct {
}

WebAppsClientGetInstanceProcessDumpOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessDump method.

type WebAppsClientGetInstanceProcessDumpResponse added in v0.2.0

type WebAppsClientGetInstanceProcessDumpResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetInstanceProcessDumpResponse contains the response from method WebAppsClient.GetInstanceProcessDump.

type WebAppsClientGetInstanceProcessDumpSlotOptions added in v0.2.0

type WebAppsClientGetInstanceProcessDumpSlotOptions struct {
}

WebAppsClientGetInstanceProcessDumpSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessDumpSlot method.

type WebAppsClientGetInstanceProcessDumpSlotResponse added in v0.2.0

type WebAppsClientGetInstanceProcessDumpSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetInstanceProcessDumpSlotResponse contains the response from method WebAppsClient.GetInstanceProcessDumpSlot.

type WebAppsClientGetInstanceProcessModuleOptions added in v0.2.0

type WebAppsClientGetInstanceProcessModuleOptions struct {
}

WebAppsClientGetInstanceProcessModuleOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessModule method.

type WebAppsClientGetInstanceProcessModuleResponse added in v0.2.0

type WebAppsClientGetInstanceProcessModuleResponse struct {
	ProcessModuleInfo
}

WebAppsClientGetInstanceProcessModuleResponse contains the response from method WebAppsClient.GetInstanceProcessModule.

type WebAppsClientGetInstanceProcessModuleSlotOptions added in v0.2.0

type WebAppsClientGetInstanceProcessModuleSlotOptions struct {
}

WebAppsClientGetInstanceProcessModuleSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessModuleSlot method.

type WebAppsClientGetInstanceProcessModuleSlotResponse added in v0.2.0

type WebAppsClientGetInstanceProcessModuleSlotResponse struct {
	ProcessModuleInfo
}

WebAppsClientGetInstanceProcessModuleSlotResponse contains the response from method WebAppsClient.GetInstanceProcessModuleSlot.

type WebAppsClientGetInstanceProcessOptions added in v0.2.0

type WebAppsClientGetInstanceProcessOptions struct {
}

WebAppsClientGetInstanceProcessOptions contains the optional parameters for the WebAppsClient.GetInstanceProcess method.

type WebAppsClientGetInstanceProcessResponse added in v0.2.0

type WebAppsClientGetInstanceProcessResponse struct {
	ProcessInfo
}

WebAppsClientGetInstanceProcessResponse contains the response from method WebAppsClient.GetInstanceProcess.

type WebAppsClientGetInstanceProcessSlotOptions added in v0.2.0

type WebAppsClientGetInstanceProcessSlotOptions struct {
}

WebAppsClientGetInstanceProcessSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessSlot method.

type WebAppsClientGetInstanceProcessSlotResponse added in v0.2.0

type WebAppsClientGetInstanceProcessSlotResponse struct {
	ProcessInfo
}

WebAppsClientGetInstanceProcessSlotResponse contains the response from method WebAppsClient.GetInstanceProcessSlot.

type WebAppsClientGetMSDeployLogOptions added in v0.2.0

type WebAppsClientGetMSDeployLogOptions struct {
}

WebAppsClientGetMSDeployLogOptions contains the optional parameters for the WebAppsClient.GetMSDeployLog method.

type WebAppsClientGetMSDeployLogResponse added in v0.2.0

type WebAppsClientGetMSDeployLogResponse struct {
	MSDeployLog
}

WebAppsClientGetMSDeployLogResponse contains the response from method WebAppsClient.GetMSDeployLog.

type WebAppsClientGetMSDeployLogSlotOptions added in v0.2.0

type WebAppsClientGetMSDeployLogSlotOptions struct {
}

WebAppsClientGetMSDeployLogSlotOptions contains the optional parameters for the WebAppsClient.GetMSDeployLogSlot method.

type WebAppsClientGetMSDeployLogSlotResponse added in v0.2.0

type WebAppsClientGetMSDeployLogSlotResponse struct {
	MSDeployLog
}

WebAppsClientGetMSDeployLogSlotResponse contains the response from method WebAppsClient.GetMSDeployLogSlot.

type WebAppsClientGetMSDeployStatusOptions added in v0.2.0

type WebAppsClientGetMSDeployStatusOptions struct {
}

WebAppsClientGetMSDeployStatusOptions contains the optional parameters for the WebAppsClient.GetMSDeployStatus method.

type WebAppsClientGetMSDeployStatusResponse added in v0.2.0

type WebAppsClientGetMSDeployStatusResponse struct {
	MSDeployStatus
}

WebAppsClientGetMSDeployStatusResponse contains the response from method WebAppsClient.GetMSDeployStatus.

type WebAppsClientGetMSDeployStatusSlotOptions added in v0.2.0

type WebAppsClientGetMSDeployStatusSlotOptions struct {
}

WebAppsClientGetMSDeployStatusSlotOptions contains the optional parameters for the WebAppsClient.GetMSDeployStatusSlot method.

type WebAppsClientGetMSDeployStatusSlotResponse added in v0.2.0

type WebAppsClientGetMSDeployStatusSlotResponse struct {
	MSDeployStatus
}

WebAppsClientGetMSDeployStatusSlotResponse contains the response from method WebAppsClient.GetMSDeployStatusSlot.

type WebAppsClientGetMigrateMySQLStatusOptions added in v0.2.0

type WebAppsClientGetMigrateMySQLStatusOptions struct {
}

WebAppsClientGetMigrateMySQLStatusOptions contains the optional parameters for the WebAppsClient.GetMigrateMySQLStatus method.

type WebAppsClientGetMigrateMySQLStatusResponse added in v0.2.0

type WebAppsClientGetMigrateMySQLStatusResponse struct {
	MigrateMySQLStatus
}

WebAppsClientGetMigrateMySQLStatusResponse contains the response from method WebAppsClient.GetMigrateMySQLStatus.

type WebAppsClientGetMigrateMySQLStatusSlotOptions added in v0.2.0

type WebAppsClientGetMigrateMySQLStatusSlotOptions struct {
}

WebAppsClientGetMigrateMySQLStatusSlotOptions contains the optional parameters for the WebAppsClient.GetMigrateMySQLStatusSlot method.

type WebAppsClientGetMigrateMySQLStatusSlotResponse added in v0.2.0

type WebAppsClientGetMigrateMySQLStatusSlotResponse struct {
	MigrateMySQLStatus
}

WebAppsClientGetMigrateMySQLStatusSlotResponse contains the response from method WebAppsClient.GetMigrateMySQLStatusSlot.

type WebAppsClientGetNetworkTraceOperationOptions added in v0.2.0

type WebAppsClientGetNetworkTraceOperationOptions struct {
}

WebAppsClientGetNetworkTraceOperationOptions contains the optional parameters for the WebAppsClient.GetNetworkTraceOperation method.

type WebAppsClientGetNetworkTraceOperationResponse added in v0.2.0

type WebAppsClientGetNetworkTraceOperationResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationResponse contains the response from method WebAppsClient.GetNetworkTraceOperation.

type WebAppsClientGetNetworkTraceOperationSlotOptions added in v0.2.0

type WebAppsClientGetNetworkTraceOperationSlotOptions struct {
}

WebAppsClientGetNetworkTraceOperationSlotOptions contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationSlot method.

type WebAppsClientGetNetworkTraceOperationSlotResponse added in v0.2.0

type WebAppsClientGetNetworkTraceOperationSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationSlotResponse contains the response from method WebAppsClient.GetNetworkTraceOperationSlot.

type WebAppsClientGetNetworkTraceOperationSlotV2Options added in v0.2.0

type WebAppsClientGetNetworkTraceOperationSlotV2Options struct {
}

WebAppsClientGetNetworkTraceOperationSlotV2Options contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationSlotV2 method.

type WebAppsClientGetNetworkTraceOperationSlotV2Response added in v0.2.0

type WebAppsClientGetNetworkTraceOperationSlotV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationSlotV2Response contains the response from method WebAppsClient.GetNetworkTraceOperationSlotV2.

type WebAppsClientGetNetworkTraceOperationV2Options added in v0.2.0

type WebAppsClientGetNetworkTraceOperationV2Options struct {
}

WebAppsClientGetNetworkTraceOperationV2Options contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationV2 method.

type WebAppsClientGetNetworkTraceOperationV2Response added in v0.2.0

type WebAppsClientGetNetworkTraceOperationV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationV2Response contains the response from method WebAppsClient.GetNetworkTraceOperationV2.

type WebAppsClientGetNetworkTracesOptions added in v0.2.0

type WebAppsClientGetNetworkTracesOptions struct {
}

WebAppsClientGetNetworkTracesOptions contains the optional parameters for the WebAppsClient.GetNetworkTraces method.

type WebAppsClientGetNetworkTracesResponse added in v0.2.0

type WebAppsClientGetNetworkTracesResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesResponse contains the response from method WebAppsClient.GetNetworkTraces.

type WebAppsClientGetNetworkTracesSlotOptions added in v0.2.0

type WebAppsClientGetNetworkTracesSlotOptions struct {
}

WebAppsClientGetNetworkTracesSlotOptions contains the optional parameters for the WebAppsClient.GetNetworkTracesSlot method.

type WebAppsClientGetNetworkTracesSlotResponse added in v0.2.0

type WebAppsClientGetNetworkTracesSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesSlotResponse contains the response from method WebAppsClient.GetNetworkTracesSlot.

type WebAppsClientGetNetworkTracesSlotV2Options added in v0.2.0

type WebAppsClientGetNetworkTracesSlotV2Options struct {
}

WebAppsClientGetNetworkTracesSlotV2Options contains the optional parameters for the WebAppsClient.GetNetworkTracesSlotV2 method.

type WebAppsClientGetNetworkTracesSlotV2Response added in v0.2.0

type WebAppsClientGetNetworkTracesSlotV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesSlotV2Response contains the response from method WebAppsClient.GetNetworkTracesSlotV2.

type WebAppsClientGetNetworkTracesV2Options added in v0.2.0

type WebAppsClientGetNetworkTracesV2Options struct {
}

WebAppsClientGetNetworkTracesV2Options contains the optional parameters for the WebAppsClient.GetNetworkTracesV2 method.

type WebAppsClientGetNetworkTracesV2Response added in v0.2.0

type WebAppsClientGetNetworkTracesV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesV2Response contains the response from method WebAppsClient.GetNetworkTracesV2.

type WebAppsClientGetOneDeployStatusOptions added in v0.2.0

type WebAppsClientGetOneDeployStatusOptions struct {
}

WebAppsClientGetOneDeployStatusOptions contains the optional parameters for the WebAppsClient.GetOneDeployStatus method.

type WebAppsClientGetOneDeployStatusResponse added in v0.2.0

type WebAppsClientGetOneDeployStatusResponse struct {
	// Anything
	Interface interface{}
}

WebAppsClientGetOneDeployStatusResponse contains the response from method WebAppsClient.GetOneDeployStatus.

type WebAppsClientGetOptions added in v0.2.0

type WebAppsClientGetOptions struct {
}

WebAppsClientGetOptions contains the optional parameters for the WebAppsClient.Get method.

type WebAppsClientGetPremierAddOnOptions added in v0.2.0

type WebAppsClientGetPremierAddOnOptions struct {
}

WebAppsClientGetPremierAddOnOptions contains the optional parameters for the WebAppsClient.GetPremierAddOn method.

type WebAppsClientGetPremierAddOnResponse added in v0.2.0

type WebAppsClientGetPremierAddOnResponse struct {
	PremierAddOn
}

WebAppsClientGetPremierAddOnResponse contains the response from method WebAppsClient.GetPremierAddOn.

type WebAppsClientGetPremierAddOnSlotOptions added in v0.2.0

type WebAppsClientGetPremierAddOnSlotOptions struct {
}

WebAppsClientGetPremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.GetPremierAddOnSlot method.

type WebAppsClientGetPremierAddOnSlotResponse added in v0.2.0

type WebAppsClientGetPremierAddOnSlotResponse struct {
	PremierAddOn
}

WebAppsClientGetPremierAddOnSlotResponse contains the response from method WebAppsClient.GetPremierAddOnSlot.

type WebAppsClientGetPrivateAccessOptions added in v0.2.0

type WebAppsClientGetPrivateAccessOptions struct {
}

WebAppsClientGetPrivateAccessOptions contains the optional parameters for the WebAppsClient.GetPrivateAccess method.

type WebAppsClientGetPrivateAccessResponse added in v0.2.0

type WebAppsClientGetPrivateAccessResponse struct {
	PrivateAccess
}

WebAppsClientGetPrivateAccessResponse contains the response from method WebAppsClient.GetPrivateAccess.

type WebAppsClientGetPrivateAccessSlotOptions added in v0.2.0

type WebAppsClientGetPrivateAccessSlotOptions struct {
}

WebAppsClientGetPrivateAccessSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateAccessSlot method.

type WebAppsClientGetPrivateAccessSlotResponse added in v0.2.0

type WebAppsClientGetPrivateAccessSlotResponse struct {
	PrivateAccess
}

WebAppsClientGetPrivateAccessSlotResponse contains the response from method WebAppsClient.GetPrivateAccessSlot.

type WebAppsClientGetPrivateEndpointConnectionListOptions added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionListOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionList method.

type WebAppsClientGetPrivateEndpointConnectionListResponse added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionListResponse struct {
	PrivateEndpointConnectionCollection
}

WebAppsClientGetPrivateEndpointConnectionListResponse contains the response from method WebAppsClient.GetPrivateEndpointConnectionList.

type WebAppsClientGetPrivateEndpointConnectionListSlotOptions added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionListSlotOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionListSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionListSlot method.

type WebAppsClientGetPrivateEndpointConnectionListSlotResponse added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionListSlotResponse struct {
	PrivateEndpointConnectionCollection
}

WebAppsClientGetPrivateEndpointConnectionListSlotResponse contains the response from method WebAppsClient.GetPrivateEndpointConnectionListSlot.

type WebAppsClientGetPrivateEndpointConnectionOptions added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnection method.

type WebAppsClientGetPrivateEndpointConnectionResponse added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientGetPrivateEndpointConnectionResponse contains the response from method WebAppsClient.GetPrivateEndpointConnection.

type WebAppsClientGetPrivateEndpointConnectionSlotOptions added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionSlotOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionSlot method.

type WebAppsClientGetPrivateEndpointConnectionSlotResponse added in v0.2.0

type WebAppsClientGetPrivateEndpointConnectionSlotResponse struct {
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientGetPrivateEndpointConnectionSlotResponse contains the response from method WebAppsClient.GetPrivateEndpointConnectionSlot.

type WebAppsClientGetPrivateLinkResourcesOptions added in v0.2.0

type WebAppsClientGetPrivateLinkResourcesOptions struct {
}

WebAppsClientGetPrivateLinkResourcesOptions contains the optional parameters for the WebAppsClient.GetPrivateLinkResources method.

type WebAppsClientGetPrivateLinkResourcesResponse added in v0.2.0

type WebAppsClientGetPrivateLinkResourcesResponse struct {
	PrivateLinkResourcesWrapper
}

WebAppsClientGetPrivateLinkResourcesResponse contains the response from method WebAppsClient.GetPrivateLinkResources.

type WebAppsClientGetPrivateLinkResourcesSlotOptions added in v0.2.0

type WebAppsClientGetPrivateLinkResourcesSlotOptions struct {
}

WebAppsClientGetPrivateLinkResourcesSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateLinkResourcesSlot method.

type WebAppsClientGetPrivateLinkResourcesSlotResponse added in v0.2.0

type WebAppsClientGetPrivateLinkResourcesSlotResponse struct {
	PrivateLinkResourcesWrapper
}

WebAppsClientGetPrivateLinkResourcesSlotResponse contains the response from method WebAppsClient.GetPrivateLinkResourcesSlot.

type WebAppsClientGetProcessDumpOptions added in v0.2.0

type WebAppsClientGetProcessDumpOptions struct {
}

WebAppsClientGetProcessDumpOptions contains the optional parameters for the WebAppsClient.GetProcessDump method.

type WebAppsClientGetProcessDumpResponse added in v0.2.0

type WebAppsClientGetProcessDumpResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetProcessDumpResponse contains the response from method WebAppsClient.GetProcessDump.

type WebAppsClientGetProcessDumpSlotOptions added in v0.2.0

type WebAppsClientGetProcessDumpSlotOptions struct {
}

WebAppsClientGetProcessDumpSlotOptions contains the optional parameters for the WebAppsClient.GetProcessDumpSlot method.

type WebAppsClientGetProcessDumpSlotResponse added in v0.2.0

type WebAppsClientGetProcessDumpSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetProcessDumpSlotResponse contains the response from method WebAppsClient.GetProcessDumpSlot.

type WebAppsClientGetProcessModuleOptions added in v0.2.0

type WebAppsClientGetProcessModuleOptions struct {
}

WebAppsClientGetProcessModuleOptions contains the optional parameters for the WebAppsClient.GetProcessModule method.

type WebAppsClientGetProcessModuleResponse added in v0.2.0

type WebAppsClientGetProcessModuleResponse struct {
	ProcessModuleInfo
}

WebAppsClientGetProcessModuleResponse contains the response from method WebAppsClient.GetProcessModule.

type WebAppsClientGetProcessModuleSlotOptions added in v0.2.0

type WebAppsClientGetProcessModuleSlotOptions struct {
}

WebAppsClientGetProcessModuleSlotOptions contains the optional parameters for the WebAppsClient.GetProcessModuleSlot method.

type WebAppsClientGetProcessModuleSlotResponse added in v0.2.0

type WebAppsClientGetProcessModuleSlotResponse struct {
	ProcessModuleInfo
}

WebAppsClientGetProcessModuleSlotResponse contains the response from method WebAppsClient.GetProcessModuleSlot.

type WebAppsClientGetProcessOptions added in v0.2.0

type WebAppsClientGetProcessOptions struct {
}

WebAppsClientGetProcessOptions contains the optional parameters for the WebAppsClient.GetProcess method.

type WebAppsClientGetProcessResponse added in v0.2.0

type WebAppsClientGetProcessResponse struct {
	ProcessInfo
}

WebAppsClientGetProcessResponse contains the response from method WebAppsClient.GetProcess.

type WebAppsClientGetProcessSlotOptions added in v0.2.0

type WebAppsClientGetProcessSlotOptions struct {
}

WebAppsClientGetProcessSlotOptions contains the optional parameters for the WebAppsClient.GetProcessSlot method.

type WebAppsClientGetProcessSlotResponse added in v0.2.0

type WebAppsClientGetProcessSlotResponse struct {
	ProcessInfo
}

WebAppsClientGetProcessSlotResponse contains the response from method WebAppsClient.GetProcessSlot.

type WebAppsClientGetPublicCertificateOptions added in v0.2.0

type WebAppsClientGetPublicCertificateOptions struct {
}

WebAppsClientGetPublicCertificateOptions contains the optional parameters for the WebAppsClient.GetPublicCertificate method.

type WebAppsClientGetPublicCertificateResponse added in v0.2.0

type WebAppsClientGetPublicCertificateResponse struct {
	PublicCertificate
}

WebAppsClientGetPublicCertificateResponse contains the response from method WebAppsClient.GetPublicCertificate.

type WebAppsClientGetPublicCertificateSlotOptions added in v0.2.0

type WebAppsClientGetPublicCertificateSlotOptions struct {
}

WebAppsClientGetPublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.GetPublicCertificateSlot method.

type WebAppsClientGetPublicCertificateSlotResponse added in v0.2.0

type WebAppsClientGetPublicCertificateSlotResponse struct {
	PublicCertificate
}

WebAppsClientGetPublicCertificateSlotResponse contains the response from method WebAppsClient.GetPublicCertificateSlot.

type WebAppsClientGetRelayServiceConnectionOptions added in v0.2.0

type WebAppsClientGetRelayServiceConnectionOptions struct {
}

WebAppsClientGetRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.GetRelayServiceConnection method.

type WebAppsClientGetRelayServiceConnectionResponse added in v0.2.0

type WebAppsClientGetRelayServiceConnectionResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientGetRelayServiceConnectionResponse contains the response from method WebAppsClient.GetRelayServiceConnection.

type WebAppsClientGetRelayServiceConnectionSlotOptions added in v0.2.0

type WebAppsClientGetRelayServiceConnectionSlotOptions struct {
}

WebAppsClientGetRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetRelayServiceConnectionSlot method.

type WebAppsClientGetRelayServiceConnectionSlotResponse added in v0.2.0

type WebAppsClientGetRelayServiceConnectionSlotResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientGetRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.GetRelayServiceConnectionSlot.

type WebAppsClientGetResponse added in v0.2.0

type WebAppsClientGetResponse struct {
	Site
}

WebAppsClientGetResponse contains the response from method WebAppsClient.Get.

type WebAppsClientGetScmAllowedOptions added in v0.2.0

type WebAppsClientGetScmAllowedOptions struct {
}

WebAppsClientGetScmAllowedOptions contains the optional parameters for the WebAppsClient.GetScmAllowed method.

type WebAppsClientGetScmAllowedResponse added in v0.2.0

type WebAppsClientGetScmAllowedResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetScmAllowedResponse contains the response from method WebAppsClient.GetScmAllowed.

type WebAppsClientGetScmAllowedSlotOptions added in v0.2.0

type WebAppsClientGetScmAllowedSlotOptions struct {
}

WebAppsClientGetScmAllowedSlotOptions contains the optional parameters for the WebAppsClient.GetScmAllowedSlot method.

type WebAppsClientGetScmAllowedSlotResponse added in v0.2.0

type WebAppsClientGetScmAllowedSlotResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetScmAllowedSlotResponse contains the response from method WebAppsClient.GetScmAllowedSlot.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReference method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse struct {
	APIKVReference
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse contains the response from method WebAppsClient.GetSiteConnectionStringKeyVaultReference.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferenceSlot method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse struct {
	APIKVReference
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse contains the response from method WebAppsClient.GetSiteConnectionStringKeyVaultReferenceSlot.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferences method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse contains the response from method WebAppsClient.GetSiteConnectionStringKeyVaultReferences.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferencesSlot method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse added in v0.2.0

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse contains the response from method WebAppsClient.GetSiteConnectionStringKeyVaultReferencesSlot.

type WebAppsClientGetSiteExtensionOptions added in v0.2.0

type WebAppsClientGetSiteExtensionOptions struct {
}

WebAppsClientGetSiteExtensionOptions contains the optional parameters for the WebAppsClient.GetSiteExtension method.

type WebAppsClientGetSiteExtensionResponse added in v0.2.0

type WebAppsClientGetSiteExtensionResponse struct {
	SiteExtensionInfo
}

WebAppsClientGetSiteExtensionResponse contains the response from method WebAppsClient.GetSiteExtension.

type WebAppsClientGetSiteExtensionSlotOptions added in v0.2.0

type WebAppsClientGetSiteExtensionSlotOptions struct {
}

WebAppsClientGetSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.GetSiteExtensionSlot method.

type WebAppsClientGetSiteExtensionSlotResponse added in v0.2.0

type WebAppsClientGetSiteExtensionSlotResponse struct {
	SiteExtensionInfo
}

WebAppsClientGetSiteExtensionSlotResponse contains the response from method WebAppsClient.GetSiteExtensionSlot.

type WebAppsClientGetSitePhpErrorLogFlagOptions added in v0.2.0

type WebAppsClientGetSitePhpErrorLogFlagOptions struct {
}

WebAppsClientGetSitePhpErrorLogFlagOptions contains the optional parameters for the WebAppsClient.GetSitePhpErrorLogFlag method.

type WebAppsClientGetSitePhpErrorLogFlagResponse added in v0.2.0

type WebAppsClientGetSitePhpErrorLogFlagResponse struct {
	SitePhpErrorLogFlag
}

WebAppsClientGetSitePhpErrorLogFlagResponse contains the response from method WebAppsClient.GetSitePhpErrorLogFlag.

type WebAppsClientGetSitePhpErrorLogFlagSlotOptions added in v0.2.0

type WebAppsClientGetSitePhpErrorLogFlagSlotOptions struct {
}

WebAppsClientGetSitePhpErrorLogFlagSlotOptions contains the optional parameters for the WebAppsClient.GetSitePhpErrorLogFlagSlot method.

type WebAppsClientGetSitePhpErrorLogFlagSlotResponse added in v0.2.0

type WebAppsClientGetSitePhpErrorLogFlagSlotResponse struct {
	SitePhpErrorLogFlag
}

WebAppsClientGetSitePhpErrorLogFlagSlotResponse contains the response from method WebAppsClient.GetSitePhpErrorLogFlagSlot.

type WebAppsClientGetSlotOptions added in v0.2.0

type WebAppsClientGetSlotOptions struct {
}

WebAppsClientGetSlotOptions contains the optional parameters for the WebAppsClient.GetSlot method.

type WebAppsClientGetSlotResponse added in v0.2.0

type WebAppsClientGetSlotResponse struct {
	Site
}

WebAppsClientGetSlotResponse contains the response from method WebAppsClient.GetSlot.

type WebAppsClientGetSourceControlOptions added in v0.2.0

type WebAppsClientGetSourceControlOptions struct {
}

WebAppsClientGetSourceControlOptions contains the optional parameters for the WebAppsClient.GetSourceControl method.

type WebAppsClientGetSourceControlResponse added in v0.2.0

type WebAppsClientGetSourceControlResponse struct {
	SiteSourceControl
}

WebAppsClientGetSourceControlResponse contains the response from method WebAppsClient.GetSourceControl.

type WebAppsClientGetSourceControlSlotOptions added in v0.2.0

type WebAppsClientGetSourceControlSlotOptions struct {
}

WebAppsClientGetSourceControlSlotOptions contains the optional parameters for the WebAppsClient.GetSourceControlSlot method.

type WebAppsClientGetSourceControlSlotResponse added in v0.2.0

type WebAppsClientGetSourceControlSlotResponse struct {
	SiteSourceControl
}

WebAppsClientGetSourceControlSlotResponse contains the response from method WebAppsClient.GetSourceControlSlot.

type WebAppsClientGetSwiftVirtualNetworkConnectionOptions added in v0.2.0

type WebAppsClientGetSwiftVirtualNetworkConnectionOptions struct {
}

WebAppsClientGetSwiftVirtualNetworkConnectionOptions contains the optional parameters for the WebAppsClient.GetSwiftVirtualNetworkConnection method.

type WebAppsClientGetSwiftVirtualNetworkConnectionResponse added in v0.2.0

type WebAppsClientGetSwiftVirtualNetworkConnectionResponse struct {
	SwiftVirtualNetwork
}

WebAppsClientGetSwiftVirtualNetworkConnectionResponse contains the response from method WebAppsClient.GetSwiftVirtualNetworkConnection.

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions added in v0.2.0

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions struct {
}

WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetSwiftVirtualNetworkConnectionSlot method.

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse added in v0.2.0

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse struct {
	SwiftVirtualNetwork
}

WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse contains the response from method WebAppsClient.GetSwiftVirtualNetworkConnectionSlot.

type WebAppsClientGetTriggeredWebJobHistoryOptions added in v0.2.0

type WebAppsClientGetTriggeredWebJobHistoryOptions struct {
}

WebAppsClientGetTriggeredWebJobHistoryOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobHistory method.

type WebAppsClientGetTriggeredWebJobHistoryResponse added in v0.2.0

type WebAppsClientGetTriggeredWebJobHistoryResponse struct {
	TriggeredJobHistory
}

WebAppsClientGetTriggeredWebJobHistoryResponse contains the response from method WebAppsClient.GetTriggeredWebJobHistory.

type WebAppsClientGetTriggeredWebJobHistorySlotOptions added in v0.2.0

type WebAppsClientGetTriggeredWebJobHistorySlotOptions struct {
}

WebAppsClientGetTriggeredWebJobHistorySlotOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobHistorySlot method.

type WebAppsClientGetTriggeredWebJobHistorySlotResponse added in v0.2.0

type WebAppsClientGetTriggeredWebJobHistorySlotResponse struct {
	TriggeredJobHistory
}

WebAppsClientGetTriggeredWebJobHistorySlotResponse contains the response from method WebAppsClient.GetTriggeredWebJobHistorySlot.

type WebAppsClientGetTriggeredWebJobOptions added in v0.2.0

type WebAppsClientGetTriggeredWebJobOptions struct {
}

WebAppsClientGetTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJob method.

type WebAppsClientGetTriggeredWebJobResponse added in v0.2.0

type WebAppsClientGetTriggeredWebJobResponse struct {
	TriggeredWebJob
}

WebAppsClientGetTriggeredWebJobResponse contains the response from method WebAppsClient.GetTriggeredWebJob.

type WebAppsClientGetTriggeredWebJobSlotOptions added in v0.2.0

type WebAppsClientGetTriggeredWebJobSlotOptions struct {
}

WebAppsClientGetTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobSlot method.

type WebAppsClientGetTriggeredWebJobSlotResponse added in v0.2.0

type WebAppsClientGetTriggeredWebJobSlotResponse struct {
	TriggeredWebJob
}

WebAppsClientGetTriggeredWebJobSlotResponse contains the response from method WebAppsClient.GetTriggeredWebJobSlot.

type WebAppsClientGetVnetConnectionGatewayOptions added in v0.2.0

type WebAppsClientGetVnetConnectionGatewayOptions struct {
}

WebAppsClientGetVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionGateway method.

type WebAppsClientGetVnetConnectionGatewayResponse added in v0.2.0

type WebAppsClientGetVnetConnectionGatewayResponse struct {
	VnetGateway
}

WebAppsClientGetVnetConnectionGatewayResponse contains the response from method WebAppsClient.GetVnetConnectionGateway.

type WebAppsClientGetVnetConnectionGatewaySlotOptions added in v0.2.0

type WebAppsClientGetVnetConnectionGatewaySlotOptions struct {
}

WebAppsClientGetVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionGatewaySlot method.

type WebAppsClientGetVnetConnectionGatewaySlotResponse added in v0.2.0

type WebAppsClientGetVnetConnectionGatewaySlotResponse struct {
	VnetGateway
}

WebAppsClientGetVnetConnectionGatewaySlotResponse contains the response from method WebAppsClient.GetVnetConnectionGatewaySlot.

type WebAppsClientGetVnetConnectionOptions added in v0.2.0

type WebAppsClientGetVnetConnectionOptions struct {
}

WebAppsClientGetVnetConnectionOptions contains the optional parameters for the WebAppsClient.GetVnetConnection method.

type WebAppsClientGetVnetConnectionResponse added in v0.2.0

type WebAppsClientGetVnetConnectionResponse struct {
	VnetInfoResource
}

WebAppsClientGetVnetConnectionResponse contains the response from method WebAppsClient.GetVnetConnection.

type WebAppsClientGetVnetConnectionSlotOptions added in v0.2.0

type WebAppsClientGetVnetConnectionSlotOptions struct {
}

WebAppsClientGetVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionSlot method.

type WebAppsClientGetVnetConnectionSlotResponse added in v0.2.0

type WebAppsClientGetVnetConnectionSlotResponse struct {
	VnetInfoResource
}

WebAppsClientGetVnetConnectionSlotResponse contains the response from method WebAppsClient.GetVnetConnectionSlot.

type WebAppsClientGetWebJobOptions added in v0.2.0

type WebAppsClientGetWebJobOptions struct {
}

WebAppsClientGetWebJobOptions contains the optional parameters for the WebAppsClient.GetWebJob method.

type WebAppsClientGetWebJobResponse added in v0.2.0

type WebAppsClientGetWebJobResponse struct {
	WebJob
}

WebAppsClientGetWebJobResponse contains the response from method WebAppsClient.GetWebJob.

type WebAppsClientGetWebJobSlotOptions added in v0.2.0

type WebAppsClientGetWebJobSlotOptions struct {
}

WebAppsClientGetWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetWebJobSlot method.

type WebAppsClientGetWebJobSlotResponse added in v0.2.0

type WebAppsClientGetWebJobSlotResponse struct {
	WebJob
}

WebAppsClientGetWebJobSlotResponse contains the response from method WebAppsClient.GetWebJobSlot.

type WebAppsClientGetWebSiteContainerLogsOptions added in v0.2.0

type WebAppsClientGetWebSiteContainerLogsOptions struct {
}

WebAppsClientGetWebSiteContainerLogsOptions contains the optional parameters for the WebAppsClient.GetWebSiteContainerLogs method.

type WebAppsClientGetWebSiteContainerLogsResponse added in v0.2.0

type WebAppsClientGetWebSiteContainerLogsResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetWebSiteContainerLogsResponse contains the response from method WebAppsClient.GetWebSiteContainerLogs.

type WebAppsClientGetWebSiteContainerLogsSlotOptions added in v0.2.0

type WebAppsClientGetWebSiteContainerLogsSlotOptions struct {
}

WebAppsClientGetWebSiteContainerLogsSlotOptions contains the optional parameters for the WebAppsClient.GetWebSiteContainerLogsSlot method.

type WebAppsClientGetWebSiteContainerLogsSlotResponse added in v0.2.0

type WebAppsClientGetWebSiteContainerLogsSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetWebSiteContainerLogsSlotResponse contains the response from method WebAppsClient.GetWebSiteContainerLogsSlot.

type WebAppsClientInstallSiteExtensionResponse added in v0.2.0

type WebAppsClientInstallSiteExtensionResponse struct {
	SiteExtensionInfo
}

WebAppsClientInstallSiteExtensionResponse contains the response from method WebAppsClient.InstallSiteExtension.

type WebAppsClientInstallSiteExtensionSlotResponse added in v0.2.0

type WebAppsClientInstallSiteExtensionSlotResponse struct {
	SiteExtensionInfo
}

WebAppsClientInstallSiteExtensionSlotResponse contains the response from method WebAppsClient.InstallSiteExtensionSlot.

type WebAppsClientIsCloneableOptions added in v0.2.0

type WebAppsClientIsCloneableOptions struct {
}

WebAppsClientIsCloneableOptions contains the optional parameters for the WebAppsClient.IsCloneable method.

type WebAppsClientIsCloneableResponse added in v0.2.0

type WebAppsClientIsCloneableResponse struct {
	SiteCloneability
}

WebAppsClientIsCloneableResponse contains the response from method WebAppsClient.IsCloneable.

type WebAppsClientIsCloneableSlotOptions added in v0.2.0

type WebAppsClientIsCloneableSlotOptions struct {
}

WebAppsClientIsCloneableSlotOptions contains the optional parameters for the WebAppsClient.IsCloneableSlot method.

type WebAppsClientIsCloneableSlotResponse added in v0.2.0

type WebAppsClientIsCloneableSlotResponse struct {
	SiteCloneability
}

WebAppsClientIsCloneableSlotResponse contains the response from method WebAppsClient.IsCloneableSlot.

type WebAppsClientListApplicationSettingsOptions added in v0.2.0

type WebAppsClientListApplicationSettingsOptions struct {
}

WebAppsClientListApplicationSettingsOptions contains the optional parameters for the WebAppsClient.ListApplicationSettings method.

type WebAppsClientListApplicationSettingsResponse added in v0.2.0

type WebAppsClientListApplicationSettingsResponse struct {
	StringDictionary
}

WebAppsClientListApplicationSettingsResponse contains the response from method WebAppsClient.ListApplicationSettings.

type WebAppsClientListApplicationSettingsSlotOptions added in v0.2.0

type WebAppsClientListApplicationSettingsSlotOptions struct {
}

WebAppsClientListApplicationSettingsSlotOptions contains the optional parameters for the WebAppsClient.ListApplicationSettingsSlot method.

type WebAppsClientListApplicationSettingsSlotResponse added in v0.2.0

type WebAppsClientListApplicationSettingsSlotResponse struct {
	StringDictionary
}

WebAppsClientListApplicationSettingsSlotResponse contains the response from method WebAppsClient.ListApplicationSettingsSlot.

type WebAppsClientListAzureStorageAccountsOptions added in v0.2.0

type WebAppsClientListAzureStorageAccountsOptions struct {
}

WebAppsClientListAzureStorageAccountsOptions contains the optional parameters for the WebAppsClient.ListAzureStorageAccounts method.

type WebAppsClientListAzureStorageAccountsResponse added in v0.2.0

type WebAppsClientListAzureStorageAccountsResponse struct {
	AzureStoragePropertyDictionaryResource
}

WebAppsClientListAzureStorageAccountsResponse contains the response from method WebAppsClient.ListAzureStorageAccounts.

type WebAppsClientListAzureStorageAccountsSlotOptions added in v0.2.0

type WebAppsClientListAzureStorageAccountsSlotOptions struct {
}

WebAppsClientListAzureStorageAccountsSlotOptions contains the optional parameters for the WebAppsClient.ListAzureStorageAccountsSlot method.

type WebAppsClientListAzureStorageAccountsSlotResponse added in v0.2.0

type WebAppsClientListAzureStorageAccountsSlotResponse struct {
	AzureStoragePropertyDictionaryResource
}

WebAppsClientListAzureStorageAccountsSlotResponse contains the response from method WebAppsClient.ListAzureStorageAccountsSlot.

type WebAppsClientListBackupStatusSecretsOptions added in v0.2.0

type WebAppsClientListBackupStatusSecretsOptions struct {
}

WebAppsClientListBackupStatusSecretsOptions contains the optional parameters for the WebAppsClient.ListBackupStatusSecrets method.

type WebAppsClientListBackupStatusSecretsResponse added in v0.2.0

type WebAppsClientListBackupStatusSecretsResponse struct {
	BackupItem
}

WebAppsClientListBackupStatusSecretsResponse contains the response from method WebAppsClient.ListBackupStatusSecrets.

type WebAppsClientListBackupStatusSecretsSlotOptions added in v0.2.0

type WebAppsClientListBackupStatusSecretsSlotOptions struct {
}

WebAppsClientListBackupStatusSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListBackupStatusSecretsSlot method.

type WebAppsClientListBackupStatusSecretsSlotResponse added in v0.2.0

type WebAppsClientListBackupStatusSecretsSlotResponse struct {
	BackupItem
}

WebAppsClientListBackupStatusSecretsSlotResponse contains the response from method WebAppsClient.ListBackupStatusSecretsSlot.

type WebAppsClientListBackupsOptions added in v0.2.0

type WebAppsClientListBackupsOptions struct {
}

WebAppsClientListBackupsOptions contains the optional parameters for the WebAppsClient.ListBackups method.

type WebAppsClientListBackupsResponse added in v0.2.0

type WebAppsClientListBackupsResponse struct {
	BackupItemCollection
}

WebAppsClientListBackupsResponse contains the response from method WebAppsClient.ListBackups.

type WebAppsClientListBackupsSlotOptions added in v0.2.0

type WebAppsClientListBackupsSlotOptions struct {
}

WebAppsClientListBackupsSlotOptions contains the optional parameters for the WebAppsClient.ListBackupsSlot method.

type WebAppsClientListBackupsSlotResponse added in v0.2.0

type WebAppsClientListBackupsSlotResponse struct {
	BackupItemCollection
}

WebAppsClientListBackupsSlotResponse contains the response from method WebAppsClient.ListBackupsSlot.

type WebAppsClientListBasicPublishingCredentialsPoliciesOptions added in v0.2.0

type WebAppsClientListBasicPublishingCredentialsPoliciesOptions struct {
}

WebAppsClientListBasicPublishingCredentialsPoliciesOptions contains the optional parameters for the WebAppsClient.ListBasicPublishingCredentialsPolicies method.

type WebAppsClientListBasicPublishingCredentialsPoliciesResponse added in v0.2.0

type WebAppsClientListBasicPublishingCredentialsPoliciesResponse struct {
	PublishingCredentialsPoliciesCollection
}

WebAppsClientListBasicPublishingCredentialsPoliciesResponse contains the response from method WebAppsClient.ListBasicPublishingCredentialsPolicies.

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions added in v0.2.0

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions struct {
}

WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions contains the optional parameters for the WebAppsClient.ListBasicPublishingCredentialsPoliciesSlot method.

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse added in v0.2.0

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse struct {
	PublishingCredentialsPoliciesCollection
}

WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse contains the response from method WebAppsClient.ListBasicPublishingCredentialsPoliciesSlot.

type WebAppsClientListByResourceGroupOptions added in v0.2.0

type WebAppsClientListByResourceGroupOptions struct {
	// Specify true to include deployment slots in results. The default is false, which only gives you the production slot of
	// all apps.
	IncludeSlots *bool
}

WebAppsClientListByResourceGroupOptions contains the optional parameters for the WebAppsClient.ListByResourceGroup method.

type WebAppsClientListByResourceGroupResponse added in v0.2.0

type WebAppsClientListByResourceGroupResponse struct {
	WebAppCollection
}

WebAppsClientListByResourceGroupResponse contains the response from method WebAppsClient.ListByResourceGroup.

type WebAppsClientListConfigurationSnapshotInfoOptions added in v0.2.0

type WebAppsClientListConfigurationSnapshotInfoOptions struct {
}

WebAppsClientListConfigurationSnapshotInfoOptions contains the optional parameters for the WebAppsClient.ListConfigurationSnapshotInfo method.

type WebAppsClientListConfigurationSnapshotInfoResponse added in v0.2.0

type WebAppsClientListConfigurationSnapshotInfoResponse struct {
	SiteConfigurationSnapshotInfoCollection
}

WebAppsClientListConfigurationSnapshotInfoResponse contains the response from method WebAppsClient.ListConfigurationSnapshotInfo.

type WebAppsClientListConfigurationSnapshotInfoSlotOptions added in v0.2.0

type WebAppsClientListConfigurationSnapshotInfoSlotOptions struct {
}

WebAppsClientListConfigurationSnapshotInfoSlotOptions contains the optional parameters for the WebAppsClient.ListConfigurationSnapshotInfoSlot method.

type WebAppsClientListConfigurationSnapshotInfoSlotResponse added in v0.2.0

type WebAppsClientListConfigurationSnapshotInfoSlotResponse struct {
	SiteConfigurationSnapshotInfoCollection
}

WebAppsClientListConfigurationSnapshotInfoSlotResponse contains the response from method WebAppsClient.ListConfigurationSnapshotInfoSlot.

type WebAppsClientListConfigurationsOptions added in v0.2.0

type WebAppsClientListConfigurationsOptions struct {
}

WebAppsClientListConfigurationsOptions contains the optional parameters for the WebAppsClient.ListConfigurations method.

type WebAppsClientListConfigurationsResponse added in v0.2.0

type WebAppsClientListConfigurationsResponse struct {
	SiteConfigResourceCollection
}

WebAppsClientListConfigurationsResponse contains the response from method WebAppsClient.ListConfigurations.

type WebAppsClientListConfigurationsSlotOptions added in v0.2.0

type WebAppsClientListConfigurationsSlotOptions struct {
}

WebAppsClientListConfigurationsSlotOptions contains the optional parameters for the WebAppsClient.ListConfigurationsSlot method.

type WebAppsClientListConfigurationsSlotResponse added in v0.2.0

type WebAppsClientListConfigurationsSlotResponse struct {
	SiteConfigResourceCollection
}

WebAppsClientListConfigurationsSlotResponse contains the response from method WebAppsClient.ListConfigurationsSlot.

type WebAppsClientListConnectionStringsOptions added in v0.2.0

type WebAppsClientListConnectionStringsOptions struct {
}

WebAppsClientListConnectionStringsOptions contains the optional parameters for the WebAppsClient.ListConnectionStrings method.

type WebAppsClientListConnectionStringsResponse added in v0.2.0

type WebAppsClientListConnectionStringsResponse struct {
	ConnectionStringDictionary
}

WebAppsClientListConnectionStringsResponse contains the response from method WebAppsClient.ListConnectionStrings.

type WebAppsClientListConnectionStringsSlotOptions added in v0.2.0

type WebAppsClientListConnectionStringsSlotOptions struct {
}

WebAppsClientListConnectionStringsSlotOptions contains the optional parameters for the WebAppsClient.ListConnectionStringsSlot method.

type WebAppsClientListConnectionStringsSlotResponse added in v0.2.0

type WebAppsClientListConnectionStringsSlotResponse struct {
	ConnectionStringDictionary
}

WebAppsClientListConnectionStringsSlotResponse contains the response from method WebAppsClient.ListConnectionStringsSlot.

type WebAppsClientListContinuousWebJobsOptions added in v0.2.0

type WebAppsClientListContinuousWebJobsOptions struct {
}

WebAppsClientListContinuousWebJobsOptions contains the optional parameters for the WebAppsClient.ListContinuousWebJobs method.

type WebAppsClientListContinuousWebJobsResponse added in v0.2.0

type WebAppsClientListContinuousWebJobsResponse struct {
	ContinuousWebJobCollection
}

WebAppsClientListContinuousWebJobsResponse contains the response from method WebAppsClient.ListContinuousWebJobs.

type WebAppsClientListContinuousWebJobsSlotOptions added in v0.2.0

type WebAppsClientListContinuousWebJobsSlotOptions struct {
}

WebAppsClientListContinuousWebJobsSlotOptions contains the optional parameters for the WebAppsClient.ListContinuousWebJobsSlot method.

type WebAppsClientListContinuousWebJobsSlotResponse added in v0.2.0

type WebAppsClientListContinuousWebJobsSlotResponse struct {
	ContinuousWebJobCollection
}

WebAppsClientListContinuousWebJobsSlotResponse contains the response from method WebAppsClient.ListContinuousWebJobsSlot.

type WebAppsClientListDeploymentLogOptions added in v0.2.0

type WebAppsClientListDeploymentLogOptions struct {
}

WebAppsClientListDeploymentLogOptions contains the optional parameters for the WebAppsClient.ListDeploymentLog method.

type WebAppsClientListDeploymentLogResponse added in v0.2.0

type WebAppsClientListDeploymentLogResponse struct {
	Deployment
}

WebAppsClientListDeploymentLogResponse contains the response from method WebAppsClient.ListDeploymentLog.

type WebAppsClientListDeploymentLogSlotOptions added in v0.2.0

type WebAppsClientListDeploymentLogSlotOptions struct {
}

WebAppsClientListDeploymentLogSlotOptions contains the optional parameters for the WebAppsClient.ListDeploymentLogSlot method.

type WebAppsClientListDeploymentLogSlotResponse added in v0.2.0

type WebAppsClientListDeploymentLogSlotResponse struct {
	Deployment
}

WebAppsClientListDeploymentLogSlotResponse contains the response from method WebAppsClient.ListDeploymentLogSlot.

type WebAppsClientListDeploymentsOptions added in v0.2.0

type WebAppsClientListDeploymentsOptions struct {
}

WebAppsClientListDeploymentsOptions contains the optional parameters for the WebAppsClient.ListDeployments method.

type WebAppsClientListDeploymentsResponse added in v0.2.0

type WebAppsClientListDeploymentsResponse struct {
	DeploymentCollection
}

WebAppsClientListDeploymentsResponse contains the response from method WebAppsClient.ListDeployments.

type WebAppsClientListDeploymentsSlotOptions added in v0.2.0

type WebAppsClientListDeploymentsSlotOptions struct {
}

WebAppsClientListDeploymentsSlotOptions contains the optional parameters for the WebAppsClient.ListDeploymentsSlot method.

type WebAppsClientListDeploymentsSlotResponse added in v0.2.0

type WebAppsClientListDeploymentsSlotResponse struct {
	DeploymentCollection
}

WebAppsClientListDeploymentsSlotResponse contains the response from method WebAppsClient.ListDeploymentsSlot.

type WebAppsClientListDomainOwnershipIdentifiersOptions added in v0.2.0

type WebAppsClientListDomainOwnershipIdentifiersOptions struct {
}

WebAppsClientListDomainOwnershipIdentifiersOptions contains the optional parameters for the WebAppsClient.ListDomainOwnershipIdentifiers method.

type WebAppsClientListDomainOwnershipIdentifiersResponse added in v0.2.0

type WebAppsClientListDomainOwnershipIdentifiersResponse struct {
	IdentifierCollection
}

WebAppsClientListDomainOwnershipIdentifiersResponse contains the response from method WebAppsClient.ListDomainOwnershipIdentifiers.

type WebAppsClientListDomainOwnershipIdentifiersSlotOptions added in v0.2.0

type WebAppsClientListDomainOwnershipIdentifiersSlotOptions struct {
}

WebAppsClientListDomainOwnershipIdentifiersSlotOptions contains the optional parameters for the WebAppsClient.ListDomainOwnershipIdentifiersSlot method.

type WebAppsClientListDomainOwnershipIdentifiersSlotResponse added in v0.2.0

type WebAppsClientListDomainOwnershipIdentifiersSlotResponse struct {
	IdentifierCollection
}

WebAppsClientListDomainOwnershipIdentifiersSlotResponse contains the response from method WebAppsClient.ListDomainOwnershipIdentifiersSlot.

type WebAppsClientListFunctionKeysOptions added in v0.2.0

type WebAppsClientListFunctionKeysOptions struct {
}

WebAppsClientListFunctionKeysOptions contains the optional parameters for the WebAppsClient.ListFunctionKeys method.

type WebAppsClientListFunctionKeysResponse added in v0.2.0

type WebAppsClientListFunctionKeysResponse struct {
	StringDictionary
}

WebAppsClientListFunctionKeysResponse contains the response from method WebAppsClient.ListFunctionKeys.

type WebAppsClientListFunctionKeysSlotOptions added in v0.2.0

type WebAppsClientListFunctionKeysSlotOptions struct {
}

WebAppsClientListFunctionKeysSlotOptions contains the optional parameters for the WebAppsClient.ListFunctionKeysSlot method.

type WebAppsClientListFunctionKeysSlotResponse added in v0.2.0

type WebAppsClientListFunctionKeysSlotResponse struct {
	StringDictionary
}

WebAppsClientListFunctionKeysSlotResponse contains the response from method WebAppsClient.ListFunctionKeysSlot.

type WebAppsClientListFunctionSecretsOptions added in v0.2.0

type WebAppsClientListFunctionSecretsOptions struct {
}

WebAppsClientListFunctionSecretsOptions contains the optional parameters for the WebAppsClient.ListFunctionSecrets method.

type WebAppsClientListFunctionSecretsResponse added in v0.2.0

type WebAppsClientListFunctionSecretsResponse struct {
	FunctionSecrets
}

WebAppsClientListFunctionSecretsResponse contains the response from method WebAppsClient.ListFunctionSecrets.

type WebAppsClientListFunctionSecretsSlotOptions added in v0.2.0

type WebAppsClientListFunctionSecretsSlotOptions struct {
}

WebAppsClientListFunctionSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListFunctionSecretsSlot method.

type WebAppsClientListFunctionSecretsSlotResponse added in v0.2.0

type WebAppsClientListFunctionSecretsSlotResponse struct {
	FunctionSecrets
}

WebAppsClientListFunctionSecretsSlotResponse contains the response from method WebAppsClient.ListFunctionSecretsSlot.

type WebAppsClientListFunctionsOptions added in v0.2.0

type WebAppsClientListFunctionsOptions struct {
}

WebAppsClientListFunctionsOptions contains the optional parameters for the WebAppsClient.ListFunctions method.

type WebAppsClientListFunctionsResponse added in v0.2.0

type WebAppsClientListFunctionsResponse struct {
	FunctionEnvelopeCollection
}

WebAppsClientListFunctionsResponse contains the response from method WebAppsClient.ListFunctions.

type WebAppsClientListHostKeysOptions added in v0.2.0

type WebAppsClientListHostKeysOptions struct {
}

WebAppsClientListHostKeysOptions contains the optional parameters for the WebAppsClient.ListHostKeys method.

type WebAppsClientListHostKeysResponse added in v0.2.0

type WebAppsClientListHostKeysResponse struct {
	HostKeys
}

WebAppsClientListHostKeysResponse contains the response from method WebAppsClient.ListHostKeys.

type WebAppsClientListHostKeysSlotOptions added in v0.2.0

type WebAppsClientListHostKeysSlotOptions struct {
}

WebAppsClientListHostKeysSlotOptions contains the optional parameters for the WebAppsClient.ListHostKeysSlot method.

type WebAppsClientListHostKeysSlotResponse added in v0.2.0

type WebAppsClientListHostKeysSlotResponse struct {
	HostKeys
}

WebAppsClientListHostKeysSlotResponse contains the response from method WebAppsClient.ListHostKeysSlot.

type WebAppsClientListHostNameBindingsOptions added in v0.2.0

type WebAppsClientListHostNameBindingsOptions struct {
}

WebAppsClientListHostNameBindingsOptions contains the optional parameters for the WebAppsClient.ListHostNameBindings method.

type WebAppsClientListHostNameBindingsResponse added in v0.2.0

type WebAppsClientListHostNameBindingsResponse struct {
	HostNameBindingCollection
}

WebAppsClientListHostNameBindingsResponse contains the response from method WebAppsClient.ListHostNameBindings.

type WebAppsClientListHostNameBindingsSlotOptions added in v0.2.0

type WebAppsClientListHostNameBindingsSlotOptions struct {
}

WebAppsClientListHostNameBindingsSlotOptions contains the optional parameters for the WebAppsClient.ListHostNameBindingsSlot method.

type WebAppsClientListHostNameBindingsSlotResponse added in v0.2.0

type WebAppsClientListHostNameBindingsSlotResponse struct {
	HostNameBindingCollection
}

WebAppsClientListHostNameBindingsSlotResponse contains the response from method WebAppsClient.ListHostNameBindingsSlot.

type WebAppsClientListHybridConnectionsOptions added in v0.2.0

type WebAppsClientListHybridConnectionsOptions struct {
}

WebAppsClientListHybridConnectionsOptions contains the optional parameters for the WebAppsClient.ListHybridConnections method.

type WebAppsClientListHybridConnectionsResponse added in v0.2.0

type WebAppsClientListHybridConnectionsResponse struct {
	HybridConnection
}

WebAppsClientListHybridConnectionsResponse contains the response from method WebAppsClient.ListHybridConnections.

type WebAppsClientListHybridConnectionsSlotOptions added in v0.2.0

type WebAppsClientListHybridConnectionsSlotOptions struct {
}

WebAppsClientListHybridConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListHybridConnectionsSlot method.

type WebAppsClientListHybridConnectionsSlotResponse added in v0.2.0

type WebAppsClientListHybridConnectionsSlotResponse struct {
	HybridConnection
}

WebAppsClientListHybridConnectionsSlotResponse contains the response from method WebAppsClient.ListHybridConnectionsSlot.

type WebAppsClientListInstanceFunctionsSlotOptions added in v0.2.0

type WebAppsClientListInstanceFunctionsSlotOptions struct {
}

WebAppsClientListInstanceFunctionsSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceFunctionsSlot method.

type WebAppsClientListInstanceFunctionsSlotResponse added in v0.2.0

type WebAppsClientListInstanceFunctionsSlotResponse struct {
	FunctionEnvelopeCollection
}

WebAppsClientListInstanceFunctionsSlotResponse contains the response from method WebAppsClient.ListInstanceFunctionsSlot.

type WebAppsClientListInstanceIdentifiersOptions added in v0.2.0

type WebAppsClientListInstanceIdentifiersOptions struct {
}

WebAppsClientListInstanceIdentifiersOptions contains the optional parameters for the WebAppsClient.ListInstanceIdentifiers method.

type WebAppsClientListInstanceIdentifiersResponse added in v0.2.0

type WebAppsClientListInstanceIdentifiersResponse struct {
	WebAppInstanceStatusCollection
}

WebAppsClientListInstanceIdentifiersResponse contains the response from method WebAppsClient.ListInstanceIdentifiers.

type WebAppsClientListInstanceIdentifiersSlotOptions added in v0.2.0

type WebAppsClientListInstanceIdentifiersSlotOptions struct {
}

WebAppsClientListInstanceIdentifiersSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceIdentifiersSlot method.

type WebAppsClientListInstanceIdentifiersSlotResponse added in v0.2.0

type WebAppsClientListInstanceIdentifiersSlotResponse struct {
	WebAppInstanceStatusCollection
}

WebAppsClientListInstanceIdentifiersSlotResponse contains the response from method WebAppsClient.ListInstanceIdentifiersSlot.

type WebAppsClientListInstanceProcessModulesOptions added in v0.2.0

type WebAppsClientListInstanceProcessModulesOptions struct {
}

WebAppsClientListInstanceProcessModulesOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessModules method.

type WebAppsClientListInstanceProcessModulesResponse added in v0.2.0

type WebAppsClientListInstanceProcessModulesResponse struct {
	ProcessModuleInfoCollection
}

WebAppsClientListInstanceProcessModulesResponse contains the response from method WebAppsClient.ListInstanceProcessModules.

type WebAppsClientListInstanceProcessModulesSlotOptions added in v0.2.0

type WebAppsClientListInstanceProcessModulesSlotOptions struct {
}

WebAppsClientListInstanceProcessModulesSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessModulesSlot method.

type WebAppsClientListInstanceProcessModulesSlotResponse added in v0.2.0

type WebAppsClientListInstanceProcessModulesSlotResponse struct {
	ProcessModuleInfoCollection
}

WebAppsClientListInstanceProcessModulesSlotResponse contains the response from method WebAppsClient.ListInstanceProcessModulesSlot.

type WebAppsClientListInstanceProcessThreadsOptions added in v0.2.0

type WebAppsClientListInstanceProcessThreadsOptions struct {
}

WebAppsClientListInstanceProcessThreadsOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessThreads method.

type WebAppsClientListInstanceProcessThreadsResponse added in v0.2.0

type WebAppsClientListInstanceProcessThreadsResponse struct {
	ProcessThreadInfoCollection
}

WebAppsClientListInstanceProcessThreadsResponse contains the response from method WebAppsClient.ListInstanceProcessThreads.

type WebAppsClientListInstanceProcessThreadsSlotOptions added in v0.2.0

type WebAppsClientListInstanceProcessThreadsSlotOptions struct {
}

WebAppsClientListInstanceProcessThreadsSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessThreadsSlot method.

type WebAppsClientListInstanceProcessThreadsSlotResponse added in v0.2.0

type WebAppsClientListInstanceProcessThreadsSlotResponse struct {
	ProcessThreadInfoCollection
}

WebAppsClientListInstanceProcessThreadsSlotResponse contains the response from method WebAppsClient.ListInstanceProcessThreadsSlot.

type WebAppsClientListInstanceProcessesOptions added in v0.2.0

type WebAppsClientListInstanceProcessesOptions struct {
}

WebAppsClientListInstanceProcessesOptions contains the optional parameters for the WebAppsClient.ListInstanceProcesses method.

type WebAppsClientListInstanceProcessesResponse added in v0.2.0

type WebAppsClientListInstanceProcessesResponse struct {
	ProcessInfoCollection
}

WebAppsClientListInstanceProcessesResponse contains the response from method WebAppsClient.ListInstanceProcesses.

type WebAppsClientListInstanceProcessesSlotOptions added in v0.2.0

type WebAppsClientListInstanceProcessesSlotOptions struct {
}

WebAppsClientListInstanceProcessesSlotOptions contains the optional parameters for the WebAppsClient.ListInstanceProcessesSlot method.

type WebAppsClientListInstanceProcessesSlotResponse added in v0.2.0

type WebAppsClientListInstanceProcessesSlotResponse struct {
	ProcessInfoCollection
}

WebAppsClientListInstanceProcessesSlotResponse contains the response from method WebAppsClient.ListInstanceProcessesSlot.

type WebAppsClientListMetadataOptions added in v0.2.0

type WebAppsClientListMetadataOptions struct {
}

WebAppsClientListMetadataOptions contains the optional parameters for the WebAppsClient.ListMetadata method.

type WebAppsClientListMetadataResponse added in v0.2.0

type WebAppsClientListMetadataResponse struct {
	StringDictionary
}

WebAppsClientListMetadataResponse contains the response from method WebAppsClient.ListMetadata.

type WebAppsClientListMetadataSlotOptions added in v0.2.0

type WebAppsClientListMetadataSlotOptions struct {
}

WebAppsClientListMetadataSlotOptions contains the optional parameters for the WebAppsClient.ListMetadataSlot method.

type WebAppsClientListMetadataSlotResponse added in v0.2.0

type WebAppsClientListMetadataSlotResponse struct {
	StringDictionary
}

WebAppsClientListMetadataSlotResponse contains the response from method WebAppsClient.ListMetadataSlot.

type WebAppsClientListNetworkFeaturesOptions added in v0.2.0

type WebAppsClientListNetworkFeaturesOptions struct {
}

WebAppsClientListNetworkFeaturesOptions contains the optional parameters for the WebAppsClient.ListNetworkFeatures method.

type WebAppsClientListNetworkFeaturesResponse added in v0.2.0

type WebAppsClientListNetworkFeaturesResponse struct {
	NetworkFeatures
}

WebAppsClientListNetworkFeaturesResponse contains the response from method WebAppsClient.ListNetworkFeatures.

type WebAppsClientListNetworkFeaturesSlotOptions added in v0.2.0

type WebAppsClientListNetworkFeaturesSlotOptions struct {
}

WebAppsClientListNetworkFeaturesSlotOptions contains the optional parameters for the WebAppsClient.ListNetworkFeaturesSlot method.

type WebAppsClientListNetworkFeaturesSlotResponse added in v0.2.0

type WebAppsClientListNetworkFeaturesSlotResponse struct {
	NetworkFeatures
}

WebAppsClientListNetworkFeaturesSlotResponse contains the response from method WebAppsClient.ListNetworkFeaturesSlot.

type WebAppsClientListOptions added in v0.2.0

type WebAppsClientListOptions struct {
}

WebAppsClientListOptions contains the optional parameters for the WebAppsClient.List method.

type WebAppsClientListPerfMonCountersOptions added in v0.2.0

type WebAppsClientListPerfMonCountersOptions struct {
	// 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]'.
	Filter *string
}

WebAppsClientListPerfMonCountersOptions contains the optional parameters for the WebAppsClient.ListPerfMonCounters method.

type WebAppsClientListPerfMonCountersResponse added in v0.2.0

type WebAppsClientListPerfMonCountersResponse struct {
	PerfMonCounterCollection
}

WebAppsClientListPerfMonCountersResponse contains the response from method WebAppsClient.ListPerfMonCounters.

type WebAppsClientListPerfMonCountersSlotOptions added in v0.2.0

type WebAppsClientListPerfMonCountersSlotOptions struct {
	// 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]'.
	Filter *string
}

WebAppsClientListPerfMonCountersSlotOptions contains the optional parameters for the WebAppsClient.ListPerfMonCountersSlot method.

type WebAppsClientListPerfMonCountersSlotResponse added in v0.2.0

type WebAppsClientListPerfMonCountersSlotResponse struct {
	PerfMonCounterCollection
}

WebAppsClientListPerfMonCountersSlotResponse contains the response from method WebAppsClient.ListPerfMonCountersSlot.

type WebAppsClientListPremierAddOnsOptions added in v0.2.0

type WebAppsClientListPremierAddOnsOptions struct {
}

WebAppsClientListPremierAddOnsOptions contains the optional parameters for the WebAppsClient.ListPremierAddOns method.

type WebAppsClientListPremierAddOnsResponse added in v0.2.0

type WebAppsClientListPremierAddOnsResponse struct {
	PremierAddOn
}

WebAppsClientListPremierAddOnsResponse contains the response from method WebAppsClient.ListPremierAddOns.

type WebAppsClientListPremierAddOnsSlotOptions added in v0.2.0

type WebAppsClientListPremierAddOnsSlotOptions struct {
}

WebAppsClientListPremierAddOnsSlotOptions contains the optional parameters for the WebAppsClient.ListPremierAddOnsSlot method.

type WebAppsClientListPremierAddOnsSlotResponse added in v0.2.0

type WebAppsClientListPremierAddOnsSlotResponse struct {
	PremierAddOn
}

WebAppsClientListPremierAddOnsSlotResponse contains the response from method WebAppsClient.ListPremierAddOnsSlot.

type WebAppsClientListProcessModulesOptions added in v0.2.0

type WebAppsClientListProcessModulesOptions struct {
}

WebAppsClientListProcessModulesOptions contains the optional parameters for the WebAppsClient.ListProcessModules method.

type WebAppsClientListProcessModulesResponse added in v0.2.0

type WebAppsClientListProcessModulesResponse struct {
	ProcessModuleInfoCollection
}

WebAppsClientListProcessModulesResponse contains the response from method WebAppsClient.ListProcessModules.

type WebAppsClientListProcessModulesSlotOptions added in v0.2.0

type WebAppsClientListProcessModulesSlotOptions struct {
}

WebAppsClientListProcessModulesSlotOptions contains the optional parameters for the WebAppsClient.ListProcessModulesSlot method.

type WebAppsClientListProcessModulesSlotResponse added in v0.2.0

type WebAppsClientListProcessModulesSlotResponse struct {
	ProcessModuleInfoCollection
}

WebAppsClientListProcessModulesSlotResponse contains the response from method WebAppsClient.ListProcessModulesSlot.

type WebAppsClientListProcessThreadsOptions added in v0.2.0

type WebAppsClientListProcessThreadsOptions struct {
}

WebAppsClientListProcessThreadsOptions contains the optional parameters for the WebAppsClient.ListProcessThreads method.

type WebAppsClientListProcessThreadsResponse added in v0.2.0

type WebAppsClientListProcessThreadsResponse struct {
	ProcessThreadInfoCollection
}

WebAppsClientListProcessThreadsResponse contains the response from method WebAppsClient.ListProcessThreads.

type WebAppsClientListProcessThreadsSlotOptions added in v0.2.0

type WebAppsClientListProcessThreadsSlotOptions struct {
}

WebAppsClientListProcessThreadsSlotOptions contains the optional parameters for the WebAppsClient.ListProcessThreadsSlot method.

type WebAppsClientListProcessThreadsSlotResponse added in v0.2.0

type WebAppsClientListProcessThreadsSlotResponse struct {
	ProcessThreadInfoCollection
}

WebAppsClientListProcessThreadsSlotResponse contains the response from method WebAppsClient.ListProcessThreadsSlot.

type WebAppsClientListProcessesOptions added in v0.2.0

type WebAppsClientListProcessesOptions struct {
}

WebAppsClientListProcessesOptions contains the optional parameters for the WebAppsClient.ListProcesses method.

type WebAppsClientListProcessesResponse added in v0.2.0

type WebAppsClientListProcessesResponse struct {
	ProcessInfoCollection
}

WebAppsClientListProcessesResponse contains the response from method WebAppsClient.ListProcesses.

type WebAppsClientListProcessesSlotOptions added in v0.2.0

type WebAppsClientListProcessesSlotOptions struct {
}

WebAppsClientListProcessesSlotOptions contains the optional parameters for the WebAppsClient.ListProcessesSlot method.

type WebAppsClientListProcessesSlotResponse added in v0.2.0

type WebAppsClientListProcessesSlotResponse struct {
	ProcessInfoCollection
}

WebAppsClientListProcessesSlotResponse contains the response from method WebAppsClient.ListProcessesSlot.

type WebAppsClientListPublicCertificatesOptions added in v0.2.0

type WebAppsClientListPublicCertificatesOptions struct {
}

WebAppsClientListPublicCertificatesOptions contains the optional parameters for the WebAppsClient.ListPublicCertificates method.

type WebAppsClientListPublicCertificatesResponse added in v0.2.0

type WebAppsClientListPublicCertificatesResponse struct {
	PublicCertificateCollection
}

WebAppsClientListPublicCertificatesResponse contains the response from method WebAppsClient.ListPublicCertificates.

type WebAppsClientListPublicCertificatesSlotOptions added in v0.2.0

type WebAppsClientListPublicCertificatesSlotOptions struct {
}

WebAppsClientListPublicCertificatesSlotOptions contains the optional parameters for the WebAppsClient.ListPublicCertificatesSlot method.

type WebAppsClientListPublicCertificatesSlotResponse added in v0.2.0

type WebAppsClientListPublicCertificatesSlotResponse struct {
	PublicCertificateCollection
}

WebAppsClientListPublicCertificatesSlotResponse contains the response from method WebAppsClient.ListPublicCertificatesSlot.

type WebAppsClientListPublishingCredentialsResponse added in v0.2.0

type WebAppsClientListPublishingCredentialsResponse struct {
	User
}

WebAppsClientListPublishingCredentialsResponse contains the response from method WebAppsClient.ListPublishingCredentials.

type WebAppsClientListPublishingCredentialsSlotResponse added in v0.2.0

type WebAppsClientListPublishingCredentialsSlotResponse struct {
	User
}

WebAppsClientListPublishingCredentialsSlotResponse contains the response from method WebAppsClient.ListPublishingCredentialsSlot.

type WebAppsClientListPublishingProfileXMLWithSecretsOptions added in v0.2.0

type WebAppsClientListPublishingProfileXMLWithSecretsOptions struct {
}

WebAppsClientListPublishingProfileXMLWithSecretsOptions contains the optional parameters for the WebAppsClient.ListPublishingProfileXMLWithSecrets method.

type WebAppsClientListPublishingProfileXMLWithSecretsResponse added in v0.2.0

type WebAppsClientListPublishingProfileXMLWithSecretsResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientListPublishingProfileXMLWithSecretsResponse contains the response from method WebAppsClient.ListPublishingProfileXMLWithSecrets.

type WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions added in v0.2.0

type WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions struct {
}

WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListPublishingProfileXMLWithSecretsSlot method.

type WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse added in v0.2.0

type WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse contains the response from method WebAppsClient.ListPublishingProfileXMLWithSecretsSlot.

type WebAppsClientListRelayServiceConnectionsOptions added in v0.2.0

type WebAppsClientListRelayServiceConnectionsOptions struct {
}

WebAppsClientListRelayServiceConnectionsOptions contains the optional parameters for the WebAppsClient.ListRelayServiceConnections method.

type WebAppsClientListRelayServiceConnectionsResponse added in v0.2.0

type WebAppsClientListRelayServiceConnectionsResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientListRelayServiceConnectionsResponse contains the response from method WebAppsClient.ListRelayServiceConnections.

type WebAppsClientListRelayServiceConnectionsSlotOptions added in v0.2.0

type WebAppsClientListRelayServiceConnectionsSlotOptions struct {
}

WebAppsClientListRelayServiceConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListRelayServiceConnectionsSlot method.

type WebAppsClientListRelayServiceConnectionsSlotResponse added in v0.2.0

type WebAppsClientListRelayServiceConnectionsSlotResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientListRelayServiceConnectionsSlotResponse contains the response from method WebAppsClient.ListRelayServiceConnectionsSlot.

type WebAppsClientListResponse added in v0.2.0

type WebAppsClientListResponse struct {
	WebAppCollection
}

WebAppsClientListResponse contains the response from method WebAppsClient.List.

type WebAppsClientListSiteBackupsOptions added in v0.2.0

type WebAppsClientListSiteBackupsOptions struct {
}

WebAppsClientListSiteBackupsOptions contains the optional parameters for the WebAppsClient.ListSiteBackups method.

type WebAppsClientListSiteBackupsResponse added in v0.2.0

type WebAppsClientListSiteBackupsResponse struct {
	BackupItemCollection
}

WebAppsClientListSiteBackupsResponse contains the response from method WebAppsClient.ListSiteBackups.

type WebAppsClientListSiteBackupsSlotOptions added in v0.2.0

type WebAppsClientListSiteBackupsSlotOptions struct {
}

WebAppsClientListSiteBackupsSlotOptions contains the optional parameters for the WebAppsClient.ListSiteBackupsSlot method.

type WebAppsClientListSiteBackupsSlotResponse added in v0.2.0

type WebAppsClientListSiteBackupsSlotResponse struct {
	BackupItemCollection
}

WebAppsClientListSiteBackupsSlotResponse contains the response from method WebAppsClient.ListSiteBackupsSlot.

type WebAppsClientListSiteExtensionsOptions added in v0.2.0

type WebAppsClientListSiteExtensionsOptions struct {
}

WebAppsClientListSiteExtensionsOptions contains the optional parameters for the WebAppsClient.ListSiteExtensions method.

type WebAppsClientListSiteExtensionsResponse added in v0.2.0

type WebAppsClientListSiteExtensionsResponse struct {
	SiteExtensionInfoCollection
}

WebAppsClientListSiteExtensionsResponse contains the response from method WebAppsClient.ListSiteExtensions.

type WebAppsClientListSiteExtensionsSlotOptions added in v0.2.0

type WebAppsClientListSiteExtensionsSlotOptions struct {
}

WebAppsClientListSiteExtensionsSlotOptions contains the optional parameters for the WebAppsClient.ListSiteExtensionsSlot method.

type WebAppsClientListSiteExtensionsSlotResponse added in v0.2.0

type WebAppsClientListSiteExtensionsSlotResponse struct {
	SiteExtensionInfoCollection
}

WebAppsClientListSiteExtensionsSlotResponse contains the response from method WebAppsClient.ListSiteExtensionsSlot.

type WebAppsClientListSitePushSettingsOptions added in v0.2.0

type WebAppsClientListSitePushSettingsOptions struct {
}

WebAppsClientListSitePushSettingsOptions contains the optional parameters for the WebAppsClient.ListSitePushSettings method.

type WebAppsClientListSitePushSettingsResponse added in v0.2.0

type WebAppsClientListSitePushSettingsResponse struct {
	PushSettings
}

WebAppsClientListSitePushSettingsResponse contains the response from method WebAppsClient.ListSitePushSettings.

type WebAppsClientListSitePushSettingsSlotOptions added in v0.2.0

type WebAppsClientListSitePushSettingsSlotOptions struct {
}

WebAppsClientListSitePushSettingsSlotOptions contains the optional parameters for the WebAppsClient.ListSitePushSettingsSlot method.

type WebAppsClientListSitePushSettingsSlotResponse added in v0.2.0

type WebAppsClientListSitePushSettingsSlotResponse struct {
	PushSettings
}

WebAppsClientListSitePushSettingsSlotResponse contains the response from method WebAppsClient.ListSitePushSettingsSlot.

type WebAppsClientListSlotConfigurationNamesOptions added in v0.2.0

type WebAppsClientListSlotConfigurationNamesOptions struct {
}

WebAppsClientListSlotConfigurationNamesOptions contains the optional parameters for the WebAppsClient.ListSlotConfigurationNames method.

type WebAppsClientListSlotConfigurationNamesResponse added in v0.2.0

type WebAppsClientListSlotConfigurationNamesResponse struct {
	SlotConfigNamesResource
}

WebAppsClientListSlotConfigurationNamesResponse contains the response from method WebAppsClient.ListSlotConfigurationNames.

type WebAppsClientListSlotDifferencesFromProductionOptions added in v0.2.0

type WebAppsClientListSlotDifferencesFromProductionOptions struct {
}

WebAppsClientListSlotDifferencesFromProductionOptions contains the optional parameters for the WebAppsClient.ListSlotDifferencesFromProduction method.

type WebAppsClientListSlotDifferencesFromProductionResponse added in v0.2.0

type WebAppsClientListSlotDifferencesFromProductionResponse struct {
	SlotDifferenceCollection
}

WebAppsClientListSlotDifferencesFromProductionResponse contains the response from method WebAppsClient.ListSlotDifferencesFromProduction.

type WebAppsClientListSlotDifferencesSlotOptions added in v0.2.0

type WebAppsClientListSlotDifferencesSlotOptions struct {
}

WebAppsClientListSlotDifferencesSlotOptions contains the optional parameters for the WebAppsClient.ListSlotDifferencesSlot method.

type WebAppsClientListSlotDifferencesSlotResponse added in v0.2.0

type WebAppsClientListSlotDifferencesSlotResponse struct {
	SlotDifferenceCollection
}

WebAppsClientListSlotDifferencesSlotResponse contains the response from method WebAppsClient.ListSlotDifferencesSlot.

type WebAppsClientListSlotsOptions added in v0.2.0

type WebAppsClientListSlotsOptions struct {
}

WebAppsClientListSlotsOptions contains the optional parameters for the WebAppsClient.ListSlots method.

type WebAppsClientListSlotsResponse added in v0.2.0

type WebAppsClientListSlotsResponse struct {
	WebAppCollection
}

WebAppsClientListSlotsResponse contains the response from method WebAppsClient.ListSlots.

type WebAppsClientListSnapshotsFromDRSecondaryOptions added in v0.2.0

type WebAppsClientListSnapshotsFromDRSecondaryOptions struct {
}

WebAppsClientListSnapshotsFromDRSecondaryOptions contains the optional parameters for the WebAppsClient.ListSnapshotsFromDRSecondary method.

type WebAppsClientListSnapshotsFromDRSecondaryResponse added in v0.2.0

type WebAppsClientListSnapshotsFromDRSecondaryResponse struct {
	SnapshotCollection
}

WebAppsClientListSnapshotsFromDRSecondaryResponse contains the response from method WebAppsClient.ListSnapshotsFromDRSecondary.

type WebAppsClientListSnapshotsFromDRSecondarySlotOptions added in v0.2.0

type WebAppsClientListSnapshotsFromDRSecondarySlotOptions struct {
}

WebAppsClientListSnapshotsFromDRSecondarySlotOptions contains the optional parameters for the WebAppsClient.ListSnapshotsFromDRSecondarySlot method.

type WebAppsClientListSnapshotsFromDRSecondarySlotResponse added in v0.2.0

type WebAppsClientListSnapshotsFromDRSecondarySlotResponse struct {
	SnapshotCollection
}

WebAppsClientListSnapshotsFromDRSecondarySlotResponse contains the response from method WebAppsClient.ListSnapshotsFromDRSecondarySlot.

type WebAppsClientListSnapshotsOptions added in v0.2.0

type WebAppsClientListSnapshotsOptions struct {
}

WebAppsClientListSnapshotsOptions contains the optional parameters for the WebAppsClient.ListSnapshots method.

type WebAppsClientListSnapshotsResponse added in v0.2.0

type WebAppsClientListSnapshotsResponse struct {
	SnapshotCollection
}

WebAppsClientListSnapshotsResponse contains the response from method WebAppsClient.ListSnapshots.

type WebAppsClientListSnapshotsSlotOptions added in v0.2.0

type WebAppsClientListSnapshotsSlotOptions struct {
}

WebAppsClientListSnapshotsSlotOptions contains the optional parameters for the WebAppsClient.ListSnapshotsSlot method.

type WebAppsClientListSnapshotsSlotResponse added in v0.2.0

type WebAppsClientListSnapshotsSlotResponse struct {
	SnapshotCollection
}

WebAppsClientListSnapshotsSlotResponse contains the response from method WebAppsClient.ListSnapshotsSlot.

type WebAppsClientListSyncFunctionTriggersOptions added in v0.2.0

type WebAppsClientListSyncFunctionTriggersOptions struct {
}

WebAppsClientListSyncFunctionTriggersOptions contains the optional parameters for the WebAppsClient.ListSyncFunctionTriggers method.

type WebAppsClientListSyncFunctionTriggersResponse added in v0.2.0

type WebAppsClientListSyncFunctionTriggersResponse struct {
	FunctionSecrets
}

WebAppsClientListSyncFunctionTriggersResponse contains the response from method WebAppsClient.ListSyncFunctionTriggers.

type WebAppsClientListSyncFunctionTriggersSlotOptions added in v0.2.0

type WebAppsClientListSyncFunctionTriggersSlotOptions struct {
}

WebAppsClientListSyncFunctionTriggersSlotOptions contains the optional parameters for the WebAppsClient.ListSyncFunctionTriggersSlot method.

type WebAppsClientListSyncFunctionTriggersSlotResponse added in v0.2.0

type WebAppsClientListSyncFunctionTriggersSlotResponse struct {
	FunctionSecrets
}

WebAppsClientListSyncFunctionTriggersSlotResponse contains the response from method WebAppsClient.ListSyncFunctionTriggersSlot.

type WebAppsClientListSyncStatusOptions added in v0.2.0

type WebAppsClientListSyncStatusOptions struct {
}

WebAppsClientListSyncStatusOptions contains the optional parameters for the WebAppsClient.ListSyncStatus method.

type WebAppsClientListSyncStatusResponse added in v0.2.0

type WebAppsClientListSyncStatusResponse struct {
}

WebAppsClientListSyncStatusResponse contains the response from method WebAppsClient.ListSyncStatus.

type WebAppsClientListSyncStatusSlotOptions added in v0.2.0

type WebAppsClientListSyncStatusSlotOptions struct {
}

WebAppsClientListSyncStatusSlotOptions contains the optional parameters for the WebAppsClient.ListSyncStatusSlot method.

type WebAppsClientListSyncStatusSlotResponse added in v0.2.0

type WebAppsClientListSyncStatusSlotResponse struct {
}

WebAppsClientListSyncStatusSlotResponse contains the response from method WebAppsClient.ListSyncStatusSlot.

type WebAppsClientListTriggeredWebJobHistoryOptions added in v0.2.0

type WebAppsClientListTriggeredWebJobHistoryOptions struct {
}

WebAppsClientListTriggeredWebJobHistoryOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobHistory method.

type WebAppsClientListTriggeredWebJobHistoryResponse added in v0.2.0

type WebAppsClientListTriggeredWebJobHistoryResponse struct {
	TriggeredJobHistoryCollection
}

WebAppsClientListTriggeredWebJobHistoryResponse contains the response from method WebAppsClient.ListTriggeredWebJobHistory.

type WebAppsClientListTriggeredWebJobHistorySlotOptions added in v0.2.0

type WebAppsClientListTriggeredWebJobHistorySlotOptions struct {
}

WebAppsClientListTriggeredWebJobHistorySlotOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobHistorySlot method.

type WebAppsClientListTriggeredWebJobHistorySlotResponse added in v0.2.0

type WebAppsClientListTriggeredWebJobHistorySlotResponse struct {
	TriggeredJobHistoryCollection
}

WebAppsClientListTriggeredWebJobHistorySlotResponse contains the response from method WebAppsClient.ListTriggeredWebJobHistorySlot.

type WebAppsClientListTriggeredWebJobsOptions added in v0.2.0

type WebAppsClientListTriggeredWebJobsOptions struct {
}

WebAppsClientListTriggeredWebJobsOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobs method.

type WebAppsClientListTriggeredWebJobsResponse added in v0.2.0

type WebAppsClientListTriggeredWebJobsResponse struct {
	TriggeredWebJobCollection
}

WebAppsClientListTriggeredWebJobsResponse contains the response from method WebAppsClient.ListTriggeredWebJobs.

type WebAppsClientListTriggeredWebJobsSlotOptions added in v0.2.0

type WebAppsClientListTriggeredWebJobsSlotOptions struct {
}

WebAppsClientListTriggeredWebJobsSlotOptions contains the optional parameters for the WebAppsClient.ListTriggeredWebJobsSlot method.

type WebAppsClientListTriggeredWebJobsSlotResponse added in v0.2.0

type WebAppsClientListTriggeredWebJobsSlotResponse struct {
	TriggeredWebJobCollection
}

WebAppsClientListTriggeredWebJobsSlotResponse contains the response from method WebAppsClient.ListTriggeredWebJobsSlot.

type WebAppsClientListUsagesOptions added in v0.2.0

type WebAppsClientListUsagesOptions struct {
	// 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]'.
	Filter *string
}

WebAppsClientListUsagesOptions contains the optional parameters for the WebAppsClient.ListUsages method.

type WebAppsClientListUsagesResponse added in v0.2.0

type WebAppsClientListUsagesResponse struct {
	CsmUsageQuotaCollection
}

WebAppsClientListUsagesResponse contains the response from method WebAppsClient.ListUsages.

type WebAppsClientListUsagesSlotOptions added in v0.2.0

type WebAppsClientListUsagesSlotOptions struct {
	// 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]'.
	Filter *string
}

WebAppsClientListUsagesSlotOptions contains the optional parameters for the WebAppsClient.ListUsagesSlot method.

type WebAppsClientListUsagesSlotResponse added in v0.2.0

type WebAppsClientListUsagesSlotResponse struct {
	CsmUsageQuotaCollection
}

WebAppsClientListUsagesSlotResponse contains the response from method WebAppsClient.ListUsagesSlot.

type WebAppsClientListVnetConnectionsOptions added in v0.2.0

type WebAppsClientListVnetConnectionsOptions struct {
}

WebAppsClientListVnetConnectionsOptions contains the optional parameters for the WebAppsClient.ListVnetConnections method.

type WebAppsClientListVnetConnectionsResponse added in v0.2.0

type WebAppsClientListVnetConnectionsResponse struct {
	// Array of VnetInfoResource
	VnetInfoResourceArray []*VnetInfoResource
}

WebAppsClientListVnetConnectionsResponse contains the response from method WebAppsClient.ListVnetConnections.

type WebAppsClientListVnetConnectionsSlotOptions added in v0.2.0

type WebAppsClientListVnetConnectionsSlotOptions struct {
}

WebAppsClientListVnetConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListVnetConnectionsSlot method.

type WebAppsClientListVnetConnectionsSlotResponse added in v0.2.0

type WebAppsClientListVnetConnectionsSlotResponse struct {
	// Array of VnetInfoResource
	VnetInfoResourceArray []*VnetInfoResource
}

WebAppsClientListVnetConnectionsSlotResponse contains the response from method WebAppsClient.ListVnetConnectionsSlot.

type WebAppsClientListWebJobsOptions added in v0.2.0

type WebAppsClientListWebJobsOptions struct {
}

WebAppsClientListWebJobsOptions contains the optional parameters for the WebAppsClient.ListWebJobs method.

type WebAppsClientListWebJobsResponse added in v0.2.0

type WebAppsClientListWebJobsResponse struct {
	WebJobCollection
}

WebAppsClientListWebJobsResponse contains the response from method WebAppsClient.ListWebJobs.

type WebAppsClientListWebJobsSlotOptions added in v0.2.0

type WebAppsClientListWebJobsSlotOptions struct {
}

WebAppsClientListWebJobsSlotOptions contains the optional parameters for the WebAppsClient.ListWebJobsSlot method.

type WebAppsClientListWebJobsSlotResponse added in v0.2.0

type WebAppsClientListWebJobsSlotResponse struct {
	WebJobCollection
}

WebAppsClientListWebJobsSlotResponse contains the response from method WebAppsClient.ListWebJobsSlot.

type WebAppsClientMigrateMySQLResponse added in v0.2.0

type WebAppsClientMigrateMySQLResponse struct {
	Operation
}

WebAppsClientMigrateMySQLResponse contains the response from method WebAppsClient.MigrateMySQL.

type WebAppsClientMigrateStorageResponse added in v0.2.0

type WebAppsClientMigrateStorageResponse struct {
	StorageMigrationResponse
}

WebAppsClientMigrateStorageResponse contains the response from method WebAppsClient.MigrateStorage.

type WebAppsClientPutPrivateAccessVnetOptions added in v0.2.0

type WebAppsClientPutPrivateAccessVnetOptions struct {
}

WebAppsClientPutPrivateAccessVnetOptions contains the optional parameters for the WebAppsClient.PutPrivateAccessVnet method.

type WebAppsClientPutPrivateAccessVnetResponse added in v0.2.0

type WebAppsClientPutPrivateAccessVnetResponse struct {
	PrivateAccess
}

WebAppsClientPutPrivateAccessVnetResponse contains the response from method WebAppsClient.PutPrivateAccessVnet.

type WebAppsClientPutPrivateAccessVnetSlotOptions added in v0.2.0

type WebAppsClientPutPrivateAccessVnetSlotOptions struct {
}

WebAppsClientPutPrivateAccessVnetSlotOptions contains the optional parameters for the WebAppsClient.PutPrivateAccessVnetSlot method.

type WebAppsClientPutPrivateAccessVnetSlotResponse added in v0.2.0

type WebAppsClientPutPrivateAccessVnetSlotResponse struct {
	PrivateAccess
}

WebAppsClientPutPrivateAccessVnetSlotResponse contains the response from method WebAppsClient.PutPrivateAccessVnetSlot.

type WebAppsClientRecoverSiteConfigurationSnapshotOptions added in v0.2.0

type WebAppsClientRecoverSiteConfigurationSnapshotOptions struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotOptions contains the optional parameters for the WebAppsClient.RecoverSiteConfigurationSnapshot method.

type WebAppsClientRecoverSiteConfigurationSnapshotResponse added in v0.2.0

type WebAppsClientRecoverSiteConfigurationSnapshotResponse struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotResponse contains the response from method WebAppsClient.RecoverSiteConfigurationSnapshot.

type WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions added in v0.2.0

type WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions contains the optional parameters for the WebAppsClient.RecoverSiteConfigurationSnapshotSlot method.

type WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse added in v0.2.0

type WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse contains the response from method WebAppsClient.RecoverSiteConfigurationSnapshotSlot.

type WebAppsClientResetProductionSlotConfigOptions added in v0.2.0

type WebAppsClientResetProductionSlotConfigOptions struct {
}

WebAppsClientResetProductionSlotConfigOptions contains the optional parameters for the WebAppsClient.ResetProductionSlotConfig method.

type WebAppsClientResetProductionSlotConfigResponse added in v0.2.0

type WebAppsClientResetProductionSlotConfigResponse struct {
}

WebAppsClientResetProductionSlotConfigResponse contains the response from method WebAppsClient.ResetProductionSlotConfig.

type WebAppsClientResetSlotConfigurationSlotOptions added in v0.2.0

type WebAppsClientResetSlotConfigurationSlotOptions struct {
}

WebAppsClientResetSlotConfigurationSlotOptions contains the optional parameters for the WebAppsClient.ResetSlotConfigurationSlot method.

type WebAppsClientResetSlotConfigurationSlotResponse added in v0.2.0

type WebAppsClientResetSlotConfigurationSlotResponse struct {
}

WebAppsClientResetSlotConfigurationSlotResponse contains the response from method WebAppsClient.ResetSlotConfigurationSlot.

type WebAppsClientRestartOptions added in v0.2.0

type WebAppsClientRestartOptions struct {
	// Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts
	// and reprovisions the app.
	SoftRestart *bool
	// Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).
	Synchronous *bool
}

WebAppsClientRestartOptions contains the optional parameters for the WebAppsClient.Restart method.

type WebAppsClientRestartResponse added in v0.2.0

type WebAppsClientRestartResponse struct {
}

WebAppsClientRestartResponse contains the response from method WebAppsClient.Restart.

type WebAppsClientRestartSlotOptions added in v0.2.0

type WebAppsClientRestartSlotOptions struct {
	// Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts
	// and reprovisions the app.
	SoftRestart *bool
	// Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).
	Synchronous *bool
}

WebAppsClientRestartSlotOptions contains the optional parameters for the WebAppsClient.RestartSlot method.

type WebAppsClientRestartSlotResponse added in v0.2.0

type WebAppsClientRestartSlotResponse struct {
}

WebAppsClientRestartSlotResponse contains the response from method WebAppsClient.RestartSlot.

type WebAppsClientRestoreFromBackupBlobResponse added in v0.2.0

type WebAppsClientRestoreFromBackupBlobResponse struct {
}

WebAppsClientRestoreFromBackupBlobResponse contains the response from method WebAppsClient.RestoreFromBackupBlob.

type WebAppsClientRestoreFromBackupBlobSlotResponse added in v0.2.0

type WebAppsClientRestoreFromBackupBlobSlotResponse struct {
}

WebAppsClientRestoreFromBackupBlobSlotResponse contains the response from method WebAppsClient.RestoreFromBackupBlobSlot.

type WebAppsClientRestoreFromDeletedAppResponse added in v0.2.0

type WebAppsClientRestoreFromDeletedAppResponse struct {
}

WebAppsClientRestoreFromDeletedAppResponse contains the response from method WebAppsClient.RestoreFromDeletedApp.

type WebAppsClientRestoreFromDeletedAppSlotResponse added in v0.2.0

type WebAppsClientRestoreFromDeletedAppSlotResponse struct {
}

WebAppsClientRestoreFromDeletedAppSlotResponse contains the response from method WebAppsClient.RestoreFromDeletedAppSlot.

type WebAppsClientRestoreResponse added in v0.2.0

type WebAppsClientRestoreResponse struct {
}

WebAppsClientRestoreResponse contains the response from method WebAppsClient.Restore.

type WebAppsClientRestoreSlotResponse added in v0.2.0

type WebAppsClientRestoreSlotResponse struct {
}

WebAppsClientRestoreSlotResponse contains the response from method WebAppsClient.RestoreSlot.

type WebAppsClientRestoreSnapshotResponse added in v0.2.0

type WebAppsClientRestoreSnapshotResponse struct {
}

WebAppsClientRestoreSnapshotResponse contains the response from method WebAppsClient.RestoreSnapshot.

type WebAppsClientRestoreSnapshotSlotResponse added in v0.2.0

type WebAppsClientRestoreSnapshotSlotResponse struct {
}

WebAppsClientRestoreSnapshotSlotResponse contains the response from method WebAppsClient.RestoreSnapshotSlot.

type WebAppsClientRunTriggeredWebJobOptions added in v0.2.0

type WebAppsClientRunTriggeredWebJobOptions struct {
}

WebAppsClientRunTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.RunTriggeredWebJob method.

type WebAppsClientRunTriggeredWebJobResponse added in v0.2.0

type WebAppsClientRunTriggeredWebJobResponse struct {
}

WebAppsClientRunTriggeredWebJobResponse contains the response from method WebAppsClient.RunTriggeredWebJob.

type WebAppsClientRunTriggeredWebJobSlotOptions added in v0.2.0

type WebAppsClientRunTriggeredWebJobSlotOptions struct {
}

WebAppsClientRunTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.RunTriggeredWebJobSlot method.

type WebAppsClientRunTriggeredWebJobSlotResponse added in v0.2.0

type WebAppsClientRunTriggeredWebJobSlotResponse struct {
}

WebAppsClientRunTriggeredWebJobSlotResponse contains the response from method WebAppsClient.RunTriggeredWebJobSlot.

type WebAppsClientStartContinuousWebJobOptions added in v0.2.0

type WebAppsClientStartContinuousWebJobOptions struct {
}

WebAppsClientStartContinuousWebJobOptions contains the optional parameters for the WebAppsClient.StartContinuousWebJob method.

type WebAppsClientStartContinuousWebJobResponse added in v0.2.0

type WebAppsClientStartContinuousWebJobResponse struct {
}

WebAppsClientStartContinuousWebJobResponse contains the response from method WebAppsClient.StartContinuousWebJob.

type WebAppsClientStartContinuousWebJobSlotOptions added in v0.2.0

type WebAppsClientStartContinuousWebJobSlotOptions struct {
}

WebAppsClientStartContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.StartContinuousWebJobSlot method.

type WebAppsClientStartContinuousWebJobSlotResponse added in v0.2.0

type WebAppsClientStartContinuousWebJobSlotResponse struct {
}

WebAppsClientStartContinuousWebJobSlotResponse contains the response from method WebAppsClient.StartContinuousWebJobSlot.

type WebAppsClientStartNetworkTraceResponse added in v0.2.0

type WebAppsClientStartNetworkTraceResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartNetworkTraceResponse contains the response from method WebAppsClient.StartNetworkTrace.

func (*WebAppsClientStartNetworkTraceResponse) UnmarshalJSON added in v0.3.0

func (w *WebAppsClientStartNetworkTraceResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartNetworkTraceResponse.

type WebAppsClientStartNetworkTraceSlotResponse added in v0.2.0

type WebAppsClientStartNetworkTraceSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartNetworkTraceSlotResponse contains the response from method WebAppsClient.StartNetworkTraceSlot.

func (*WebAppsClientStartNetworkTraceSlotResponse) UnmarshalJSON added in v0.3.0

func (w *WebAppsClientStartNetworkTraceSlotResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartNetworkTraceSlotResponse.

type WebAppsClientStartOptions added in v0.2.0

type WebAppsClientStartOptions struct {
}

WebAppsClientStartOptions contains the optional parameters for the WebAppsClient.Start method.

type WebAppsClientStartResponse added in v0.2.0

type WebAppsClientStartResponse struct {
}

WebAppsClientStartResponse contains the response from method WebAppsClient.Start.

type WebAppsClientStartSlotOptions added in v0.2.0

type WebAppsClientStartSlotOptions struct {
}

WebAppsClientStartSlotOptions contains the optional parameters for the WebAppsClient.StartSlot method.

type WebAppsClientStartSlotResponse added in v0.2.0

type WebAppsClientStartSlotResponse struct {
}

WebAppsClientStartSlotResponse contains the response from method WebAppsClient.StartSlot.

type WebAppsClientStartWebSiteNetworkTraceOperationResponse added in v0.2.0

type WebAppsClientStartWebSiteNetworkTraceOperationResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartWebSiteNetworkTraceOperationResponse contains the response from method WebAppsClient.StartWebSiteNetworkTraceOperation.

func (*WebAppsClientStartWebSiteNetworkTraceOperationResponse) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartWebSiteNetworkTraceOperationResponse.

type WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse added in v0.2.0

type WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse contains the response from method WebAppsClient.StartWebSiteNetworkTraceOperationSlot.

func (*WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse) UnmarshalJSON added in v0.3.0

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse.

type WebAppsClientStartWebSiteNetworkTraceOptions added in v0.2.0

type WebAppsClientStartWebSiteNetworkTraceOptions struct {
	// The duration to keep capturing in seconds.
	DurationInSeconds *int32
	// The maximum frame length in bytes (Optional).
	MaxFrameLength *int32
	// The Blob URL to store capture file.
	SasURL *string
}

WebAppsClientStartWebSiteNetworkTraceOptions contains the optional parameters for the WebAppsClient.StartWebSiteNetworkTrace method.

type WebAppsClientStartWebSiteNetworkTraceResponse added in v0.2.0

type WebAppsClientStartWebSiteNetworkTraceResponse struct {
	Value *string
}

WebAppsClientStartWebSiteNetworkTraceResponse contains the response from method WebAppsClient.StartWebSiteNetworkTrace.

type WebAppsClientStartWebSiteNetworkTraceSlotOptions added in v0.2.0

type WebAppsClientStartWebSiteNetworkTraceSlotOptions struct {
	// The duration to keep capturing in seconds.
	DurationInSeconds *int32
	// The maximum frame length in bytes (Optional).
	MaxFrameLength *int32
	// The Blob URL to store capture file.
	SasURL *string
}

WebAppsClientStartWebSiteNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StartWebSiteNetworkTraceSlot method.

type WebAppsClientStartWebSiteNetworkTraceSlotResponse added in v0.2.0

type WebAppsClientStartWebSiteNetworkTraceSlotResponse struct {
	Value *string
}

WebAppsClientStartWebSiteNetworkTraceSlotResponse contains the response from method WebAppsClient.StartWebSiteNetworkTraceSlot.

type WebAppsClientStopContinuousWebJobOptions added in v0.2.0

type WebAppsClientStopContinuousWebJobOptions struct {
}

WebAppsClientStopContinuousWebJobOptions contains the optional parameters for the WebAppsClient.StopContinuousWebJob method.

type WebAppsClientStopContinuousWebJobResponse added in v0.2.0

type WebAppsClientStopContinuousWebJobResponse struct {
}

WebAppsClientStopContinuousWebJobResponse contains the response from method WebAppsClient.StopContinuousWebJob.

type WebAppsClientStopContinuousWebJobSlotOptions added in v0.2.0

type WebAppsClientStopContinuousWebJobSlotOptions struct {
}

WebAppsClientStopContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.StopContinuousWebJobSlot method.

type WebAppsClientStopContinuousWebJobSlotResponse added in v0.2.0

type WebAppsClientStopContinuousWebJobSlotResponse struct {
}

WebAppsClientStopContinuousWebJobSlotResponse contains the response from method WebAppsClient.StopContinuousWebJobSlot.

type WebAppsClientStopNetworkTraceOptions added in v0.2.0

type WebAppsClientStopNetworkTraceOptions struct {
}

WebAppsClientStopNetworkTraceOptions contains the optional parameters for the WebAppsClient.StopNetworkTrace method.

type WebAppsClientStopNetworkTraceResponse added in v0.2.0

type WebAppsClientStopNetworkTraceResponse struct {
}

WebAppsClientStopNetworkTraceResponse contains the response from method WebAppsClient.StopNetworkTrace.

type WebAppsClientStopNetworkTraceSlotOptions added in v0.2.0

type WebAppsClientStopNetworkTraceSlotOptions struct {
}

WebAppsClientStopNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StopNetworkTraceSlot method.

type WebAppsClientStopNetworkTraceSlotResponse added in v0.2.0

type WebAppsClientStopNetworkTraceSlotResponse struct {
}

WebAppsClientStopNetworkTraceSlotResponse contains the response from method WebAppsClient.StopNetworkTraceSlot.

type WebAppsClientStopOptions added in v0.2.0

type WebAppsClientStopOptions struct {
}

WebAppsClientStopOptions contains the optional parameters for the WebAppsClient.Stop method.

type WebAppsClientStopResponse added in v0.2.0

type WebAppsClientStopResponse struct {
}

WebAppsClientStopResponse contains the response from method WebAppsClient.Stop.

type WebAppsClientStopSlotOptions added in v0.2.0

type WebAppsClientStopSlotOptions struct {
}

WebAppsClientStopSlotOptions contains the optional parameters for the WebAppsClient.StopSlot method.

type WebAppsClientStopSlotResponse added in v0.2.0

type WebAppsClientStopSlotResponse struct {
}

WebAppsClientStopSlotResponse contains the response from method WebAppsClient.StopSlot.

type WebAppsClientStopWebSiteNetworkTraceOptions added in v0.2.0

type WebAppsClientStopWebSiteNetworkTraceOptions struct {
}

WebAppsClientStopWebSiteNetworkTraceOptions contains the optional parameters for the WebAppsClient.StopWebSiteNetworkTrace method.

type WebAppsClientStopWebSiteNetworkTraceResponse added in v0.2.0

type WebAppsClientStopWebSiteNetworkTraceResponse struct {
}

WebAppsClientStopWebSiteNetworkTraceResponse contains the response from method WebAppsClient.StopWebSiteNetworkTrace.

type WebAppsClientStopWebSiteNetworkTraceSlotOptions added in v0.2.0

type WebAppsClientStopWebSiteNetworkTraceSlotOptions struct {
}

WebAppsClientStopWebSiteNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StopWebSiteNetworkTraceSlot method.

type WebAppsClientStopWebSiteNetworkTraceSlotResponse added in v0.2.0

type WebAppsClientStopWebSiteNetworkTraceSlotResponse struct {
}

WebAppsClientStopWebSiteNetworkTraceSlotResponse contains the response from method WebAppsClient.StopWebSiteNetworkTraceSlot.

type WebAppsClientSwapSlotResponse added in v0.2.0

type WebAppsClientSwapSlotResponse struct {
}

WebAppsClientSwapSlotResponse contains the response from method WebAppsClient.SwapSlot.

type WebAppsClientSwapSlotWithProductionResponse added in v0.2.0

type WebAppsClientSwapSlotWithProductionResponse struct {
}

WebAppsClientSwapSlotWithProductionResponse contains the response from method WebAppsClient.SwapSlotWithProduction.

type WebAppsClientSyncFunctionTriggersOptions added in v0.2.0

type WebAppsClientSyncFunctionTriggersOptions struct {
}

WebAppsClientSyncFunctionTriggersOptions contains the optional parameters for the WebAppsClient.SyncFunctionTriggers method.

type WebAppsClientSyncFunctionTriggersResponse added in v0.2.0

type WebAppsClientSyncFunctionTriggersResponse struct {
}

WebAppsClientSyncFunctionTriggersResponse contains the response from method WebAppsClient.SyncFunctionTriggers.

type WebAppsClientSyncFunctionTriggersSlotOptions added in v0.2.0

type WebAppsClientSyncFunctionTriggersSlotOptions struct {
}

WebAppsClientSyncFunctionTriggersSlotOptions contains the optional parameters for the WebAppsClient.SyncFunctionTriggersSlot method.

type WebAppsClientSyncFunctionTriggersSlotResponse added in v0.2.0

type WebAppsClientSyncFunctionTriggersSlotResponse struct {
}

WebAppsClientSyncFunctionTriggersSlotResponse contains the response from method WebAppsClient.SyncFunctionTriggersSlot.

type WebAppsClientSyncFunctionsOptions added in v0.2.0

type WebAppsClientSyncFunctionsOptions struct {
}

WebAppsClientSyncFunctionsOptions contains the optional parameters for the WebAppsClient.SyncFunctions method.

type WebAppsClientSyncFunctionsResponse added in v0.2.0

type WebAppsClientSyncFunctionsResponse struct {
}

WebAppsClientSyncFunctionsResponse contains the response from method WebAppsClient.SyncFunctions.

type WebAppsClientSyncFunctionsSlotOptions added in v0.2.0

type WebAppsClientSyncFunctionsSlotOptions struct {
}

WebAppsClientSyncFunctionsSlotOptions contains the optional parameters for the WebAppsClient.SyncFunctionsSlot method.

type WebAppsClientSyncFunctionsSlotResponse added in v0.2.0

type WebAppsClientSyncFunctionsSlotResponse struct {
}

WebAppsClientSyncFunctionsSlotResponse contains the response from method WebAppsClient.SyncFunctionsSlot.

type WebAppsClientSyncRepositoryOptions added in v0.2.0

type WebAppsClientSyncRepositoryOptions struct {
}

WebAppsClientSyncRepositoryOptions contains the optional parameters for the WebAppsClient.SyncRepository method.

type WebAppsClientSyncRepositoryResponse added in v0.2.0

type WebAppsClientSyncRepositoryResponse struct {
}

WebAppsClientSyncRepositoryResponse contains the response from method WebAppsClient.SyncRepository.

type WebAppsClientSyncRepositorySlotOptions added in v0.2.0

type WebAppsClientSyncRepositorySlotOptions struct {
}

WebAppsClientSyncRepositorySlotOptions contains the optional parameters for the WebAppsClient.SyncRepositorySlot method.

type WebAppsClientSyncRepositorySlotResponse added in v0.2.0

type WebAppsClientSyncRepositorySlotResponse struct {
}

WebAppsClientSyncRepositorySlotResponse contains the response from method WebAppsClient.SyncRepositorySlot.

type WebAppsClientUpdateApplicationSettingsOptions added in v0.2.0

type WebAppsClientUpdateApplicationSettingsOptions struct {
}

WebAppsClientUpdateApplicationSettingsOptions contains the optional parameters for the WebAppsClient.UpdateApplicationSettings method.

type WebAppsClientUpdateApplicationSettingsResponse added in v0.2.0

type WebAppsClientUpdateApplicationSettingsResponse struct {
	StringDictionary
}

WebAppsClientUpdateApplicationSettingsResponse contains the response from method WebAppsClient.UpdateApplicationSettings.

type WebAppsClientUpdateApplicationSettingsSlotOptions added in v0.2.0

type WebAppsClientUpdateApplicationSettingsSlotOptions struct {
}

WebAppsClientUpdateApplicationSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateApplicationSettingsSlot method.

type WebAppsClientUpdateApplicationSettingsSlotResponse added in v0.2.0

type WebAppsClientUpdateApplicationSettingsSlotResponse struct {
	StringDictionary
}

WebAppsClientUpdateApplicationSettingsSlotResponse contains the response from method WebAppsClient.UpdateApplicationSettingsSlot.

type WebAppsClientUpdateAuthSettingsOptions added in v0.2.0

type WebAppsClientUpdateAuthSettingsOptions struct {
}

WebAppsClientUpdateAuthSettingsOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettings method.

type WebAppsClientUpdateAuthSettingsResponse added in v0.2.0

type WebAppsClientUpdateAuthSettingsResponse struct {
	SiteAuthSettings
}

WebAppsClientUpdateAuthSettingsResponse contains the response from method WebAppsClient.UpdateAuthSettings.

type WebAppsClientUpdateAuthSettingsSlotOptions added in v0.2.0

type WebAppsClientUpdateAuthSettingsSlotOptions struct {
}

WebAppsClientUpdateAuthSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettingsSlot method.

type WebAppsClientUpdateAuthSettingsSlotResponse added in v0.2.0

type WebAppsClientUpdateAuthSettingsSlotResponse struct {
	SiteAuthSettings
}

WebAppsClientUpdateAuthSettingsSlotResponse contains the response from method WebAppsClient.UpdateAuthSettingsSlot.

type WebAppsClientUpdateAuthSettingsV2Options added in v0.2.0

type WebAppsClientUpdateAuthSettingsV2Options struct {
}

WebAppsClientUpdateAuthSettingsV2Options contains the optional parameters for the WebAppsClient.UpdateAuthSettingsV2 method.

type WebAppsClientUpdateAuthSettingsV2Response added in v0.2.0

type WebAppsClientUpdateAuthSettingsV2Response struct {
	SiteAuthSettingsV2
}

WebAppsClientUpdateAuthSettingsV2Response contains the response from method WebAppsClient.UpdateAuthSettingsV2.

type WebAppsClientUpdateAuthSettingsV2SlotOptions added in v0.2.0

type WebAppsClientUpdateAuthSettingsV2SlotOptions struct {
}

WebAppsClientUpdateAuthSettingsV2SlotOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettingsV2Slot method.

type WebAppsClientUpdateAuthSettingsV2SlotResponse added in v0.2.0

type WebAppsClientUpdateAuthSettingsV2SlotResponse struct {
	SiteAuthSettingsV2
}

WebAppsClientUpdateAuthSettingsV2SlotResponse contains the response from method WebAppsClient.UpdateAuthSettingsV2Slot.

type WebAppsClientUpdateAzureStorageAccountsOptions added in v0.2.0

type WebAppsClientUpdateAzureStorageAccountsOptions struct {
}

WebAppsClientUpdateAzureStorageAccountsOptions contains the optional parameters for the WebAppsClient.UpdateAzureStorageAccounts method.

type WebAppsClientUpdateAzureStorageAccountsResponse added in v0.2.0

type WebAppsClientUpdateAzureStorageAccountsResponse struct {
	AzureStoragePropertyDictionaryResource
}

WebAppsClientUpdateAzureStorageAccountsResponse contains the response from method WebAppsClient.UpdateAzureStorageAccounts.

type WebAppsClientUpdateAzureStorageAccountsSlotOptions added in v0.2.0

type WebAppsClientUpdateAzureStorageAccountsSlotOptions struct {
}

WebAppsClientUpdateAzureStorageAccountsSlotOptions contains the optional parameters for the WebAppsClient.UpdateAzureStorageAccountsSlot method.

type WebAppsClientUpdateAzureStorageAccountsSlotResponse added in v0.2.0

type WebAppsClientUpdateAzureStorageAccountsSlotResponse struct {
	AzureStoragePropertyDictionaryResource
}

WebAppsClientUpdateAzureStorageAccountsSlotResponse contains the response from method WebAppsClient.UpdateAzureStorageAccountsSlot.

type WebAppsClientUpdateBackupConfigurationOptions added in v0.2.0

type WebAppsClientUpdateBackupConfigurationOptions struct {
}

WebAppsClientUpdateBackupConfigurationOptions contains the optional parameters for the WebAppsClient.UpdateBackupConfiguration method.

type WebAppsClientUpdateBackupConfigurationResponse added in v0.2.0

type WebAppsClientUpdateBackupConfigurationResponse struct {
	BackupRequest
}

WebAppsClientUpdateBackupConfigurationResponse contains the response from method WebAppsClient.UpdateBackupConfiguration.

type WebAppsClientUpdateBackupConfigurationSlotOptions added in v0.2.0

type WebAppsClientUpdateBackupConfigurationSlotOptions struct {
}

WebAppsClientUpdateBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.UpdateBackupConfigurationSlot method.

type WebAppsClientUpdateBackupConfigurationSlotResponse added in v0.2.0

type WebAppsClientUpdateBackupConfigurationSlotResponse struct {
	BackupRequest
}

WebAppsClientUpdateBackupConfigurationSlotResponse contains the response from method WebAppsClient.UpdateBackupConfigurationSlot.

type WebAppsClientUpdateConfigurationOptions added in v0.2.0

type WebAppsClientUpdateConfigurationOptions struct {
}

WebAppsClientUpdateConfigurationOptions contains the optional parameters for the WebAppsClient.UpdateConfiguration method.

type WebAppsClientUpdateConfigurationResponse added in v0.2.0

type WebAppsClientUpdateConfigurationResponse struct {
	SiteConfigResource
}

WebAppsClientUpdateConfigurationResponse contains the response from method WebAppsClient.UpdateConfiguration.

type WebAppsClientUpdateConfigurationSlotOptions added in v0.2.0

type WebAppsClientUpdateConfigurationSlotOptions struct {
}

WebAppsClientUpdateConfigurationSlotOptions contains the optional parameters for the WebAppsClient.UpdateConfigurationSlot method.

type WebAppsClientUpdateConfigurationSlotResponse added in v0.2.0

type WebAppsClientUpdateConfigurationSlotResponse struct {
	SiteConfigResource
}

WebAppsClientUpdateConfigurationSlotResponse contains the response from method WebAppsClient.UpdateConfigurationSlot.

type WebAppsClientUpdateConnectionStringsOptions added in v0.2.0

type WebAppsClientUpdateConnectionStringsOptions struct {
}

WebAppsClientUpdateConnectionStringsOptions contains the optional parameters for the WebAppsClient.UpdateConnectionStrings method.

type WebAppsClientUpdateConnectionStringsResponse added in v0.2.0

type WebAppsClientUpdateConnectionStringsResponse struct {
	ConnectionStringDictionary
}

WebAppsClientUpdateConnectionStringsResponse contains the response from method WebAppsClient.UpdateConnectionStrings.

type WebAppsClientUpdateConnectionStringsSlotOptions added in v0.2.0

type WebAppsClientUpdateConnectionStringsSlotOptions struct {
}

WebAppsClientUpdateConnectionStringsSlotOptions contains the optional parameters for the WebAppsClient.UpdateConnectionStringsSlot method.

type WebAppsClientUpdateConnectionStringsSlotResponse added in v0.2.0

type WebAppsClientUpdateConnectionStringsSlotResponse struct {
	ConnectionStringDictionary
}

WebAppsClientUpdateConnectionStringsSlotResponse contains the response from method WebAppsClient.UpdateConnectionStringsSlot.

type WebAppsClientUpdateDiagnosticLogsConfigOptions added in v0.2.0

type WebAppsClientUpdateDiagnosticLogsConfigOptions struct {
}

WebAppsClientUpdateDiagnosticLogsConfigOptions contains the optional parameters for the WebAppsClient.UpdateDiagnosticLogsConfig method.

type WebAppsClientUpdateDiagnosticLogsConfigResponse added in v0.2.0

type WebAppsClientUpdateDiagnosticLogsConfigResponse struct {
	SiteLogsConfig
}

WebAppsClientUpdateDiagnosticLogsConfigResponse contains the response from method WebAppsClient.UpdateDiagnosticLogsConfig.

type WebAppsClientUpdateDiagnosticLogsConfigSlotOptions added in v0.2.0

type WebAppsClientUpdateDiagnosticLogsConfigSlotOptions struct {
}

WebAppsClientUpdateDiagnosticLogsConfigSlotOptions contains the optional parameters for the WebAppsClient.UpdateDiagnosticLogsConfigSlot method.

type WebAppsClientUpdateDiagnosticLogsConfigSlotResponse added in v0.2.0

type WebAppsClientUpdateDiagnosticLogsConfigSlotResponse struct {
	SiteLogsConfig
}

WebAppsClientUpdateDiagnosticLogsConfigSlotResponse contains the response from method WebAppsClient.UpdateDiagnosticLogsConfigSlot.

type WebAppsClientUpdateDomainOwnershipIdentifierOptions added in v0.2.0

type WebAppsClientUpdateDomainOwnershipIdentifierOptions struct {
}

WebAppsClientUpdateDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.UpdateDomainOwnershipIdentifier method.

type WebAppsClientUpdateDomainOwnershipIdentifierResponse added in v0.2.0

type WebAppsClientUpdateDomainOwnershipIdentifierResponse struct {
	Identifier
}

WebAppsClientUpdateDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.UpdateDomainOwnershipIdentifier.

type WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions added in v0.2.0

type WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.UpdateDomainOwnershipIdentifierSlot method.

type WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse added in v0.2.0

type WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse struct {
	Identifier
}

WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.UpdateDomainOwnershipIdentifierSlot.

type WebAppsClientUpdateFtpAllowedOptions added in v0.2.0

type WebAppsClientUpdateFtpAllowedOptions struct {
}

WebAppsClientUpdateFtpAllowedOptions contains the optional parameters for the WebAppsClient.UpdateFtpAllowed method.

type WebAppsClientUpdateFtpAllowedResponse added in v0.2.0

type WebAppsClientUpdateFtpAllowedResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateFtpAllowedResponse contains the response from method WebAppsClient.UpdateFtpAllowed.

type WebAppsClientUpdateFtpAllowedSlotOptions added in v0.2.0

type WebAppsClientUpdateFtpAllowedSlotOptions struct {
}

WebAppsClientUpdateFtpAllowedSlotOptions contains the optional parameters for the WebAppsClient.UpdateFtpAllowedSlot method.

type WebAppsClientUpdateFtpAllowedSlotResponse added in v0.2.0

type WebAppsClientUpdateFtpAllowedSlotResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateFtpAllowedSlotResponse contains the response from method WebAppsClient.UpdateFtpAllowedSlot.

type WebAppsClientUpdateHybridConnectionOptions added in v0.2.0

type WebAppsClientUpdateHybridConnectionOptions struct {
}

WebAppsClientUpdateHybridConnectionOptions contains the optional parameters for the WebAppsClient.UpdateHybridConnection method.

type WebAppsClientUpdateHybridConnectionResponse added in v0.2.0

type WebAppsClientUpdateHybridConnectionResponse struct {
	HybridConnection
}

WebAppsClientUpdateHybridConnectionResponse contains the response from method WebAppsClient.UpdateHybridConnection.

type WebAppsClientUpdateHybridConnectionSlotOptions added in v0.2.0

type WebAppsClientUpdateHybridConnectionSlotOptions struct {
}

WebAppsClientUpdateHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateHybridConnectionSlot method.

type WebAppsClientUpdateHybridConnectionSlotResponse added in v0.2.0

type WebAppsClientUpdateHybridConnectionSlotResponse struct {
	HybridConnection
}

WebAppsClientUpdateHybridConnectionSlotResponse contains the response from method WebAppsClient.UpdateHybridConnectionSlot.

type WebAppsClientUpdateMetadataOptions added in v0.2.0

type WebAppsClientUpdateMetadataOptions struct {
}

WebAppsClientUpdateMetadataOptions contains the optional parameters for the WebAppsClient.UpdateMetadata method.

type WebAppsClientUpdateMetadataResponse added in v0.2.0

type WebAppsClientUpdateMetadataResponse struct {
	StringDictionary
}

WebAppsClientUpdateMetadataResponse contains the response from method WebAppsClient.UpdateMetadata.

type WebAppsClientUpdateMetadataSlotOptions added in v0.2.0

type WebAppsClientUpdateMetadataSlotOptions struct {
}

WebAppsClientUpdateMetadataSlotOptions contains the optional parameters for the WebAppsClient.UpdateMetadataSlot method.

type WebAppsClientUpdateMetadataSlotResponse added in v0.2.0

type WebAppsClientUpdateMetadataSlotResponse struct {
	StringDictionary
}

WebAppsClientUpdateMetadataSlotResponse contains the response from method WebAppsClient.UpdateMetadataSlot.

type WebAppsClientUpdateOptions added in v0.2.0

type WebAppsClientUpdateOptions struct {
}

WebAppsClientUpdateOptions contains the optional parameters for the WebAppsClient.Update method.

type WebAppsClientUpdatePremierAddOnOptions added in v0.2.0

type WebAppsClientUpdatePremierAddOnOptions struct {
}

WebAppsClientUpdatePremierAddOnOptions contains the optional parameters for the WebAppsClient.UpdatePremierAddOn method.

type WebAppsClientUpdatePremierAddOnResponse added in v0.2.0

type WebAppsClientUpdatePremierAddOnResponse struct {
	PremierAddOn
}

WebAppsClientUpdatePremierAddOnResponse contains the response from method WebAppsClient.UpdatePremierAddOn.

type WebAppsClientUpdatePremierAddOnSlotOptions added in v0.2.0

type WebAppsClientUpdatePremierAddOnSlotOptions struct {
}

WebAppsClientUpdatePremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.UpdatePremierAddOnSlot method.

type WebAppsClientUpdatePremierAddOnSlotResponse added in v0.2.0

type WebAppsClientUpdatePremierAddOnSlotResponse struct {
	PremierAddOn
}

WebAppsClientUpdatePremierAddOnSlotResponse contains the response from method WebAppsClient.UpdatePremierAddOnSlot.

type WebAppsClientUpdateRelayServiceConnectionOptions added in v0.2.0

type WebAppsClientUpdateRelayServiceConnectionOptions struct {
}

WebAppsClientUpdateRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.UpdateRelayServiceConnection method.

type WebAppsClientUpdateRelayServiceConnectionResponse added in v0.2.0

type WebAppsClientUpdateRelayServiceConnectionResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientUpdateRelayServiceConnectionResponse contains the response from method WebAppsClient.UpdateRelayServiceConnection.

type WebAppsClientUpdateRelayServiceConnectionSlotOptions added in v0.2.0

type WebAppsClientUpdateRelayServiceConnectionSlotOptions struct {
}

WebAppsClientUpdateRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateRelayServiceConnectionSlot method.

type WebAppsClientUpdateRelayServiceConnectionSlotResponse added in v0.2.0

type WebAppsClientUpdateRelayServiceConnectionSlotResponse struct {
	RelayServiceConnectionEntity
}

WebAppsClientUpdateRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.UpdateRelayServiceConnectionSlot.

type WebAppsClientUpdateResponse added in v0.2.0

type WebAppsClientUpdateResponse struct {
	Site
}

WebAppsClientUpdateResponse contains the response from method WebAppsClient.Update.

type WebAppsClientUpdateScmAllowedOptions added in v0.2.0

type WebAppsClientUpdateScmAllowedOptions struct {
}

WebAppsClientUpdateScmAllowedOptions contains the optional parameters for the WebAppsClient.UpdateScmAllowed method.

type WebAppsClientUpdateScmAllowedResponse added in v0.2.0

type WebAppsClientUpdateScmAllowedResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateScmAllowedResponse contains the response from method WebAppsClient.UpdateScmAllowed.

type WebAppsClientUpdateScmAllowedSlotOptions added in v0.2.0

type WebAppsClientUpdateScmAllowedSlotOptions struct {
}

WebAppsClientUpdateScmAllowedSlotOptions contains the optional parameters for the WebAppsClient.UpdateScmAllowedSlot method.

type WebAppsClientUpdateScmAllowedSlotResponse added in v0.2.0

type WebAppsClientUpdateScmAllowedSlotResponse struct {
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateScmAllowedSlotResponse contains the response from method WebAppsClient.UpdateScmAllowedSlot.

type WebAppsClientUpdateSitePushSettingsOptions added in v0.2.0

type WebAppsClientUpdateSitePushSettingsOptions struct {
}

WebAppsClientUpdateSitePushSettingsOptions contains the optional parameters for the WebAppsClient.UpdateSitePushSettings method.

type WebAppsClientUpdateSitePushSettingsResponse added in v0.2.0

type WebAppsClientUpdateSitePushSettingsResponse struct {
	PushSettings
}

WebAppsClientUpdateSitePushSettingsResponse contains the response from method WebAppsClient.UpdateSitePushSettings.

type WebAppsClientUpdateSitePushSettingsSlotOptions added in v0.2.0

type WebAppsClientUpdateSitePushSettingsSlotOptions struct {
}

WebAppsClientUpdateSitePushSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateSitePushSettingsSlot method.

type WebAppsClientUpdateSitePushSettingsSlotResponse added in v0.2.0

type WebAppsClientUpdateSitePushSettingsSlotResponse struct {
	PushSettings
}

WebAppsClientUpdateSitePushSettingsSlotResponse contains the response from method WebAppsClient.UpdateSitePushSettingsSlot.

type WebAppsClientUpdateSlotConfigurationNamesOptions added in v0.2.0

type WebAppsClientUpdateSlotConfigurationNamesOptions struct {
}

WebAppsClientUpdateSlotConfigurationNamesOptions contains the optional parameters for the WebAppsClient.UpdateSlotConfigurationNames method.

type WebAppsClientUpdateSlotConfigurationNamesResponse added in v0.2.0

type WebAppsClientUpdateSlotConfigurationNamesResponse struct {
	SlotConfigNamesResource
}

WebAppsClientUpdateSlotConfigurationNamesResponse contains the response from method WebAppsClient.UpdateSlotConfigurationNames.

type WebAppsClientUpdateSlotOptions added in v0.2.0

type WebAppsClientUpdateSlotOptions struct {
}

WebAppsClientUpdateSlotOptions contains the optional parameters for the WebAppsClient.UpdateSlot method.

type WebAppsClientUpdateSlotResponse added in v0.2.0

type WebAppsClientUpdateSlotResponse struct {
	Site
}

WebAppsClientUpdateSlotResponse contains the response from method WebAppsClient.UpdateSlot.

type WebAppsClientUpdateSourceControlOptions added in v0.2.0

type WebAppsClientUpdateSourceControlOptions struct {
}

WebAppsClientUpdateSourceControlOptions contains the optional parameters for the WebAppsClient.UpdateSourceControl method.

type WebAppsClientUpdateSourceControlResponse added in v0.2.0

type WebAppsClientUpdateSourceControlResponse struct {
	SiteSourceControl
}

WebAppsClientUpdateSourceControlResponse contains the response from method WebAppsClient.UpdateSourceControl.

type WebAppsClientUpdateSourceControlSlotOptions added in v0.2.0

type WebAppsClientUpdateSourceControlSlotOptions struct {
}

WebAppsClientUpdateSourceControlSlotOptions contains the optional parameters for the WebAppsClient.UpdateSourceControlSlot method.

type WebAppsClientUpdateSourceControlSlotResponse added in v0.2.0

type WebAppsClientUpdateSourceControlSlotResponse struct {
	SiteSourceControl
}

WebAppsClientUpdateSourceControlSlotResponse contains the response from method WebAppsClient.UpdateSourceControlSlot.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions added in v0.2.0

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions struct {
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions contains the optional parameters for the WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheck method.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse added in v0.2.0

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse struct {
	SwiftVirtualNetwork
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse contains the response from method WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheck.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions added in v0.2.0

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions struct {
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions contains the optional parameters for the WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheckSlot method.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse added in v0.2.0

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse struct {
	SwiftVirtualNetwork
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse contains the response from method WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheckSlot.

type WebAppsClientUpdateVnetConnectionGatewayOptions added in v0.2.0

type WebAppsClientUpdateVnetConnectionGatewayOptions struct {
}

WebAppsClientUpdateVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionGateway method.

type WebAppsClientUpdateVnetConnectionGatewayResponse added in v0.2.0

type WebAppsClientUpdateVnetConnectionGatewayResponse struct {
	VnetGateway
}

WebAppsClientUpdateVnetConnectionGatewayResponse contains the response from method WebAppsClient.UpdateVnetConnectionGateway.

type WebAppsClientUpdateVnetConnectionGatewaySlotOptions added in v0.2.0

type WebAppsClientUpdateVnetConnectionGatewaySlotOptions struct {
}

WebAppsClientUpdateVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionGatewaySlot method.

type WebAppsClientUpdateVnetConnectionGatewaySlotResponse added in v0.2.0

type WebAppsClientUpdateVnetConnectionGatewaySlotResponse struct {
	VnetGateway
}

WebAppsClientUpdateVnetConnectionGatewaySlotResponse contains the response from method WebAppsClient.UpdateVnetConnectionGatewaySlot.

type WebAppsClientUpdateVnetConnectionOptions added in v0.2.0

type WebAppsClientUpdateVnetConnectionOptions struct {
}

WebAppsClientUpdateVnetConnectionOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnection method.

type WebAppsClientUpdateVnetConnectionResponse added in v0.2.0

type WebAppsClientUpdateVnetConnectionResponse struct {
	VnetInfoResource
}

WebAppsClientUpdateVnetConnectionResponse contains the response from method WebAppsClient.UpdateVnetConnection.

type WebAppsClientUpdateVnetConnectionSlotOptions added in v0.2.0

type WebAppsClientUpdateVnetConnectionSlotOptions struct {
}

WebAppsClientUpdateVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionSlot method.

type WebAppsClientUpdateVnetConnectionSlotResponse added in v0.2.0

type WebAppsClientUpdateVnetConnectionSlotResponse struct {
	VnetInfoResource
}

WebAppsClientUpdateVnetConnectionSlotResponse contains the response from method WebAppsClient.UpdateVnetConnectionSlot.

type WebJob

type WebJob struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// WebJob resource specific properties
	Properties *WebJobProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

WebJob - Web Job Information.

type WebJobCollection

type WebJobCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WebJob `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

WebJobCollection - Collection of Kudu web job information elements.

type WebJobProperties

type WebJobProperties struct {
	// Error information.
	Error *string `json:"error,omitempty"`

	// Extra Info URL.
	ExtraInfoURL *string `json:"extra_info_url,omitempty"`

	// Run command.
	RunCommand *string `json:"run_command,omitempty"`

	// Job settings.
	Settings map[string]interface{} `json:"settings,omitempty"`

	// Job URL.
	URL *string `json:"url,omitempty"`

	// Using SDK?
	UsingSdk *bool `json:"using_sdk,omitempty"`

	// Job type.
	WebJobType *WebJobType `json:"web_job_type,omitempty"`
}

WebJobProperties - WebJob resource specific properties

func (WebJobProperties) MarshalJSON

func (w WebJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebJobProperties.

type WebJobType

type WebJobType string

WebJobType - Job type.

const (
	WebJobTypeContinuous WebJobType = "Continuous"
	WebJobTypeTriggered  WebJobType = "Triggered"
)

func PossibleWebJobTypeValues

func PossibleWebJobTypeValues() []WebJobType

PossibleWebJobTypeValues returns the possible values for the WebJobType const type.

type WebSiteInstanceStatus

type WebSiteInstanceStatus struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// WebSiteInstanceStatus resource specific properties
	Properties *WebSiteInstanceStatusProperties `json:"properties,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

type WebSiteInstanceStatusProperties

type WebSiteInstanceStatusProperties struct {
	// Link to the console to web app instance
	ConsoleURL *string `json:"consoleUrl,omitempty"`

	// Dictionary of
	Containers map[string]*ContainerInfo `json:"containers,omitempty"`

	// Link to the Diagnose and Solve Portal
	DetectorURL *string `json:"detectorUrl,omitempty"`

	// Link to the console to web app instance
	HealthCheckURL *string           `json:"healthCheckUrl,omitempty"`
	State          *SiteRuntimeState `json:"state,omitempty"`

	// Link to the GetStatusApi in Kudu
	StatusURL *string `json:"statusUrl,omitempty"`
}

WebSiteInstanceStatusProperties - WebSiteInstanceStatus resource specific properties

func (WebSiteInstanceStatusProperties) MarshalJSON

func (w WebSiteInstanceStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSiteInstanceStatusProperties.

type WebSiteManagementClient

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

WebSiteManagementClient contains the methods for the WebSiteManagementClient group. Don't use this type directly, use NewWebSiteManagementClient() instead.

func NewWebSiteManagementClient

func NewWebSiteManagementClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebSiteManagementClient, error)

NewWebSiteManagementClient creates a new instance of WebSiteManagementClient with the specified values. subscriptionID - Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.

func (*WebSiteManagementClient) CheckNameAvailability

CheckNameAvailability - Check if a resource name is available. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 request - Name availability request. options - WebSiteManagementClientCheckNameAvailabilityOptions contains the optional parameters for the WebSiteManagementClient.CheckNameAvailability method.

func (*WebSiteManagementClient) GetPublishingUser

GetPublishingUser - Gets publishing user If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientGetPublishingUserOptions contains the optional parameters for the WebSiteManagementClient.GetPublishingUser method.

func (*WebSiteManagementClient) GetSourceControl

GetSourceControl - Gets source control token If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 sourceControlType - Type of source control options - WebSiteManagementClientGetSourceControlOptions contains the optional parameters for the WebSiteManagementClient.GetSourceControl method.

func (*WebSiteManagementClient) GetSubscriptionDeploymentLocations

GetSubscriptionDeploymentLocations - Gets list of available geo regions plus ministamps If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientGetSubscriptionDeploymentLocationsOptions contains the optional parameters for the WebSiteManagementClient.GetSubscriptionDeploymentLocations method.

func (*WebSiteManagementClient) ListSKUs

ListSKUs - List all SKUs. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientListSKUsOptions contains the optional parameters for the WebSiteManagementClient.ListSKUs method.

func (*WebSiteManagementClient) Move

Move - Move resources between resource groups. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. moveResourceEnvelope - Object that represents the resource to move. options - WebSiteManagementClientMoveOptions contains the optional parameters for the WebSiteManagementClient.Move method.

func (*WebSiteManagementClient) NewListBillingMetersPager added in v0.4.0

NewListBillingMetersPager - Gets a list of meters for a given location. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientListBillingMetersOptions contains the optional parameters for the WebSiteManagementClient.ListBillingMeters method.

func (*WebSiteManagementClient) NewListCustomHostNameSitesPager added in v0.4.0

NewListCustomHostNameSitesPager - Get custom hostnames under this subscription If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientListCustomHostNameSitesOptions contains the optional parameters for the WebSiteManagementClient.ListCustomHostNameSites method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListCustomHostNameSites.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebSiteManagementClient("00000000-0000-0000-0000-000000000000", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := client.NewListCustomHostNameSitesPager(nil)
	for pager.More() {
		nextResult, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range nextResult.Value {
			// TODO: use page item
			_ = v
		}
	}
}
Output:

func (*WebSiteManagementClient) NewListGeoRegionsPager added in v0.4.0

NewListGeoRegionsPager - Get a list of available geographical regions. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientListGeoRegionsOptions contains the optional parameters for the WebSiteManagementClient.ListGeoRegions method.

func (*WebSiteManagementClient) NewListPremierAddOnOffersPager added in v0.4.0

NewListPremierAddOnOffersPager - List all premier add-on offers. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientListPremierAddOnOffersOptions contains the optional parameters for the WebSiteManagementClient.ListPremierAddOnOffers method.

func (*WebSiteManagementClient) NewListSiteIdentifiersAssignedToHostNamePager added in v0.4.0

NewListSiteIdentifiersAssignedToHostNamePager - List all apps that are assigned to a hostname. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 nameIdentifier - Hostname information. options - WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions contains the optional parameters for the WebSiteManagementClient.ListSiteIdentifiersAssignedToHostName method.

func (*WebSiteManagementClient) NewListSourceControlsPager added in v0.4.0

NewListSourceControlsPager - Gets the source controls available for Azure websites. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 options - WebSiteManagementClientListSourceControlsOptions contains the optional parameters for the WebSiteManagementClient.ListSourceControls method.

func (*WebSiteManagementClient) UpdatePublishingUser

UpdatePublishingUser - Updates publishing user If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 userDetails - Details of publishing user options - WebSiteManagementClientUpdatePublishingUserOptions contains the optional parameters for the WebSiteManagementClient.UpdatePublishingUser method.

func (*WebSiteManagementClient) UpdateSourceControl

UpdateSourceControl - Updates source control token If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 sourceControlType - Type of source control requestMessage - Source control token information options - WebSiteManagementClientUpdateSourceControlOptions contains the optional parameters for the WebSiteManagementClient.UpdateSourceControl method.

func (*WebSiteManagementClient) Validate

Validate - Validate if a resource can be created. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. validateRequest - Request with the resources to validate. options - WebSiteManagementClientValidateOptions contains the optional parameters for the WebSiteManagementClient.Validate method.

func (*WebSiteManagementClient) ValidateMove

ValidateMove - Validate whether a resource can be moved. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 resourceGroupName - Name of the resource group to which the resource belongs. moveResourceEnvelope - Object that represents the resource to move. options - WebSiteManagementClientValidateMoveOptions contains the optional parameters for the WebSiteManagementClient.ValidateMove method.

func (*WebSiteManagementClient) VerifyHostingEnvironmentVnet

VerifyHostingEnvironmentVnet - Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-03-01 parameters - VNET information options - WebSiteManagementClientVerifyHostingEnvironmentVnetOptions contains the optional parameters for the WebSiteManagementClient.VerifyHostingEnvironmentVnet method.

Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/VerifyHostingEnvironmentVnet.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	client, err := armappservice.NewWebSiteManagementClient("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := client.VerifyHostingEnvironmentVnet(ctx,
		armappservice.VnetParameters{
			Properties: &armappservice.VnetParametersProperties{
				VnetName:          to.Ptr("vNet123"),
				VnetResourceGroup: to.Ptr("vNet123rg"),
				VnetSubnetName:    to.Ptr("vNet123SubNet"),
			},
		},
		nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// TODO: use response item
	_ = res
}
Output:

type WebSiteManagementClientCheckNameAvailabilityOptions

type WebSiteManagementClientCheckNameAvailabilityOptions struct {
}

WebSiteManagementClientCheckNameAvailabilityOptions contains the optional parameters for the WebSiteManagementClient.CheckNameAvailability method.

type WebSiteManagementClientCheckNameAvailabilityResponse

type WebSiteManagementClientCheckNameAvailabilityResponse struct {
	ResourceNameAvailability
}

WebSiteManagementClientCheckNameAvailabilityResponse contains the response from method WebSiteManagementClient.CheckNameAvailability.

type WebSiteManagementClientGetPublishingUserOptions

type WebSiteManagementClientGetPublishingUserOptions struct {
}

WebSiteManagementClientGetPublishingUserOptions contains the optional parameters for the WebSiteManagementClient.GetPublishingUser method.

type WebSiteManagementClientGetPublishingUserResponse

type WebSiteManagementClientGetPublishingUserResponse struct {
	User
}

WebSiteManagementClientGetPublishingUserResponse contains the response from method WebSiteManagementClient.GetPublishingUser.

type WebSiteManagementClientGetSourceControlOptions

type WebSiteManagementClientGetSourceControlOptions struct {
}

WebSiteManagementClientGetSourceControlOptions contains the optional parameters for the WebSiteManagementClient.GetSourceControl method.

type WebSiteManagementClientGetSourceControlResponse

type WebSiteManagementClientGetSourceControlResponse struct {
	SourceControl
}

WebSiteManagementClientGetSourceControlResponse contains the response from method WebSiteManagementClient.GetSourceControl.

type WebSiteManagementClientGetSubscriptionDeploymentLocationsOptions

type WebSiteManagementClientGetSubscriptionDeploymentLocationsOptions struct {
}

WebSiteManagementClientGetSubscriptionDeploymentLocationsOptions contains the optional parameters for the WebSiteManagementClient.GetSubscriptionDeploymentLocations method.

type WebSiteManagementClientGetSubscriptionDeploymentLocationsResponse

type WebSiteManagementClientGetSubscriptionDeploymentLocationsResponse struct {
	DeploymentLocations
}

WebSiteManagementClientGetSubscriptionDeploymentLocationsResponse contains the response from method WebSiteManagementClient.GetSubscriptionDeploymentLocations.

type WebSiteManagementClientListBillingMetersOptions

type WebSiteManagementClientListBillingMetersOptions struct {
	// Azure Location of billable resource
	BillingLocation *string
	// App Service OS type meters used for
	OSType *string
}

WebSiteManagementClientListBillingMetersOptions contains the optional parameters for the WebSiteManagementClient.ListBillingMeters method.

type WebSiteManagementClientListBillingMetersResponse

type WebSiteManagementClientListBillingMetersResponse struct {
	BillingMeterCollection
}

WebSiteManagementClientListBillingMetersResponse contains the response from method WebSiteManagementClient.ListBillingMeters.

type WebSiteManagementClientListCustomHostNameSitesOptions added in v0.2.0

type WebSiteManagementClientListCustomHostNameSitesOptions struct {
}

WebSiteManagementClientListCustomHostNameSitesOptions contains the optional parameters for the WebSiteManagementClient.ListCustomHostNameSites method.

type WebSiteManagementClientListCustomHostNameSitesResponse added in v0.2.0

type WebSiteManagementClientListCustomHostNameSitesResponse struct {
	CustomHostnameSitesCollection
}

WebSiteManagementClientListCustomHostNameSitesResponse contains the response from method WebSiteManagementClient.ListCustomHostNameSites.

type WebSiteManagementClientListGeoRegionsOptions

type WebSiteManagementClientListGeoRegionsOptions struct {
	// Specify true if you want to filter to only regions that support Linux Consumption Workers.
	LinuxDynamicWorkersEnabled *bool
	// Specify true if you want to filter to only regions that support Linux workers.
	LinuxWorkersEnabled *bool
	// Name of SKU used to filter the regions.
	SKU *SKUName
	// Specify true if you want to filter to only regions that support Xenon workers.
	XenonWorkersEnabled *bool
}

WebSiteManagementClientListGeoRegionsOptions contains the optional parameters for the WebSiteManagementClient.ListGeoRegions method.

type WebSiteManagementClientListGeoRegionsResponse

type WebSiteManagementClientListGeoRegionsResponse struct {
	GeoRegionCollection
}

WebSiteManagementClientListGeoRegionsResponse contains the response from method WebSiteManagementClient.ListGeoRegions.

type WebSiteManagementClientListPremierAddOnOffersOptions

type WebSiteManagementClientListPremierAddOnOffersOptions struct {
}

WebSiteManagementClientListPremierAddOnOffersOptions contains the optional parameters for the WebSiteManagementClient.ListPremierAddOnOffers method.

type WebSiteManagementClientListPremierAddOnOffersResponse

type WebSiteManagementClientListPremierAddOnOffersResponse struct {
	PremierAddOnOfferCollection
}

WebSiteManagementClientListPremierAddOnOffersResponse contains the response from method WebSiteManagementClient.ListPremierAddOnOffers.

type WebSiteManagementClientListSKUsOptions

type WebSiteManagementClientListSKUsOptions struct {
}

WebSiteManagementClientListSKUsOptions contains the optional parameters for the WebSiteManagementClient.ListSKUs method.

type WebSiteManagementClientListSKUsResponse

type WebSiteManagementClientListSKUsResponse struct {
	SKUInfos
}

WebSiteManagementClientListSKUsResponse contains the response from method WebSiteManagementClient.ListSKUs.

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions struct {
}

WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions contains the optional parameters for the WebSiteManagementClient.ListSiteIdentifiersAssignedToHostName method.

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse struct {
	IdentifierCollection
}

WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse contains the response from method WebSiteManagementClient.ListSiteIdentifiersAssignedToHostName.

type WebSiteManagementClientListSourceControlsOptions

type WebSiteManagementClientListSourceControlsOptions struct {
}

WebSiteManagementClientListSourceControlsOptions contains the optional parameters for the WebSiteManagementClient.ListSourceControls method.

type WebSiteManagementClientListSourceControlsResponse

type WebSiteManagementClientListSourceControlsResponse struct {
	SourceControlCollection
}

WebSiteManagementClientListSourceControlsResponse contains the response from method WebSiteManagementClient.ListSourceControls.

type WebSiteManagementClientMoveOptions

type WebSiteManagementClientMoveOptions struct {
}

WebSiteManagementClientMoveOptions contains the optional parameters for the WebSiteManagementClient.Move method.

type WebSiteManagementClientMoveResponse

type WebSiteManagementClientMoveResponse struct {
}

WebSiteManagementClientMoveResponse contains the response from method WebSiteManagementClient.Move.

type WebSiteManagementClientUpdatePublishingUserOptions

type WebSiteManagementClientUpdatePublishingUserOptions struct {
}

WebSiteManagementClientUpdatePublishingUserOptions contains the optional parameters for the WebSiteManagementClient.UpdatePublishingUser method.

type WebSiteManagementClientUpdatePublishingUserResponse

type WebSiteManagementClientUpdatePublishingUserResponse struct {
	User
}

WebSiteManagementClientUpdatePublishingUserResponse contains the response from method WebSiteManagementClient.UpdatePublishingUser.

type WebSiteManagementClientUpdateSourceControlOptions

type WebSiteManagementClientUpdateSourceControlOptions struct {
}

WebSiteManagementClientUpdateSourceControlOptions contains the optional parameters for the WebSiteManagementClient.UpdateSourceControl method.

type WebSiteManagementClientUpdateSourceControlResponse

type WebSiteManagementClientUpdateSourceControlResponse struct {
	SourceControl
}

WebSiteManagementClientUpdateSourceControlResponse contains the response from method WebSiteManagementClient.UpdateSourceControl.

type WebSiteManagementClientValidateMoveOptions

type WebSiteManagementClientValidateMoveOptions struct {
}

WebSiteManagementClientValidateMoveOptions contains the optional parameters for the WebSiteManagementClient.ValidateMove method.

type WebSiteManagementClientValidateMoveResponse

type WebSiteManagementClientValidateMoveResponse struct {
}

WebSiteManagementClientValidateMoveResponse contains the response from method WebSiteManagementClient.ValidateMove.

type WebSiteManagementClientValidateOptions

type WebSiteManagementClientValidateOptions struct {
}

WebSiteManagementClientValidateOptions contains the optional parameters for the WebSiteManagementClient.Validate method.

type WebSiteManagementClientValidateResponse

type WebSiteManagementClientValidateResponse struct {
	ValidateResponse
}

WebSiteManagementClientValidateResponse contains the response from method WebSiteManagementClient.Validate.

type WebSiteManagementClientVerifyHostingEnvironmentVnetOptions

type WebSiteManagementClientVerifyHostingEnvironmentVnetOptions struct {
}

WebSiteManagementClientVerifyHostingEnvironmentVnetOptions contains the optional parameters for the WebSiteManagementClient.VerifyHostingEnvironmentVnet method.

type WebSiteManagementClientVerifyHostingEnvironmentVnetResponse

type WebSiteManagementClientVerifyHostingEnvironmentVnetResponse struct {
	VnetValidationFailureDetails
}

WebSiteManagementClientVerifyHostingEnvironmentVnetResponse contains the response from method WebSiteManagementClient.VerifyHostingEnvironmentVnet.

type WindowsJavaContainerSettings

type WindowsJavaContainerSettings struct {
	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time `json:"endOfLifeDate,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool `json:"isAutoUpdate,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool `json:"isDeprecated,omitempty" azure:"ro"`

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool `json:"isEarlyAccess,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool `json:"isHidden,omitempty" azure:"ro"`

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool `json:"isPreview,omitempty" azure:"ro"`

	// READ-ONLY; Java container (runtime only).
	JavaContainer *string `json:"javaContainer,omitempty" azure:"ro"`

	// READ-ONLY; Java container version (runtime only).
	JavaContainerVersion *string `json:"javaContainerVersion,omitempty" azure:"ro"`
}

WindowsJavaContainerSettings - Windows Java Container settings.

func (WindowsJavaContainerSettings) MarshalJSON

func (w WindowsJavaContainerSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WindowsJavaContainerSettings.

func (*WindowsJavaContainerSettings) UnmarshalJSON

func (w *WindowsJavaContainerSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WindowsJavaContainerSettings.

type WorkerPool

type WorkerPool struct {
	// Shared or dedicated app hosting.
	ComputeMode *ComputeModeOptions `json:"computeMode,omitempty"`

	// Number of instances in the worker pool.
	WorkerCount *int32 `json:"workerCount,omitempty"`

	// VM size of the worker pool instances.
	WorkerSize *string `json:"workerSize,omitempty"`

	// Worker size ID for referencing this worker pool.
	WorkerSizeID *int32 `json:"workerSizeId,omitempty"`

	// READ-ONLY; Names of all instances in the worker pool (read only).
	InstanceNames []*string `json:"instanceNames,omitempty" azure:"ro"`
}

WorkerPool - Worker pool of an App Service Environment.

func (WorkerPool) MarshalJSON

func (w WorkerPool) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkerPool.

type WorkerPoolCollection

type WorkerPoolCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WorkerPoolResource `json:"value,omitempty"`

	// READ-ONLY; Link to next page of resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

WorkerPoolCollection - Collection of worker pools.

type WorkerPoolResource

type WorkerPoolResource struct {
	// Kind of resource.
	Kind *string `json:"kind,omitempty"`

	// Core resource properties
	Properties *WorkerPool `json:"properties,omitempty"`

	// Description of a SKU for a scalable resource.
	SKU *SKUDescription `json:"sku,omitempty"`

	// READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource Name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

WorkerPoolResource - Worker pool of an App Service Environment ARM resource.

func (WorkerPoolResource) MarshalJSON

func (w WorkerPoolResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkerPoolResource.

type WorkerSizeOptions

type WorkerSizeOptions string

WorkerSizeOptions - Size of the machines.

const (
	WorkerSizeOptionsSmall            WorkerSizeOptions = "Small"
	WorkerSizeOptionsMedium           WorkerSizeOptions = "Medium"
	WorkerSizeOptionsLarge            WorkerSizeOptions = "Large"
	WorkerSizeOptionsD1               WorkerSizeOptions = "D1"
	WorkerSizeOptionsD2               WorkerSizeOptions = "D2"
	WorkerSizeOptionsD3               WorkerSizeOptions = "D3"
	WorkerSizeOptionsSmallV3          WorkerSizeOptions = "SmallV3"
	WorkerSizeOptionsMediumV3         WorkerSizeOptions = "MediumV3"
	WorkerSizeOptionsLargeV3          WorkerSizeOptions = "LargeV3"
	WorkerSizeOptionsNestedSmall      WorkerSizeOptions = "NestedSmall"
	WorkerSizeOptionsNestedSmallLinux WorkerSizeOptions = "NestedSmallLinux"
	WorkerSizeOptionsDefault          WorkerSizeOptions = "Default"
)

func PossibleWorkerSizeOptionsValues

func PossibleWorkerSizeOptionsValues() []WorkerSizeOptions

PossibleWorkerSizeOptionsValues returns the possible values for the WorkerSizeOptions const type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL