armappservice

package module
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 16 Imported by: 10

README

Azure App Service Module for Go

PkgGoDev

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

Source code

Getting started

Prerequisites

  • an Azure subscription
  • Go 1.18 or above (You could download and install the latest version of Go from here. It will replace the existing Go on your machine. If you want to install multiple Go versions on the same machine, you could refer this doc.)

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/v2

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.

Client Factory

Azure App Service module consists of one or more clients. We provide a client factory which could be used to create any client in this module.

clientFactory, err := armappservice.NewClientFactory(<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,
    },
}
clientFactory, err := armappservice.NewClientFactory(<subscription ID>, cred, &options)

Clients

A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

client := clientFactory.NewWebAppsClient()

Fakes

The fake package contains types used for constructing in-memory fake servers used in unit tests. This allows writing tests to cover various success/error conditions without the need for connecting to a live service.

Please see https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/samples/fakes for details and examples on how to use fakes.

More sample code

Major Version Upgrade

Go uses semantic import versioning to ensure a good backward compatibility for modules. For Azure Go management SDK, we usually upgrade module version according to cooresponding service's API version. Regarding it could be a complicated experience for major version upgrade, we will try our best to keep the SDK API stable and release new version in backward compatible way. However, if any unavoidable breaking changes and a new major version releases for SDK modules, you could use these commands under your module folder to upgrade:

go install github.com/icholy/gomajor@latest
gomajor get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute@latest

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
}

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

func (APIDefinitionInfo) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type APIDefinitionInfo.

func (*APIDefinitionInfo) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type APIDefinitionInfo.

type APIKVReference

type APIKVReference struct {
	// Kind of resource.
	Kind *string

	// ApiKVReference resource specific properties
	Properties *APIKVReferenceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

APIKVReference - Description of site key vault references.

func (APIKVReference) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type APIKVReference.

func (*APIKVReference) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type APIKVReference.

type APIKVReferenceCollection

type APIKVReferenceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*APIKVReference

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

func (APIKVReferenceCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type APIKVReferenceCollection.

func (*APIKVReferenceCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type APIKVReferenceCollection.

type APIKVReferenceProperties

type APIKVReferenceProperties struct {
	ActiveVersion *string
	Details       *string

	// Managed service identity.
	IdentityType  *ManagedServiceIdentity
	Reference     *string
	SecretName    *string
	SecretVersion *string
	Source        *string
	Status        *ResolveStatus
	VaultName     *string
}

APIKVReferenceProperties - ApiKVReference resource specific properties

func (APIKVReferenceProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type APIKVReferenceProperties.

func (*APIKVReferenceProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type APIKVReferenceProperties.

type APIManagementConfig

type APIManagementConfig struct {
	// APIM-Api Identifier.
	ID *string
}

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

func (APIManagementConfig) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type APIManagementConfig.

func (*APIManagementConfig) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type APIManagementConfig.

type AbnormalTimePeriod

type AbnormalTimePeriod struct {
	// End time of the downtime
	EndTime *time.Time

	// List of Possible Cause of downtime
	Events []*DetectorAbnormalTimePeriod

	// List of proposed solutions
	Solutions []*Solution

	// Start time of the downtime
	StartTime *time.Time
}

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

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

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

	// REQUIRED; The city for the address.
	City *string

	// REQUIRED; The country for the address.
	Country *string

	// REQUIRED; The postal code for the address.
	PostalCode *string

	// REQUIRED; The state or province for the address.
	State *string

	// The second line of the Address. Optional.
	Address2 *string
}

Address information for domain registration.

func (Address) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Address.

func (*Address) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Address.

type AddressResponse

type AddressResponse struct {
	// Kind of resource.
	Kind *string

	// AddressResponse resource specific properties
	Properties *AddressResponseProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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

func (AddressResponse) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AddressResponse.

func (*AddressResponse) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AddressResponse.

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

	// IP addresses appearing on outbound connections.
	OutboundIPAddresses []*string

	// Main public virtual IP.
	ServiceIPAddress *string

	// Additional virtual IPs.
	VipMappings []*VirtualIPMapping
}

AddressResponseProperties - AddressResponse resource specific properties

func (AddressResponseProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AddressResponseProperties.

func (*AddressResponseProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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
}

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.

func (*AllowedAudiencesValidation) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AllowedAudiencesValidation.

type AllowedPrincipals

type AllowedPrincipals struct {
	// The list of the allowed groups.
	Groups []*string

	// The list of the allowed identities.
	Identities []*string
}

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.

func (*AllowedPrincipals) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AllowedPrincipals.

type AnalysisData

type AnalysisData struct {
	// Additional Source Data
	Data [][]*NameValuePair

	// Detector Definition
	DetectorDefinition *DetectorDefinition

	// Detector Meta Data
	DetectorMetaData *ResponseMetaData

	// Source Metrics
	Metrics []*DiagnosticMetricSet

	// Name of the Detector
	Source *string
}

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.

func (*AnalysisData) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AnalysisData.

type AnalysisDefinition

type AnalysisDefinition struct {
	// Kind of resource.
	Kind *string

	// AnalysisDefinition resource specific properties
	Properties *AnalysisDefinitionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

AnalysisDefinition - Definition of Analysis

func (AnalysisDefinition) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AnalysisDefinition.

func (*AnalysisDefinition) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AnalysisDefinition.

type AnalysisDefinitionProperties

type AnalysisDefinitionProperties struct {
	// READ-ONLY; Description of the Analysis
	Description *string
}

AnalysisDefinitionProperties - AnalysisDefinition resource specific properties

func (AnalysisDefinitionProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AnalysisDefinitionProperties.

func (*AnalysisDefinitionProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AnalysisDefinitionProperties.

type AppCertificate

type AppCertificate struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// Certificate resource specific properties
	Properties *AppCertificateProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

AppCertificate - SSL certificate for an app.

func (AppCertificate) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppCertificate.

func (*AppCertificate) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppCertificate.

type AppCertificateCollection

type AppCertificateCollection struct {
	// REQUIRED; Collection of resources.
	Value []*AppCertificate

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

AppCertificateCollection - Collection of certificates.

func (AppCertificateCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppCertificateCollection.

func (*AppCertificateCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppCertificateCollection.

type AppCertificatePatchResource

type AppCertificatePatchResource struct {
	// Kind of resource.
	Kind *string

	// CertificatePatchResource resource specific properties
	Properties *AppCertificatePatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

AppCertificatePatchResource - ARM resource for a certificate.

func (AppCertificatePatchResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppCertificatePatchResource.

func (*AppCertificatePatchResource) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppCertificatePatchResource.

type AppCertificatePatchResourceProperties

type AppCertificatePatchResourceProperties struct {
	// CNAME of the certificate to be issued via free certificate
	CanonicalName *string

	// Method of domain validation for free cert
	DomainValidationMethod *string

	// Host names the certificate applies to.
	HostNames []*string

	// Key Vault Csm resource Id.
	KeyVaultID *string

	// Key Vault secret name.
	KeyVaultSecretName *string

	// Certificate password.
	Password *string

	// Pfx blob.
	PfxBlob []byte

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

	// READ-ONLY; Raw bytes of .cer file
	CerBlob []byte

	// READ-ONLY; Certificate expiration date.
	ExpirationDate *time.Time

	// READ-ONLY; Friendly name of the certificate.
	FriendlyName *string

	// READ-ONLY; Specification for the App Service Environment to use for the certificate.
	HostingEnvironmentProfile *HostingEnvironmentProfile

	// READ-ONLY; Certificate issue Date.
	IssueDate *time.Time

	// READ-ONLY; Certificate issuer.
	Issuer *string

	// READ-ONLY; Status of the Key Vault secret.
	KeyVaultSecretStatus *KeyVaultSecretStatus

	// READ-ONLY; Public key hash.
	PublicKeyHash *string

	// READ-ONLY; Self link.
	SelfLink *string

	// READ-ONLY; App name.
	SiteName *string

	// READ-ONLY; Subject name of the certificate.
	SubjectName *string

	// READ-ONLY; Certificate thumbprint.
	Thumbprint *string

	// READ-ONLY; Is the certificate valid?.
	Valid *bool
}

AppCertificatePatchResourceProperties - CertificatePatchResource resource specific properties

func (AppCertificatePatchResourceProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppCertificatePatchResourceProperties.

func (*AppCertificatePatchResourceProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppCertificatePatchResourceProperties.

type AppCertificateProperties

type AppCertificateProperties struct {
	// CNAME of the certificate to be issued via free certificate
	CanonicalName *string

	// Method of domain validation for free cert
	DomainValidationMethod *string

	// Host names the certificate applies to.
	HostNames []*string

	// Key Vault Csm resource Id.
	KeyVaultID *string

	// Key Vault secret name.
	KeyVaultSecretName *string

	// Certificate password.
	Password *string

	// Pfx blob.
	PfxBlob []byte

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

	// READ-ONLY; Raw bytes of .cer file
	CerBlob []byte

	// READ-ONLY; Certificate expiration date.
	ExpirationDate *time.Time

	// READ-ONLY; Friendly name of the certificate.
	FriendlyName *string

	// READ-ONLY; Specification for the App Service Environment to use for the certificate.
	HostingEnvironmentProfile *HostingEnvironmentProfile

	// READ-ONLY; Certificate issue Date.
	IssueDate *time.Time

	// READ-ONLY; Certificate issuer.
	Issuer *string

	// READ-ONLY; Status of the Key Vault secret.
	KeyVaultSecretStatus *KeyVaultSecretStatus

	// READ-ONLY; Public key hash.
	PublicKeyHash *string

	// READ-ONLY; Self link.
	SelfLink *string

	// READ-ONLY; App name.
	SiteName *string

	// READ-ONLY; Subject name of the certificate.
	SubjectName *string

	// READ-ONLY; Certificate thumbprint.
	Thumbprint *string

	// READ-ONLY; Is the certificate valid?.
	Valid *bool
}

AppCertificateProperties - Certificate resource specific properties

func (AppCertificateProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppCertificateProperties.

func (*AppCertificateProperties) UnmarshalJSON

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

	// READ-ONLY; true if remote Application Insights is supported for the stack; otherwise, false.
	IsSupported *bool
}

AppInsightsWebAppStackSettings - App Insights Web App stack settings.

func (AppInsightsWebAppStackSettings) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppInsightsWebAppStackSettings.

func (*AppInsightsWebAppStackSettings) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppInsightsWebAppStackSettings.

type AppLogsConfiguration

type AppLogsConfiguration struct {
	Destination               *string
	LogAnalyticsConfiguration *LogAnalyticsConfiguration
}

func (AppLogsConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppLogsConfiguration.

func (*AppLogsConfiguration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppLogsConfiguration.

type AppRegistration

type AppRegistration struct {
	// The App ID of the app used for login.
	AppID *string

	// The app setting name that contains the app secret.
	AppSecretSettingName *string
}

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

func (AppRegistration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppRegistration.

func (*AppRegistration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppRegistration.

type AppServicePlanRestrictions

type AppServicePlanRestrictions string

AppServicePlanRestrictions - App Service plans this offer is restricted to.

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

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

	// The configuration settings of the login flow.
	Login *LoginScopes

	// The configuration settings of the Apple registration.
	Registration *AppleRegistration
}

Apple - The configuration settings of the Apple provider.

func (Apple) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Apple.

func (*Apple) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Apple.

type AppleRegistration

type AppleRegistration struct {
	// The Client ID of the app used for login.
	ClientID *string

	// The app setting name that contains the client secret.
	ClientSecretSettingName *string
}

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

func (AppleRegistration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AppleRegistration.

func (*AppleRegistration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AppleRegistration.

type ApplicationLogsConfig

type ApplicationLogsConfig struct {
	// Application logs to blob storage configuration.
	AzureBlobStorage *AzureBlobStorageApplicationLogsConfig

	// Application logs to azure table storage configuration.
	AzureTableStorage *AzureTableStorageApplicationLogsConfig

	// Application logs to file system configuration.
	FileSystem *FileSystemApplicationLogsConfig
}

ApplicationLogsConfig - Application logs configuration.

func (ApplicationLogsConfig) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationLogsConfig.

func (*ApplicationLogsConfig) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationLogsConfig.

type ApplicationStack

type ApplicationStack struct {
	// Application stack dependency.
	Dependency *string

	// Application stack display name.
	Display *string

	// List of frameworks associated with application stack.
	Frameworks []*ApplicationStack

	// true if this is the stack is deprecated; otherwise, false.
	IsDeprecated []*ApplicationStack

	// List of major versions available.
	MajorVersions []*StackMajorVersion

	// Application stack name.
	Name *string
}

ApplicationStack - Application stack.

func (ApplicationStack) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationStack.

func (*ApplicationStack) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationStack.

type ApplicationStackCollection

type ApplicationStackCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ApplicationStackResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ApplicationStackCollection - Collection of Application Stacks

func (ApplicationStackCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationStackCollection.

func (*ApplicationStackCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationStackCollection.

type ApplicationStackResource

type ApplicationStackResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *ApplicationStack

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ApplicationStackResource - ARM resource for a ApplicationStack.

func (ApplicationStackResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationStackResource.

func (*ApplicationStackResource) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationStackResource.

type ArcConfiguration

type ArcConfiguration struct {
	ArtifactStorageAccessMode    *string
	ArtifactStorageClassName     *string
	ArtifactStorageMountPath     *string
	ArtifactStorageNodeName      *string
	ArtifactsStorageType         *StorageType
	FrontEndServiceConfiguration *FrontEndConfiguration
	KubeConfig                   *string
}

func (ArcConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ArcConfiguration.

func (*ArcConfiguration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ArcConfiguration.

type ArmIDWrapper

type ArmIDWrapper struct {
	// READ-ONLY
	ID *string
}

ArmIDWrapper - A wrapper for an ARM resource id

func (ArmIDWrapper) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ArmIDWrapper.

func (*ArmIDWrapper) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ArmIDWrapper.

type ArmPlan

type ArmPlan struct {
	// The name.
	Name *string

	// The product.
	Product *string

	// The promotion code.
	PromotionCode *string

	// The publisher.
	Publisher *string

	// Version of product.
	Version *string
}

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

func (ArmPlan) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ArmPlan.

func (*ArmPlan) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ArmPlan.

type AseRegion added in v2.3.0

type AseRegion struct {
	// Kind of resource.
	Kind *string

	// ASE region resource specific properties
	Properties *AseRegionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

AseRegion - ASE region.

func (AseRegion) MarshalJSON added in v2.3.0

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

MarshalJSON implements the json.Marshaller interface for type AseRegion.

func (*AseRegion) UnmarshalJSON added in v2.3.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type AseRegion.

type AseRegionCollection added in v2.3.0

type AseRegionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*AseRegion

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

AseRegionCollection - Collection of ASE regions.

func (AseRegionCollection) MarshalJSON added in v2.3.0

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

MarshalJSON implements the json.Marshaller interface for type AseRegionCollection.

func (*AseRegionCollection) UnmarshalJSON added in v2.3.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type AseRegionCollection.

type AseRegionProperties added in v2.3.0

type AseRegionProperties struct {
	// Available OSs in region.
	AvailableOS []*string

	// Available Skus in region.
	AvailableSKU []*string

	// READ-ONLY; Dedicated host enabled.
	DedicatedHost *bool

	// READ-ONLY; Display name for region.
	DisplayName *string

	// READ-ONLY; Is region standard.
	Standard *bool

	// READ-ONLY; Zone redundant deployment enabled.
	ZoneRedundant *bool
}

AseRegionProperties - ASE region resource specific properties

func (AseRegionProperties) MarshalJSON added in v2.3.0

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

MarshalJSON implements the json.Marshaller interface for type AseRegionProperties.

func (*AseRegionProperties) UnmarshalJSON added in v2.3.0

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

UnmarshalJSON implements the json.Unmarshaller interface for type AseRegionProperties.

type AseV3NetworkingConfiguration

type AseV3NetworkingConfiguration struct {
	// Kind of resource.
	Kind *string

	// AseV3NetworkingConfiguration resource specific properties
	Properties *AseV3NetworkingConfigurationProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

AseV3NetworkingConfiguration - Full view of networking configuration for an ASE.

func (AseV3NetworkingConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AseV3NetworkingConfiguration.

func (*AseV3NetworkingConfiguration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AseV3NetworkingConfiguration.

type AseV3NetworkingConfigurationProperties

type AseV3NetworkingConfigurationProperties struct {
	// Property to enable and disable new private endpoint connection creation on ASE
	AllowNewPrivateEndpointConnections *bool

	// Property to enable and disable FTP on ASEV3
	FtpEnabled *bool

	// Customer provided Inbound IP Address. Only able to be set on Ase create.
	InboundIPAddressOverride *string

	// Property to enable and disable Remote Debug on ASEV3
	RemoteDebugEnabled *bool

	// READ-ONLY
	ExternalInboundIPAddresses []*string

	// READ-ONLY
	InternalInboundIPAddresses []*string

	// READ-ONLY
	LinuxOutboundIPAddresses []*string

	// READ-ONLY
	WindowsOutboundIPAddresses []*string
}

AseV3NetworkingConfigurationProperties - AseV3NetworkingConfiguration resource specific properties

func (AseV3NetworkingConfigurationProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AseV3NetworkingConfigurationProperties.

func (*AseV3NetworkingConfigurationProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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

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

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

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

func (AuthPlatform) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AuthPlatform.

func (*AuthPlatform) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AuthPlatform.

type AutoHealActionType

type AutoHealActionType string

AutoHealActionType - Predefined action to be taken.

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

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

	// Custom action to be taken.
	CustomAction *AutoHealCustomAction

	// Minimum time the process must execute before taking the action
	MinProcessExecutionTime *string
}

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

func (AutoHealActions) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AutoHealActions.

func (*AutoHealActions) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AutoHealActions.

type AutoHealCustomAction

type AutoHealCustomAction struct {
	// Executable to be run.
	Exe *string

	// Parameters for the executable.
	Parameters *string
}

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

func (AutoHealCustomAction) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AutoHealCustomAction.

func (*AutoHealCustomAction) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AutoHealCustomAction.

type AutoHealRules

type AutoHealRules struct {
	// Actions to be executed when a rule is triggered.
	Actions *AutoHealActions

	// Conditions that describe when to execute the auto-heal actions.
	Triggers *AutoHealTriggers
}

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

func (AutoHealRules) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AutoHealRules.

func (*AutoHealRules) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AutoHealRules.

type AutoHealTriggers

type AutoHealTriggers struct {
	// A rule based on private bytes.
	PrivateBytesInKB *int32

	// A rule based on total requests.
	Requests *RequestsBasedTrigger

	// A rule based on request execution time.
	SlowRequests *SlowRequestsBasedTrigger

	// A rule based on multiple Slow Requests Rule with path
	SlowRequestsWithPath []*SlowRequestsBasedTrigger

	// A rule based on status codes.
	StatusCodes []*StatusCodesBasedTrigger

	// A rule based on status codes ranges.
	StatusCodesRange []*StatusCodesRangeBasedTrigger
}

AutoHealTriggers - Triggers for auto-heal.

func (AutoHealTriggers) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AutoHealTriggers.

func (*AutoHealTriggers) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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

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

	// The configuration settings of the Azure Active Directory login flow.
	Login *AzureActiveDirectoryLogin

	// The configuration settings of the Azure Active Directory app registration.
	Registration *AzureActiveDirectoryRegistration

	// The configuration settings of the Azure Active Directory token validation flow.
	Validation *AzureActiveDirectoryValidation
}

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

func (AzureActiveDirectory) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureActiveDirectory.

func (*AzureActiveDirectory) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureActiveDirectory.

type AzureActiveDirectoryLogin

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

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

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.

func (*AzureActiveDirectoryLogin) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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

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

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

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

	// The app setting name that contains the client secret of the relying party application.
	ClientSecretSettingName *string

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

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

func (AzureActiveDirectoryRegistration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureActiveDirectoryRegistration.

func (*AzureActiveDirectoryRegistration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureActiveDirectoryRegistration.

type AzureActiveDirectoryValidation

type AzureActiveDirectoryValidation struct {
	// The list of audiences that can make successful authentication/authorization requests.
	AllowedAudiences []*string

	// The configuration settings of the default authorization policy.
	DefaultAuthorizationPolicy *DefaultAuthorizationPolicy

	// The configuration settings of the checks that should be made while validating the JWT Claims.
	JwtClaimChecks *JwtClaimChecks
}

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.

func (*AzureActiveDirectoryValidation) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureActiveDirectoryValidation.

type AzureBlobStorageApplicationLogsConfig

type AzureBlobStorageApplicationLogsConfig struct {
	// Log level.
	Level *LogLevel

	// Retention in days. Remove blobs older than X days. 0 or lower means no retention.
	RetentionInDays *int32

	// SAS url to a azure blob container with read/write/list/delete permissions.
	SasURL *string
}

AzureBlobStorageApplicationLogsConfig - Application logs azure blob storage configuration.

func (AzureBlobStorageApplicationLogsConfig) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureBlobStorageApplicationLogsConfig.

func (*AzureBlobStorageApplicationLogsConfig) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureBlobStorageApplicationLogsConfig.

type AzureBlobStorageHTTPLogsConfig

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

	// Retention in days. Remove blobs older than X days. 0 or lower means no retention.
	RetentionInDays *int32

	// SAS url to a azure blob container with read/write/list/delete permissions.
	SasURL *string
}

AzureBlobStorageHTTPLogsConfig - Http logs to azure blob storage configuration.

func (AzureBlobStorageHTTPLogsConfig) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureBlobStorageHTTPLogsConfig.

func (*AzureBlobStorageHTTPLogsConfig) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureBlobStorageHTTPLogsConfig.

type AzureResourceErrorInfo

type AzureResourceErrorInfo struct {
	// REQUIRED; The error code.
	Code *string

	// REQUIRED; The error message.
	Message *string

	// The error details.
	Details []*AzureResourceErrorInfo
}

AzureResourceErrorInfo - The azure resource error info.

func (AzureResourceErrorInfo) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureResourceErrorInfo.

func (*AzureResourceErrorInfo) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureResourceErrorInfo.

type AzureResourceType

type AzureResourceType string

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

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

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

	// The configuration settings of the Azure Static Web Apps registration.
	Registration *AzureStaticWebAppsRegistration
}

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

func (AzureStaticWebApps) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureStaticWebApps.

func (*AzureStaticWebApps) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureStaticWebApps.

type AzureStaticWebAppsRegistration

type AzureStaticWebAppsRegistration struct {
	// The Client ID of the app used for login.
	ClientID *string
}

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

func (AzureStaticWebAppsRegistration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureStaticWebAppsRegistration.

func (*AzureStaticWebAppsRegistration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureStaticWebAppsRegistration.

type AzureStorageInfoValue

type AzureStorageInfoValue struct {
	// Access key for the storage account.
	AccessKey *string

	// Name of the storage account.
	AccountName *string

	// Path to mount the storage within the site's runtime environment.
	MountPath *string

	// Name of the file share (container name, for Blob storage).
	ShareName *string

	// Type of storage.
	Type *AzureStorageType

	// READ-ONLY; State of the storage account.
	State *AzureStorageState
}

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

func (AzureStorageInfoValue) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureStorageInfoValue.

func (*AzureStorageInfoValue) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureStorageInfoValue.

type AzureStoragePropertyDictionaryResource

type AzureStoragePropertyDictionaryResource struct {
	// Kind of resource.
	Kind *string

	// Azure storage accounts.
	Properties map[string]*AzureStorageInfoValue

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

AzureStoragePropertyDictionaryResource - AzureStorageInfo dictionary resource.

func (AzureStoragePropertyDictionaryResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureStoragePropertyDictionaryResource.

func (*AzureStoragePropertyDictionaryResource) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureStoragePropertyDictionaryResource.

type AzureStorageState

type AzureStorageState string

AzureStorageState - State of the storage account.

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

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 (
	AzureStorageTypeAzureBlob  AzureStorageType = "AzureBlob"
	AzureStorageTypeAzureFiles AzureStorageType = "AzureFiles"
)

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

	// Log level.
	Level *LogLevel
}

AzureTableStorageApplicationLogsConfig - Application logs to Azure table storage configuration.

func (AzureTableStorageApplicationLogsConfig) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureTableStorageApplicationLogsConfig.

func (*AzureTableStorageApplicationLogsConfig) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type AzureTableStorageApplicationLogsConfig.

type BackupItem

type BackupItem struct {
	// Kind of resource.
	Kind *string

	// BackupItem resource specific properties
	Properties *BackupItemProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

BackupItem - Backup description.

func (BackupItem) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BackupItem.

func (*BackupItem) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BackupItem.

type BackupItemCollection

type BackupItemCollection struct {
	// REQUIRED; Collection of resources.
	Value []*BackupItem

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

BackupItemCollection - Collection of backup items.

func (BackupItemCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BackupItemCollection.

func (*BackupItemCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BackupItemCollection.

type BackupItemProperties

type BackupItemProperties struct {
	// READ-ONLY; Id of the backup.
	BackupID *int32

	// READ-ONLY; Name of the blob which contains data for this backup.
	BlobName *string

	// READ-ONLY; Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
	CorrelationID *string

	// READ-ONLY; Timestamp of the backup creation.
	Created *time.Time

	// READ-ONLY; List of databases included in the backup.
	Databases []*DatabaseBackupSetting

	// READ-ONLY; Timestamp when this backup finished.
	FinishedTimeStamp *time.Time

	// READ-ONLY; Timestamp of a last restore operation which used this backup.
	LastRestoreTimeStamp *time.Time

	// READ-ONLY; Details regarding this backup. Might contain an error message.
	Log *string

	// READ-ONLY; Name of this backup.
	Name *string

	// READ-ONLY; True if this backup has been created due to a schedule being triggered.
	Scheduled *bool

	// READ-ONLY; Size of the backup in bytes.
	SizeInBytes *int64

	// READ-ONLY; Backup status.
	Status *BackupItemStatus

	// READ-ONLY; SAS URL for the storage account container which contains this backup.
	StorageAccountURL *string

	// READ-ONLY; Size of the original web app which has been backed up.
	WebsiteSizeInBytes *int64
}

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 (
	BackupItemStatusCreated            BackupItemStatus = "Created"
	BackupItemStatusDeleteFailed       BackupItemStatus = "DeleteFailed"
	BackupItemStatusDeleteInProgress   BackupItemStatus = "DeleteInProgress"
	BackupItemStatusDeleted            BackupItemStatus = "Deleted"
	BackupItemStatusFailed             BackupItemStatus = "Failed"
	BackupItemStatusInProgress         BackupItemStatus = "InProgress"
	BackupItemStatusPartiallySucceeded BackupItemStatus = "PartiallySucceeded"
	BackupItemStatusSkipped            BackupItemStatus = "Skipped"
	BackupItemStatusSucceeded          BackupItemStatus = "Succeeded"
	BackupItemStatusTimedOut           BackupItemStatus = "TimedOut"
)

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

	// BackupRequest resource specific properties
	Properties *BackupRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

BackupRequest - Description of a backup which will be performed.

func (BackupRequest) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BackupRequest.

func (*BackupRequest) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BackupRequest.

type BackupRequestProperties

type BackupRequestProperties struct {
	// REQUIRED; SAS URL to the container.
	StorageAccountURL *string

	// Name of the backup.
	BackupName *string

	// Schedule for the backup if it is executed periodically.
	BackupSchedule *BackupSchedule

	// Databases included in the backup.
	Databases []*DatabaseBackupSetting

	// True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
	Enabled *bool
}

BackupRequestProperties - BackupRequest resource specific properties

func (BackupRequestProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BackupRequestProperties.

func (*BackupRequestProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BackupRequestProperties.

type BackupRestoreOperationType

type BackupRestoreOperationType string

BackupRestoreOperationType - Operation type.

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

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

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

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

	// REQUIRED; After how many days backups should be deleted.
	RetentionPeriodInDays *int32

	// When the schedule should start working.
	StartTime *time.Time

	// READ-ONLY; Last time when this schedule was triggered.
	LastExecutionTime *time.Time
}

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 BasicAuthName added in v2.1.0

type BasicAuthName string
const (
	BasicAuthNameDefault BasicAuthName = "default"
)

func PossibleBasicAuthNameValues added in v2.1.0

func PossibleBasicAuthNameValues() []BasicAuthName

PossibleBasicAuthNameValues returns the possible values for the BasicAuthName const type.

type BillingMeter

type BillingMeter struct {
	// Kind of resource.
	Kind *string

	// BillingMeter resource specific properties
	Properties *BillingMeterProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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

func (BillingMeter) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BillingMeter.

func (*BillingMeter) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BillingMeter.

type BillingMeterCollection

type BillingMeterCollection struct {
	// REQUIRED; Collection of resources.
	Value []*BillingMeter

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

BillingMeterCollection - Collection of Billing Meters

func (BillingMeterCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BillingMeterCollection.

func (*BillingMeterCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BillingMeterCollection.

type BillingMeterProperties

type BillingMeterProperties struct {
	// Azure Location of billable resource
	BillingLocation *string

	// Friendly name of the meter
	FriendlyName *string

	// Meter GUID onboarded in Commerce
	MeterID *string

	// Meter Multiplier
	Multiplier *float64

	// App Service OS type meter used for
	OSType *string

	// App Service ResourceType meter used for
	ResourceType *string

	// Short Name from App Service Azure pricing Page
	ShortName *string
}

BillingMeterProperties - BillingMeter resource specific properties

func (BillingMeterProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BillingMeterProperties.

func (*BillingMeterProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BillingMeterProperties.

type BlobStorageTokenStore

type BlobStorageTokenStore struct {
	// The name of the app setting containing the SAS URL of the blob storage containing the tokens.
	SasURLSettingName *string
}

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

func (BlobStorageTokenStore) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BlobStorageTokenStore.

func (*BlobStorageTokenStore) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type BlobStorageTokenStore.

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"
	BuiltInAuthenticationProviderGithub               BuiltInAuthenticationProvider = "Github"
	BuiltInAuthenticationProviderGoogle               BuiltInAuthenticationProvider = "Google"
	BuiltInAuthenticationProviderMicrosoftAccount     BuiltInAuthenticationProvider = "MicrosoftAccount"
	BuiltInAuthenticationProviderTwitter              BuiltInAuthenticationProvider = "Twitter"
)

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

	// Reason of the SKU capability.
	Reason *string

	// Value of the SKU capability.
	Value *string
}

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

func (Capability) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Capability.

func (*Capability) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Capability.

type Certificate

type Certificate struct {
	// Key Vault resource Id.
	KeyVaultID *string

	// Key Vault secret name.
	KeyVaultSecretName *string

	// READ-ONLY; Status of the Key Vault secret.
	ProvisioningState *KeyVaultSecretStatus
}

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

func (Certificate) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Certificate.

func (*Certificate) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Certificate.

type CertificateCollection

type CertificateCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CertificateResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

CertificateCollection - Collection of certificate order certificates.

func (CertificateCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateCollection.

func (*CertificateCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateCollection.

type CertificateDetails

type CertificateDetails struct {
	// READ-ONLY; Certificate Issuer.
	Issuer *string

	// READ-ONLY; Date Certificate is valid to.
	NotAfter *time.Time

	// READ-ONLY; Date Certificate is valid from.
	NotBefore *time.Time

	// READ-ONLY; Raw certificate data.
	RawData *string

	// READ-ONLY; Certificate Serial Number.
	SerialNumber *string

	// READ-ONLY; Certificate Signature algorithm.
	SignatureAlgorithm *string

	// READ-ONLY; Certificate Subject.
	Subject *string

	// READ-ONLY; Certificate Thumbprint.
	Thumbprint *string

	// READ-ONLY; Certificate Version.
	Version *int32
}

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 {
	// Email id.
	EmailID *string

	// Time stamp.
	TimeStamp *time.Time
}

CertificateEmail - SSL certificate email.

func (CertificateEmail) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateEmail.

func (*CertificateEmail) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateEmail.

type CertificateOrder

type CertificateOrder struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// AppServiceCertificateOrder resource specific properties
	Properties *CertificateOrderProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

CertificateOrder - SSL certificate purchase order.

func (CertificateOrder) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrder.

func (*CertificateOrder) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrder.

type CertificateOrderAction

type CertificateOrderAction struct {
	// READ-ONLY; Action type.
	ActionType *CertificateOrderActionType

	// READ-ONLY; Time at which the certificate action was performed.
	CreatedAt *time.Time
}

CertificateOrderAction - Certificate order action.

func (CertificateOrderAction) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderAction.

func (*CertificateOrderAction) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderAction.

type CertificateOrderActionType

type CertificateOrderActionType string

CertificateOrderActionType - Action type.

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

func PossibleCertificateOrderActionTypeValues

func PossibleCertificateOrderActionTypeValues() []CertificateOrderActionType

PossibleCertificateOrderActionTypeValues returns the possible values for the CertificateOrderActionType const type.

type CertificateOrderCollection

type CertificateOrderCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CertificateOrder

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

CertificateOrderCollection - Collection of certificate orders.

func (CertificateOrderCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderCollection.

func (*CertificateOrderCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderCollection.

type CertificateOrderContact

type CertificateOrderContact struct {
	Email     *string
	NameFirst *string
	NameLast  *string
	Phone     *string
}

func (CertificateOrderContact) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderContact.

func (*CertificateOrderContact) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderContact.

type CertificateOrderPatchResource

type CertificateOrderPatchResource struct {
	// Kind of resource.
	Kind *string

	// AppServiceCertificateOrderPatchResource resource specific properties
	Properties *CertificateOrderPatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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

func (CertificateOrderPatchResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderPatchResource.

func (*CertificateOrderPatchResource) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderPatchResource.

type CertificateOrderPatchResourceProperties

type CertificateOrderPatchResourceProperties struct {
	// REQUIRED; Certificate product type.
	ProductType *CertificateProductType

	// true if the certificate should be automatically renewed when it expires; otherwise, false.
	AutoRenew *bool

	// State of the Key Vault secret.
	Certificates map[string]*Certificate

	// Last CSR that was created for this order.
	Csr *string

	// Certificate distinguished name.
	DistinguishedName *string

	// Certificate key size.
	KeySize *int32

	// Duration in years (must be 1).
	ValidityInYears *int32

	// READ-ONLY; Reasons why App Service Certificate is not renewable at the current moment.
	AppServiceCertificateNotRenewableReasons []*ResourceNotRenewableReason

	// READ-ONLY; Contact info
	Contact *CertificateOrderContact

	// READ-ONLY; Domain verification token.
	DomainVerificationToken *string

	// READ-ONLY; Certificate expiration time.
	ExpirationTime *time.Time

	// READ-ONLY; Intermediate certificate.
	Intermediate *CertificateDetails

	// READ-ONLY; true if private key is external; otherwise, false.
	IsPrivateKeyExternal *bool

	// READ-ONLY; Certificate last issuance time.
	LastCertificateIssuanceTime *time.Time

	// READ-ONLY; Time stamp when the certificate would be auto renewed next
	NextAutoRenewalTimeStamp *time.Time

	// READ-ONLY; Status of certificate order.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Root certificate.
	Root *CertificateDetails

	// READ-ONLY; Current serial number of the certificate.
	SerialNumber *string

	// READ-ONLY; Signed certificate.
	SignedCertificate *CertificateDetails

	// READ-ONLY; Current order status.
	Status *CertificateOrderStatus
}

CertificateOrderPatchResourceProperties - AppServiceCertificateOrderPatchResource resource specific properties

func (CertificateOrderPatchResourceProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderPatchResourceProperties.

func (*CertificateOrderPatchResourceProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CertificateOrderPatchResourceProperties.

type CertificateOrderProperties

type CertificateOrderProperties struct {
	// REQUIRED; Certificate product type.
	ProductType *CertificateProductType

	// true if the certificate should be automatically renewed when it expires; otherwise, false.
	AutoRenew *bool

	// State of the Key Vault secret.
	Certificates map[string]*Certificate

	// Last CSR that was created for this order.
	Csr *string

	// Certificate distinguished name.
	DistinguishedName *string

	// Certificate key size.
	KeySize *int32

	// Duration in years (must be 1).
	ValidityInYears *int32

	// READ-ONLY; Reasons why App Service Certificate is not renewable at the current moment.
	AppServiceCertificateNotRenewableReasons []*ResourceNotRenewableReason

	// READ-ONLY; Contact info
	Contact *CertificateOrderContact

	// READ-ONLY; Domain verification token.
	DomainVerificationToken *string

	// READ-ONLY; Certificate expiration time.
	ExpirationTime *time.Time

	// READ-ONLY; Intermediate certificate.
	Intermediate *CertificateDetails

	// READ-ONLY; true if private key is external; otherwise, false.
	IsPrivateKeyExternal *bool

	// READ-ONLY; Certificate last issuance time.
	LastCertificateIssuanceTime *time.Time

	// READ-ONLY; Time stamp when the certificate would be auto renewed next
	NextAutoRenewalTimeStamp *time.Time

	// READ-ONLY; Status of certificate order.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Root certificate.
	Root *CertificateDetails

	// READ-ONLY; Current serial number of the certificate.
	SerialNumber *string

	// READ-ONLY; Signed certificate.
	SignedCertificate *CertificateDetails

	// READ-ONLY; Current order status.
	Status *CertificateOrderStatus
}

CertificateOrderProperties - AppServiceCertificateOrder resource specific properties

func (CertificateOrderProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateOrderProperties.

func (*CertificateOrderProperties) UnmarshalJSON

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 (
	CertificateOrderStatusCanceled          CertificateOrderStatus = "Canceled"
	CertificateOrderStatusDenied            CertificateOrderStatus = "Denied"
	CertificateOrderStatusExpired           CertificateOrderStatus = "Expired"
	CertificateOrderStatusIssued            CertificateOrderStatus = "Issued"
	CertificateOrderStatusNotSubmitted      CertificateOrderStatus = "NotSubmitted"
	CertificateOrderStatusPendingRekey      CertificateOrderStatus = "PendingRekey"
	CertificateOrderStatusPendingissuance   CertificateOrderStatus = "Pendingissuance"
	CertificateOrderStatusPendingrevocation CertificateOrderStatus = "Pendingrevocation"
	CertificateOrderStatusRevoked           CertificateOrderStatus = "Revoked"
	CertificateOrderStatusUnused            CertificateOrderStatus = "Unused"
)

func PossibleCertificateOrderStatusValues

func PossibleCertificateOrderStatusValues() []CertificateOrderStatus

PossibleCertificateOrderStatusValues returns the possible values for the CertificateOrderStatus const type.

type CertificateOrdersClient

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

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

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

BeginCreateOrUpdate - Description for Create or update a certificate purchase order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/CreateAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewCertificateOrdersClient().BeginCreateOrUpdate(ctx, "testrg123", "SampleCertificateOrderName", armappservice.CertificateOrder{
	Location: to.Ptr("Global"),
	Properties: &armappservice.CertificateOrderProperties{
		AutoRenew: to.Ptr(true),
		Certificates: map[string]*armappservice.Certificate{
			"SampleCertName1": {
				KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
				KeyVaultSecretName: to.Ptr("SampleSecretName1"),
			},
			"SampleCertName2": {
				KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
				KeyVaultSecretName: to.Ptr("SampleSecretName2"),
			},
		},
		DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
		KeySize:           to.Ptr[int32](2048),
		ProductType:       to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
		ValidityInYears:   to.Ptr[int32](2),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateOrder = armappservice.CertificateOrder{
// 	Name: to.Ptr("SampleCertificateOrderName"),
// 	Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName"),
// 	Location: to.Ptr("Global"),
// 	Properties: &armappservice.CertificateOrderProperties{
// 		AppServiceCertificateNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 			to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 			AutoRenew: to.Ptr(true),
// 			Certificates: map[string]*armappservice.Certificate{
// 				"SampleCertName1": &armappservice.Certificate{
// 					KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 					KeyVaultSecretName: to.Ptr("SampleSecretName1"),
// 					ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 				},
// 				"SampleCertName2": &armappservice.Certificate{
// 					KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 					KeyVaultSecretName: to.Ptr("SampleSecretName2"),
// 					ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 				},
// 			},
// 			Contact: &armappservice.CertificateOrderContact{
// 				Email: to.Ptr("contact@email.com"),
// 				NameFirst: to.Ptr("SampleFirstName"),
// 				NameLast: to.Ptr("SampleLastName"),
// 				Phone: to.Ptr("1-224-550-332"),
// 			},
// 			Csr: to.Ptr("xdf!x|"),
// 			DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
// 			DomainVerificationToken: to.Ptr("awe4163Br6d32r"),
// 			ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 			Intermediate: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("k45kad0024"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=IntermediateCertSubjectName"),
// 				Thumbprint: to.Ptr("RF3D7411A44163B6D32B3343559B03E175886EBFE"),
// 				Version: to.Ptr[int32](5589220),
// 			},
// 			IsPrivateKeyExternal: to.Ptr(false),
// 			KeySize: to.Ptr[int32](2048),
// 			LastCertificateIssuanceTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// 			NextAutoRenewalTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 			ProductType: to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
// 			ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 			Root: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("jkskd890ajdd00124"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=RootCertSubjectName"),
// 				Thumbprint: to.Ptr("ZD3D7411A44163B6D32B3343559B03E175886EBFE"),
// 				Version: to.Ptr[int32](3430921),
// 			},
// 			SerialNumber: to.Ptr("12324325325"),
// 			SignedCertificate: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("sds12424k"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=CertSubjectName"),
// 				Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
// 				Version: to.Ptr[int32](1232490),
// 			},
// 			Status: to.Ptr(armappservice.CertificateOrderStatusIssued),
// 			ValidityInYears: to.Ptr[int32](2),
// 		},
// 	}
Output:

func (*CertificateOrdersClient) BeginCreateOrUpdateCertificate

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

BeginCreateOrUpdateCertificate - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/CreateAppServiceCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewCertificateOrdersClient().BeginCreateOrUpdateCertificate(ctx, "testrg123", "SampleCertificateOrderName", "SampleCertName1", armappservice.CertificateResource{
	Location: to.Ptr("Global"),
	Properties: &armappservice.Certificate{
		KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
		KeyVaultSecretName: to.Ptr("SampleSecretName1"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateResource = armappservice.CertificateResource{
// 	Name: to.Ptr("SampleCertName1"),
// 	Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/certificates/SampleCertName1"),
// 	Location: to.Ptr("Global"),
// 	Properties: &armappservice.Certificate{
// 		KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 		KeyVaultSecretName: to.Ptr("SampleSecretName1"),
// 		ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 	},
// }
Output:

func (*CertificateOrdersClient) Delete

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

Delete - Description for Delete an existing certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/DeleteAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().Delete(ctx, "testrg123", "SampleCertificateOrderName", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) DeleteCertificate

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

DeleteCertificate - Description for Delete the certificate associated with a certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/DeleteAppServiceCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().DeleteCertificate(ctx, "testrg123", "SampleCertificateOrderName", "SampleCertName1", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) Get

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

Get - Description for Get a certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/GetAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().Get(ctx, "testrg123", "SampleCertificateOrderName", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateOrder = armappservice.CertificateOrder{
// 	Name: to.Ptr("SampleCertificateOrderName"),
// 	Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName"),
// 	Location: to.Ptr("Global"),
// 	Properties: &armappservice.CertificateOrderProperties{
// 		AppServiceCertificateNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 			to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 			AutoRenew: to.Ptr(true),
// 			Certificates: map[string]*armappservice.Certificate{
// 				"SampleCertName1": &armappservice.Certificate{
// 					KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 					KeyVaultSecretName: to.Ptr("SampleSecretName1"),
// 					ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 				},
// 				"SampleCertName2": &armappservice.Certificate{
// 					KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 					KeyVaultSecretName: to.Ptr("SampleSecretName2"),
// 					ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 				},
// 			},
// 			Contact: &armappservice.CertificateOrderContact{
// 				Email: to.Ptr("contact@email.com"),
// 				NameFirst: to.Ptr("SampleFirstName"),
// 				NameLast: to.Ptr("SampleLastName"),
// 				Phone: to.Ptr("1-224-550-332"),
// 			},
// 			Csr: to.Ptr("xdf!x|"),
// 			DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
// 			DomainVerificationToken: to.Ptr("awe4163Br6d32r"),
// 			ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 			Intermediate: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("k45kad0024"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=IntermediateCertSubjectName"),
// 				Thumbprint: to.Ptr("RF3D7411A44163B6D32B3343559B03E175886EBFE"),
// 				Version: to.Ptr[int32](5589220),
// 			},
// 			IsPrivateKeyExternal: to.Ptr(false),
// 			KeySize: to.Ptr[int32](2048),
// 			LastCertificateIssuanceTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// 			NextAutoRenewalTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 			ProductType: to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
// 			ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 			Root: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("jkskd890ajdd00124"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=RootCertSubjectName"),
// 				Thumbprint: to.Ptr("ZD3D7411A44163B6D32B3343559B03E175886EBFE"),
// 				Version: to.Ptr[int32](3430921),
// 			},
// 			SerialNumber: to.Ptr("12324325325"),
// 			SignedCertificate: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("sds12424k"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=CertSubjectName"),
// 				Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
// 				Version: to.Ptr[int32](1232490),
// 			},
// 			Status: to.Ptr(armappservice.CertificateOrderStatusIssued),
// 			ValidityInYears: to.Ptr[int32](2),
// 		},
// 	}
Output:

func (*CertificateOrdersClient) GetCertificate

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

GetCertificate - Description for Get the certificate associated with a certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/GetAppServiceCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().GetCertificate(ctx, "testrg123", "SampleCertificateOrderName", "SampleCertName1", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateResource = armappservice.CertificateResource{
// 	Name: to.Ptr("SampleCertName1"),
// 	Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/certificates/SampleCertName1"),
// 	Location: to.Ptr("Global"),
// 	Properties: &armappservice.Certificate{
// 		KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 		KeyVaultSecretName: to.Ptr("SampleSecretName1"),
// 		ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 	},
// }
Output:

func (*CertificateOrdersClient) NewListByResourceGroupPager

NewListByResourceGroupPager - Description for Get certificate orders in a resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - CertificateOrdersClientListByResourceGroupOptions contains the optional parameters for the CertificateOrdersClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ListAppServiceCertificateOrdersByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificateOrdersClient().NewListByResourceGroupPager("testrg123", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CertificateOrderCollection = armappservice.CertificateOrderCollection{
	// 	Value: []*armappservice.CertificateOrder{
	// 		{
	// 			Name: to.Ptr("SampleCertificateOrderName"),
	// 			Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName"),
	// 			Location: to.Ptr("Global"),
	// 			Properties: &armappservice.CertificateOrderProperties{
	// 				AppServiceCertificateNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
	// 					to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
	// 					AutoRenew: to.Ptr(true),
	// 					Certificates: map[string]*armappservice.Certificate{
	// 						"SampleCertName1": &armappservice.Certificate{
	// 							KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
	// 							KeyVaultSecretName: to.Ptr("SampleSecretName1"),
	// 							ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
	// 						},
	// 						"SampleCertName2": &armappservice.Certificate{
	// 							KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
	// 							KeyVaultSecretName: to.Ptr("SampleSecretName2"),
	// 							ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
	// 						},
	// 					},
	// 					Contact: &armappservice.CertificateOrderContact{
	// 						Email: to.Ptr("contact@email.com"),
	// 						NameFirst: to.Ptr("SampleFirstName"),
	// 						NameLast: to.Ptr("SampleLastName"),
	// 						Phone: to.Ptr("1-224-550-332"),
	// 					},
	// 					Csr: to.Ptr("xdf!x|"),
	// 					DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
	// 					DomainVerificationToken: to.Ptr("awe4163Br6d32r"),
	// 					ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
	// 					Intermediate: &armappservice.CertificateDetails{
	// 						Issuer: to.Ptr("CACert"),
	// 						NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
	// 						NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
	// 						SerialNumber: to.Ptr("k45kad0024"),
	// 						SignatureAlgorithm: to.Ptr("SHA"),
	// 						Subject: to.Ptr("CN=IntermediateCertSubjectName"),
	// 						Thumbprint: to.Ptr("RF3D7411A44163B6D32B3343559B03E175886EBFE"),
	// 						Version: to.Ptr[int32](5589220),
	// 					},
	// 					IsPrivateKeyExternal: to.Ptr(false),
	// 					KeySize: to.Ptr[int32](2048),
	// 					LastCertificateIssuanceTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
	// 					NextAutoRenewalTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
	// 					ProductType: to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
	// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 					Root: &armappservice.CertificateDetails{
	// 						Issuer: to.Ptr("CACert"),
	// 						NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
	// 						NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
	// 						SerialNumber: to.Ptr("jkskd890ajdd00124"),
	// 						SignatureAlgorithm: to.Ptr("SHA"),
	// 						Subject: to.Ptr("CN=RootCertSubjectName"),
	// 						Thumbprint: to.Ptr("ZD3D7411A44163B6D32B3343559B03E175886EBFE"),
	// 						Version: to.Ptr[int32](3430921),
	// 					},
	// 					SerialNumber: to.Ptr("12324325325"),
	// 					SignedCertificate: &armappservice.CertificateDetails{
	// 						Issuer: to.Ptr("CACert"),
	// 						NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
	// 						NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
	// 						SerialNumber: to.Ptr("sds12424k"),
	// 						SignatureAlgorithm: to.Ptr("SHA"),
	// 						Subject: to.Ptr("CN=CertSubjectName"),
	// 						Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
	// 						Version: to.Ptr[int32](123249),
	// 					},
	// 					Status: to.Ptr(armappservice.CertificateOrderStatusIssued),
	// 					ValidityInYears: to.Ptr[int32](2),
	// 				},
	// 		}},
	// 	}
}
Output:

func (*CertificateOrdersClient) NewListCertificatesPager

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

NewListCertificatesPager - Description for List all certificates associated with a certificate order.

Generated from API version 2023-01-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.NewListCertificatesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ListCertificatesByAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificateOrdersClient().NewListCertificatesPager("testrg123", "SampleCertificateOrderName", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CertificateCollection = armappservice.CertificateCollection{
	// 	Value: []*armappservice.CertificateResource{
	// 		{
	// 			Name: to.Ptr("SampleCertName1"),
	// 			Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/certificates/SampleCertName1"),
	// 			Location: to.Ptr("Global"),
	// 			Properties: &armappservice.Certificate{
	// 				KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
	// 				KeyVaultSecretName: to.Ptr("SampleSecretName1"),
	// 				ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("SampleCertName2"),
	// 			Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/certificates/SampleCertName2"),
	// 			Location: to.Ptr("Global"),
	// 			Properties: &armappservice.Certificate{
	// 				KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
	// 				KeyVaultSecretName: to.Ptr("SampleCertName2"),
	// 				ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
	// 			},
	// 	}},
	// }
}
Output:

func (*CertificateOrdersClient) NewListPager

NewListPager - Description for List all certificate orders in a subscription.

Generated from API version 2023-01-01

  • options - CertificateOrdersClientListOptions contains the optional parameters for the CertificateOrdersClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ListAppServiceCertificateOrdersBySubscription.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificateOrdersClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CertificateOrderCollection = armappservice.CertificateOrderCollection{
	// 	Value: []*armappservice.CertificateOrder{
	// 		{
	// 			Name: to.Ptr("SampleCertificateOrderName"),
	// 			Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName"),
	// 			Location: to.Ptr("Global"),
	// 			Properties: &armappservice.CertificateOrderProperties{
	// 				AppServiceCertificateNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
	// 					to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
	// 					AutoRenew: to.Ptr(true),
	// 					Certificates: map[string]*armappservice.Certificate{
	// 						"SampleCertName1": &armappservice.Certificate{
	// 							KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
	// 							KeyVaultSecretName: to.Ptr("SampleSecretName1"),
	// 							ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
	// 						},
	// 						"SampleCertName2": &armappservice.Certificate{
	// 							KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
	// 							KeyVaultSecretName: to.Ptr("SampleSecretName2"),
	// 							ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
	// 						},
	// 					},
	// 					Contact: &armappservice.CertificateOrderContact{
	// 						Email: to.Ptr("contact@email.com"),
	// 						NameFirst: to.Ptr("SampleFirstName"),
	// 						NameLast: to.Ptr("SampleLastName"),
	// 						Phone: to.Ptr("1-224-550-332"),
	// 					},
	// 					Csr: to.Ptr("xdf!x|"),
	// 					DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
	// 					DomainVerificationToken: to.Ptr("awe4163Br6d32r"),
	// 					ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
	// 					Intermediate: &armappservice.CertificateDetails{
	// 						Issuer: to.Ptr("CACert"),
	// 						NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
	// 						NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
	// 						SerialNumber: to.Ptr("k45kad0024"),
	// 						SignatureAlgorithm: to.Ptr("SHA"),
	// 						Subject: to.Ptr("CN=IntermediateCertSubjectName"),
	// 						Thumbprint: to.Ptr("RF3D7411A44163B6D32B3343559B03E175886EBFE"),
	// 						Version: to.Ptr[int32](5589220),
	// 					},
	// 					IsPrivateKeyExternal: to.Ptr(false),
	// 					KeySize: to.Ptr[int32](2048),
	// 					LastCertificateIssuanceTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
	// 					NextAutoRenewalTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
	// 					ProductType: to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
	// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 					Root: &armappservice.CertificateDetails{
	// 						Issuer: to.Ptr("CACert"),
	// 						NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
	// 						NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
	// 						SerialNumber: to.Ptr("jkskd890ajdd00124"),
	// 						SignatureAlgorithm: to.Ptr("SHA"),
	// 						Subject: to.Ptr("CN=RootCertSubjectName"),
	// 						Thumbprint: to.Ptr("ZD3D7411A44163B6D32B3343559B03E175886EBFE"),
	// 						Version: to.Ptr[int32](3430921),
	// 					},
	// 					SerialNumber: to.Ptr("12324325325"),
	// 					SignedCertificate: &armappservice.CertificateDetails{
	// 						Issuer: to.Ptr("CACert"),
	// 						NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
	// 						NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
	// 						SerialNumber: to.Ptr("sds12424k"),
	// 						SignatureAlgorithm: to.Ptr("SHA"),
	// 						Subject: to.Ptr("CN=CertSubjectName"),
	// 						Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
	// 						Version: to.Ptr[int32](1232490),
	// 					},
	// 					Status: to.Ptr(armappservice.CertificateOrderStatusIssued),
	// 					ValidityInYears: to.Ptr[int32](2),
	// 				},
	// 		}},
	// 	}
}
Output:

func (*CertificateOrdersClient) Reissue

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

Reissue - Description for Reissue an existing certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ReissueAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().Reissue(ctx, "testrg123", "SampleCertificateOrderName", armappservice.ReissueCertificateOrderRequest{
	Properties: &armappservice.ReissueCertificateOrderRequestProperties{
		Csr:                        to.Ptr("CSR1223238Value"),
		DelayExistingRevokeInHours: to.Ptr[int32](2),
		IsPrivateKeyExternal:       to.Ptr(false),
		KeySize:                    to.Ptr[int32](2048),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) Renew

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

Renew - Description for Renew an existing certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/RenewAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().Renew(ctx, "testrg123", "SampleCertificateOrderName", armappservice.RenewCertificateOrderRequest{
	Properties: &armappservice.RenewCertificateOrderRequestProperties{
		Csr:                  to.Ptr("CSR1223238Value"),
		IsPrivateKeyExternal: to.Ptr(false),
		KeySize:              to.Ptr[int32](2048),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) ResendEmail

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

ResendEmail - Description for Resend certificate email. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ResendAppServiceCertificateOrderEmail.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().ResendEmail(ctx, "testrg123", "SampleCertificateOrderName", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) ResendRequestEmails

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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ResendDomainOwnershipVerificationEmail.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().ResendRequestEmails(ctx, "testrg123", "SampleCertificateOrderName", armappservice.NameIdentifier{
	Name: to.Ptr("Domain name"),
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) RetrieveCertificateActions

RetrieveCertificateActions - Description for Retrieve the list of certificate actions. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/RetrieveCertificateOrderActions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().RetrieveCertificateActions(ctx, "testrg123", "SampleCertOrder", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateOrderActionArray = []*armappservice.CertificateOrderAction{
// 	{
// 		ActionType: to.Ptr(armappservice.CertificateOrderActionTypeFraudDetected),
// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 	},
// 	{
// 		ActionType: to.Ptr(armappservice.CertificateOrderActionTypeCertificateRevoked),
// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 	},
// 	{
// 		ActionType: to.Ptr(armappservice.CertificateOrderActionTypeCertificateIssued),
// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// }}
Output:

func (*CertificateOrdersClient) RetrieveCertificateEmailHistory

RetrieveCertificateEmailHistory - Description for Retrieve email history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/RetrieveCertificateEmailHistory.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().RetrieveCertificateEmailHistory(ctx, "testrg123", "SampleCertOrder", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateEmailArray = []*armappservice.CertificateEmail{
// 	{
// 		EmailID: to.Ptr("customer@email.com"),
// 		TimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 	},
// 	{
// 		EmailID: to.Ptr("customer@email.com"),
// 		TimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// }}
Output:

func (*CertificateOrdersClient) RetrieveSiteSeal

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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/RetrieveSiteSeal.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().RetrieveSiteSeal(ctx, "testrg123", "SampleCertOrder", armappservice.SiteSealRequest{
	LightTheme: to.Ptr(true),
	Locale:     to.Ptr("en-us"),
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteSeal = armappservice.SiteSeal{
// 	HTML: to.Ptr("<html>SiteSeal</html>"),
// }
Output:

func (*CertificateOrdersClient) Update

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

Update - Description for Create or update a certificate purchase order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/UpdateAppServiceCertificateOrder.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().Update(ctx, "testrg123", "SampleCertificateOrderName", armappservice.CertificateOrderPatchResource{
	Properties: &armappservice.CertificateOrderPatchResourceProperties{
		AutoRenew: to.Ptr(true),
		Certificates: map[string]*armappservice.Certificate{
			"SampleCertName1": {
				KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
				KeyVaultSecretName: to.Ptr("SampleSecretName1"),
			},
			"SampleCertName2": {
				KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
				KeyVaultSecretName: to.Ptr("SampleSecretName2"),
			},
		},
		DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
		KeySize:           to.Ptr[int32](2048),
		ProductType:       to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
		ValidityInYears:   to.Ptr[int32](2),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateOrder = armappservice.CertificateOrder{
// 	Name: to.Ptr("SampleCertificateOrderName"),
// 	Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName"),
// 	Location: to.Ptr("Global"),
// 	Properties: &armappservice.CertificateOrderProperties{
// 		AppServiceCertificateNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 			to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 			AutoRenew: to.Ptr(true),
// 			Certificates: map[string]*armappservice.Certificate{
// 				"SampleCertName1": &armappservice.Certificate{
// 					KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 					KeyVaultSecretName: to.Ptr("SampleSecretName1"),
// 					ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 				},
// 				"SampleCertName2": &armappservice.Certificate{
// 					KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 					KeyVaultSecretName: to.Ptr("SampleSecretName2"),
// 					ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 				},
// 			},
// 			Contact: &armappservice.CertificateOrderContact{
// 				Email: to.Ptr("contact@email.com"),
// 				NameFirst: to.Ptr("SampleFirstName"),
// 				NameLast: to.Ptr("SampleLastName"),
// 				Phone: to.Ptr("1-224-550-332"),
// 			},
// 			Csr: to.Ptr("xdf!x|"),
// 			DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
// 			DomainVerificationToken: to.Ptr("awe4163Br6d32r"),
// 			ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 			Intermediate: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("k45kad0024"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=IntermediateCertSubjectName"),
// 				Thumbprint: to.Ptr("RF3D7411A44163B6D32B3343559B03E175886EBFE"),
// 				Version: to.Ptr[int32](5589220),
// 			},
// 			IsPrivateKeyExternal: to.Ptr(false),
// 			KeySize: to.Ptr[int32](2048),
// 			LastCertificateIssuanceTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// 			NextAutoRenewalTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 			ProductType: to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
// 			ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 			Root: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("jkskd890ajdd00124"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=RootCertSubjectName"),
// 				Thumbprint: to.Ptr("ZD3D7411A44163B6D32B3343559B03E175886EBFE"),
// 				Version: to.Ptr[int32](3430921),
// 			},
// 			SerialNumber: to.Ptr("12324325325"),
// 			SignedCertificate: &armappservice.CertificateDetails{
// 				Issuer: to.Ptr("CACert"),
// 				NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-12T23:40:25.000Z"); return t}()),
// 				NotBefore: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-12T23:40:25.000Z"); return t}()),
// 				SerialNumber: to.Ptr("sds12424k"),
// 				SignatureAlgorithm: to.Ptr("SHA"),
// 				Subject: to.Ptr("CN=CertSubjectName"),
// 				Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
// 				Version: to.Ptr[int32](1232490),
// 			},
// 			Status: to.Ptr(armappservice.CertificateOrderStatusIssued),
// 			ValidityInYears: to.Ptr[int32](2),
// 		},
// 	}
Output:

func (*CertificateOrdersClient) UpdateCertificate

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

UpdateCertificate - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/UpdateAppServiceCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersClient().UpdateCertificate(ctx, "testrg123", "SampleCertificateOrderName", "SampleCertName1", armappservice.CertificatePatchResource{
	Properties: &armappservice.Certificate{
		KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
		KeyVaultSecretName: to.Ptr("SampleSecretName1"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CertificateResource = armappservice.CertificateResource{
// 	Name: to.Ptr("SampleCertName1"),
// 	Type: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/certificates/SampleCertName1"),
// 	Location: to.Ptr("Global"),
// 	Properties: &armappservice.Certificate{
// 		KeyVaultID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
// 		KeyVaultSecretName: to.Ptr("SampleSecretName1"),
// 		ProvisioningState: to.Ptr(armappservice.KeyVaultSecretStatusSucceeded),
// 	},
// }
Output:

func (*CertificateOrdersClient) ValidatePurchaseInformation

ValidatePurchaseInformation - Description for Validate information for a certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • appServiceCertificateOrder - Information for a certificate order.
  • options - CertificateOrdersClientValidatePurchaseInformationOptions contains the optional parameters for the CertificateOrdersClient.ValidatePurchaseInformation method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ValidateAppServiceCertificatePurchaseInformationBySubscription.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().ValidatePurchaseInformation(ctx, armappservice.CertificateOrder{
	Location: to.Ptr("Global"),
	Properties: &armappservice.CertificateOrderProperties{
		AutoRenew: to.Ptr(true),
		Certificates: map[string]*armappservice.Certificate{
			"SampleCertName1": {
				KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
				KeyVaultSecretName: to.Ptr("SampleSecretName1"),
			},
			"SampleCertName2": {
				KeyVaultID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
				KeyVaultSecretName: to.Ptr("SampleSecretName2"),
			},
		},
		DistinguishedName: to.Ptr("CN=SampleCustomDomain.com"),
		KeySize:           to.Ptr[int32](2048),
		ProductType:       to.Ptr(armappservice.CertificateProductTypeStandardDomainValidatedSSL),
		ValidityInYears:   to.Ptr[int32](2),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*CertificateOrdersClient) VerifyDomainOwnership

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

VerifyDomainOwnership - Description for Verify domain ownership for this certificate order. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/VerifyDomainOwnership.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificateOrdersClient().VerifyDomainOwnership(ctx, "testrg123", "SampleCertificateOrderName", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

type CertificateOrdersClientBeginCreateOrUpdateCertificateOptions

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

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

type CertificateOrdersClientBeginCreateOrUpdateOptions

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

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

type CertificateOrdersClientCreateOrUpdateCertificateResponse

type CertificateOrdersClientCreateOrUpdateCertificateResponse struct {
	// Key Vault container ARM resource for a certificate that is purchased through Azure.
	CertificateResource
}

CertificateOrdersClientCreateOrUpdateCertificateResponse contains the response from method CertificateOrdersClient.BeginCreateOrUpdateCertificate.

type CertificateOrdersClientCreateOrUpdateResponse

type CertificateOrdersClientCreateOrUpdateResponse struct {
	// SSL certificate purchase order.
	CertificateOrder
}

CertificateOrdersClientCreateOrUpdateResponse contains the response from method CertificateOrdersClient.BeginCreateOrUpdate.

type CertificateOrdersClientDeleteCertificateOptions

type CertificateOrdersClientDeleteCertificateOptions struct {
}

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

type CertificateOrdersClientDeleteCertificateResponse

type CertificateOrdersClientDeleteCertificateResponse struct {
}

CertificateOrdersClientDeleteCertificateResponse contains the response from method CertificateOrdersClient.DeleteCertificate.

type CertificateOrdersClientDeleteOptions

type CertificateOrdersClientDeleteOptions struct {
}

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

type CertificateOrdersClientDeleteResponse

type CertificateOrdersClientDeleteResponse struct {
}

CertificateOrdersClientDeleteResponse contains the response from method CertificateOrdersClient.Delete.

type CertificateOrdersClientGetCertificateOptions

type CertificateOrdersClientGetCertificateOptions struct {
}

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

type CertificateOrdersClientGetCertificateResponse

type CertificateOrdersClientGetCertificateResponse struct {
	// Key Vault container ARM resource for a certificate that is purchased through Azure.
	CertificateResource
}

CertificateOrdersClientGetCertificateResponse contains the response from method CertificateOrdersClient.GetCertificate.

type CertificateOrdersClientGetOptions

type CertificateOrdersClientGetOptions struct {
}

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

type CertificateOrdersClientGetResponse

type CertificateOrdersClientGetResponse struct {
	// SSL certificate purchase order.
	CertificateOrder
}

CertificateOrdersClientGetResponse contains the response from method CertificateOrdersClient.Get.

type CertificateOrdersClientListByResourceGroupOptions

type CertificateOrdersClientListByResourceGroupOptions struct {
}

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

type CertificateOrdersClientListByResourceGroupResponse

type CertificateOrdersClientListByResourceGroupResponse struct {
	// Collection of certificate orders.
	CertificateOrderCollection
}

CertificateOrdersClientListByResourceGroupResponse contains the response from method CertificateOrdersClient.NewListByResourceGroupPager.

type CertificateOrdersClientListCertificatesOptions

type CertificateOrdersClientListCertificatesOptions struct {
}

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

type CertificateOrdersClientListCertificatesResponse

type CertificateOrdersClientListCertificatesResponse struct {
	// Collection of certificate order certificates.
	CertificateCollection
}

CertificateOrdersClientListCertificatesResponse contains the response from method CertificateOrdersClient.NewListCertificatesPager.

type CertificateOrdersClientListOptions

type CertificateOrdersClientListOptions struct {
}

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

type CertificateOrdersClientListResponse

type CertificateOrdersClientListResponse struct {
	// Collection of certificate orders.
	CertificateOrderCollection
}

CertificateOrdersClientListResponse contains the response from method CertificateOrdersClient.NewListPager.

type CertificateOrdersClientReissueOptions

type CertificateOrdersClientReissueOptions struct {
}

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

type CertificateOrdersClientReissueResponse

type CertificateOrdersClientReissueResponse struct {
}

CertificateOrdersClientReissueResponse contains the response from method CertificateOrdersClient.Reissue.

type CertificateOrdersClientRenewOptions

type CertificateOrdersClientRenewOptions struct {
}

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

type CertificateOrdersClientRenewResponse

type CertificateOrdersClientRenewResponse struct {
}

CertificateOrdersClientRenewResponse contains the response from method CertificateOrdersClient.Renew.

type CertificateOrdersClientResendEmailOptions

type CertificateOrdersClientResendEmailOptions struct {
}

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

type CertificateOrdersClientResendEmailResponse

type CertificateOrdersClientResendEmailResponse struct {
}

CertificateOrdersClientResendEmailResponse contains the response from method CertificateOrdersClient.ResendEmail.

type CertificateOrdersClientResendRequestEmailsOptions

type CertificateOrdersClientResendRequestEmailsOptions struct {
}

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

type CertificateOrdersClientResendRequestEmailsResponse

type CertificateOrdersClientResendRequestEmailsResponse struct {
}

CertificateOrdersClientResendRequestEmailsResponse contains the response from method CertificateOrdersClient.ResendRequestEmails.

type CertificateOrdersClientRetrieveCertificateActionsOptions

type CertificateOrdersClientRetrieveCertificateActionsOptions struct {
}

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

type CertificateOrdersClientRetrieveCertificateActionsResponse

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

CertificateOrdersClientRetrieveCertificateActionsResponse contains the response from method CertificateOrdersClient.RetrieveCertificateActions.

type CertificateOrdersClientRetrieveCertificateEmailHistoryOptions

type CertificateOrdersClientRetrieveCertificateEmailHistoryOptions struct {
}

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

type CertificateOrdersClientRetrieveCertificateEmailHistoryResponse

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

CertificateOrdersClientRetrieveCertificateEmailHistoryResponse contains the response from method CertificateOrdersClient.RetrieveCertificateEmailHistory.

type CertificateOrdersClientRetrieveSiteSealOptions

type CertificateOrdersClientRetrieveSiteSealOptions struct {
}

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

type CertificateOrdersClientRetrieveSiteSealResponse

type CertificateOrdersClientRetrieveSiteSealResponse struct {
	// Site seal
	SiteSeal
}

CertificateOrdersClientRetrieveSiteSealResponse contains the response from method CertificateOrdersClient.RetrieveSiteSeal.

type CertificateOrdersClientUpdateCertificateOptions

type CertificateOrdersClientUpdateCertificateOptions struct {
}

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

type CertificateOrdersClientUpdateCertificateResponse

type CertificateOrdersClientUpdateCertificateResponse struct {
	// Key Vault container ARM resource for a certificate that is purchased through Azure.
	CertificateResource
}

CertificateOrdersClientUpdateCertificateResponse contains the response from method CertificateOrdersClient.UpdateCertificate.

type CertificateOrdersClientUpdateOptions

type CertificateOrdersClientUpdateOptions struct {
}

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

type CertificateOrdersClientUpdateResponse

type CertificateOrdersClientUpdateResponse struct {
	// SSL certificate purchase order.
	CertificateOrder
}

CertificateOrdersClientUpdateResponse contains the response from method CertificateOrdersClient.Update.

type CertificateOrdersClientValidatePurchaseInformationOptions

type CertificateOrdersClientValidatePurchaseInformationOptions struct {
}

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

type CertificateOrdersClientValidatePurchaseInformationResponse

type CertificateOrdersClientValidatePurchaseInformationResponse struct {
}

CertificateOrdersClientValidatePurchaseInformationResponse contains the response from method CertificateOrdersClient.ValidatePurchaseInformation.

type CertificateOrdersClientVerifyDomainOwnershipOptions

type CertificateOrdersClientVerifyDomainOwnershipOptions struct {
}

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

type CertificateOrdersClientVerifyDomainOwnershipResponse

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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificateOrdersDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DetectorResponse = armappservice.DetectorResponse{
// 	Name: to.Ptr("AutoRenewStatus"),
// 	ID: to.Ptr("/subscriptions/5700fc96-77b4-4f8d-afce-c353d8c443bd/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/detectors/AutoRenewStatus"),
// 	Properties: &armappservice.DetectorResponseProperties{
// 		Dataset: []*armappservice.DiagnosticData{
// 			{
// 				RenderingProperties: &armappservice.Rendering{
// 					Type: to.Ptr(armappservice.RenderingTypeInsights),
// 				},
// 				Table: &armappservice.DataTableResponseObject{
// 					Columns: []*armappservice.DataTableResponseColumn{
// 						{
// 							ColumnName: to.Ptr("Status"),
// 							DataType: to.Ptr("String"),
// 						},
// 						{
// 							ColumnName: to.Ptr("Message"),
// 							DataType: to.Ptr("String"),
// 						},
// 						{
// 							ColumnName: to.Ptr("Data.Name"),
// 							DataType: to.Ptr("String"),
// 						},
// 						{
// 							ColumnName: to.Ptr("Data.Value"),
// 							DataType: to.Ptr("String"),
// 						},
// 						{
// 							ColumnName: to.Ptr("Expanded"),
// 							DataType: to.Ptr("String"),
// 						},
// 						{
// 							ColumnName: to.Ptr("Solutions"),
// 							DataType: to.Ptr("String"),
// 					}},
// 					Rows: [][]*string{
// 						[]*string{
// 							to.Ptr("Info"),
// 							to.Ptr("App Service Certificate name SampleCertificateOrderName"),
// 							to.Ptr("Certificate for"),
// 							to.Ptr("<b>*.mysampledomain.com</b>"),
// 							to.Ptr("False"),
// 							to.Ptr("null")},
// 							[]*string{
// 								to.Ptr("Info"),
// 								to.Ptr("App Service Certificate name SampleCertificateOrderName"),
// 								to.Ptr("Certificate Status"),
// 								to.Ptr("<b>Issued</b>"),
// 								to.Ptr("False"),
// 								to.Ptr("null")}},
// 								TableName: to.Ptr(""),
// 							},
// 					}},
// 					Metadata: &armappservice.DetectorInfo{
// 						Name: to.Ptr("AutoRenewStatus"),
// 						Type: to.Ptr(armappservice.DetectorTypeDetector),
// 						Description: to.Ptr("Check auto renew status"),
// 						ID: to.Ptr("AutoRenewStatus"),
// 						Score: to.Ptr[float32](0),
// 						SupportTopicList: []*armappservice.SupportTopic{
// 						},
// 					},
// 				},
// 			}
Output:

func (*CertificateOrdersDiagnosticsClient) NewListAppServiceCertificateOrderDetectorResponsePager

NewListAppServiceCertificateOrderDetectorResponsePager - Description for Microsoft.CertificateRegistration to get the list of detectors for this RP.

Generated from API version 2023-01-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.NewListAppServiceCertificateOrderDetectorResponsePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificateOrdersDiagnosticsClient().NewListAppServiceCertificateOrderDetectorResponsePager("Sample-WestUSResourceGroup", "SampleCertificateOrderName", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DetectorResponseCollection = armappservice.DetectorResponseCollection{
	// 	Value: []*armappservice.DetectorResponse{
	// 		{
	// 			Name: to.Ptr("CertsImport"),
	// 			Type: to.Ptr("Microsoft.Web/certificateOrders/detectors"),
	// 			ID: to.Ptr("/subscriptions/5700fc96-77b4-4f8d-afce-c353d8c443bd/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/detectors/CertsImport"),
	// 			Properties: &armappservice.DetectorResponseProperties{
	// 				Dataset: []*armappservice.DiagnosticData{
	// 				},
	// 				Metadata: &armappservice.DetectorInfo{
	// 					Name: to.Ptr("Certificates Import/Upload"),
	// 					Author: to.Ptr(""),
	// 					ID: to.Ptr("CertsImport"),
	// 				},
	// 				Status: &armappservice.Status{
	// 					StatusID: to.Ptr(armappservice.InsightStatusNone),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

type CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseOptions

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

type CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseResponse struct {
	// Class representing Response from Detector
	DetectorResponse
}

CertificateOrdersDiagnosticsClientGetAppServiceCertificateOrderDetectorResponseResponse contains the response from method CertificateOrdersDiagnosticsClient.GetAppServiceCertificateOrderDetectorResponse.

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseOptions

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseOptions struct {
}

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

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseResponse

type CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseResponse struct {
	// Collection of detector responses
	DetectorResponseCollection
}

CertificateOrdersDiagnosticsClientListAppServiceCertificateOrderDetectorResponseResponse contains the response from method CertificateOrdersDiagnosticsClient.NewListAppServiceCertificateOrderDetectorResponsePager.

type CertificatePatchResource

type CertificatePatchResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *Certificate

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*CertificatePatchResource) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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

NewListOperationsPager - Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider

Generated from API version 2023-01-01

  • options - CertificateRegistrationProviderClientListOperationsOptions contains the optional parameters for the CertificateRegistrationProviderClient.NewListOperationsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/examples/ListOperations.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificateRegistrationProviderClient().NewListOperationsPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmOperationCollection = armappservice.CsmOperationCollection{
	// 	Value: []*armappservice.CsmOperationDescription{
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Add a new certificate or update an existing one"),
	// 				Operation: to.Ptr("Add or Update Certificate"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("Certificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Add a new certificateOrder or update an existing one"),
	// 				Operation: to.Ptr("Add or Update AppServiceCertificate"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing certificate"),
	// 				Operation: to.Ptr("Delete Certificate"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("Certificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing AppServiceCertificate"),
	// 				Operation: to.Ptr("Delete AppServiceCertificate"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of CertificateOrders"),
	// 				Operation: to.Ptr("Get CertificateOrders"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/certificates/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of certificates"),
	// 				Operation: to.Ptr("Get Certificates"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("Certificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/reissue/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Reissue an existing certificateorder"),
	// 				Operation: to.Ptr("Reissue certificateorder"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/renew/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Renew an existing certificateorder"),
	// 				Operation: to.Ptr("Renew certificateorder"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Retrieve the list of certificate actions"),
	// 				Operation: to.Ptr("Certificateorder actions"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Retrieve certificate email history"),
	// 				Operation: to.Ptr("Certificateorder email history"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Resend certificate email"),
	// 				Operation: to.Ptr("Resend Certificateorder email"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Verify domain ownership"),
	// 				Operation: to.Ptr("Verify domain ownership"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Resend request emails to another email address"),
	// 				Operation: to.Ptr("Resend request emails to another email address"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Retrieve site seal for an issued App Service Certificate"),
	// 				Operation: to.Ptr("Retrieve site seal for an issued App Service Certificate"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Provision service principal for service app principal"),
	// 				Operation: to.Ptr("Provision service principal"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Validate certificate purchase object without submitting it"),
	// 				Operation: to.Ptr("Certificate Purchase Info Validation"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("AppServiceCertificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.CertificateRegistration/register/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Register the Microsoft Certificates resource provider for the subscription"),
	// 				Operation: to.Ptr("Register Microsoft Certificates resource provider"),
	// 				Provider: to.Ptr("Microsoft Certificates"),
	// 				Resource: to.Ptr("Microsoft Certificates resource provider"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 	}},
	// }
}
Output:

type CertificateRegistrationProviderClientListOperationsOptions

type CertificateRegistrationProviderClientListOperationsOptions struct {
}

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

type CertificateRegistrationProviderClientListOperationsResponse

type CertificateRegistrationProviderClientListOperationsResponse struct {
	// Collection of Azure resource manager operation metadata.
	CsmOperationCollection
}

CertificateRegistrationProviderClientListOperationsResponse contains the response from method CertificateRegistrationProviderClient.NewListOperationsPager.

type CertificateResource

type CertificateResource struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *Certificate

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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

func (CertificateResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CertificateResource.

func (*CertificateResource) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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 - Description for Create or update a certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificatesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AppCertificate = armappservice.AppCertificate{
// 	Name: to.Ptr("testc6282"),
// 	Type: to.Ptr("Microsoft.Web/certificates"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.AppCertificateProperties{
// 		ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2039-12-31T23:59:59.000Z"); return t}()),
// 		FriendlyName: to.Ptr(""),
// 		HostNames: []*string{
// 			to.Ptr("ServerCert")},
// 			IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-11-12T23:40:25.000Z"); return t}()),
// 			Issuer: to.Ptr("CACert"),
// 			SubjectName: to.Ptr("ServerCert"),
// 			Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
// 		},
// 	}
Output:

func (*CertificatesClient) Delete

Delete - Description for Delete a certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewCertificatesClient().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 - Description for Get a certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificatesClient().Get(ctx, "testrg123", "testc6282", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AppCertificate = armappservice.AppCertificate{
// 	Name: to.Ptr("testc6282"),
// 	Type: to.Ptr("Microsoft.Web/certificates"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.AppCertificateProperties{
// 		ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2039-12-31T23:59:59.000Z"); return t}()),
// 		FriendlyName: to.Ptr(""),
// 		HostNames: []*string{
// 			to.Ptr("ServerCert")},
// 			IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-11-12T23:40:25.000Z"); return t}()),
// 			Issuer: to.Ptr("CACert"),
// 			SubjectName: to.Ptr("ServerCert"),
// 			Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
// 		},
// 	}
Output:

func (*CertificatesClient) NewListByResourceGroupPager

NewListByResourceGroupPager - Description for Get all certificates in a resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - CertificatesClientListByResourceGroupOptions contains the optional parameters for the CertificatesClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListCertificatesByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificatesClient().NewListByResourceGroupPager("testrg123", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.AppCertificateCollection = armappservice.AppCertificateCollection{
	// 	Value: []*armappservice.AppCertificate{
	// 		{
	// 			Name: to.Ptr("testc6282"),
	// 			Type: to.Ptr("Microsoft.Web/certificates"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.AppCertificateProperties{
	// 				ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2039-12-31T23:59:59.000Z"); return t}()),
	// 				FriendlyName: to.Ptr(""),
	// 				HostNames: []*string{
	// 					to.Ptr("ServerCert")},
	// 					IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-11-12T23:40:25.000Z"); return t}()),
	// 					Issuer: to.Ptr("CACert"),
	// 					SubjectName: to.Ptr("ServerCert"),
	// 					Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
	// 				},
	// 			},
	// 			{
	// 				Name: to.Ptr("testc4912"),
	// 				Type: to.Ptr("Microsoft.Web/certificates"),
	// 				ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912"),
	// 				Location: to.Ptr("West US"),
	// 				Properties: &armappservice.AppCertificateProperties{
	// 					ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2040-12-31T23:59:59.000Z"); return t}()),
	// 					FriendlyName: to.Ptr(""),
	// 					HostNames: []*string{
	// 						to.Ptr("ServerCert2")},
	// 						IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-12-12T23:40:25.000Z"); return t}()),
	// 						Issuer: to.Ptr("CACert"),
	// 						SubjectName: to.Ptr("ServerCert2"),
	// 						Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B0490D5886EBFE"),
	// 					},
	// 			}},
	// 		}
}
Output:

func (*CertificatesClient) NewListPager

NewListPager - Description for Get all certificates for a subscription.

Generated from API version 2023-01-01

  • options - CertificatesClientListOptions contains the optional parameters for the CertificatesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListCertificates.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewCertificatesClient().NewListPager(&armappservice.CertificatesClientListOptions{Filter: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.AppCertificateCollection = armappservice.AppCertificateCollection{
	// 	Value: []*armappservice.AppCertificate{
	// 		{
	// 			Name: to.Ptr("testc6282"),
	// 			Type: to.Ptr("Microsoft.Web/certificates"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.AppCertificateProperties{
	// 				ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2039-12-31T23:59:59.000Z"); return t}()),
	// 				FriendlyName: to.Ptr(""),
	// 				HostNames: []*string{
	// 					to.Ptr("ServerCert")},
	// 					IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-11-12T23:40:25.000Z"); return t}()),
	// 					Issuer: to.Ptr("CACert"),
	// 					SubjectName: to.Ptr("ServerCert"),
	// 					Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
	// 				},
	// 			},
	// 			{
	// 				Name: to.Ptr("testc4912"),
	// 				Type: to.Ptr("Microsoft.Web/certificates"),
	// 				ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912"),
	// 				Location: to.Ptr("West US"),
	// 				Properties: &armappservice.AppCertificateProperties{
	// 					ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2040-12-31T23:59:59.000Z"); return t}()),
	// 					FriendlyName: to.Ptr(""),
	// 					HostNames: []*string{
	// 						to.Ptr("ServerCert2")},
	// 						IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-12-12T23:40:25.000Z"); return t}()),
	// 						Issuer: to.Ptr("CACert"),
	// 						SubjectName: to.Ptr("ServerCert2"),
	// 						Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B0490D5886EBFE"),
	// 					},
	// 			}},
	// 		}
}
Output:

func (*CertificatesClient) Update

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

Update - Description for Create or update a certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PatchCertificate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewCertificatesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AppCertificate = armappservice.AppCertificate{
// 	Name: to.Ptr("testc6282"),
// 	Type: to.Ptr("Microsoft.Web/certificates"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.AppCertificateProperties{
// 		ExpirationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2039-12-31T23:59:59.000Z"); return t}()),
// 		FriendlyName: to.Ptr(""),
// 		HostNames: []*string{
// 			to.Ptr("ServerCert")},
// 			IssueDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2015-11-12T23:40:25.000Z"); return t}()),
// 			Issuer: to.Ptr("CACert"),
// 			SubjectName: to.Ptr("ServerCert"),
// 			Thumbprint: to.Ptr("FE703D7411A44163B6D32B3AD9B03E175886EBFE"),
// 		},
// 	}
Output:

type CertificatesClientCreateOrUpdateOptions

type CertificatesClientCreateOrUpdateOptions struct {
}

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

type CertificatesClientCreateOrUpdateResponse

type CertificatesClientCreateOrUpdateResponse struct {
	// SSL certificate for an app.
	AppCertificate
}

CertificatesClientCreateOrUpdateResponse contains the response from method CertificatesClient.CreateOrUpdate.

type CertificatesClientDeleteOptions

type CertificatesClientDeleteOptions struct {
}

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

type CertificatesClientDeleteResponse

type CertificatesClientDeleteResponse struct {
}

CertificatesClientDeleteResponse contains the response from method CertificatesClient.Delete.

type CertificatesClientGetOptions

type CertificatesClientGetOptions struct {
}

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

type CertificatesClientGetResponse

type CertificatesClientGetResponse struct {
	// SSL certificate for an app.
	AppCertificate
}

CertificatesClientGetResponse contains the response from method CertificatesClient.Get.

type CertificatesClientListByResourceGroupOptions

type CertificatesClientListByResourceGroupOptions struct {
}

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

type CertificatesClientListByResourceGroupResponse

type CertificatesClientListByResourceGroupResponse struct {
	// Collection of certificates.
	AppCertificateCollection
}

CertificatesClientListByResourceGroupResponse contains the response from method CertificatesClient.NewListByResourceGroupPager.

type CertificatesClientListOptions

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.NewListPager method.

type CertificatesClientListResponse

type CertificatesClientListResponse struct {
	// Collection of certificates.
	AppCertificateCollection
}

CertificatesClientListResponse contains the response from method CertificatesClient.NewListPager.

type CertificatesClientUpdateOptions

type CertificatesClientUpdateOptions struct {
}

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

type CertificatesClientUpdateResponse

type CertificatesClientUpdateResponse struct {
	// SSL certificate for an app.
	AppCertificate
}

CertificatesClientUpdateResponse contains the response from method CertificatesClient.Update.

type Channels

type Channels string

Channels - List of channels that this recommendation can apply.

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

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 (
	ClientCertModeOptional                ClientCertMode = "Optional"
	ClientCertModeOptionalInteractiveUser ClientCertMode = "OptionalInteractiveUser"
	ClientCertModeRequired                ClientCertMode = "Required"
)

func PossibleClientCertModeValues

func PossibleClientCertModeValues() []ClientCertMode

PossibleClientCertModeValues returns the possible values for the ClientCertMode const type.

type ClientFactory added in v2.1.0

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

ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.

func NewClientFactory added in v2.1.0

func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)

NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.

  • 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 (*ClientFactory) NewCertificateOrdersClient added in v2.1.0

func (c *ClientFactory) NewCertificateOrdersClient() *CertificateOrdersClient

NewCertificateOrdersClient creates a new instance of CertificateOrdersClient.

func (*ClientFactory) NewCertificateOrdersDiagnosticsClient added in v2.1.0

func (c *ClientFactory) NewCertificateOrdersDiagnosticsClient() *CertificateOrdersDiagnosticsClient

NewCertificateOrdersDiagnosticsClient creates a new instance of CertificateOrdersDiagnosticsClient.

func (*ClientFactory) NewCertificateRegistrationProviderClient added in v2.1.0

func (c *ClientFactory) NewCertificateRegistrationProviderClient() *CertificateRegistrationProviderClient

NewCertificateRegistrationProviderClient creates a new instance of CertificateRegistrationProviderClient.

func (*ClientFactory) NewCertificatesClient added in v2.1.0

func (c *ClientFactory) NewCertificatesClient() *CertificatesClient

NewCertificatesClient creates a new instance of CertificatesClient.

func (*ClientFactory) NewContainerAppsClient added in v2.1.0

func (c *ClientFactory) NewContainerAppsClient() *ContainerAppsClient

NewContainerAppsClient creates a new instance of ContainerAppsClient.

func (*ClientFactory) NewContainerAppsRevisionsClient added in v2.1.0

func (c *ClientFactory) NewContainerAppsRevisionsClient() *ContainerAppsRevisionsClient

NewContainerAppsRevisionsClient creates a new instance of ContainerAppsRevisionsClient.

func (*ClientFactory) NewDeletedWebAppsClient added in v2.1.0

func (c *ClientFactory) NewDeletedWebAppsClient() *DeletedWebAppsClient

NewDeletedWebAppsClient creates a new instance of DeletedWebAppsClient.

func (*ClientFactory) NewDiagnosticsClient added in v2.1.0

func (c *ClientFactory) NewDiagnosticsClient() *DiagnosticsClient

NewDiagnosticsClient creates a new instance of DiagnosticsClient.

func (*ClientFactory) NewDomainRegistrationProviderClient added in v2.1.0

func (c *ClientFactory) NewDomainRegistrationProviderClient() *DomainRegistrationProviderClient

NewDomainRegistrationProviderClient creates a new instance of DomainRegistrationProviderClient.

func (*ClientFactory) NewDomainsClient added in v2.1.0

func (c *ClientFactory) NewDomainsClient() *DomainsClient

NewDomainsClient creates a new instance of DomainsClient.

func (*ClientFactory) NewEnvironmentsClient added in v2.1.0

func (c *ClientFactory) NewEnvironmentsClient() *EnvironmentsClient

NewEnvironmentsClient creates a new instance of EnvironmentsClient.

func (*ClientFactory) NewGetUsagesInLocationClient added in v2.3.0

func (c *ClientFactory) NewGetUsagesInLocationClient() *GetUsagesInLocationClient

NewGetUsagesInLocationClient creates a new instance of GetUsagesInLocationClient.

func (*ClientFactory) NewGlobalClient added in v2.1.0

func (c *ClientFactory) NewGlobalClient() *GlobalClient

NewGlobalClient creates a new instance of GlobalClient.

func (*ClientFactory) NewKubeEnvironmentsClient added in v2.1.0

func (c *ClientFactory) NewKubeEnvironmentsClient() *KubeEnvironmentsClient

NewKubeEnvironmentsClient creates a new instance of KubeEnvironmentsClient.

func (*ClientFactory) NewPlansClient added in v2.1.0

func (c *ClientFactory) NewPlansClient() *PlansClient

NewPlansClient creates a new instance of PlansClient.

func (*ClientFactory) NewProviderClient added in v2.1.0

func (c *ClientFactory) NewProviderClient() *ProviderClient

NewProviderClient creates a new instance of ProviderClient.

func (*ClientFactory) NewRecommendationsClient added in v2.1.0

func (c *ClientFactory) NewRecommendationsClient() *RecommendationsClient

NewRecommendationsClient creates a new instance of RecommendationsClient.

func (*ClientFactory) NewResourceHealthMetadataClient added in v2.1.0

func (c *ClientFactory) NewResourceHealthMetadataClient() *ResourceHealthMetadataClient

NewResourceHealthMetadataClient creates a new instance of ResourceHealthMetadataClient.

func (*ClientFactory) NewStaticSitesClient added in v2.1.0

func (c *ClientFactory) NewStaticSitesClient() *StaticSitesClient

NewStaticSitesClient creates a new instance of StaticSitesClient.

func (*ClientFactory) NewTopLevelDomainsClient added in v2.1.0

func (c *ClientFactory) NewTopLevelDomainsClient() *TopLevelDomainsClient

NewTopLevelDomainsClient creates a new instance of TopLevelDomainsClient.

func (*ClientFactory) NewWebAppsClient added in v2.1.0

func (c *ClientFactory) NewWebAppsClient() *WebAppsClient

NewWebAppsClient creates a new instance of WebAppsClient.

func (*ClientFactory) NewWebSiteManagementClient added in v2.1.0

func (c *ClientFactory) NewWebSiteManagementClient() *WebSiteManagementClient

NewWebSiteManagementClient creates a new instance of WebSiteManagementClient.

func (*ClientFactory) NewWorkflowRunActionRepetitionsClient added in v2.1.0

func (c *ClientFactory) NewWorkflowRunActionRepetitionsClient() *WorkflowRunActionRepetitionsClient

NewWorkflowRunActionRepetitionsClient creates a new instance of WorkflowRunActionRepetitionsClient.

func (*ClientFactory) NewWorkflowRunActionRepetitionsRequestHistoriesClient added in v2.1.0

func (c *ClientFactory) NewWorkflowRunActionRepetitionsRequestHistoriesClient() *WorkflowRunActionRepetitionsRequestHistoriesClient

NewWorkflowRunActionRepetitionsRequestHistoriesClient creates a new instance of WorkflowRunActionRepetitionsRequestHistoriesClient.

func (*ClientFactory) NewWorkflowRunActionScopeRepetitionsClient added in v2.1.0

func (c *ClientFactory) NewWorkflowRunActionScopeRepetitionsClient() *WorkflowRunActionScopeRepetitionsClient

NewWorkflowRunActionScopeRepetitionsClient creates a new instance of WorkflowRunActionScopeRepetitionsClient.

func (*ClientFactory) NewWorkflowRunActionsClient added in v2.1.0

func (c *ClientFactory) NewWorkflowRunActionsClient() *WorkflowRunActionsClient

NewWorkflowRunActionsClient creates a new instance of WorkflowRunActionsClient.

func (*ClientFactory) NewWorkflowRunsClient added in v2.1.0

func (c *ClientFactory) NewWorkflowRunsClient() *WorkflowRunsClient

NewWorkflowRunsClient creates a new instance of WorkflowRunsClient.

func (*ClientFactory) NewWorkflowTriggerHistoriesClient added in v2.1.0

func (c *ClientFactory) NewWorkflowTriggerHistoriesClient() *WorkflowTriggerHistoriesClient

NewWorkflowTriggerHistoriesClient creates a new instance of WorkflowTriggerHistoriesClient.

func (*ClientFactory) NewWorkflowTriggersClient added in v2.1.0

func (c *ClientFactory) NewWorkflowTriggersClient() *WorkflowTriggersClient

NewWorkflowTriggersClient creates a new instance of WorkflowTriggersClient.

func (*ClientFactory) NewWorkflowVersionsClient added in v2.1.0

func (c *ClientFactory) NewWorkflowVersionsClient() *WorkflowVersionsClient

NewWorkflowVersionsClient creates a new instance of WorkflowVersionsClient.

func (*ClientFactory) NewWorkflowsClient added in v2.1.0

func (c *ClientFactory) NewWorkflowsClient() *WorkflowsClient

NewWorkflowsClient creates a new instance of WorkflowsClient.

type ClientRegistration

type ClientRegistration struct {
	// The Client ID of the app used for login.
	ClientID *string

	// The app setting name that contains the client secret.
	ClientSecretSettingName *string
}

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

func (ClientRegistration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ClientRegistration.

func (*ClientRegistration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ClientRegistration.

type CloneAbilityResult

type CloneAbilityResult string

CloneAbilityResult - Name of app.

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

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

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

	// true to clone custom hostnames from source app; otherwise, false.
	CloneCustomHostNames *bool

	// true to clone source control from source app; otherwise, false.
	CloneSourceControl *bool

	// true to configure load balancing for source and destination app.
	ConfigureLoadBalancing *bool

	// Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.
	CorrelationID *string

	// App Service Environment.
	HostingEnvironment *string

	// true to overwrite destination app; otherwise, false.
	Overwrite *bool

	// Location of source app ex: West US or North Europe
	SourceWebAppLocation *string

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

	// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.
	TrafficManagerProfileName *string
}

CloningInfo - Information needed for cloning operation.

func (CloningInfo) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CloningInfo.

func (*CloningInfo) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CloningInfo.

type ComputeModeOptions

type ComputeModeOptions string

ComputeModeOptions - Shared/dedicated workers.

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

func PossibleComputeModeOptionsValues

func PossibleComputeModeOptionsValues() []ComputeModeOptions

PossibleComputeModeOptionsValues returns the possible values for the ComputeModeOptions const type.

type Configuration

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

	// Ingress configurations.
	Ingress *Ingress

	// Collection of private container registry credentials for containers used by the Container app
	Registries []*RegistryCredentials

	// Collection of secrets used by a Container app
	Secrets []*Secret
}

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

func (Configuration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Configuration.

func (*Configuration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Configuration.

type ConnStringInfo

type ConnStringInfo struct {
	// Connection string value.
	ConnectionString *string

	// Name of connection string.
	Name *string

	// Type of database.
	Type *ConnectionStringType
}

ConnStringInfo - Database connection string information.

func (ConnStringInfo) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnStringInfo.

func (*ConnStringInfo) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ConnStringInfo.

type ConnStringValueTypePair

type ConnStringValueTypePair struct {
	// REQUIRED; Type of database.
	Type *ConnectionStringType

	// REQUIRED; Value of pair.
	Value *string
}

ConnStringValueTypePair - Database connection string value to type pair.

func (ConnStringValueTypePair) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnStringValueTypePair.

func (*ConnStringValueTypePair) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ConnStringValueTypePair.

type ConnectionStringDictionary

type ConnectionStringDictionary struct {
	// Kind of resource.
	Kind *string

	// Connection strings.
	Properties map[string]*ConnStringValueTypePair

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ConnectionStringDictionary - String dictionary resource.

func (ConnectionStringDictionary) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectionStringDictionary.

func (*ConnectionStringDictionary) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ConnectionStringDictionary.

type ConnectionStringType

type ConnectionStringType string

ConnectionStringType - Type of database.

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

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

	// REQUIRED; First name.
	NameFirst *string

	// REQUIRED; Last name.
	NameLast *string

	// REQUIRED; Phone number.
	Phone *string

	// Mailing address.
	AddressMailing *Address

	// Fax number.
	Fax *string

	// Job title.
	JobTitle *string

	// Middle name.
	NameMiddle *string

	// Organization contact belongs to.
	Organization *string
}

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.

func (Contact) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Contact.

func (*Contact) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Contact.

type Container

type Container struct {
	// Container start command arguments.
	Args []*string

	// Container start command.
	Command []*string

	// Container environment variables.
	Env []*EnvironmentVar

	// Container image tag.
	Image *string

	// Custom container name.
	Name *string

	// Container resource requirements.
	Resources *ContainerResources
}

Container App container definition.

func (Container) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Container.

func (*Container) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Container.

type ContainerApp

type ContainerApp struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// ContainerApp resource specific properties
	Properties *ContainerAppProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ContainerApp - Container App.

func (ContainerApp) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerApp.

func (*ContainerApp) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerApp.

type ContainerAppCollection

type ContainerAppCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ContainerApp

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ContainerAppCollection - Container App collection ARM resource.

func (ContainerAppCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerAppCollection.

func (*ContainerAppCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerAppCollection.

type ContainerAppProperties

type ContainerAppProperties struct {
	// Non versioned Container App configuration properties.
	Configuration *Configuration

	// Resource ID of the Container App's KubeEnvironment.
	KubeEnvironmentID *string

	// Container App versioned application definition.
	Template *Template

	// READ-ONLY; Fully Qualified Domain Name of the latest revision of the Container App.
	LatestRevisionFqdn *string

	// READ-ONLY; Name of the latest revision of the Container App.
	LatestRevisionName *string

	// READ-ONLY; Provisioning state of the Container App.
	ProvisioningState *ContainerAppProvisioningState
}

ContainerAppProperties - ContainerApp resource specific properties

func (ContainerAppProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerAppProperties.

func (*ContainerAppProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerAppProperties.

type ContainerAppProvisioningState

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

func PossibleContainerAppProvisioningStateValues() []ContainerAppProvisioningState

PossibleContainerAppProvisioningStateValues returns the possible values for the ContainerAppProvisioningState const type.

type ContainerAppSecret

type ContainerAppSecret struct {
	// READ-ONLY; Secret Name.
	Name *string

	// READ-ONLY; Secret Value.
	Value *string
}

ContainerAppSecret - Container App Secret.

func (ContainerAppSecret) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerAppSecret.

func (*ContainerAppSecret) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerAppSecret.

type ContainerAppsClient

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

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

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

BeginCreateOrUpdate - Description for Create or update a Container App. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateContainerApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewContainerAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.ContainerApp = armappservice.ContainerApp{
// 	Name: to.Ptr("testcontainerApp0"),
// 	Type: to.Ptr("Microsoft.Web/containerApps"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/containerApps/testcontainerApp0"),
// 	Kind: to.Ptr("containerApp"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.ContainerAppProperties{
// 		Configuration: &armappservice.Configuration{
// 			Ingress: &armappservice.Ingress{
// 				External: to.Ptr(true),
// 				Fqdn: to.Ptr("testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
// 				TargetPort: to.Ptr[int32](3000),
// 				Transport: to.Ptr(armappservice.IngressTransportMethodAuto),
// 			},
// 		},
// 		KubeEnvironmentID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube"),
// 		LatestRevisionFqdn: to.Ptr("testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
// 		ProvisioningState: to.Ptr(armappservice.ContainerAppProvisioningStateSucceeded),
// 		Template: &armappservice.Template{
// 			Containers: []*armappservice.Container{
// 				{
// 					Name: to.Ptr("testcontainerApp0"),
// 					Image: to.Ptr("repo/testcontainerApp0:v4"),
// 					Resources: &armappservice.ContainerResources{
// 						CPU: to.Ptr[float64](0.2),
// 						Memory: to.Ptr("100Mi"),
// 					},
// 			}},
// 			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"),
// 						HTTP: &armappservice.HTTPScaleRule{
// 							Metadata: map[string]*string{
// 								"concurrentRequests": to.Ptr("50"),
// 							},
// 						},
// 				}},
// 			},
// 		},
// 	},
// }
Output:

func (*ContainerAppsClient) BeginDelete

BeginDelete - Description for Delete a Container App. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteContainerApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewContainerAppsClient().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

Get - Get the properties of a Container App. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetContainerApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewContainerAppsClient().Get(ctx, "rg", "testcontainerApp0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.ContainerApp = armappservice.ContainerApp{
// 	Name: to.Ptr("testcontainerApp0"),
// 	Type: to.Ptr("Microsoft.Web/containerApps"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/containerApps/testcontainerApp0"),
// 	Kind: to.Ptr("containerApp"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.ContainerAppProperties{
// 		Configuration: &armappservice.Configuration{
// 			Ingress: &armappservice.Ingress{
// 				External: to.Ptr(true),
// 				Fqdn: to.Ptr("testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
// 				TargetPort: to.Ptr[int32](3000),
// 				Transport: to.Ptr(armappservice.IngressTransportMethodAuto),
// 			},
// 		},
// 		KubeEnvironmentID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube"),
// 		LatestRevisionFqdn: to.Ptr("testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
// 		ProvisioningState: to.Ptr(armappservice.ContainerAppProvisioningStateSucceeded),
// 		Template: &armappservice.Template{
// 			Containers: []*armappservice.Container{
// 				{
// 					Name: to.Ptr("testcontainerApp0"),
// 					Image: to.Ptr("repo/testcontainerApp0:v4"),
// 					Resources: &armappservice.ContainerResources{
// 						CPU: to.Ptr[float64](0.2),
// 						Memory: to.Ptr("100Mi"),
// 					},
// 			}},
// 			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"),
// 						HTTP: &armappservice.HTTPScaleRule{
// 							Metadata: map[string]*string{
// 								"concurrentRequests": to.Ptr("50"),
// 							},
// 						},
// 				}},
// 			},
// 		},
// 	},
// }
Output:

func (*ContainerAppsClient) ListSecrets

ListSecrets - List secrets for a container app If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListContainerAppSecrets.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewContainerAppsClient().ListSecrets(ctx, "testcontainerApp0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SecretsCollection = armappservice.SecretsCollection{
// 	Value: []*armappservice.ContainerAppSecret{
// 		{
// 			Name: to.Ptr("secret1"),
// 			Value: to.Ptr("value1"),
// 		},
// 		{
// 			Name: to.Ptr("secret2"),
// 			Value: to.Ptr("value2"),
// 	}},
// }
Output:

func (*ContainerAppsClient) NewListByResourceGroupPager

NewListByResourceGroupPager - Get the Container Apps in a given resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - ContainerAppsClientListByResourceGroupOptions contains the optional parameters for the ContainerAppsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListContainerAppsByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewContainerAppsClient().NewListByResourceGroupPager("rg", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ContainerAppCollection = armappservice.ContainerAppCollection{
	// 	Value: []*armappservice.ContainerApp{
	// 		{
	// 			Name: to.Ptr("testcontainerApp0"),
	// 			Type: to.Ptr("Microsoft.Web/containerApps"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/containerApps/testcontainerApp0"),
	// 			Kind: to.Ptr("containerApp"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.ContainerAppProperties{
	// 				Configuration: &armappservice.Configuration{
	// 					Ingress: &armappservice.Ingress{
	// 						External: to.Ptr(true),
	// 						Fqdn: to.Ptr("testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
	// 						TargetPort: to.Ptr[int32](3000),
	// 						Transport: to.Ptr(armappservice.IngressTransportMethodAuto),
	// 					},
	// 				},
	// 				KubeEnvironmentID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube"),
	// 				LatestRevisionFqdn: to.Ptr("testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
	// 				ProvisioningState: to.Ptr(armappservice.ContainerAppProvisioningStateSucceeded),
	// 				Template: &armappservice.Template{
	// 					Containers: []*armappservice.Container{
	// 						{
	// 							Name: to.Ptr("testcontainerApp0"),
	// 							Image: to.Ptr("repo/testcontainerApp0:v4"),
	// 							Resources: &armappservice.ContainerResources{
	// 								CPU: to.Ptr[float64](0.2),
	// 								Memory: to.Ptr("100Mi"),
	// 							},
	// 					}},
	// 					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"),
	// 								HTTP: &armappservice.HTTPScaleRule{
	// 									Metadata: map[string]*string{
	// 										"concurrentRequests": to.Ptr("50"),
	// 									},
	// 								},
	// 						}},
	// 					},
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

func (*ContainerAppsClient) NewListBySubscriptionPager

NewListBySubscriptionPager - Get the Container Apps in a given subscription.

Generated from API version 2023-01-01

  • options - ContainerAppsClientListBySubscriptionOptions contains the optional parameters for the ContainerAppsClient.NewListBySubscriptionPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListContainerAppsBySubscription.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewContainerAppsClient().NewListBySubscriptionPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ContainerAppCollection = armappservice.ContainerAppCollection{
	// 	Value: []*armappservice.ContainerApp{
	// 		{
	// 			Name: to.Ptr("testcontainerApp0"),
	// 			Type: to.Ptr("Microsoft.Web/containerApps"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/containerApps/testcontainerApp0"),
	// 			Kind: to.Ptr("containerApp"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.ContainerAppProperties{
	// 				Configuration: &armappservice.Configuration{
	// 					Ingress: &armappservice.Ingress{
	// 						External: to.Ptr(true),
	// 						Fqdn: to.Ptr("testcontainerApp0.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
	// 						TargetPort: to.Ptr[int32](3000),
	// 						Transport: to.Ptr(armappservice.IngressTransportMethodAuto),
	// 					},
	// 				},
	// 				KubeEnvironmentID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/kubeEnvironments/demokube"),
	// 				LatestRevisionFqdn: to.Ptr("testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
	// 				ProvisioningState: to.Ptr(armappservice.ContainerAppProvisioningStateSucceeded),
	// 				Template: &armappservice.Template{
	// 					Containers: []*armappservice.Container{
	// 						{
	// 							Name: to.Ptr("testcontainerApp0"),
	// 							Image: to.Ptr("repo/testcontainerApp0:v4"),
	// 							Resources: &armappservice.ContainerResources{
	// 								CPU: to.Ptr[float64](0.2),
	// 								Memory: to.Ptr("100Mi"),
	// 							},
	// 					}},
	// 					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"),
	// 								HTTP: &armappservice.HTTPScaleRule{
	// 									Metadata: map[string]*string{
	// 										"concurrentRequests": to.Ptr("50"),
	// 									},
	// 								},
	// 						}},
	// 					},
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

type ContainerAppsClientBeginCreateOrUpdateOptions

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

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

type ContainerAppsClientBeginDeleteOptions

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

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

type ContainerAppsClientCreateOrUpdateResponse

type ContainerAppsClientCreateOrUpdateResponse struct {
	// Container App.
	ContainerApp
}

ContainerAppsClientCreateOrUpdateResponse contains the response from method ContainerAppsClient.BeginCreateOrUpdate.

type ContainerAppsClientDeleteResponse

type ContainerAppsClientDeleteResponse struct {
}

ContainerAppsClientDeleteResponse contains the response from method ContainerAppsClient.BeginDelete.

type ContainerAppsClientGetOptions

type ContainerAppsClientGetOptions struct {
}

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

type ContainerAppsClientGetResponse

type ContainerAppsClientGetResponse struct {
	// Container App.
	ContainerApp
}

ContainerAppsClientGetResponse contains the response from method ContainerAppsClient.Get.

type ContainerAppsClientListByResourceGroupOptions

type ContainerAppsClientListByResourceGroupOptions struct {
}

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

type ContainerAppsClientListByResourceGroupResponse

type ContainerAppsClientListByResourceGroupResponse struct {
	// Container App collection ARM resource.
	ContainerAppCollection
}

ContainerAppsClientListByResourceGroupResponse contains the response from method ContainerAppsClient.NewListByResourceGroupPager.

type ContainerAppsClientListBySubscriptionOptions

type ContainerAppsClientListBySubscriptionOptions struct {
}

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

type ContainerAppsClientListBySubscriptionResponse

type ContainerAppsClientListBySubscriptionResponse struct {
	// Container App collection ARM resource.
	ContainerAppCollection
}

ContainerAppsClientListBySubscriptionResponse contains the response from method ContainerAppsClient.NewListBySubscriptionPager.

type ContainerAppsClientListSecretsOptions

type ContainerAppsClientListSecretsOptions struct {
}

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

type ContainerAppsClientListSecretsResponse

type ContainerAppsClientListSecretsResponse struct {
	// Container App Secrets Collection ARM resource.
	SecretsCollection
}

ContainerAppsClientListSecretsResponse contains the response from method ContainerAppsClient.ListSecrets.

type ContainerAppsConfiguration

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

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

	// Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry
	DaprAIInstrumentationKey *string

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

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

	// An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server
	PlatformReservedDNSIP *string
}

func (ContainerAppsConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerAppsConfiguration.

func (*ContainerAppsConfiguration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerAppsConfiguration.

type ContainerAppsRevisionsClient

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

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

ActivateRevision - Activates a revision for a Container App If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ActivateRevision.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewContainerAppsRevisionsClient().ActivateRevision(ctx, "rg", "testcontainerApp0", "testcontainerApp0-pjxhsye", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*ContainerAppsRevisionsClient) DeactivateRevision

DeactivateRevision - Deactivates a revision for a Container App If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeactivateRevision.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewContainerAppsRevisionsClient().DeactivateRevision(ctx, "rg", "testcontainerApp0", "testcontainerApp0-pjxhsye", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*ContainerAppsRevisionsClient) GetRevision

GetRevision - Get a revision of a Container App. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetRevision.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewContainerAppsRevisionsClient().GetRevision(ctx, "rg", "testcontainerApp0", "testcontainerApp0-pjxhsye", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Revision = armappservice.Revision{
// 	Name: to.Ptr("testcontainerApp0-pjxhsye"),
// 	Type: to.Ptr("Microsoft.Web/containerApps/revisions"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.WebcontainerApps/testcontainerApp0/revisions/testcontainerApp0-pjxhsye"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.RevisionProperties{
// 		Active: to.Ptr(true),
// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-24T21:24:22.000Z"); return t}()),
// 		Fqdn: to.Ptr("testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io"),
// 		Replicas: to.Ptr[int32](1),
// 		Template: &armappservice.Template{
// 			Containers: []*armappservice.Container{
// 				{
// 					Name: to.Ptr("testcontainerApp0"),
// 					Image: to.Ptr("repo/testcontainerApp0:v2"),
// 					Resources: &armappservice.ContainerResources{
// 						CPU: to.Ptr[float64](0.2),
// 						Memory: to.Ptr("100Mi"),
// 					},
// 			}},
// 			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"),
// 						HTTP: &armappservice.HTTPScaleRule{
// 							Metadata: map[string]*string{
// 								"concurrentRequests": to.Ptr("50"),
// 							},
// 						},
// 				}},
// 			},
// 		},
// 	},
// }
Output:

func (*ContainerAppsRevisionsClient) NewListRevisionsPager

NewListRevisionsPager - Get the Revisions for a given Container App.

Generated from API version 2023-01-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.NewListRevisionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListRevisions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewContainerAppsRevisionsClient().NewListRevisionsPager("rg", "testcontainerApp0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.RevisionCollection = armappservice.RevisionCollection{
	// 	Value: []*armappservice.Revision{
	// 		{
	// 			Name: to.Ptr("testcontainerApp0-pjxhsye"),
	// 			Type: to.Ptr("Microsoft.Web/containerApps/revisions"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/containerApps/testcontainerApp0/revisions/testcontainerApp0-pjxhsye"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.RevisionProperties{
	// 				Active: to.Ptr(true),
	// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-24T21:24:22.000Z"); return t}()),
	// 				Fqdn: to.Ptr("testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerapps.k4apps.io"),
	// 				Replicas: to.Ptr[int32](1),
	// 				Template: &armappservice.Template{
	// 					Containers: []*armappservice.Container{
	// 						{
	// 							Name: to.Ptr("testcontainerApp0"),
	// 							Image: to.Ptr("repo/testcontainerApp0:v2"),
	// 							Resources: &armappservice.ContainerResources{
	// 								CPU: to.Ptr[float64](0.2),
	// 								Memory: to.Ptr("100Mi"),
	// 							},
	// 					}},
	// 					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"),
	// 								HTTP: &armappservice.HTTPScaleRule{
	// 									Metadata: map[string]*string{
	// 										"concurrentRequests": to.Ptr("50"),
	// 									},
	// 								},
	// 						}},
	// 					},
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

func (*ContainerAppsRevisionsClient) RestartRevision

RestartRevision - Restarts a revision for a Container App If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/RestartRevision.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewContainerAppsRevisionsClient().RestartRevision(ctx, "rg", "testStaticSite0", "testcontainerApp0-pjxhsye", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

type ContainerAppsRevisionsClientActivateRevisionOptions

type ContainerAppsRevisionsClientActivateRevisionOptions struct {
}

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

type ContainerAppsRevisionsClientActivateRevisionResponse

type ContainerAppsRevisionsClientActivateRevisionResponse struct {
}

ContainerAppsRevisionsClientActivateRevisionResponse contains the response from method ContainerAppsRevisionsClient.ActivateRevision.

type ContainerAppsRevisionsClientDeactivateRevisionOptions

type ContainerAppsRevisionsClientDeactivateRevisionOptions struct {
}

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

type ContainerAppsRevisionsClientDeactivateRevisionResponse

type ContainerAppsRevisionsClientDeactivateRevisionResponse struct {
}

ContainerAppsRevisionsClientDeactivateRevisionResponse contains the response from method ContainerAppsRevisionsClient.DeactivateRevision.

type ContainerAppsRevisionsClientGetRevisionOptions

type ContainerAppsRevisionsClientGetRevisionOptions struct {
}

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

type ContainerAppsRevisionsClientGetRevisionResponse

type ContainerAppsRevisionsClientGetRevisionResponse struct {
	// Container App Revision.
	Revision
}

ContainerAppsRevisionsClientGetRevisionResponse contains the response from method ContainerAppsRevisionsClient.GetRevision.

type ContainerAppsRevisionsClientListRevisionsOptions

type ContainerAppsRevisionsClientListRevisionsOptions struct {
}

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

type ContainerAppsRevisionsClientListRevisionsResponse

type ContainerAppsRevisionsClientListRevisionsResponse struct {
	// Container App Revisions collection ARM resource.
	RevisionCollection
}

ContainerAppsRevisionsClientListRevisionsResponse contains the response from method ContainerAppsRevisionsClient.NewListRevisionsPager.

type ContainerAppsRevisionsClientRestartRevisionOptions

type ContainerAppsRevisionsClientRestartRevisionOptions struct {
}

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

type ContainerAppsRevisionsClientRestartRevisionResponse

type ContainerAppsRevisionsClientRestartRevisionResponse struct {
}

ContainerAppsRevisionsClientRestartRevisionResponse contains the response from method ContainerAppsRevisionsClient.RestartRevision.

type ContainerCPUStatistics

type ContainerCPUStatistics struct {
	CPUUsage       *ContainerCPUUsage
	OnlineCPUCount *int32
	SystemCPUUsage *int64
	ThrottlingData *ContainerThrottlingData
}

func (ContainerCPUStatistics) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerCPUStatistics.

func (*ContainerCPUStatistics) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerCPUStatistics.

type ContainerCPUUsage

type ContainerCPUUsage struct {
	KernelModeUsage *int64
	PerCPUUsage     []*int64
	TotalUsage      *int64
	UserModeUsage   *int64
}

func (ContainerCPUUsage) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerCPUUsage.

func (*ContainerCPUUsage) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerCPUUsage.

type ContainerInfo

type ContainerInfo struct {
	CurrentCPUStats   *ContainerCPUStatistics
	CurrentTimeStamp  *time.Time
	Eth0              *ContainerNetworkInterfaceStatistics
	ID                *string
	MemoryStats       *ContainerMemoryStatistics
	Name              *string
	PreviousCPUStats  *ContainerCPUStatistics
	PreviousTimeStamp *time.Time
}

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
	MaxUsage *int64
	Usage    *int64
}

func (ContainerMemoryStatistics) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerMemoryStatistics.

func (*ContainerMemoryStatistics) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerMemoryStatistics.

type ContainerNetworkInterfaceStatistics

type ContainerNetworkInterfaceStatistics struct {
	RxBytes   *int64
	RxDropped *int64
	RxErrors  *int64
	RxPackets *int64
	TxBytes   *int64
	TxDropped *int64
	TxErrors  *int64
	TxPackets *int64
}

func (ContainerNetworkInterfaceStatistics) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerNetworkInterfaceStatistics.

func (*ContainerNetworkInterfaceStatistics) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerNetworkInterfaceStatistics.

type ContainerResources

type ContainerResources struct {
	// Required CPU in cores, e.g. 0.5
	CPU *float64

	// Required memory, e.g. "250Mb"
	Memory *string
}

ContainerResources - Container App container resource requirements.

func (ContainerResources) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerResources.

func (*ContainerResources) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerResources.

type ContainerThrottlingData

type ContainerThrottlingData struct {
	Periods          *int32
	ThrottledPeriods *int32
	ThrottledTime    *int32
}

func (ContainerThrottlingData) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContainerThrottlingData.

func (*ContainerThrottlingData) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContainerThrottlingData.

type ContentHash

type ContentHash struct {
	// The algorithm of the content hash.
	Algorithm *string

	// The value of the content hash.
	Value *string
}

ContentHash - The content hash.

func (ContentHash) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContentHash.

func (*ContentHash) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContentHash.

type ContentLink struct {
	// The content link URI.
	URI *string

	// READ-ONLY; The content hash.
	ContentHash *ContentHash

	// READ-ONLY; The content size.
	ContentSize *int64

	// READ-ONLY; The content version.
	ContentVersion *string

	// READ-ONLY; The metadata.
	Metadata any
}

ContentLink - The content link.

func (ContentLink) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContentLink.

func (*ContentLink) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContentLink.

type ContinuousWebJob

type ContinuousWebJob struct {
	// Kind of resource.
	Kind *string

	// ContinuousWebJob resource specific properties
	Properties *ContinuousWebJobProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ContinuousWebJob - Continuous Web Job Information.

func (ContinuousWebJob) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContinuousWebJob.

func (*ContinuousWebJob) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContinuousWebJob.

type ContinuousWebJobCollection

type ContinuousWebJobCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ContinuousWebJob

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ContinuousWebJobCollection - Collection of Kudu continuous web job information elements.

func (ContinuousWebJobCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContinuousWebJobCollection.

func (*ContinuousWebJobCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContinuousWebJobCollection.

type ContinuousWebJobProperties

type ContinuousWebJobProperties struct {
	// Detailed status.
	DetailedStatus *string

	// Error information.
	Error *string

	// Extra Info URL.
	ExtraInfoURL *string

	// Log URL.
	LogURL *string

	// Run command.
	RunCommand *string

	// Job settings.
	Settings map[string]any

	// Job status.
	Status *ContinuousWebJobStatus

	// Job URL.
	URL *string

	// Using SDK?
	UsingSdk *bool

	// Job type.
	WebJobType *WebJobType
}

ContinuousWebJobProperties - ContinuousWebJob resource specific properties

func (ContinuousWebJobProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ContinuousWebJobProperties.

func (*ContinuousWebJobProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type ContinuousWebJobProperties.

type ContinuousWebJobStatus

type ContinuousWebJobStatus string

ContinuousWebJobStatus - Job status.

const (
	ContinuousWebJobStatusInitializing   ContinuousWebJobStatus = "Initializing"
	ContinuousWebJobStatusPendingRestart ContinuousWebJobStatus = "PendingRestart"
	ContinuousWebJobStatusRunning        ContinuousWebJobStatus = "Running"
	ContinuousWebJobStatusStarting       ContinuousWebJobStatus = "Starting"
	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

	// The time after the request is made when the session cookie should expire.
	TimeToExpiration *string
}

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

func (CookieExpiration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CookieExpiration.

func (*CookieExpiration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CookieExpiration.

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 Correlation

type Correlation struct {
	// The client tracking id.
	ClientTrackingID *string
}

Correlation - The correlation property.

func (Correlation) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Correlation.

func (*Correlation) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type Correlation.

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

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

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.

func (*CorsSettings) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CorsSettings.

type CsmDeploymentStatus

type CsmDeploymentStatus struct {
	// Kind of resource.
	Kind *string

	// CsmDeploymentStatus resource specific properties
	Properties *CsmDeploymentStatusProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

CsmDeploymentStatus - Deployment status response payload.

func (CsmDeploymentStatus) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmDeploymentStatus.

func (*CsmDeploymentStatus) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmDeploymentStatus.

type CsmDeploymentStatusCollection

type CsmDeploymentStatusCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CsmDeploymentStatus

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

CsmDeploymentStatusCollection - Deployment status collection ARM resource.

func (CsmDeploymentStatusCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmDeploymentStatusCollection.

func (*CsmDeploymentStatusCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmDeploymentStatusCollection.

type CsmDeploymentStatusProperties

type CsmDeploymentStatusProperties struct {
	// Deployment operation id.
	DeploymentID *string

	// List of errors.
	Errors []*ErrorEntity

	// List of URLs pointing to logs for instances which failed to provision.
	FailedInstancesLogs []*string

	// Number of site instances failed to provision.
	NumberOfInstancesFailed *int32

	// Number of site instances currently being provisioned.
	NumberOfInstancesInProgress *int32

	// Number of site instances provisioned successfully.
	NumberOfInstancesSuccessful *int32

	// Deployment build status.
	Status *DeploymentBuildStatus
}

CsmDeploymentStatusProperties - CsmDeploymentStatus resource specific properties

func (CsmDeploymentStatusProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmDeploymentStatusProperties.

func (*CsmDeploymentStatusProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmDeploymentStatusProperties.

type CsmMoveResourceEnvelope

type CsmMoveResourceEnvelope struct {
	Resources           []*string
	TargetResourceGroup *string
}

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.

func (*CsmMoveResourceEnvelope) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmMoveResourceEnvelope.

type CsmOperationCollection

type CsmOperationCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CsmOperationDescription

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

CsmOperationCollection - Collection of Azure resource manager operation metadata.

func (CsmOperationCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmOperationCollection.

func (*CsmOperationCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmOperationCollection.

type CsmOperationDescription

type CsmOperationDescription struct {
	// Meta data about operation used for display in portal.
	Display      *CsmOperationDisplay
	IsDataAction *bool
	Name         *string
	Origin       *string

	// Properties available for a Microsoft.Web resource provider operation.
	Properties *CsmOperationDescriptionProperties
}

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

func (CsmOperationDescription) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmOperationDescription.

func (*CsmOperationDescription) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmOperationDescription.

type CsmOperationDescriptionProperties

type CsmOperationDescriptionProperties struct {
	// Resource metrics service provided by Microsoft.Insights resource provider.
	ServiceSpecification *ServiceSpecification
}

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

func (CsmOperationDescriptionProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmOperationDescriptionProperties.

func (*CsmOperationDescriptionProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmOperationDescriptionProperties.

type CsmOperationDisplay

type CsmOperationDisplay struct {
	Description *string
	Operation   *string
	Provider    *string
	Resource    *string
}

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

func (CsmOperationDisplay) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmOperationDisplay.

func (*CsmOperationDisplay) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmOperationDisplay.

type CsmPublishingCredentialsPoliciesEntity

type CsmPublishingCredentialsPoliciesEntity struct {
	// Kind of resource.
	Kind *string

	// CsmPublishingCredentialsPoliciesEntity resource specific properties
	Properties *CsmPublishingCredentialsPoliciesEntityProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

CsmPublishingCredentialsPoliciesEntity - Publishing Credentials Policies parameters.

func (CsmPublishingCredentialsPoliciesEntity) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmPublishingCredentialsPoliciesEntity.

func (*CsmPublishingCredentialsPoliciesEntity) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmPublishingCredentialsPoliciesEntity.

type CsmPublishingCredentialsPoliciesEntityProperties

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

CsmPublishingCredentialsPoliciesEntityProperties - CsmPublishingCredentialsPoliciesEntity resource specific properties

func (CsmPublishingCredentialsPoliciesEntityProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type CsmPublishingCredentialsPoliciesEntityProperties.

func (*CsmPublishingCredentialsPoliciesEntityProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type CsmPublishingCredentialsPoliciesEntityProperties.

type CsmPublishingProfileOptions

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

	// Include the DisasterRecover endpoint if true
	IncludeDisasterRecoveryEndpoints *bool
}

CsmPublishingProfileOptions - Publishing options for requested profile.

func (CsmPublishingProfileOptions) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmPublishingProfileOptions.

func (*CsmPublishingProfileOptions) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmPublishingProfileOptions.

type CsmSlotEntity

type CsmSlotEntity struct {
	// REQUIRED; true to preserve Virtual Network to the slot during swap; otherwise, false.
	PreserveVnet *bool

	// REQUIRED; Destination deployment slot during swap operation.
	TargetSlot *string
}

CsmSlotEntity - Deployment slot parameters.

func (CsmSlotEntity) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmSlotEntity.

func (*CsmSlotEntity) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmSlotEntity.

type CsmUsageQuota

type CsmUsageQuota struct {
	// The current value of the resource counter.
	CurrentValue *int64

	// The resource limit.
	Limit *int64

	// Quota name.
	Name *LocalizableString

	// Next reset time for the resource counter.
	NextResetTime *time.Time

	// Units of measurement for the quota resource.
	Unit *string
}

CsmUsageQuota - Usage of the quota resource.

func (CsmUsageQuota) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmUsageQuota.

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

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

CsmUsageQuotaCollection - Collection of CSM usage quotas.

func (CsmUsageQuotaCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CsmUsageQuotaCollection.

func (*CsmUsageQuotaCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CsmUsageQuotaCollection.

type CustomDNSSuffixConfiguration

type CustomDNSSuffixConfiguration struct {
	// Kind of resource.
	Kind *string

	// CustomDnsSuffixConfiguration resource specific properties
	Properties *CustomDNSSuffixConfigurationProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

CustomDNSSuffixConfiguration - Full view of the custom domain suffix configuration for ASEv3.

func (CustomDNSSuffixConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomDNSSuffixConfiguration.

func (*CustomDNSSuffixConfiguration) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomDNSSuffixConfiguration.

type CustomDNSSuffixConfigurationProperties

type CustomDNSSuffixConfigurationProperties struct {
	// The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites
	// with the custom domain suffix.
	CertificateURL *string

	// The default custom domain suffix to use for all sites deployed on the ASE.
	DNSSuffix *string

	// The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned
	// ASE identity will be used if available.
	KeyVaultReferenceIdentity *string

	// READ-ONLY
	ProvisioningDetails *string

	// READ-ONLY
	ProvisioningState *CustomDNSSuffixProvisioningState
}

CustomDNSSuffixConfigurationProperties - CustomDnsSuffixConfiguration resource specific properties

func (CustomDNSSuffixConfigurationProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomDNSSuffixConfigurationProperties.

func (*CustomDNSSuffixConfigurationProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomDNSSuffixConfigurationProperties.

type CustomDNSSuffixProvisioningState

type CustomDNSSuffixProvisioningState string
const (
	CustomDNSSuffixProvisioningStateDegraded   CustomDNSSuffixProvisioningState = "Degraded"
	CustomDNSSuffixProvisioningStateFailed     CustomDNSSuffixProvisioningState = "Failed"
	CustomDNSSuffixProvisioningStateInProgress CustomDNSSuffixProvisioningState = "InProgress"
	CustomDNSSuffixProvisioningStateSucceeded  CustomDNSSuffixProvisioningState = "Succeeded"
)

func PossibleCustomDNSSuffixProvisioningStateValues

func PossibleCustomDNSSuffixProvisioningStateValues() []CustomDNSSuffixProvisioningState

PossibleCustomDNSSuffixProvisioningStateValues returns the possible values for the CustomDNSSuffixProvisioningState const type.

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"
	CustomDomainStatusUnhealthy                 CustomDomainStatus = "Unhealthy"
	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 (
	CustomHostNameDNSRecordTypeA     CustomHostNameDNSRecordType = "A"
	CustomHostNameDNSRecordTypeCName CustomHostNameDNSRecordType = "CName"
)

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

	// CustomHostnameAnalysisResult resource specific properties
	Properties *CustomHostnameAnalysisResultProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

CustomHostnameAnalysisResult - Custom domain analysis.

func (CustomHostnameAnalysisResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameAnalysisResult.

func (*CustomHostnameAnalysisResult) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomHostnameAnalysisResult.

type CustomHostnameAnalysisResultProperties

type CustomHostnameAnalysisResultProperties struct {
	// A records controller can see for this hostname.
	ARecords []*string

	// Alternate CName records controller can see for this hostname.
	AlternateCNameRecords []*string

	// Alternate TXT records controller can see for this hostname.
	AlternateTxtRecords []*string

	// CName records controller can see for this hostname.
	CNameRecords []*string

	// TXT records controller can see for this hostname.
	TxtRecords []*string

	// READ-ONLY; Name of the conflicting app on scale unit if it's within the same subscription.
	ConflictingAppResourceID *string

	// READ-ONLY; Raw failure information if DNS verification fails.
	CustomDomainVerificationFailureInfo *ErrorEntity

	// READ-ONLY; DNS verification test result.
	CustomDomainVerificationTest *DNSVerificationTestResult

	// READ-ONLY; true if there is a conflict across subscriptions; otherwise, false.
	HasConflictAcrossSubscription *bool

	// READ-ONLY; true if there is a conflict on a scale unit; otherwise, false.
	HasConflictOnScaleUnit *bool

	// READ-ONLY; true if hostname is already verified; otherwise, false.
	IsHostnameAlreadyVerified *bool
}

CustomHostnameAnalysisResultProperties - CustomHostnameAnalysisResult resource specific properties

func (CustomHostnameAnalysisResultProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameAnalysisResultProperties.

func (*CustomHostnameAnalysisResultProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomHostnameAnalysisResultProperties.

type CustomHostnameSites

type CustomHostnameSites struct {
	// Kind of resource.
	Kind *string

	// CustomHostnameSites resource specific properties
	Properties *CustomHostnameSitesProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

CustomHostnameSites - A hostname and its assigned sites

func (CustomHostnameSites) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameSites.

func (*CustomHostnameSites) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomHostnameSites.

type CustomHostnameSitesCollection

type CustomHostnameSitesCollection struct {
	// REQUIRED; Collection of resources.
	Value []*CustomHostnameSites

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

CustomHostnameSitesCollection - Collection of custom hostname sites

func (CustomHostnameSitesCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameSitesCollection.

func (*CustomHostnameSitesCollection) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomHostnameSitesCollection.

type CustomHostnameSitesProperties

type CustomHostnameSitesProperties struct {
	CustomHostname  *string
	Region          *string
	SiteResourceIDs []*Identifier
}

CustomHostnameSitesProperties - CustomHostnameSites resource specific properties

func (CustomHostnameSitesProperties) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomHostnameSitesProperties.

func (*CustomHostnameSitesProperties) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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

	// The configuration settings of the login flow of the custom Open ID Connect provider.
	Login *OpenIDConnectLogin

	// The configuration settings of the app registration for the custom Open ID Connect provider.
	Registration *OpenIDConnectRegistration
}

CustomOpenIDConnectProvider - The configuration settings of the custom Open ID Connect provider.

func (CustomOpenIDConnectProvider) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomOpenIDConnectProvider.

func (*CustomOpenIDConnectProvider) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller interface for type CustomOpenIDConnectProvider.

type CustomScaleRule

type CustomScaleRule struct {
	// Authentication secrets for the custom scale rule.
	Auth []*ScaleRuleAuth

	// Metadata properties to describe custom scale rule.
	Metadata map[string]*string

	// Type of the custom scale rule eg: azure-servicebus, redis etc.
	Type *string
}

CustomScaleRule - Container App container Custom scaling rule.

func (CustomScaleRule) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CustomScaleRule.

func (*CustomScaleRule) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaller 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 (
	DNSVerificationTestResultFailed  DNSVerificationTestResult = "Failed"
	DNSVerificationTestResultPassed  DNSVerificationTestResult = "Passed"
	DNSVerificationTestResultSkipped DNSVerificationTestResult = "Skipped"
)

func PossibleDNSVerificationTestResultValues

func PossibleDNSVerificationTestResultValues() []DNSVerificationTestResult

PossibleDNSVerificationTestResultValues returns the possible values for the DNSVerificationTestResult const type.

type Dapr

type Dapr struct {
	// Dapr application identifier
	AppID *string

	// Port on which the Dapr side car
	AppPort *int32

	// Collection of Dapr components
	Components []*DaprComponent

	// Boolean indicating if the Dapr side car is enabled
	Enabled *bool
}

Dapr - Container App Dapr configuration.

func (Dapr) MarshalJSON

func (d Dapr) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Dapr.

func (*Dapr) UnmarshalJSON

func (d *Dapr) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Dapr.

type DaprComponent

type DaprComponent struct {
	// Component metadata
	Metadata []*DaprMetadata

	// Component name
	Name *string

	// Component type
	Type *string

	// Component version
	Version *string
}

DaprComponent - Dapr component configuration

func (DaprComponent) MarshalJSON

func (d DaprComponent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DaprComponent.

func (*DaprComponent) UnmarshalJSON

func (d *DaprComponent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DaprComponent.

type DaprConfig added in v2.3.0

type DaprConfig struct {
	// Dapr application identifier
	AppID *string

	// Tells Dapr which port your application is listening on
	AppPort *int32

	// Enables API logging for the Dapr sidecar
	EnableAPILogging *bool

	// Boolean indicating if the Dapr side car is enabled
	Enabled *bool

	// Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB.
	HTTPMaxRequestSize *int32

	// Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
	HTTPReadBufferSize *int32

	// Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
	LogLevel *DaprLogLevel
}

DaprConfig - App Dapr configuration.

func (DaprConfig) MarshalJSON added in v2.3.0

func (d DaprConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DaprConfig.

func (*DaprConfig) UnmarshalJSON added in v2.3.0

func (d *DaprConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DaprConfig.

type DaprLogLevel added in v2.3.0

type DaprLogLevel string

DaprLogLevel - Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

const (
	DaprLogLevelDebug DaprLogLevel = "debug"
	DaprLogLevelError DaprLogLevel = "error"
	DaprLogLevelInfo  DaprLogLevel = "info"
	DaprLogLevelWarn  DaprLogLevel = "warn"
)

func PossibleDaprLogLevelValues added in v2.3.0

func PossibleDaprLogLevelValues() []DaprLogLevel

PossibleDaprLogLevelValues returns the possible values for the DaprLogLevel const type.

type DaprMetadata

type DaprMetadata struct {
	// Metadata property name.
	Name *string

	// Name of the Container App secret from which to pull the metadata property value.
	SecretRef *string

	// Metadata property value.
	Value *string
}

DaprMetadata - Container App Dapr component metadata.

func (DaprMetadata) MarshalJSON

func (d DaprMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DaprMetadata.

func (*DaprMetadata) UnmarshalJSON

func (d *DaprMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DaprMetadata.

type DataProviderMetadata

type DataProviderMetadata struct {
	ProviderName *string

	// READ-ONLY; Settings for the data provider
	PropertyBag []*KeyValuePairStringObject
}

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.

func (*DataProviderMetadata) UnmarshalJSON

func (d *DataProviderMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataProviderMetadata.

type DataSource

type DataSource struct {
	// Datasource Uri Links
	DataSourceURI []*NameValuePair

	// Instructions if any for the data source
	Instructions []*string
}

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.

func (*DataSource) UnmarshalJSON

func (d *DataSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataSource.

type DataTableResponseColumn

type DataTableResponseColumn struct {
	// Name of the column
	ColumnName *string

	// Column Type
	ColumnType *string

	// Data type which looks like 'String' or 'Int32'.
	DataType *string
}

DataTableResponseColumn - Column definition

func (DataTableResponseColumn) MarshalJSON

func (d DataTableResponseColumn) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataTableResponseColumn.

func (*DataTableResponseColumn) UnmarshalJSON

func (d *DataTableResponseColumn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataTableResponseColumn.

type DataTableResponseObject

type DataTableResponseObject struct {
	// List of columns with data types
	Columns []*DataTableResponseColumn

	// Raw row values
	Rows [][]*string

	// Name of the table
	TableName *string
}

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.

func (*DataTableResponseObject) UnmarshalJSON

func (d *DataTableResponseObject) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataTableResponseObject.

type DatabaseBackupSetting

type DatabaseBackupSetting struct {
	// REQUIRED; Database type (e.g. SqlAzure / MySql).
	DatabaseType *DatabaseType

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

	// Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with
	// overwrite connection strings options.
	ConnectionStringName *string
	Name                 *string
}

DatabaseBackupSetting - Database backup settings.

func (DatabaseBackupSetting) MarshalJSON

func (d DatabaseBackupSetting) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseBackupSetting.

func (*DatabaseBackupSetting) UnmarshalJSON

func (d *DatabaseBackupSetting) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseBackupSetting.

type DatabaseConnection added in v2.1.0

type DatabaseConnection struct {
	// Kind of resource.
	Kind *string

	// DatabaseConnection resource specific properties
	Properties *DatabaseConnectionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DatabaseConnection - Static Site Database Connection resource.

func (DatabaseConnection) MarshalJSON added in v2.1.0

func (d DatabaseConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseConnection.

func (*DatabaseConnection) UnmarshalJSON added in v2.1.0

func (d *DatabaseConnection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseConnection.

type DatabaseConnectionCollection added in v2.1.0

type DatabaseConnectionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DatabaseConnection

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DatabaseConnectionCollection - Collection of static site database connections.

func (DatabaseConnectionCollection) MarshalJSON added in v2.1.0

func (d DatabaseConnectionCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseConnectionCollection.

func (*DatabaseConnectionCollection) UnmarshalJSON added in v2.1.0

func (d *DatabaseConnectionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseConnectionCollection.

type DatabaseConnectionOverview added in v2.1.0

type DatabaseConnectionOverview struct {
	// READ-ONLY; A list of configuration files associated with this database connection.
	ConfigurationFiles []*StaticSiteDatabaseConnectionConfigurationFileOverview

	// READ-ONLY; If present, the identity is used in conjunction with connection string to connect to the database. Use of the
	// system-assigned managed identity is indicated with the string 'SystemAssigned', while use
	// of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
	ConnectionIdentity *string

	// READ-ONLY; If present, the name of this database connection resource.
	Name *string

	// READ-ONLY; The region of the database resource.
	Region *string

	// READ-ONLY; The resource id of the database.
	ResourceID *string
}

DatabaseConnectionOverview - Static Site Database Connection overview.

func (DatabaseConnectionOverview) MarshalJSON added in v2.1.0

func (d DatabaseConnectionOverview) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseConnectionOverview.

func (*DatabaseConnectionOverview) UnmarshalJSON added in v2.1.0

func (d *DatabaseConnectionOverview) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseConnectionOverview.

type DatabaseConnectionPatchRequest added in v2.1.0

type DatabaseConnectionPatchRequest struct {
	// DatabaseConnectionPatchRequest resource specific properties
	Properties *DatabaseConnectionPatchRequestProperties
}

DatabaseConnectionPatchRequest - Static Site Database Connection Request Properties resource when patching

func (DatabaseConnectionPatchRequest) MarshalJSON added in v2.1.0

func (d DatabaseConnectionPatchRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseConnectionPatchRequest.

func (*DatabaseConnectionPatchRequest) UnmarshalJSON added in v2.1.0

func (d *DatabaseConnectionPatchRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseConnectionPatchRequest.

type DatabaseConnectionPatchRequestProperties added in v2.1.0

type DatabaseConnectionPatchRequestProperties struct {
	// If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned
	// managed identity is indicated with the string 'SystemAssigned', while use
	// of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
	ConnectionIdentity *string

	// The connection string to use to connect to the database.
	ConnectionString *string

	// The region of the database resource.
	Region *string

	// The resource id of the database.
	ResourceID *string
}

DatabaseConnectionPatchRequestProperties - DatabaseConnectionPatchRequest resource specific properties

func (DatabaseConnectionPatchRequestProperties) MarshalJSON added in v2.1.0

MarshalJSON implements the json.Marshaller interface for type DatabaseConnectionPatchRequestProperties.

func (*DatabaseConnectionPatchRequestProperties) UnmarshalJSON added in v2.1.0

func (d *DatabaseConnectionPatchRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseConnectionPatchRequestProperties.

type DatabaseConnectionProperties added in v2.1.0

type DatabaseConnectionProperties struct {
	// REQUIRED; The region of the database resource.
	Region *string

	// REQUIRED; The resource id of the database.
	ResourceID *string

	// If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned
	// managed identity is indicated with the string 'SystemAssigned', while use
	// of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
	ConnectionIdentity *string

	// The connection string to use to connect to the database.
	ConnectionString *string

	// READ-ONLY; A list of configuration files associated with this database connection.
	ConfigurationFiles []*StaticSiteDatabaseConnectionConfigurationFileOverview
}

DatabaseConnectionProperties - DatabaseConnection resource specific properties

func (DatabaseConnectionProperties) MarshalJSON added in v2.1.0

func (d DatabaseConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseConnectionProperties.

func (*DatabaseConnectionProperties) UnmarshalJSON added in v2.1.0

func (d *DatabaseConnectionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseConnectionProperties.

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 DayOfWeek

type DayOfWeek string

DayOfWeek - The day of the week.

const (
	DayOfWeekFriday    DayOfWeek = "Friday"
	DayOfWeekMonday    DayOfWeek = "Monday"
	DayOfWeekSaturday  DayOfWeek = "Saturday"
	DayOfWeekSunday    DayOfWeek = "Sunday"
	DayOfWeekThursday  DayOfWeek = "Thursday"
	DayOfWeekTuesday   DayOfWeek = "Tuesday"
	DayOfWeekWednesday DayOfWeek = "Wednesday"
)

func PossibleDayOfWeekValues

func PossibleDayOfWeekValues() []DayOfWeek

PossibleDayOfWeekValues returns the possible values for the DayOfWeek const type.

type DaysOfWeek

type DaysOfWeek string
const (
	DaysOfWeekFriday    DaysOfWeek = "Friday"
	DaysOfWeekMonday    DaysOfWeek = "Monday"
	DaysOfWeekSaturday  DaysOfWeek = "Saturday"
	DaysOfWeekSunday    DaysOfWeek = "Sunday"
	DaysOfWeekThursday  DaysOfWeek = "Thursday"
	DaysOfWeekTuesday   DaysOfWeek = "Tuesday"
	DaysOfWeekWednesday DaysOfWeek = "Wednesday"
)

func PossibleDaysOfWeekValues

func PossibleDaysOfWeekValues() []DaysOfWeek

PossibleDaysOfWeekValues returns the possible values for the DaysOfWeek const type.

type DefaultAction added in v2.1.0

type DefaultAction string

DefaultAction - Default action for main access restriction if no rules are matched.

const (
	DefaultActionAllow DefaultAction = "Allow"
	DefaultActionDeny  DefaultAction = "Deny"
)

func PossibleDefaultActionValues added in v2.1.0

func PossibleDefaultActionValues() []DefaultAction

PossibleDefaultActionValues returns the possible values for the DefaultAction const type.

type DefaultAuthorizationPolicy

type DefaultAuthorizationPolicy struct {
	// The configuration settings of the Azure Active Directory allowed applications.
	AllowedApplications []*string

	// The configuration settings of the Azure Active Directory allowed principals.
	AllowedPrincipals *AllowedPrincipals
}

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.

func (*DefaultAuthorizationPolicy) UnmarshalJSON

func (d *DefaultAuthorizationPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DefaultAuthorizationPolicy.

type DefaultErrorResponse

type DefaultErrorResponse struct {
	// READ-ONLY; Error model.
	Error *DefaultErrorResponseError
}

DefaultErrorResponse - App Service error response.

func (DefaultErrorResponse) MarshalJSON

func (d DefaultErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DefaultErrorResponse.

func (*DefaultErrorResponse) UnmarshalJSON

func (d *DefaultErrorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DefaultErrorResponse.

type DefaultErrorResponseError

type DefaultErrorResponseError struct {
	Details []*DefaultErrorResponseErrorDetailsItem

	// READ-ONLY; Standardized string to programmatically identify the error.
	Code *string

	// READ-ONLY; More information to debug error.
	Innererror *string

	// READ-ONLY; Detailed error description and debugging information.
	Message *string

	// READ-ONLY; Detailed error description and debugging information.
	Target *string
}

DefaultErrorResponseError - Error model.

func (DefaultErrorResponseError) MarshalJSON

func (d DefaultErrorResponseError) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DefaultErrorResponseError.

func (*DefaultErrorResponseError) UnmarshalJSON

func (d *DefaultErrorResponseError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DefaultErrorResponseError.

type DefaultErrorResponseErrorDetailsItem

type DefaultErrorResponseErrorDetailsItem struct {
	// READ-ONLY; Standardized string to programmatically identify the error.
	Code *string

	// READ-ONLY; Detailed error description and debugging information.
	Message *string

	// READ-ONLY; Detailed error description and debugging information.
	Target *string
}

DefaultErrorResponseErrorDetailsItem - Detailed errors.

func (DefaultErrorResponseErrorDetailsItem) MarshalJSON

func (d DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DefaultErrorResponseErrorDetailsItem.

func (*DefaultErrorResponseErrorDetailsItem) UnmarshalJSON

func (d *DefaultErrorResponseErrorDetailsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DefaultErrorResponseErrorDetailsItem.

type DeletedAppRestoreRequest

type DeletedAppRestoreRequest struct {
	// Kind of resource.
	Kind *string

	// DeletedAppRestoreRequest resource specific properties
	Properties *DeletedAppRestoreRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DeletedAppRestoreRequest - Details about restoring a deleted app.

func (DeletedAppRestoreRequest) MarshalJSON

func (d DeletedAppRestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeletedAppRestoreRequest.

func (*DeletedAppRestoreRequest) UnmarshalJSON

func (d *DeletedAppRestoreRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeletedAppRestoreRequest.

type DeletedAppRestoreRequestProperties

type DeletedAppRestoreRequestProperties struct {
	// ARM resource ID of the deleted app. Example: /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}
	DeletedSiteID *string

	// If true, deleted site configuration, in addition to content, will be restored.
	RecoverConfiguration *bool

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

	// If true, the snapshot is retrieved from DRSecondary endpoint.
	UseDRSecondary *bool
}

DeletedAppRestoreRequestProperties - DeletedAppRestoreRequest resource specific properties

func (DeletedAppRestoreRequestProperties) MarshalJSON

func (d DeletedAppRestoreRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeletedAppRestoreRequestProperties.

func (*DeletedAppRestoreRequestProperties) UnmarshalJSON

func (d *DeletedAppRestoreRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeletedAppRestoreRequestProperties.

type DeletedSite

type DeletedSite struct {
	// Kind of resource.
	Kind *string

	// DeletedSite resource specific properties
	Properties *DeletedSiteProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DeletedSite - A deleted app.

func (DeletedSite) MarshalJSON

func (d DeletedSite) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeletedSite.

func (*DeletedSite) UnmarshalJSON

func (d *DeletedSite) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeletedSite.

type DeletedSiteProperties

type DeletedSiteProperties struct {
	// READ-ONLY; Numeric id for the deleted site
	DeletedSiteID *int32

	// READ-ONLY; Name of the deleted site
	DeletedSiteName *string

	// READ-ONLY; Time in UTC when the app was deleted.
	DeletedTimestamp *string

	// READ-ONLY; Geo Region of the deleted site
	GeoRegionName *string

	// READ-ONLY; Kind of site that was deleted
	Kind *string

	// READ-ONLY; ResourceGroup that contained the deleted site
	ResourceGroup *string

	// READ-ONLY; Slot of the deleted site
	Slot *string

	// READ-ONLY; Subscription containing the deleted site
	Subscription *string
}

DeletedSiteProperties - DeletedSite resource specific properties

func (DeletedSiteProperties) MarshalJSON

func (d DeletedSiteProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeletedSiteProperties.

func (*DeletedSiteProperties) UnmarshalJSON

func (d *DeletedSiteProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeletedSiteProperties.

type DeletedWebAppCollection

type DeletedWebAppCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DeletedSite

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DeletedWebAppCollection - Collection of deleted apps.

func (DeletedWebAppCollection) MarshalJSON

func (d DeletedWebAppCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeletedWebAppCollection.

func (*DeletedWebAppCollection) UnmarshalJSON

func (d *DeletedWebAppCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeletedWebAppCollection.

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 - Description for Get deleted app for a subscription at location. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetDeletedWebAppByLocation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDeletedWebAppsClient().GetDeletedWebAppByLocation(ctx, "West US 2", "9", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DeletedSite = armappservice.DeletedSite{
// 	Name: to.Ptr("wussite6"),
// 	Type: to.Ptr("Microsoft.Web/locations/deletedSites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6"),
// 	Properties: &armappservice.DeletedSiteProperties{
// 		DeletedSiteID: to.Ptr[int32](9),
// 		DeletedSiteName: to.Ptr("wussite6"),
// 		DeletedTimestamp: to.Ptr("2019-05-09T22:29:05.1337007"),
// 		GeoRegionName: to.Ptr("West US 2"),
// 		Kind: to.Ptr("app"),
// 		ResourceGroup: to.Ptr("rg1"),
// 		Slot: to.Ptr("Production"),
// 		Subscription: to.Ptr("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"),
// 	},
// }
Output:

func (*DeletedWebAppsClient) NewListByLocationPager

NewListByLocationPager - Description for Get all deleted apps for a subscription at location

Generated from API version 2023-01-01

  • options - DeletedWebAppsClientListByLocationOptions contains the optional parameters for the DeletedWebAppsClient.NewListByLocationPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListDeletedWebAppsByLocation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDeletedWebAppsClient().NewListByLocationPager("West US 2", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DeletedWebAppCollection = armappservice.DeletedWebAppCollection{
	// 	Value: []*armappservice.DeletedSite{
	// 		{
	// 			Name: to.Ptr("wussite6"),
	// 			Type: to.Ptr("Microsoft.Web/locations/deletedSites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6"),
	// 			Properties: &armappservice.DeletedSiteProperties{
	// 				DeletedSiteID: to.Ptr[int32](9),
	// 				DeletedSiteName: to.Ptr("wussite6"),
	// 				DeletedTimestamp: to.Ptr("2019-05-09T22:29:05.1337007"),
	// 				GeoRegionName: to.Ptr("West US 2"),
	// 				Kind: to.Ptr("app"),
	// 				ResourceGroup: to.Ptr("rg1"),
	// 				Slot: to.Ptr("Production"),
	// 				Subscription: to.Ptr("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"),
	// 			},
	// 	}},
	// }
}
Output:

func (*DeletedWebAppsClient) NewListPager

NewListPager - Description for Get all deleted apps for a subscription.

Generated from API version 2023-01-01

  • options - DeletedWebAppsClientListOptions contains the optional parameters for the DeletedWebAppsClient.NewListPager method.

type DeletedWebAppsClientGetDeletedWebAppByLocationOptions

type DeletedWebAppsClientGetDeletedWebAppByLocationOptions struct {
}

DeletedWebAppsClientGetDeletedWebAppByLocationOptions contains the optional parameters for the DeletedWebAppsClient.GetDeletedWebAppByLocation method.

type DeletedWebAppsClientGetDeletedWebAppByLocationResponse

type DeletedWebAppsClientGetDeletedWebAppByLocationResponse struct {
	// A deleted app.
	DeletedSite
}

DeletedWebAppsClientGetDeletedWebAppByLocationResponse contains the response from method DeletedWebAppsClient.GetDeletedWebAppByLocation.

type DeletedWebAppsClientListByLocationOptions

type DeletedWebAppsClientListByLocationOptions struct {
}

DeletedWebAppsClientListByLocationOptions contains the optional parameters for the DeletedWebAppsClient.NewListByLocationPager method.

type DeletedWebAppsClientListByLocationResponse

type DeletedWebAppsClientListByLocationResponse struct {
	// Collection of deleted apps.
	DeletedWebAppCollection
}

DeletedWebAppsClientListByLocationResponse contains the response from method DeletedWebAppsClient.NewListByLocationPager.

type DeletedWebAppsClientListOptions

type DeletedWebAppsClientListOptions struct {
}

DeletedWebAppsClientListOptions contains the optional parameters for the DeletedWebAppsClient.NewListPager method.

type DeletedWebAppsClientListResponse

type DeletedWebAppsClientListResponse struct {
	// Collection of deleted apps.
	DeletedWebAppCollection
}

DeletedWebAppsClientListResponse contains the response from method DeletedWebAppsClient.NewListPager.

type Deployment

type Deployment struct {
	// Kind of resource.
	Kind *string

	// Deployment resource specific properties
	Properties *DeploymentProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Deployment - User credentials used for publishing activity.

func (Deployment) MarshalJSON

func (d Deployment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Deployment.

func (*Deployment) UnmarshalJSON

func (d *Deployment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Deployment.

type DeploymentBuildStatus

type DeploymentBuildStatus string

DeploymentBuildStatus - Deployment build status.

const (
	DeploymentBuildStatusBuildAborted             DeploymentBuildStatus = "BuildAborted"
	DeploymentBuildStatusBuildFailed              DeploymentBuildStatus = "BuildFailed"
	DeploymentBuildStatusBuildInProgress          DeploymentBuildStatus = "BuildInProgress"
	DeploymentBuildStatusBuildPending             DeploymentBuildStatus = "BuildPending"
	DeploymentBuildStatusBuildRequestReceived     DeploymentBuildStatus = "BuildRequestReceived"
	DeploymentBuildStatusBuildSuccessful          DeploymentBuildStatus = "BuildSuccessful"
	DeploymentBuildStatusPostBuildRestartRequired DeploymentBuildStatus = "PostBuildRestartRequired"
	DeploymentBuildStatusRuntimeFailed            DeploymentBuildStatus = "RuntimeFailed"
	DeploymentBuildStatusRuntimeStarting          DeploymentBuildStatus = "RuntimeStarting"
	DeploymentBuildStatusRuntimeSuccessful        DeploymentBuildStatus = "RuntimeSuccessful"
	DeploymentBuildStatusStartPolling             DeploymentBuildStatus = "StartPolling"
	DeploymentBuildStatusStartPollingWithRestart  DeploymentBuildStatus = "StartPollingWithRestart"
	DeploymentBuildStatusTimedOut                 DeploymentBuildStatus = "TimedOut"
)

func PossibleDeploymentBuildStatusValues

func PossibleDeploymentBuildStatusValues() []DeploymentBuildStatus

PossibleDeploymentBuildStatusValues returns the possible values for the DeploymentBuildStatus const type.

type DeploymentCollection

type DeploymentCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Deployment

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DeploymentCollection - Collection of app deployments.

func (DeploymentCollection) MarshalJSON

func (d DeploymentCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeploymentCollection.

func (*DeploymentCollection) UnmarshalJSON

func (d *DeploymentCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentCollection.

type DeploymentLocations

type DeploymentLocations struct {
	// Available App Service Environments with basic information.
	HostingEnvironmentDeploymentInfos []*HostingEnvironmentDeploymentInfo

	// Available App Service Environments with full descriptions of the environments.
	HostingEnvironments []*Environment

	// Available regions.
	Locations []*GeoRegion
}

DeploymentLocations - List of available locations (regions or App Service Environments) for deployment of App Service resources.

func (DeploymentLocations) MarshalJSON

func (d DeploymentLocations) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DeploymentLocations.

func (*DeploymentLocations) UnmarshalJSON

func (d *DeploymentLocations) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentLocations.

type DeploymentProperties

type DeploymentProperties struct {
	// True if deployment is currently active, false if completed and null if not started.
	Active *bool

	// Who authored the deployment.
	Author *string

	// Author email.
	AuthorEmail *string

	// Who performed the deployment.
	Deployer *string

	// Details on deployment.
	Details *string

	// End time.
	EndTime *time.Time

	// Details about deployment status.
	Message *string

	// Start time.
	StartTime *time.Time

	// Deployment status.
	Status *int32
}

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

	// Message describing the event
	Message *string

	// Downtime metadata
	MetaData [][]*NameValuePair

	// Represents the rank of the Detector
	Priority *float64

	// List of proposed solutions
	Solutions []*Solution

	// Represents the name of the Detector
	Source *string

	// Start time of the correlated event
	StartTime *time.Time

	// Represents the type of the Detector
	Type *IssueType
}

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

	// READ-ONLY; Display name of the detector
	DisplayName *string

	// READ-ONLY; Flag representing whether detector is enabled or not.
	IsEnabled *bool

	// READ-ONLY; Detector Rank
	Rank *float64
}

DetectorDefinition - Class representing detector definition

func (DetectorDefinition) MarshalJSON

func (d DetectorDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorDefinition.

func (*DetectorDefinition) UnmarshalJSON

func (d *DetectorDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorDefinition.

type DetectorDefinitionResource

type DetectorDefinitionResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *DetectorDefinition

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DetectorDefinitionResource - ARM resource for a detector definition

func (DetectorDefinitionResource) MarshalJSON

func (d DetectorDefinitionResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorDefinitionResource.

func (*DetectorDefinitionResource) UnmarshalJSON

func (d *DetectorDefinitionResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorDefinitionResource.

type DetectorInfo

type DetectorInfo struct {
	// READ-ONLY; Analysis Types for which this detector should apply to.
	AnalysisType []*string

	// READ-ONLY; Author of the detector.
	Author *string

	// READ-ONLY; Problem category. This serves for organizing group for detectors.
	Category *string

	// READ-ONLY; Short description of the detector and its purpose.
	Description *string

	// READ-ONLY; Id of detector
	ID *string

	// READ-ONLY; Name of detector
	Name *string

	// READ-ONLY; Defines score of a detector to power ML based matching.
	Score *float32

	// READ-ONLY; List of Support Topics for which this detector is enabled.
	SupportTopicList []*SupportTopic

	// READ-ONLY; Whether this detector is an Analysis Detector or not.
	Type *DetectorType
}

DetectorInfo - Definition of Detector

func (DetectorInfo) MarshalJSON

func (d DetectorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorInfo.

func (*DetectorInfo) UnmarshalJSON

func (d *DetectorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorInfo.

type DetectorResponse

type DetectorResponse struct {
	// Kind of resource.
	Kind *string

	// DetectorResponse resource specific properties
	Properties *DetectorResponseProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DetectorResponse - Class representing Response from Detector

func (DetectorResponse) MarshalJSON

func (d DetectorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorResponse.

func (*DetectorResponse) UnmarshalJSON

func (d *DetectorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorResponse.

type DetectorResponseCollection

type DetectorResponseCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DetectorResponse

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DetectorResponseCollection - Collection of detector responses

func (DetectorResponseCollection) MarshalJSON

func (d DetectorResponseCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorResponseCollection.

func (*DetectorResponseCollection) UnmarshalJSON

func (d *DetectorResponseCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorResponseCollection.

type DetectorResponseProperties

type DetectorResponseProperties struct {
	// Additional configuration for different data providers to be used by the UI
	DataProvidersMetadata []*DataProviderMetadata

	// Data Set
	Dataset []*DiagnosticData

	// metadata for the detector
	Metadata *DetectorInfo

	// Indicates status of the most severe insight.
	Status *Status

	// Suggested utterances where the detector can be applicable.
	SuggestedUtterances *QueryUtterancesResults
}

DetectorResponseProperties - DetectorResponse resource specific properties

func (DetectorResponseProperties) MarshalJSON

func (d DetectorResponseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DetectorResponseProperties.

func (*DetectorResponseProperties) UnmarshalJSON

func (d *DetectorResponseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DetectorResponseProperties.

type DetectorType

type DetectorType string

DetectorType - Whether this detector is an Analysis Detector or not.

const (
	DetectorTypeAnalysis         DetectorType = "Analysis"
	DetectorTypeCategoryOverview DetectorType = "CategoryOverview"
	DetectorTypeDetector         DetectorType = "Detector"
)

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

	// DiagnosticAnalysis resource specific properties
	Properties *DiagnosticAnalysisProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DiagnosticAnalysis - Class representing a diagnostic analysis done on an application

func (DiagnosticAnalysis) MarshalJSON

func (d DiagnosticAnalysis) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticAnalysis.

func (*DiagnosticAnalysis) UnmarshalJSON

func (d *DiagnosticAnalysis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticAnalysis.

type DiagnosticAnalysisCollection

type DiagnosticAnalysisCollection struct {
	// REQUIRED; Collection of resources.
	Value []*AnalysisDefinition

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DiagnosticAnalysisCollection - Collection of Diagnostic Analyses

func (DiagnosticAnalysisCollection) MarshalJSON

func (d DiagnosticAnalysisCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticAnalysisCollection.

func (*DiagnosticAnalysisCollection) UnmarshalJSON

func (d *DiagnosticAnalysisCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticAnalysisCollection.

type DiagnosticAnalysisProperties

type DiagnosticAnalysisProperties struct {
	// List of time periods.
	AbnormalTimePeriods []*AbnormalTimePeriod

	// End time of the period
	EndTime *time.Time

	// Data by each detector for detectors that did not corelate
	NonCorrelatedDetectors []*DetectorDefinition

	// Data by each detector
	Payload []*AnalysisData

	// Start time of the period
	StartTime *time.Time
}

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

	// DiagnosticCategory resource specific properties
	Properties *DiagnosticCategoryProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DiagnosticCategory - Class representing detector definition

func (DiagnosticCategory) MarshalJSON

func (d DiagnosticCategory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticCategory.

func (*DiagnosticCategory) UnmarshalJSON

func (d *DiagnosticCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticCategory.

type DiagnosticCategoryCollection

type DiagnosticCategoryCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DiagnosticCategory

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DiagnosticCategoryCollection - Collection of Diagnostic Categories

func (DiagnosticCategoryCollection) MarshalJSON

func (d DiagnosticCategoryCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticCategoryCollection.

func (*DiagnosticCategoryCollection) UnmarshalJSON

func (d *DiagnosticCategoryCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticCategoryCollection.

type DiagnosticCategoryProperties

type DiagnosticCategoryProperties struct {
	// READ-ONLY; Description of the diagnostic category
	Description *string
}

DiagnosticCategoryProperties - DiagnosticCategory resource specific properties

func (DiagnosticCategoryProperties) MarshalJSON

func (d DiagnosticCategoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticCategoryProperties.

func (*DiagnosticCategoryProperties) UnmarshalJSON

func (d *DiagnosticCategoryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticCategoryProperties.

type DiagnosticData

type DiagnosticData struct {
	// Properties that describe how the table should be rendered
	RenderingProperties *Rendering

	// Data in table form
	Table *DataTableResponseObject
}

DiagnosticData - Set of data with rendering instructions

func (DiagnosticData) MarshalJSON

func (d DiagnosticData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticData.

func (*DiagnosticData) UnmarshalJSON

func (d *DiagnosticData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticData.

type DiagnosticDetectorCollection

type DiagnosticDetectorCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DetectorDefinitionResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DiagnosticDetectorCollection - Collection of Diagnostic Detectors

func (DiagnosticDetectorCollection) MarshalJSON

func (d DiagnosticDetectorCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticDetectorCollection.

func (*DiagnosticDetectorCollection) UnmarshalJSON

func (d *DiagnosticDetectorCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticDetectorCollection.

type DiagnosticDetectorResponse

type DiagnosticDetectorResponse struct {
	// Kind of resource.
	Kind *string

	// DiagnosticDetectorResponse resource specific properties
	Properties *DiagnosticDetectorResponseProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DiagnosticDetectorResponse - Class representing Response from Diagnostic Detectors

func (DiagnosticDetectorResponse) MarshalJSON

func (d DiagnosticDetectorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiagnosticDetectorResponse.

func (*DiagnosticDetectorResponse) UnmarshalJSON

func (d *DiagnosticDetectorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiagnosticDetectorResponse.

type DiagnosticDetectorResponseProperties

type DiagnosticDetectorResponseProperties struct {
	// List of Correlated events found by the detector
	AbnormalTimePeriods []*DetectorAbnormalTimePeriod

	// Additional Data that detector wants to send.
	Data [][]*NameValuePair

	// Detector's definition
	DetectorDefinition *DetectorDefinition

	// End time of the period
	EndTime *time.Time

	// Flag representing Issue was detected.
	IssueDetected *bool

	// Metrics provided by the detector
	Metrics []*DiagnosticMetricSet

	// Meta Data
	ResponseMetaData *ResponseMetaData

	// Start time of the period
	StartTime *time.Time
}

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

	// Maximum of the metric sampled during the time period
	Maximum *float64

	// Minimum of the metric sampled during the time period
	Minimum *float64

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

	// Time at which metric is measured
	Timestamp *time.Time

	// Total value of the metric. If multiple measurements are made this will have sum of all.
	Total *float64
}

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

	// Name of the metric
	Name *string

	// Start time of the period
	StartTime *time.Time

	// Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D
	TimeGrain *string

	// Metric's unit
	Unit *string

	// Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}
	Values []*DiagnosticMetricSample
}

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 - Description for Execute Analysis If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 (ExecuteSiteAnalysis)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ExecuteSiteAnalysis.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DiagnosticAnalysis = armappservice.DiagnosticAnalysis{
// 	Name: to.Ptr("apprestartanalysis"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses"),
// 	Properties: &armappservice.DiagnosticAnalysisProperties{
// 		AbnormalTimePeriods: []*armappservice.AbnormalTimePeriod{
// 			{
// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 				Events: []*armappservice.DetectorAbnormalTimePeriod{
// 					{
// 						Type: to.Ptr(armappservice.IssueTypeServiceIncident),
// 						EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:21:48.000Z"); return t}()),
// 						Message: to.Ptr("Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day."),
// 						MetaData: [][]*armappservice.NameValuePair{
// 							[]*armappservice.NameValuePair{
// 								{
// 									Name: to.Ptr("feature"),
// 									Value: to.Ptr("auditlogs"),
// 								},
// 								{
// 									Name: to.Ptr("displayedName"),
// 									Value: to.Ptr("Check Audit Logs"),
// 						}}},
// 						Priority: to.Ptr[float64](0),
// 						Solutions: []*armappservice.Solution{
// 						},
// 						StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:21:50.000Z"); return t}()),
// 				}},
// 				Solutions: []*armappservice.Solution{
// 				},
// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 		}},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 		NonCorrelatedDetectors: []*armappservice.DetectorDefinition{
// 		},
// 		Payload: []*armappservice.AnalysisData{
// 			{
// 				Data: [][]*armappservice.NameValuePair{
// 				},
// 				Metrics: []*armappservice.DiagnosticMetricSet{
// 					{
// 						Name: to.Ptr("All Application Stop Events"),
// 						EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 						StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 						TimeGrain: to.Ptr("00:05:00"),
// 						Values: []*armappservice.DiagnosticMetricSample{
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C15BE"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:00:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								IsAggregated: to.Ptr(true),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:00:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C15C1"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:10:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3BE0FB"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:10:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								IsAggregated: to.Ptr(true),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:10:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](4),
// 						}},
// 					},
// 					{
// 						Name: to.Ptr("User Events"),
// 						EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 						StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 						TimeGrain: to.Ptr("00:05:00"),
// 						Unit: to.Ptr(""),
// 						Values: []*armappservice.DiagnosticMetricSample{
// 							{
// 								IsAggregated: to.Ptr(true),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](3),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C09FC"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](1),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C2ADC"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](1),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C214E"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](1),
// 						}},
// 				}},
// 				Source: to.Ptr("workerprocessrecycle"),
// 		}},
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 	},
// }
Output:

Example (ExecuteSiteSlotAnalysis)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DiagnosticAnalysis = armappservice.DiagnosticAnalysis{
// 	Name: to.Ptr("apprestartanalysis"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses"),
// 	Properties: &armappservice.DiagnosticAnalysisProperties{
// 		AbnormalTimePeriods: []*armappservice.AbnormalTimePeriod{
// 			{
// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 				Events: []*armappservice.DetectorAbnormalTimePeriod{
// 					{
// 						Type: to.Ptr(armappservice.IssueTypeServiceIncident),
// 						EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:21:48.000Z"); return t}()),
// 						Message: to.Ptr("Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day."),
// 						MetaData: [][]*armappservice.NameValuePair{
// 							[]*armappservice.NameValuePair{
// 								{
// 									Name: to.Ptr("feature"),
// 									Value: to.Ptr("auditlogs"),
// 								},
// 								{
// 									Name: to.Ptr("displayedName"),
// 									Value: to.Ptr("Check Audit Logs"),
// 						}}},
// 						Priority: to.Ptr[float64](0),
// 						Solutions: []*armappservice.Solution{
// 						},
// 						StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:21:50.000Z"); return t}()),
// 				}},
// 				Solutions: []*armappservice.Solution{
// 				},
// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 		}},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 		NonCorrelatedDetectors: []*armappservice.DetectorDefinition{
// 		},
// 		Payload: []*armappservice.AnalysisData{
// 			{
// 				Data: [][]*armappservice.NameValuePair{
// 				},
// 				Metrics: []*armappservice.DiagnosticMetricSet{
// 					{
// 						Name: to.Ptr("All Application Stop Events"),
// 						EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 						StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 						TimeGrain: to.Ptr("00:05:00"),
// 						Values: []*armappservice.DiagnosticMetricSample{
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C15BE"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:00:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								IsAggregated: to.Ptr(true),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:00:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C15C1"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:10:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3BE0FB"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:10:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](2),
// 							},
// 							{
// 								IsAggregated: to.Ptr(true),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T00:10:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](4),
// 						}},
// 					},
// 					{
// 						Name: to.Ptr("User Events"),
// 						EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 						StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 						TimeGrain: to.Ptr("00:05:00"),
// 						Unit: to.Ptr(""),
// 						Values: []*armappservice.DiagnosticMetricSample{
// 							{
// 								IsAggregated: to.Ptr(true),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](3),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C09FC"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](1),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C2ADC"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](1),
// 							},
// 							{
// 								RoleInstance: to.Ptr("RD00155D3C214E"),
// 								Timestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:20:00.000Z"); return t}()),
// 								Total: to.Ptr[float64](1),
// 						}},
// 				}},
// 				Source: to.Ptr("workerprocessrecycle"),
// 		}},
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 	},
// }
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 - Description for Execute Analysis If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*DiagnosticsClient) ExecuteSiteDetector

func (client *DiagnosticsClient) ExecuteSiteDetector(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, options *DiagnosticsClientExecuteSiteDetectorOptions) (DiagnosticsClientExecuteSiteDetectorResponse, error)

ExecuteSiteDetector - Description for Execute Detector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 (ExecuteSiteDetector)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ExecuteSiteDetector.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DiagnosticDetectorResponse = armappservice.DiagnosticDetectorResponse{
// 	Name: to.Ptr("sitecrashes"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes"),
// 	Properties: &armappservice.DiagnosticDetectorResponseProperties{
// 		AbnormalTimePeriods: []*armappservice.DetectorAbnormalTimePeriod{
// 			{
// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 				Solutions: []*armappservice.Solution{
// 				},
// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 		}},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 	},
// }
Output:

Example (ExecuteSiteSlotDetector)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DiagnosticDetectorResponse = armappservice.DiagnosticDetectorResponse{
// 	Name: to.Ptr("sitecrashes"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes"),
// 	Properties: &armappservice.DiagnosticDetectorResponseProperties{
// 		AbnormalTimePeriods: []*armappservice.DetectorAbnormalTimePeriod{
// 			{
// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 				Solutions: []*armappservice.Solution{
// 				},
// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 		}},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-06T22:50:00.000Z"); return t}()),
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-11-05T22:50:00.000Z"); return t}()),
// 	},
// }
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 - Description for Execute Detector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*DiagnosticsClient) GetHostingEnvironmentDetectorResponse

func (client *DiagnosticsClient) GetHostingEnvironmentDetectorResponse(ctx context.Context, resourceGroupName string, name string, detectorName string, options *DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions) (DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse, error)

GetHostingEnvironmentDetectorResponse - Description for Get Hosting Environment Detector Response If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DetectorResponse = armappservice.DetectorResponse{
// 	Name: to.Ptr("runtimeavailability"),
// 	ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability"),
// 	Properties: &armappservice.DetectorResponseProperties{
// 		Dataset: []*armappservice.DiagnosticData{
// 			{
// 				RenderingProperties: &armappservice.Rendering{
// 					Description: to.Ptr("This detector breaks down the number of requests that your apps on this app service environment received for each status code."),
// 					Title: to.Ptr("Requests by Status Code"),
// 				},
// 				Table: &armappservice.DataTableResponseObject{
// 					Columns: []*armappservice.DataTableResponseColumn{
// 						{
// 							ColumnName: to.Ptr("PreciseTimeStamp"),
// 							ColumnType: to.Ptr("datetime"),
// 							DataType: to.Ptr("DateTime"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http2xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http3xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http4xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http5xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 					}},
// 					Rows: [][]*string{
// 						[]*string{
// 							to.Ptr("2018-03-27T00:25:00Z"),
// 							to.Ptr("772705"),
// 							to.Ptr("0"),
// 							to.Ptr("0"),
// 							to.Ptr("0")},
// 							[]*string{
// 								to.Ptr("2018-03-27T00:30:00Z"),
// 								to.Ptr("787069"),
// 								to.Ptr("0"),
// 								to.Ptr("0"),
// 								to.Ptr("0")},
// 								[]*string{
// 									to.Ptr("2018-03-27T00:35:00Z"),
// 									to.Ptr("781627"),
// 									to.Ptr("0"),
// 									to.Ptr("1"),
// 									to.Ptr("0")},
// 									[]*string{
// 										to.Ptr("2018-03-27T00:40:00Z"),
// 										to.Ptr("785017"),
// 										to.Ptr("0"),
// 										to.Ptr("0"),
// 										to.Ptr("0")},
// 										[]*string{
// 											to.Ptr("2018-03-27T00:45:00Z"),
// 											to.Ptr("783518"),
// 											to.Ptr("0"),
// 											to.Ptr("0"),
// 											to.Ptr("0")},
// 											[]*string{
// 												to.Ptr("2018-03-27T00:50:00Z"),
// 												to.Ptr("785783"),
// 												to.Ptr("0"),
// 												to.Ptr("0"),
// 												to.Ptr("0")},
// 												[]*string{
// 													to.Ptr("2018-03-27T00:55:00Z"),
// 													to.Ptr("772874"),
// 													to.Ptr("0"),
// 													to.Ptr("0"),
// 													to.Ptr("0")},
// 													[]*string{
// 														to.Ptr("2018-03-27T01:00:00Z"),
// 														to.Ptr("787162"),
// 														to.Ptr("0"),
// 														to.Ptr("0"),
// 														to.Ptr("0")},
// 														[]*string{
// 															to.Ptr("2018-03-27T01:05:00Z"),
// 															to.Ptr("782036"),
// 															to.Ptr("0"),
// 															to.Ptr("0"),
// 															to.Ptr("0")},
// 															[]*string{
// 																to.Ptr("2018-03-27T01:10:00Z"),
// 																to.Ptr("784642"),
// 																to.Ptr("0"),
// 																to.Ptr("0"),
// 																to.Ptr("0")}},
// 																TableName: to.Ptr("Table_0"),
// 															},
// 													}},
// 													Metadata: &armappservice.DetectorInfo{
// 														Description: to.Ptr("This detector analyzes all the requests to all applications running on this app service environment."),
// 														Category: to.Ptr("Availability and Performance"),
// 													},
// 												},
// 											}
Output:

func (*DiagnosticsClient) GetSiteAnalysis

func (client *DiagnosticsClient) GetSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, options *DiagnosticsClientGetSiteAnalysisOptions) (DiagnosticsClientGetSiteAnalysisResponse, error)

GetSiteAnalysis - Description for Get Site Analysis If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 (GetAppAnalysis)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteAnalysis.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().GetSiteAnalysis(ctx, "Sample-WestUSResourceGroup", "SampleApp", "availability", "appanalysis", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AnalysisDefinition = armappservice.AnalysisDefinition{
// 	Name: to.Ptr("appanalysis"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis"),
// 	Properties: &armappservice.AnalysisDefinitionProperties{
// 		Description: to.Ptr("Determine causes of availability loss as well as solutions for these problems"),
// 	},
// }
Output:

Example (GetAppSlotAnalysis)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteAnalysisSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().GetSiteAnalysis(ctx, "Sample-WestUSResourceGroup", "SampleApp", "availability", "appanalysis", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AnalysisDefinition = armappservice.AnalysisDefinition{
// 	Name: to.Ptr("appanalysis"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis"),
// 	Properties: &armappservice.AnalysisDefinitionProperties{
// 		Description: to.Ptr("Determine causes of availability loss as well as solutions for these problems"),
// 	},
// }
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 - Description for Get Site Analysis If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*DiagnosticsClient) GetSiteDetector

func (client *DiagnosticsClient) GetSiteDetector(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, options *DiagnosticsClientGetSiteDetectorOptions) (DiagnosticsClientGetSiteDetectorResponse, error)

GetSiteDetector - Description for Get Detector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 (GetAppDetector)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteDetector.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().GetSiteDetector(ctx, "Sample-WestUSResourceGroup", "SampleApp", "availability", "sitecrashes", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DetectorDefinitionResource = armappservice.DetectorDefinitionResource{
// 	Name: to.Ptr("sitecrashes"),
// 	ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes"),
// 	Properties: &armappservice.DetectorDefinition{
// 		DisplayName: to.Ptr("Site Crash Events"),
// 		IsEnabled: to.Ptr(true),
// 		Rank: to.Ptr[float64](9),
// 	},
// }
Output:

Example (GetAppSlotDetector)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteDetectorSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().GetSiteDetector(ctx, "Sample-WestUSResourceGroup", "SampleApp", "availability", "sitecrashes", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DetectorDefinitionResource = armappservice.DetectorDefinitionResource{
// 	Name: to.Ptr("sitecrashes"),
// 	ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes"),
// 	Properties: &armappservice.DetectorDefinition{
// 		DisplayName: to.Ptr("Site Crash Events"),
// 		IsEnabled: to.Ptr(true),
// 		Rank: to.Ptr[float64](9),
// 	},
// }
Output:

func (*DiagnosticsClient) GetSiteDetectorResponse

func (client *DiagnosticsClient) GetSiteDetectorResponse(ctx context.Context, resourceGroupName string, siteName string, detectorName string, options *DiagnosticsClientGetSiteDetectorResponseOptions) (DiagnosticsClientGetSiteDetectorResponseResponse, error)

GetSiteDetectorResponse - Description for Get site detector response If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 (GetAppDetectorResponse)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteDetectorResponse.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DetectorResponse = armappservice.DetectorResponse{
// 	Name: to.Ptr("runtimeavailability"),
// 	ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability"),
// 	Properties: &armappservice.DetectorResponseProperties{
// 		Dataset: []*armappservice.DiagnosticData{
// 			{
// 				RenderingProperties: &armappservice.Rendering{
// 					Description: to.Ptr("This detector breaks down the number of requests that your app received for each status code."),
// 					Title: to.Ptr("Requests by Status Code"),
// 				},
// 				Table: &armappservice.DataTableResponseObject{
// 					Columns: []*armappservice.DataTableResponseColumn{
// 						{
// 							ColumnName: to.Ptr("PreciseTimeStamp"),
// 							ColumnType: to.Ptr("datetime"),
// 							DataType: to.Ptr("DateTime"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http2xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http3xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http4xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http5xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 					}},
// 					Rows: [][]*string{
// 						[]*string{
// 							to.Ptr("2018-03-27T00:25:00Z"),
// 							to.Ptr("772705"),
// 							to.Ptr("0"),
// 							to.Ptr("0"),
// 							to.Ptr("0")},
// 							[]*string{
// 								to.Ptr("2018-03-27T00:30:00Z"),
// 								to.Ptr("787069"),
// 								to.Ptr("0"),
// 								to.Ptr("0"),
// 								to.Ptr("0")},
// 								[]*string{
// 									to.Ptr("2018-03-27T00:35:00Z"),
// 									to.Ptr("781627"),
// 									to.Ptr("0"),
// 									to.Ptr("1"),
// 									to.Ptr("0")},
// 									[]*string{
// 										to.Ptr("2018-03-27T00:40:00Z"),
// 										to.Ptr("785017"),
// 										to.Ptr("0"),
// 										to.Ptr("0"),
// 										to.Ptr("0")},
// 										[]*string{
// 											to.Ptr("2018-03-27T00:45:00Z"),
// 											to.Ptr("783518"),
// 											to.Ptr("0"),
// 											to.Ptr("0"),
// 											to.Ptr("0")},
// 											[]*string{
// 												to.Ptr("2018-03-27T00:50:00Z"),
// 												to.Ptr("785783"),
// 												to.Ptr("0"),
// 												to.Ptr("0"),
// 												to.Ptr("0")},
// 												[]*string{
// 													to.Ptr("2018-03-27T00:55:00Z"),
// 													to.Ptr("772874"),
// 													to.Ptr("0"),
// 													to.Ptr("0"),
// 													to.Ptr("0")},
// 													[]*string{
// 														to.Ptr("2018-03-27T01:00:00Z"),
// 														to.Ptr("787162"),
// 														to.Ptr("0"),
// 														to.Ptr("0"),
// 														to.Ptr("0")},
// 														[]*string{
// 															to.Ptr("2018-03-27T01:05:00Z"),
// 															to.Ptr("782036"),
// 															to.Ptr("0"),
// 															to.Ptr("0"),
// 															to.Ptr("0")},
// 															[]*string{
// 																to.Ptr("2018-03-27T01:10:00Z"),
// 																to.Ptr("784642"),
// 																to.Ptr("0"),
// 																to.Ptr("0"),
// 																to.Ptr("0")}},
// 																TableName: to.Ptr("Table_0"),
// 															},
// 													}},
// 													Metadata: &armappservice.DetectorInfo{
// 														Description: to.Ptr("This detector analyzes the requests to your application."),
// 														Category: to.Ptr("Availability and Performance"),
// 													},
// 												},
// 											}
Output:

Example (GetAppSlotDetectorResponse)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DetectorResponse = armappservice.DetectorResponse{
// 	Name: to.Ptr("runtimeavailability"),
// 	ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability"),
// 	Properties: &armappservice.DetectorResponseProperties{
// 		Dataset: []*armappservice.DiagnosticData{
// 			{
// 				RenderingProperties: &armappservice.Rendering{
// 					Description: to.Ptr("This detector breaks down the number of requests that your app received for each status code."),
// 					Title: to.Ptr("Requests by Status Code"),
// 				},
// 				Table: &armappservice.DataTableResponseObject{
// 					Columns: []*armappservice.DataTableResponseColumn{
// 						{
// 							ColumnName: to.Ptr("PreciseTimeStamp"),
// 							ColumnType: to.Ptr("datetime"),
// 							DataType: to.Ptr("DateTime"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http2xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http3xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http4xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 						},
// 						{
// 							ColumnName: to.Ptr("count_Http5xx"),
// 							ColumnType: to.Ptr("long"),
// 							DataType: to.Ptr("Int64"),
// 					}},
// 					Rows: [][]*string{
// 						[]*string{
// 							to.Ptr("2018-03-27T00:25:00Z"),
// 							to.Ptr("772705"),
// 							to.Ptr("0"),
// 							to.Ptr("0"),
// 							to.Ptr("0")},
// 							[]*string{
// 								to.Ptr("2018-03-27T00:30:00Z"),
// 								to.Ptr("787069"),
// 								to.Ptr("0"),
// 								to.Ptr("0"),
// 								to.Ptr("0")},
// 								[]*string{
// 									to.Ptr("2018-03-27T00:35:00Z"),
// 									to.Ptr("781627"),
// 									to.Ptr("0"),
// 									to.Ptr("1"),
// 									to.Ptr("0")},
// 									[]*string{
// 										to.Ptr("2018-03-27T00:40:00Z"),
// 										to.Ptr("785017"),
// 										to.Ptr("0"),
// 										to.Ptr("0"),
// 										to.Ptr("0")},
// 										[]*string{
// 											to.Ptr("2018-03-27T00:45:00Z"),
// 											to.Ptr("783518"),
// 											to.Ptr("0"),
// 											to.Ptr("0"),
// 											to.Ptr("0")},
// 											[]*string{
// 												to.Ptr("2018-03-27T00:50:00Z"),
// 												to.Ptr("785783"),
// 												to.Ptr("0"),
// 												to.Ptr("0"),
// 												to.Ptr("0")},
// 												[]*string{
// 													to.Ptr("2018-03-27T00:55:00Z"),
// 													to.Ptr("772874"),
// 													to.Ptr("0"),
// 													to.Ptr("0"),
// 													to.Ptr("0")},
// 													[]*string{
// 														to.Ptr("2018-03-27T01:00:00Z"),
// 														to.Ptr("787162"),
// 														to.Ptr("0"),
// 														to.Ptr("0"),
// 														to.Ptr("0")},
// 														[]*string{
// 															to.Ptr("2018-03-27T01:05:00Z"),
// 															to.Ptr("782036"),
// 															to.Ptr("0"),
// 															to.Ptr("0"),
// 															to.Ptr("0")},
// 															[]*string{
// 																to.Ptr("2018-03-27T01:10:00Z"),
// 																to.Ptr("784642"),
// 																to.Ptr("0"),
// 																to.Ptr("0"),
// 																to.Ptr("0")}},
// 																TableName: to.Ptr("Table_0"),
// 															},
// 													}},
// 													Metadata: &armappservice.DetectorInfo{
// 														Description: to.Ptr("This detector analyzes the requests to your application."),
// 														Category: to.Ptr("Availability and Performance"),
// 													},
// 												},
// 											}
Output:

func (*DiagnosticsClient) GetSiteDetectorResponseSlot

func (client *DiagnosticsClient) GetSiteDetectorResponseSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, slot string, options *DiagnosticsClientGetSiteDetectorResponseSlotOptions) (DiagnosticsClientGetSiteDetectorResponseSlotResponse, error)

GetSiteDetectorResponseSlot - Description for Get site detector response If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

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 - Description for Get Detector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*DiagnosticsClient) GetSiteDiagnosticCategory

func (client *DiagnosticsClient) GetSiteDiagnosticCategory(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, options *DiagnosticsClientGetSiteDiagnosticCategoryOptions) (DiagnosticsClientGetSiteDiagnosticCategoryResponse, error)

GetSiteDiagnosticCategory - Description for Get Diagnostics Category If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 (GetAppDiagnosticCategory)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteDiagnosticCategory.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().GetSiteDiagnosticCategory(ctx, "Sample-WestUSResourceGroup", "SampleApp", "availability", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DiagnosticCategory = armappservice.DiagnosticCategory{
// 	Name: to.Ptr("availability"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability"),
// 	Properties: &armappservice.DiagnosticCategoryProperties{
// 		Description: to.Ptr("Availability and Perfomance Diagnostics"),
// 	},
// }
Output:

Example (GetAppSlotDiagnosticCategory)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDiagnosticsClient().GetSiteDiagnosticCategory(ctx, "Sample-WestUSResourceGroup", "SampleApp", "availability", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DiagnosticCategory = armappservice.DiagnosticCategory{
// 	Name: to.Ptr("availability"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability"),
// 	Properties: &armappservice.DiagnosticCategoryProperties{
// 		Description: to.Ptr("Availability and Perfomance Diagnostics"),
// 	},
// }
Output:

func (*DiagnosticsClient) GetSiteDiagnosticCategorySlot

func (client *DiagnosticsClient) GetSiteDiagnosticCategorySlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string, options *DiagnosticsClientGetSiteDiagnosticCategorySlotOptions) (DiagnosticsClientGetSiteDiagnosticCategorySlotResponse, error)

GetSiteDiagnosticCategorySlot - Description for Get Diagnostics Category If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*DiagnosticsClient) NewListHostingEnvironmentDetectorResponsesPager

NewListHostingEnvironmentDetectorResponsesPager - Description for List Hosting Environment Detector Responses

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site Name
  • options - DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.NewListHostingEnvironmentDetectorResponsesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListHostingEnvironmentDetectorResponsesPager("Sample-WestUSResourceGroup", "SampleAppServiceEnvironment", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DetectorResponseCollection = armappservice.DetectorResponseCollection{
	// 	Value: []*armappservice.DetectorResponse{
	// 		{
	// 			Name: to.Ptr("runtimeavailability"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability"),
	// 			Properties: &armappservice.DetectorResponseProperties{
	// 				Dataset: []*armappservice.DiagnosticData{
	// 				},
	// 				Metadata: &armappservice.DetectorInfo{
	// 					Description: to.Ptr("This detector analyzes all the requests to all applications running on this app service environment."),
	// 					Category: to.Ptr("Availability and Performance"),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

func (*DiagnosticsClient) NewListSiteAnalysesPager

func (client *DiagnosticsClient) NewListSiteAnalysesPager(resourceGroupName string, siteName string, diagnosticCategory string, options *DiagnosticsClientListSiteAnalysesOptions) *runtime.Pager[DiagnosticsClientListSiteAnalysesResponse]

NewListSiteAnalysesPager - Description for Get Site Analyses

Generated from API version 2023-01-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.NewListSiteAnalysesPager method.
Example (ListAppAnalyses)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteAnalyses.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteAnalysesPager("Sample-WestUSResourceGroup", "SampleApp", "availability", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DiagnosticAnalysisCollection = armappservice.DiagnosticAnalysisCollection{
	// 	Value: []*armappservice.AnalysisDefinition{
	// 		{
	// 			Name: to.Ptr("appanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Determine causes of availability loss as well as solutions for these problems"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("apprestartanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Find the reasons that your app restarted"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("memoryanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Detect issues with memory as well as suggest ways to troubleshoot memory problems"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("tcpconnectionsanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Analyze port usage and find out if a high number of connections is causing problems for your web app"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("perfanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Determine causes of performance degredation as well as solutions for these problems"),
	// 			},
	// 	}},
	// }
}
Output:

Example (ListAppSlotAnalyses)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteAnalysesSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteAnalysesPager("Sample-WestUSResourceGroup", "SampleApp", "availability", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DiagnosticAnalysisCollection = armappservice.DiagnosticAnalysisCollection{
	// 	Value: []*armappservice.AnalysisDefinition{
	// 		{
	// 			Name: to.Ptr("appanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Determine causes of availability loss as well as solutions for these problems"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("apprestartanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Find the reasons that your app restarted"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("memoryanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Detect issues with memory as well as suggest ways to troubleshoot memory problems"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("tcpconnectionsanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Analyze port usage and find out if a high number of connections is causing problems for your web app"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("perfanalysis"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis"),
	// 			Properties: &armappservice.AnalysisDefinitionProperties{
	// 				Description: to.Ptr("Determine causes of performance degredation as well as solutions for these problems"),
	// 			},
	// 	}},
	// }
}
Output:

func (*DiagnosticsClient) NewListSiteAnalysesSlotPager

func (client *DiagnosticsClient) NewListSiteAnalysesSlotPager(resourceGroupName string, siteName string, diagnosticCategory string, slot string, options *DiagnosticsClientListSiteAnalysesSlotOptions) *runtime.Pager[DiagnosticsClientListSiteAnalysesSlotResponse]

NewListSiteAnalysesSlotPager - Description for Get Site Analyses

Generated from API version 2023-01-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.NewListSiteAnalysesSlotPager method.

func (*DiagnosticsClient) NewListSiteDetectorResponsesPager

func (client *DiagnosticsClient) NewListSiteDetectorResponsesPager(resourceGroupName string, siteName string, options *DiagnosticsClientListSiteDetectorResponsesOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorResponsesResponse]

NewListSiteDetectorResponsesPager - Description for List Site Detector Responses

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • siteName - Site Name
  • options - DiagnosticsClientListSiteDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDetectorResponsesPager method.
Example (GetAppDetectorResponses)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteDetectorResponses.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteDetectorResponsesPager("Sample-WestUSResourceGroup", "SampleApp", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DetectorResponseCollection = armappservice.DetectorResponseCollection{
	// 	Value: []*armappservice.DetectorResponse{
	// 		{
	// 			Name: to.Ptr("runtimeavailability"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability"),
	// 			Properties: &armappservice.DetectorResponseProperties{
	// 				Dataset: []*armappservice.DiagnosticData{
	// 				},
	// 				Metadata: &armappservice.DetectorInfo{
	// 					Description: to.Ptr("This detector analyzes the requests to your application."),
	// 					Category: to.Ptr("Availability and Performance"),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

Example (GetAppSlotDetectorResponses)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteDetectorResponsesPager("Sample-WestUSResourceGroup", "SampleApp", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DetectorResponseCollection = armappservice.DetectorResponseCollection{
	// 	Value: []*armappservice.DetectorResponse{
	// 		{
	// 			Name: to.Ptr("runtimeavailability"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability"),
	// 			Properties: &armappservice.DetectorResponseProperties{
	// 				Dataset: []*armappservice.DiagnosticData{
	// 				},
	// 				Metadata: &armappservice.DetectorInfo{
	// 					Description: to.Ptr("This detector analyzes the requests to your application."),
	// 					Category: to.Ptr("Availability and Performance"),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

func (*DiagnosticsClient) NewListSiteDetectorResponsesSlotPager

func (client *DiagnosticsClient) NewListSiteDetectorResponsesSlotPager(resourceGroupName string, siteName string, slot string, options *DiagnosticsClientListSiteDetectorResponsesSlotOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorResponsesSlotResponse]

NewListSiteDetectorResponsesSlotPager - Description for List Site Detector Responses

Generated from API version 2023-01-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.NewListSiteDetectorResponsesSlotPager method.

func (*DiagnosticsClient) NewListSiteDetectorsPager

func (client *DiagnosticsClient) NewListSiteDetectorsPager(resourceGroupName string, siteName string, diagnosticCategory string, options *DiagnosticsClientListSiteDetectorsOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorsResponse]

NewListSiteDetectorsPager - Description for Get Detectors

Generated from API version 2023-01-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.NewListSiteDetectorsPager method.
Example (ListAppDetectors)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteDetectors.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteDetectorsPager("Sample-WestUSResourceGroup", "SampleApp", "availability", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DiagnosticDetectorCollection = armappservice.DiagnosticDetectorCollection{
	// 	Value: []*armappservice.DetectorDefinitionResource{
	// 		{
	// 			Name: to.Ptr("servicehealth"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Service Health"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](1),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("siteswap"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Swap Operations"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](8),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("sitecrashes"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Crash Events"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](9),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("deployment"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Deployments"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](7),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("sitecpuanalysis"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("CPU Analysis"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](3),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("sitememoryanalysis"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Physical Memory Analysis"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](3),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("committedmemoryusage"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Committed Memory Usage"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](7),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("pagefileoperations"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Page File Operations"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](3),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("siterestartuserinitiated"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("User Initiated Site Restarts"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](14),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("siterestartsettingupdate"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Config Update Site Restarts"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](12),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("frebanalysis"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Freb Logs Analysis"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](6),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("workeravailability"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Worker Availability"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](11),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("sitelatency"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Latency"),
	// 				IsEnabled: to.Ptr(false),
	// 				Rank: to.Ptr[float64](1005),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("threadcount"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Thread Count"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](23),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("failedrequestsperuri"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Failed Requests Per URI"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](998),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("autoheal"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("AutoHeal"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](21),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("loganalyzer"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("PHP Log Analyzer"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](26),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("aspnetcore"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("ASP.NET Core"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](5),
	// 			},
	// 	}},
	// }
}
Output:

Example (ListAppSlotDetectors)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteDetectorsSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteDetectorsPager("Sample-WestUSResourceGroup", "SampleApp", "availability", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DiagnosticDetectorCollection = armappservice.DiagnosticDetectorCollection{
	// 	Value: []*armappservice.DetectorDefinitionResource{
	// 		{
	// 			Name: to.Ptr("servicehealth"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Service Health"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](1),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("siteswap"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Swap Operations"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](8),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("sitecrashes"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Crash Events"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](9),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("deployment"),
	// 			ID: to.Ptr("/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment"),
	// 			Properties: &armappservice.DetectorDefinition{
	// 				DisplayName: to.Ptr("Site Deployments"),
	// 				IsEnabled: to.Ptr(true),
	// 				Rank: to.Ptr[float64](7),
	// 			},
	// 	}},
	// }
}
Output:

func (*DiagnosticsClient) NewListSiteDetectorsSlotPager

func (client *DiagnosticsClient) NewListSiteDetectorsSlotPager(resourceGroupName string, siteName string, diagnosticCategory string, slot string, options *DiagnosticsClientListSiteDetectorsSlotOptions) *runtime.Pager[DiagnosticsClientListSiteDetectorsSlotResponse]

NewListSiteDetectorsSlotPager - Description for Get Detectors

Generated from API version 2023-01-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.NewListSiteDetectorsSlotPager method.

func (*DiagnosticsClient) NewListSiteDiagnosticCategoriesPager

func (client *DiagnosticsClient) NewListSiteDiagnosticCategoriesPager(resourceGroupName string, siteName string, options *DiagnosticsClientListSiteDiagnosticCategoriesOptions) *runtime.Pager[DiagnosticsClientListSiteDiagnosticCategoriesResponse]

NewListSiteDiagnosticCategoriesPager - Description for Get Diagnostics Categories

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • siteName - Site Name
  • options - DiagnosticsClientListSiteDiagnosticCategoriesOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDiagnosticCategoriesPager method.
Example (ListAppDiagnosticCategories)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteDiagnosticCategories.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteDiagnosticCategoriesPager("Sample-WestUSResourceGroup", "SampleApp", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DiagnosticCategoryCollection = armappservice.DiagnosticCategoryCollection{
	// 	Value: []*armappservice.DiagnosticCategory{
	// 		{
	// 			Name: to.Ptr("availability"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability"),
	// 			Properties: &armappservice.DiagnosticCategoryProperties{
	// 				Description: to.Ptr("Availability and Perfomance Diagnostics"),
	// 			},
	// 	}},
	// }
}
Output:

Example (ListAppSlotDiagnosticCategories)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDiagnosticsClient().NewListSiteDiagnosticCategoriesPager("Sample-WestUSResourceGroup", "SampleApp", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DiagnosticCategoryCollection = armappservice.DiagnosticCategoryCollection{
	// 	Value: []*armappservice.DiagnosticCategory{
	// 		{
	// 			Name: to.Ptr("availability"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability"),
	// 			Properties: &armappservice.DiagnosticCategoryProperties{
	// 				Description: to.Ptr("Availability and Perfomance Diagnostics"),
	// 			},
	// 	}},
	// }
}
Output:

func (*DiagnosticsClient) NewListSiteDiagnosticCategoriesSlotPager

func (client *DiagnosticsClient) NewListSiteDiagnosticCategoriesSlotPager(resourceGroupName string, siteName string, slot string, options *DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions) *runtime.Pager[DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse]

NewListSiteDiagnosticCategoriesSlotPager - Description for Get Diagnostics Categories

Generated from API version 2023-01-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.NewListSiteDiagnosticCategoriesSlotPager method.

type DiagnosticsClientExecuteSiteAnalysisOptions

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

type DiagnosticsClientExecuteSiteAnalysisResponse struct {
	// Class representing a diagnostic analysis done on an application
	DiagnosticAnalysis
}

DiagnosticsClientExecuteSiteAnalysisResponse contains the response from method DiagnosticsClient.ExecuteSiteAnalysis.

type DiagnosticsClientExecuteSiteAnalysisSlotOptions

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

type DiagnosticsClientExecuteSiteAnalysisSlotResponse struct {
	// Class representing a diagnostic analysis done on an application
	DiagnosticAnalysis
}

DiagnosticsClientExecuteSiteAnalysisSlotResponse contains the response from method DiagnosticsClient.ExecuteSiteAnalysisSlot.

type DiagnosticsClientExecuteSiteDetectorOptions

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

type DiagnosticsClientExecuteSiteDetectorResponse struct {
	// Class representing Response from Diagnostic Detectors
	DiagnosticDetectorResponse
}

DiagnosticsClientExecuteSiteDetectorResponse contains the response from method DiagnosticsClient.ExecuteSiteDetector.

type DiagnosticsClientExecuteSiteDetectorSlotOptions

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

type DiagnosticsClientExecuteSiteDetectorSlotResponse struct {
	// Class representing Response from Diagnostic Detectors
	DiagnosticDetectorResponse
}

DiagnosticsClientExecuteSiteDetectorSlotResponse contains the response from method DiagnosticsClient.ExecuteSiteDetectorSlot.

type DiagnosticsClientGetHostingEnvironmentDetectorResponseOptions

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

type DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse struct {
	// Class representing Response from Detector
	DetectorResponse
}

DiagnosticsClientGetHostingEnvironmentDetectorResponseResponse contains the response from method DiagnosticsClient.GetHostingEnvironmentDetectorResponse.

type DiagnosticsClientGetSiteAnalysisOptions

type DiagnosticsClientGetSiteAnalysisOptions struct {
}

DiagnosticsClientGetSiteAnalysisOptions contains the optional parameters for the DiagnosticsClient.GetSiteAnalysis method.

type DiagnosticsClientGetSiteAnalysisResponse

type DiagnosticsClientGetSiteAnalysisResponse struct {
	// Definition of Analysis
	AnalysisDefinition
}

DiagnosticsClientGetSiteAnalysisResponse contains the response from method DiagnosticsClient.GetSiteAnalysis.

type DiagnosticsClientGetSiteAnalysisSlotOptions

type DiagnosticsClientGetSiteAnalysisSlotOptions struct {
}

DiagnosticsClientGetSiteAnalysisSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteAnalysisSlot method.

type DiagnosticsClientGetSiteAnalysisSlotResponse

type DiagnosticsClientGetSiteAnalysisSlotResponse struct {
	// Definition of Analysis
	AnalysisDefinition
}

DiagnosticsClientGetSiteAnalysisSlotResponse contains the response from method DiagnosticsClient.GetSiteAnalysisSlot.

type DiagnosticsClientGetSiteDetectorOptions

type DiagnosticsClientGetSiteDetectorOptions struct {
}

DiagnosticsClientGetSiteDetectorOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetector method.

type DiagnosticsClientGetSiteDetectorResponse

type DiagnosticsClientGetSiteDetectorResponse struct {
	// ARM resource for a detector definition
	DetectorDefinitionResource
}

DiagnosticsClientGetSiteDetectorResponse contains the response from method DiagnosticsClient.GetSiteDetector.

type DiagnosticsClientGetSiteDetectorResponseOptions

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

type DiagnosticsClientGetSiteDetectorResponseResponse struct {
	// Class representing Response from Detector
	DetectorResponse
}

DiagnosticsClientGetSiteDetectorResponseResponse contains the response from method DiagnosticsClient.GetSiteDetectorResponse.

type DiagnosticsClientGetSiteDetectorResponseSlotOptions

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

type DiagnosticsClientGetSiteDetectorResponseSlotResponse struct {
	// Class representing Response from Detector
	DetectorResponse
}

DiagnosticsClientGetSiteDetectorResponseSlotResponse contains the response from method DiagnosticsClient.GetSiteDetectorResponseSlot.

type DiagnosticsClientGetSiteDetectorSlotOptions

type DiagnosticsClientGetSiteDetectorSlotOptions struct {
}

DiagnosticsClientGetSiteDetectorSlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDetectorSlot method.

type DiagnosticsClientGetSiteDetectorSlotResponse

type DiagnosticsClientGetSiteDetectorSlotResponse struct {
	// ARM resource for a detector definition
	DetectorDefinitionResource
}

DiagnosticsClientGetSiteDetectorSlotResponse contains the response from method DiagnosticsClient.GetSiteDetectorSlot.

type DiagnosticsClientGetSiteDiagnosticCategoryOptions

type DiagnosticsClientGetSiteDiagnosticCategoryOptions struct {
}

DiagnosticsClientGetSiteDiagnosticCategoryOptions contains the optional parameters for the DiagnosticsClient.GetSiteDiagnosticCategory method.

type DiagnosticsClientGetSiteDiagnosticCategoryResponse

type DiagnosticsClientGetSiteDiagnosticCategoryResponse struct {
	// Class representing detector definition
	DiagnosticCategory
}

DiagnosticsClientGetSiteDiagnosticCategoryResponse contains the response from method DiagnosticsClient.GetSiteDiagnosticCategory.

type DiagnosticsClientGetSiteDiagnosticCategorySlotOptions

type DiagnosticsClientGetSiteDiagnosticCategorySlotOptions struct {
}

DiagnosticsClientGetSiteDiagnosticCategorySlotOptions contains the optional parameters for the DiagnosticsClient.GetSiteDiagnosticCategorySlot method.

type DiagnosticsClientGetSiteDiagnosticCategorySlotResponse

type DiagnosticsClientGetSiteDiagnosticCategorySlotResponse struct {
	// Class representing detector definition
	DiagnosticCategory
}

DiagnosticsClientGetSiteDiagnosticCategorySlotResponse contains the response from method DiagnosticsClient.GetSiteDiagnosticCategorySlot.

type DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions

type DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions struct {
}

DiagnosticsClientListHostingEnvironmentDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.NewListHostingEnvironmentDetectorResponsesPager method.

type DiagnosticsClientListHostingEnvironmentDetectorResponsesResponse

type DiagnosticsClientListHostingEnvironmentDetectorResponsesResponse struct {
	// Collection of detector responses
	DetectorResponseCollection
}

DiagnosticsClientListHostingEnvironmentDetectorResponsesResponse contains the response from method DiagnosticsClient.NewListHostingEnvironmentDetectorResponsesPager.

type DiagnosticsClientListSiteAnalysesOptions

type DiagnosticsClientListSiteAnalysesOptions struct {
}

DiagnosticsClientListSiteAnalysesOptions contains the optional parameters for the DiagnosticsClient.NewListSiteAnalysesPager method.

type DiagnosticsClientListSiteAnalysesResponse

type DiagnosticsClientListSiteAnalysesResponse struct {
	// Collection of Diagnostic Analyses
	DiagnosticAnalysisCollection
}

DiagnosticsClientListSiteAnalysesResponse contains the response from method DiagnosticsClient.NewListSiteAnalysesPager.

type DiagnosticsClientListSiteAnalysesSlotOptions

type DiagnosticsClientListSiteAnalysesSlotOptions struct {
}

DiagnosticsClientListSiteAnalysesSlotOptions contains the optional parameters for the DiagnosticsClient.NewListSiteAnalysesSlotPager method.

type DiagnosticsClientListSiteAnalysesSlotResponse

type DiagnosticsClientListSiteAnalysesSlotResponse struct {
	// Collection of Diagnostic Analyses
	DiagnosticAnalysisCollection
}

DiagnosticsClientListSiteAnalysesSlotResponse contains the response from method DiagnosticsClient.NewListSiteAnalysesSlotPager.

type DiagnosticsClientListSiteDetectorResponsesOptions

type DiagnosticsClientListSiteDetectorResponsesOptions struct {
}

DiagnosticsClientListSiteDetectorResponsesOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDetectorResponsesPager method.

type DiagnosticsClientListSiteDetectorResponsesResponse

type DiagnosticsClientListSiteDetectorResponsesResponse struct {
	// Collection of detector responses
	DetectorResponseCollection
}

DiagnosticsClientListSiteDetectorResponsesResponse contains the response from method DiagnosticsClient.NewListSiteDetectorResponsesPager.

type DiagnosticsClientListSiteDetectorResponsesSlotOptions

type DiagnosticsClientListSiteDetectorResponsesSlotOptions struct {
}

DiagnosticsClientListSiteDetectorResponsesSlotOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDetectorResponsesSlotPager method.

type DiagnosticsClientListSiteDetectorResponsesSlotResponse

type DiagnosticsClientListSiteDetectorResponsesSlotResponse struct {
	// Collection of detector responses
	DetectorResponseCollection
}

DiagnosticsClientListSiteDetectorResponsesSlotResponse contains the response from method DiagnosticsClient.NewListSiteDetectorResponsesSlotPager.

type DiagnosticsClientListSiteDetectorsOptions

type DiagnosticsClientListSiteDetectorsOptions struct {
}

DiagnosticsClientListSiteDetectorsOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDetectorsPager method.

type DiagnosticsClientListSiteDetectorsResponse

type DiagnosticsClientListSiteDetectorsResponse struct {
	// Collection of Diagnostic Detectors
	DiagnosticDetectorCollection
}

DiagnosticsClientListSiteDetectorsResponse contains the response from method DiagnosticsClient.NewListSiteDetectorsPager.

type DiagnosticsClientListSiteDetectorsSlotOptions

type DiagnosticsClientListSiteDetectorsSlotOptions struct {
}

DiagnosticsClientListSiteDetectorsSlotOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDetectorsSlotPager method.

type DiagnosticsClientListSiteDetectorsSlotResponse

type DiagnosticsClientListSiteDetectorsSlotResponse struct {
	// Collection of Diagnostic Detectors
	DiagnosticDetectorCollection
}

DiagnosticsClientListSiteDetectorsSlotResponse contains the response from method DiagnosticsClient.NewListSiteDetectorsSlotPager.

type DiagnosticsClientListSiteDiagnosticCategoriesOptions

type DiagnosticsClientListSiteDiagnosticCategoriesOptions struct {
}

DiagnosticsClientListSiteDiagnosticCategoriesOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDiagnosticCategoriesPager method.

type DiagnosticsClientListSiteDiagnosticCategoriesResponse

type DiagnosticsClientListSiteDiagnosticCategoriesResponse struct {
	// Collection of Diagnostic Categories
	DiagnosticCategoryCollection
}

DiagnosticsClientListSiteDiagnosticCategoriesResponse contains the response from method DiagnosticsClient.NewListSiteDiagnosticCategoriesPager.

type DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions

type DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions struct {
}

DiagnosticsClientListSiteDiagnosticCategoriesSlotOptions contains the optional parameters for the DiagnosticsClient.NewListSiteDiagnosticCategoriesSlotPager method.

type DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse

type DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse struct {
	// Collection of Diagnostic Categories
	DiagnosticCategoryCollection
}

DiagnosticsClientListSiteDiagnosticCategoriesSlotResponse contains the response from method DiagnosticsClient.NewListSiteDiagnosticCategoriesSlotPager.

type Dimension

type Dimension struct {
	DisplayName            *string
	InternalName           *string
	Name                   *string
	ToBeExportedForShoebox *bool
}

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

func (Dimension) MarshalJSON

func (d Dimension) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Dimension.

func (*Dimension) UnmarshalJSON

func (d *Dimension) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Dimension.

type Domain

type Domain struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// Domain resource specific properties
	Properties *DomainProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Domain - Information about a domain.

func (Domain) MarshalJSON

func (d Domain) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Domain.

func (*Domain) UnmarshalJSON

func (d *Domain) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Domain.

type DomainAvailabilityCheckResult

type DomainAvailabilityCheckResult struct {
	// true if domain can be purchased using CreateDomain API; otherwise, false.
	Available *bool

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

	// Name of the domain.
	Name *string
}

DomainAvailabilityCheckResult - Domain availability check result.

func (DomainAvailabilityCheckResult) MarshalJSON

func (d DomainAvailabilityCheckResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainAvailabilityCheckResult.

func (*DomainAvailabilityCheckResult) UnmarshalJSON

func (d *DomainAvailabilityCheckResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainAvailabilityCheckResult.

type DomainCollection

type DomainCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Domain

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DomainCollection - Collection of domains.

func (DomainCollection) MarshalJSON

func (d DomainCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainCollection.

func (*DomainCollection) UnmarshalJSON

func (d *DomainCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainCollection.

type DomainControlCenterSsoRequest

type DomainControlCenterSsoRequest struct {
	// READ-ONLY; Post parameter key.
	PostParameterKey *string

	// READ-ONLY; Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value.
	PostParameterValue *string

	// READ-ONLY; URL where the single sign-on request is to be made.
	URL *string
}

DomainControlCenterSsoRequest - Single sign-on request information for domain management.

func (DomainControlCenterSsoRequest) MarshalJSON

func (d DomainControlCenterSsoRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainControlCenterSsoRequest.

func (*DomainControlCenterSsoRequest) UnmarshalJSON

func (d *DomainControlCenterSsoRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainControlCenterSsoRequest.

type DomainOwnershipIdentifier

type DomainOwnershipIdentifier struct {
	// Kind of resource.
	Kind *string

	// DomainOwnershipIdentifier resource specific properties
	Properties *DomainOwnershipIdentifierProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DomainOwnershipIdentifier - Domain ownership Identifier.

func (DomainOwnershipIdentifier) MarshalJSON

func (d DomainOwnershipIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainOwnershipIdentifier.

func (*DomainOwnershipIdentifier) UnmarshalJSON

func (d *DomainOwnershipIdentifier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainOwnershipIdentifier.

type DomainOwnershipIdentifierCollection

type DomainOwnershipIdentifierCollection struct {
	// REQUIRED; Collection of resources.
	Value []*DomainOwnershipIdentifier

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

DomainOwnershipIdentifierCollection - Collection of domain ownership identifiers.

func (DomainOwnershipIdentifierCollection) MarshalJSON

func (d DomainOwnershipIdentifierCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainOwnershipIdentifierCollection.

func (*DomainOwnershipIdentifierCollection) UnmarshalJSON

func (d *DomainOwnershipIdentifierCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainOwnershipIdentifierCollection.

type DomainOwnershipIdentifierProperties

type DomainOwnershipIdentifierProperties struct {
	// Ownership Id.
	OwnershipID *string
}

DomainOwnershipIdentifierProperties - DomainOwnershipIdentifier resource specific properties

func (DomainOwnershipIdentifierProperties) MarshalJSON

func (d DomainOwnershipIdentifierProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainOwnershipIdentifierProperties.

func (*DomainOwnershipIdentifierProperties) UnmarshalJSON

func (d *DomainOwnershipIdentifierProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainOwnershipIdentifierProperties.

type DomainPatchResource

type DomainPatchResource struct {
	// Kind of resource.
	Kind *string

	// DomainPatchResource resource specific properties
	Properties *DomainPatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

DomainPatchResource - ARM resource for a domain.

func (DomainPatchResource) MarshalJSON

func (d DomainPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainPatchResource.

func (*DomainPatchResource) UnmarshalJSON

func (d *DomainPatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainPatchResource.

type DomainPatchResourceProperties

type DomainPatchResourceProperties struct {
	// REQUIRED; Legal agreement consent.
	Consent *DomainPurchaseConsent

	// REQUIRED; Administrative contact.
	ContactAdmin *Contact

	// REQUIRED; Billing contact.
	ContactBilling *Contact

	// REQUIRED; Registrant contact.
	ContactRegistrant *Contact

	// REQUIRED; Technical contact.
	ContactTech *Contact
	AuthCode    *string

	// true if the domain should be automatically renewed; otherwise, false.
	AutoRenew *bool

	// Current DNS type
	DNSType *DNSType

	// Azure DNS Zone to use
	DNSZoneID *string

	// true if domain privacy is enabled for this domain; otherwise, false.
	Privacy *bool

	// Target DNS type (would be used for migration)
	TargetDNSType *DNSType

	// READ-ONLY; Domain creation timestamp.
	CreatedTime *time.Time

	// READ-ONLY; Reasons why domain is not renewable.
	DomainNotRenewableReasons []*ResourceNotRenewableReason

	// READ-ONLY; Domain expiration timestamp.
	ExpirationTime *time.Time

	// READ-ONLY; Timestamp when the domain was renewed last time.
	LastRenewedTime *time.Time

	// READ-ONLY; All hostnames derived from the domain and assigned to Azure resources.
	ManagedHostNames []*HostName

	// READ-ONLY; Name servers.
	NameServers []*string

	// READ-ONLY; Domain provisioning state.
	ProvisioningState *ProvisioningState

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

	// READ-ONLY; Domain registration status.
	RegistrationStatus *DomainStatus
}

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 DomainProperties

type DomainProperties struct {
	// REQUIRED; Legal agreement consent.
	Consent *DomainPurchaseConsent

	// REQUIRED; Administrative contact.
	ContactAdmin *Contact

	// REQUIRED; Billing contact.
	ContactBilling *Contact

	// REQUIRED; Registrant contact.
	ContactRegistrant *Contact

	// REQUIRED; Technical contact.
	ContactTech *Contact
	AuthCode    *string

	// true if the domain should be automatically renewed; otherwise, false.
	AutoRenew *bool

	// Current DNS type
	DNSType *DNSType

	// Azure DNS Zone to use
	DNSZoneID *string

	// true if domain privacy is enabled for this domain; otherwise, false.
	Privacy *bool

	// Target DNS type (would be used for migration)
	TargetDNSType *DNSType

	// READ-ONLY; Domain creation timestamp.
	CreatedTime *time.Time

	// READ-ONLY; Reasons why domain is not renewable.
	DomainNotRenewableReasons []*ResourceNotRenewableReason

	// READ-ONLY; Domain expiration timestamp.
	ExpirationTime *time.Time

	// READ-ONLY; Timestamp when the domain was renewed last time.
	LastRenewedTime *time.Time

	// READ-ONLY; All hostnames derived from the domain and assigned to Azure resources.
	ManagedHostNames []*HostName

	// READ-ONLY; Name servers.
	NameServers []*string

	// READ-ONLY; Domain provisioning state.
	ProvisioningState *ProvisioningState

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

	// READ-ONLY; Domain registration status.
	RegistrationStatus *DomainStatus
}

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 DomainPurchaseConsent

type DomainPurchaseConsent struct {
	// Timestamp when the agreements were accepted.
	AgreedAt *time.Time

	// Client IP address.
	AgreedBy *string

	// List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain
	// resource.
	AgreementKeys []*string
}

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

	// Maximum number of recommendations.
	MaxDomainRecommendations *int32
}

DomainRecommendationSearchParameters - Domain recommendation search parameters.

func (DomainRecommendationSearchParameters) MarshalJSON

func (d DomainRecommendationSearchParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DomainRecommendationSearchParameters.

func (*DomainRecommendationSearchParameters) UnmarshalJSON

func (d *DomainRecommendationSearchParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DomainRecommendationSearchParameters.

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

NewListOperationsPager - Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider

Generated from API version 2023-01-01

  • options - DomainRegistrationProviderClientListOperationsOptions contains the optional parameters for the DomainRegistrationProviderClient.NewListOperationsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListOperations.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDomainRegistrationProviderClient().NewListOperationsPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmOperationCollection = armappservice.CsmOperationCollection{
	// 	Value: []*armappservice.CsmOperationDescription{
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/domains/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of domains"),
	// 				Operation: to.Ptr("Get Domains"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/domains/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Add a new Domain or update an existing one"),
	// 				Operation: to.Ptr("Add or Update Domain"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/domains/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing domain."),
	// 				Operation: to.Ptr("Delete Domain"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/domains/operationresults/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get a domain operation"),
	// 				Operation: to.Ptr("Get Domain Operation"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain operation"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/generateSsoRequest/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Generate a request for signing into domain control center."),
	// 				Operation: to.Ptr("Generate Domain Control Center Single Sign On Request"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain Control Center Single Sign On Request"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/validateDomainRegistrationInformation/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Validate domain purchase object without submitting it"),
	// 				Operation: to.Ptr("Domain Purchase Info Validation"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain Validation"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/checkDomainAvailability/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Check if a domain is available for purchase"),
	// 				Operation: to.Ptr("Check Domain Availability"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain Availability Result"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/listDomainRecommendations/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Retrieve the list domain recommendations based on keywords"),
	// 				Operation: to.Ptr("Retrieve Domain Recommendations"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Domain Recommendations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.DomainRegistration/register/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Register the Microsoft Domains resource provider for the subscription"),
	// 				Operation: to.Ptr("Register Microsoft Domains resource provider"),
	// 				Provider: to.Ptr("Microsoft Domains"),
	// 				Resource: to.Ptr("Microsoft Domains resource provider"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 	}},
	// }
}
Output:

type DomainRegistrationProviderClientListOperationsOptions

type DomainRegistrationProviderClientListOperationsOptions struct {
}

DomainRegistrationProviderClientListOperationsOptions contains the optional parameters for the DomainRegistrationProviderClient.NewListOperationsPager method.

type DomainRegistrationProviderClientListOperationsResponse

type DomainRegistrationProviderClientListOperationsResponse struct {
	// Collection of Azure resource manager operation metadata.
	CsmOperationCollection
}

DomainRegistrationProviderClientListOperationsResponse contains the response from method DomainRegistrationProviderClient.NewListOperationsPager.

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"
	DomainStatusJSONConverterFailed DomainStatus = "JsonConverterFailed"
	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"
)

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 - Description for Creates or updates a domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/CreateAppServiceDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewDomainsClient().BeginCreateOrUpdate(ctx, "testrg123", "example.com", armappservice.Domain{
	Location: to.Ptr("global"),
	Tags:     map[string]*string{},
	Properties: &armappservice.DomainProperties{
		AuthCode:  to.Ptr("exampleAuthCode"),
		AutoRenew: to.Ptr(true),
		Consent: &armappservice.DomainPurchaseConsent{
			AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t }()),
			AgreedBy: to.Ptr("192.0.2.1"),
			AgreementKeys: []*string{
				to.Ptr("agreementKey1")},
		},
		ContactAdmin: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("admin@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Admin"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		ContactBilling: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("billing@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Billing"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		ContactRegistrant: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("registrant@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Registrant"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		ContactTech: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("tech@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Tech"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
		Privacy: to.Ptr(false),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Domain = armappservice.Domain{
// 	Name: to.Ptr("example.com"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com"),
// 	Location: to.Ptr("global"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.DomainProperties{
// 		AuthCode: to.Ptr("exampleAuthCode"),
// 		AutoRenew: to.Ptr(true),
// 		Consent: &armappservice.DomainPurchaseConsent{
// 			AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			AgreedBy: to.Ptr("192.0.2.1"),
// 			AgreementKeys: []*string{
// 				to.Ptr("agreementKey1")},
// 			},
// 			ContactAdmin: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("admin@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Admin"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactBilling: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("billing@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Billing"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactRegistrant: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("registrant@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Registrant"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactTech: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("tech@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Tech"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
// 			DomainNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 				to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 				ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-10T19:30:53.000Z"); return t}()),
// 				ManagedHostNames: []*armappservice.HostName{
// 				},
// 				NameServers: []*string{
// 					to.Ptr("ns01.ote.domaincontrol.com"),
// 					to.Ptr("ns02.ote.domaincontrol.com")},
// 					Privacy: to.Ptr(false),
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					ReadyForDNSRecordManagement: to.Ptr(true),
// 					RegistrationStatus: to.Ptr(armappservice.DomainStatusActive),
// 				},
// 			}
Output:

func (*DomainsClient) CheckAvailability

CheckAvailability - Description for Check if a domain is available for registration. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • identifier - Name of the domain.
  • options - DomainsClientCheckAvailabilityOptions contains the optional parameters for the DomainsClient.CheckAvailability method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/CheckDomainAvailability.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().CheckAvailability(ctx, armappservice.NameIdentifier{
	Name: to.Ptr("abcd.com"),
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DomainAvailabilityCheckResult = armappservice.DomainAvailabilityCheckResult{
// 	Name: to.Ptr("abcd.com"),
// 	Available: to.Ptr(true),
// 	DomainType: to.Ptr(armappservice.DomainTypeRegular),
// }
Output:

func (*DomainsClient) CreateOrUpdateOwnershipIdentifier

func (client *DomainsClient) CreateOrUpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier, options *DomainsClientCreateOrUpdateOwnershipIdentifierOptions) (DomainsClientCreateOrUpdateOwnershipIdentifierResponse, error)

CreateOrUpdateOwnershipIdentifier - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/CreateAppServiceDomainOwnershipIdentifier.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().CreateOrUpdateOwnershipIdentifier(ctx, "testrg123", "example.com", "SampleOwnershipId", armappservice.DomainOwnershipIdentifier{
	Properties: &armappservice.DomainOwnershipIdentifierProperties{
		OwnershipID: to.Ptr("SampleOwnershipId"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DomainOwnershipIdentifier = armappservice.DomainOwnershipIdentifier{
// 	Name: to.Ptr("SampleOwnershipId"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains/domainownershipidentifiers"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com/domainownershipidentifiers/SampleOwnershipId"),
// 	Properties: &armappservice.DomainOwnershipIdentifierProperties{
// 		OwnershipID: to.Ptr("SampleOwnershipId"),
// 	},
// }
Output:

func (*DomainsClient) Delete

func (client *DomainsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientDeleteOptions) (DomainsClientDeleteResponse, error)

Delete - Description for Delete a domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/DeleteAppServiceDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewDomainsClient().Delete(ctx, "testrg123", "example.com", &armappservice.DomainsClientDeleteOptions{ForceHardDeleteDomain: to.Ptr(true)})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*DomainsClient) DeleteOwnershipIdentifier

func (client *DomainsClient) DeleteOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, options *DomainsClientDeleteOwnershipIdentifierOptions) (DomainsClientDeleteOwnershipIdentifierResponse, error)

DeleteOwnershipIdentifier - Description for Delete ownership identifier for domain If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/DeleteAppServiceDomainOwnershipIdentifier.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewDomainsClient().DeleteOwnershipIdentifier(ctx, "testrg123", "example.com", "ownershipIdentifier", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*DomainsClient) Get

func (client *DomainsClient) Get(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientGetOptions) (DomainsClientGetResponse, error)

Get - Description for Get a domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/GetDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().Get(ctx, "testrg123", "example.com", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Domain = armappservice.Domain{
// 	Name: to.Ptr("example.com"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com"),
// 	Location: to.Ptr("global"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.DomainProperties{
// 		AuthCode: to.Ptr("exampleAuthCode"),
// 		AutoRenew: to.Ptr(true),
// 		Consent: &armappservice.DomainPurchaseConsent{
// 			AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			AgreedBy: to.Ptr("192.0.2.1"),
// 			AgreementKeys: []*string{
// 				to.Ptr("agreementKey1")},
// 			},
// 			ContactAdmin: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("admin@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Admin"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactBilling: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("billing@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Billing"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactRegistrant: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("registrant@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Registrant"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactTech: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("tech@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Tech"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
// 			DomainNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 				to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 				ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-10T19:30:53.000Z"); return t}()),
// 				ManagedHostNames: []*armappservice.HostName{
// 				},
// 				NameServers: []*string{
// 					to.Ptr("ns01.ote.domaincontrol.com"),
// 					to.Ptr("ns02.ote.domaincontrol.com")},
// 					Privacy: to.Ptr(false),
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					ReadyForDNSRecordManagement: to.Ptr(true),
// 					RegistrationStatus: to.Ptr(armappservice.DomainStatusActive),
// 				},
// 			}
Output:

func (*DomainsClient) GetControlCenterSsoRequest

GetControlCenterSsoRequest - Description for 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 2023-01-01

  • options - DomainsClientGetControlCenterSsoRequestOptions contains the optional parameters for the DomainsClient.GetControlCenterSsoRequest method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/GetDomainControlCenterSsoRequest.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().GetControlCenterSsoRequest(ctx, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DomainControlCenterSsoRequest = armappservice.DomainControlCenterSsoRequest{
// 	PostParameterKey: to.Ptr("saml"),
// 	PostParameterValue: to.Ptr("1242sds|k1340"),
// 	URL: to.Ptr("https://Reseller.provider.com/?xRequestId=sdsdsds&app=dcc"),
// }
Output:

func (*DomainsClient) GetOwnershipIdentifier

func (client *DomainsClient) GetOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, options *DomainsClientGetOwnershipIdentifierOptions) (DomainsClientGetOwnershipIdentifierResponse, error)

GetOwnershipIdentifier - Description for Get ownership identifier for domain If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/GetDomainOwnershipIdentifier.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().GetOwnershipIdentifier(ctx, "testrg123", "example.com", "SampleOwnershipId", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DomainOwnershipIdentifier = armappservice.DomainOwnershipIdentifier{
// 	Name: to.Ptr("SampleOwnershipId"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains/domainownershipidentifiers"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com/domainownershipidentifiers/SampleOwnershipId"),
// 	Properties: &armappservice.DomainOwnershipIdentifierProperties{
// 		OwnershipID: to.Ptr("SampleOwnershipId"),
// 	},
// }
Output:

func (*DomainsClient) NewListByResourceGroupPager

func (client *DomainsClient) NewListByResourceGroupPager(resourceGroupName string, options *DomainsClientListByResourceGroupOptions) *runtime.Pager[DomainsClientListByResourceGroupResponse]

NewListByResourceGroupPager - Description for Get all domains in a resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - DomainsClientListByResourceGroupOptions contains the optional parameters for the DomainsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListDomainsByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDomainsClient().NewListByResourceGroupPager("testrg123", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DomainCollection = armappservice.DomainCollection{
	// 	Value: []*armappservice.Domain{
	// 		{
	// 			Name: to.Ptr("example.com"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/domains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com"),
	// 			Location: to.Ptr("global"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.DomainProperties{
	// 				AuthCode: to.Ptr("exampleAuthCode"),
	// 				AutoRenew: to.Ptr(true),
	// 				Consent: &armappservice.DomainPurchaseConsent{
	// 					AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
	// 					AgreedBy: to.Ptr("192.0.2.1"),
	// 					AgreementKeys: []*string{
	// 						to.Ptr("agreementKey1")},
	// 					},
	// 					ContactAdmin: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("admin@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Admin"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					ContactBilling: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("billing@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Billing"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					ContactRegistrant: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("registrant@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Registrant"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					ContactTech: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("tech@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Tech"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
	// 					DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
	// 					DomainNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
	// 						to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
	// 						ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-10T19:30:53.000Z"); return t}()),
	// 						ManagedHostNames: []*armappservice.HostName{
	// 						},
	// 						NameServers: []*string{
	// 							to.Ptr("ns01.ote.domaincontrol.com"),
	// 							to.Ptr("ns02.ote.domaincontrol.com")},
	// 							Privacy: to.Ptr(false),
	// 							ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 							ReadyForDNSRecordManagement: to.Ptr(true),
	// 							RegistrationStatus: to.Ptr(armappservice.DomainStatusActive),
	// 						},
	// 				}},
	// 			}
}
Output:

func (*DomainsClient) NewListOwnershipIdentifiersPager

func (client *DomainsClient) NewListOwnershipIdentifiersPager(resourceGroupName string, domainName string, options *DomainsClientListOwnershipIdentifiersOptions) *runtime.Pager[DomainsClientListOwnershipIdentifiersResponse]

NewListOwnershipIdentifiersPager - Description for Lists domain ownership identifiers.

Generated from API version 2023-01-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.NewListOwnershipIdentifiersPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListDomainOwnershipIdentifiers.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDomainsClient().NewListOwnershipIdentifiersPager("testrg123", "example.com", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DomainOwnershipIdentifierCollection = armappservice.DomainOwnershipIdentifierCollection{
	// 	Value: []*armappservice.DomainOwnershipIdentifier{
	// 		{
	// 			Name: to.Ptr("SampleOwnershipId"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/domains/domainownershipidentifiers"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com/domainownershipidentifiers/SampleOwnershipId"),
	// 			Properties: &armappservice.DomainOwnershipIdentifierProperties{
	// 				OwnershipID: to.Ptr("SampleOwnershipId"),
	// 			},
	// 	}},
	// }
}
Output:

func (*DomainsClient) NewListPager

NewListPager - Description for Get all domains in a subscription.

Generated from API version 2023-01-01

  • options - DomainsClientListOptions contains the optional parameters for the DomainsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListDomainsBySubscription.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDomainsClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DomainCollection = armappservice.DomainCollection{
	// 	Value: []*armappservice.Domain{
	// 		{
	// 			Name: to.Ptr("example.com"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/domains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com"),
	// 			Location: to.Ptr("global"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.DomainProperties{
	// 				AuthCode: to.Ptr("exampleAuthCode"),
	// 				AutoRenew: to.Ptr(true),
	// 				Consent: &armappservice.DomainPurchaseConsent{
	// 					AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
	// 					AgreedBy: to.Ptr("192.0.2.1"),
	// 					AgreementKeys: []*string{
	// 						to.Ptr("agreementKey1")},
	// 					},
	// 					ContactAdmin: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("admin@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Admin"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					ContactBilling: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("billing@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Billing"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					ContactRegistrant: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("registrant@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Registrant"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					ContactTech: &armappservice.Contact{
	// 						AddressMailing: &armappservice.Address{
	// 							Address1: to.Ptr("3400 State St"),
	// 							City: to.Ptr("Chicago"),
	// 							Country: to.Ptr("United States"),
	// 							PostalCode: to.Ptr("67098"),
	// 							State: to.Ptr("IL"),
	// 						},
	// 						Email: to.Ptr("tech@email.com"),
	// 						Fax: to.Ptr("1-245-534-2242"),
	// 						JobTitle: to.Ptr("Tech"),
	// 						NameFirst: to.Ptr("John"),
	// 						NameLast: to.Ptr("Doe"),
	// 						NameMiddle: to.Ptr(""),
	// 						Organization: to.Ptr("Microsoft Inc."),
	// 						Phone: to.Ptr("1-245-534-2242"),
	// 					},
	// 					CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
	// 					DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
	// 					DomainNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
	// 						to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
	// 						ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-10T19:30:53.000Z"); return t}()),
	// 						ManagedHostNames: []*armappservice.HostName{
	// 						},
	// 						NameServers: []*string{
	// 							to.Ptr("ns01.ote.domaincontrol.com"),
	// 							to.Ptr("ns02.ote.domaincontrol.com")},
	// 							Privacy: to.Ptr(false),
	// 							ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 							ReadyForDNSRecordManagement: to.Ptr(true),
	// 							RegistrationStatus: to.Ptr(armappservice.DomainStatusActive),
	// 						},
	// 				}},
	// 			}
}
Output:

func (*DomainsClient) NewListRecommendationsPager

NewListRecommendationsPager - Description for Get domain name recommendations based on keywords.

Generated from API version 2023-01-01

  • parameters - Search parameters for domain name recommendations.
  • options - DomainsClientListRecommendationsOptions contains the optional parameters for the DomainsClient.NewListRecommendationsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListDomainRecommendations.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewDomainsClient().NewListRecommendationsPager(armappservice.DomainRecommendationSearchParameters{
	Keywords:                 to.Ptr("example1"),
	MaxDomainRecommendations: to.Ptr[int32](10),
}, nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.NameIdentifierCollection = armappservice.NameIdentifierCollection{
	// 	Value: []*armappservice.NameIdentifier{
	// 		{
	// 			Name: to.Ptr("domainnamesuggestion1"),
	// 		},
	// 		{
	// 			Name: to.Ptr("domainnamesuggestion2"),
	// 		},
	// 		{
	// 			Name: to.Ptr("domainnamesuggestion3"),
	// 	}},
	// }
}
Output:

func (*DomainsClient) Renew

func (client *DomainsClient) Renew(ctx context.Context, resourceGroupName string, domainName string, options *DomainsClientRenewOptions) (DomainsClientRenewResponse, error)

Renew - Description for Renew a domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/RenewDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewDomainsClient().Renew(ctx, "RG", "example.com", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*DomainsClient) TransferOut

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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/TransferOutDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().TransferOut(ctx, "testrg123", "example.com", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Domain = armappservice.Domain{
// 	Name: to.Ptr("example.com"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com"),
// 	Location: to.Ptr("global"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.DomainProperties{
// 		AuthCode: to.Ptr("exampleAuthCode"),
// 		AutoRenew: to.Ptr(true),
// 		Consent: &armappservice.DomainPurchaseConsent{
// 			AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			AgreedBy: to.Ptr("192.0.2.1"),
// 			AgreementKeys: []*string{
// 				to.Ptr("agreementKey1")},
// 			},
// 			ContactAdmin: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("admin@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Admin"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactBilling: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("billing@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Billing"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactRegistrant: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("registrant@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Registrant"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactTech: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("tech@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Tech"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
// 			DomainNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 				to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 				ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-10T19:30:53.000Z"); return t}()),
// 				ManagedHostNames: []*armappservice.HostName{
// 				},
// 				NameServers: []*string{
// 					to.Ptr("ns01.ote.domaincontrol.com"),
// 					to.Ptr("ns02.ote.domaincontrol.com")},
// 					Privacy: to.Ptr(false),
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					ReadyForDNSRecordManagement: to.Ptr(true),
// 					RegistrationStatus: to.Ptr(armappservice.DomainStatusActive),
// 				},
// 			}
Output:

func (*DomainsClient) Update

func (client *DomainsClient) Update(ctx context.Context, resourceGroupName string, domainName string, domain DomainPatchResource, options *DomainsClientUpdateOptions) (DomainsClientUpdateResponse, error)

Update - Description for Creates or updates a domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/UpdateAppServiceDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().Update(ctx, "testrg123", "example.com", armappservice.DomainPatchResource{
	Properties: &armappservice.DomainPatchResourceProperties{
		AuthCode:  to.Ptr("exampleAuthCode"),
		AutoRenew: to.Ptr(true),
		Consent: &armappservice.DomainPurchaseConsent{
			AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t }()),
			AgreedBy: to.Ptr("192.0.2.1"),
			AgreementKeys: []*string{
				to.Ptr("agreementKey1")},
		},
		ContactAdmin: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("admin@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Admin"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		ContactBilling: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("billing@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Billing"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		ContactRegistrant: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("registrant@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Registrant"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		ContactTech: &armappservice.Contact{
			AddressMailing: &armappservice.Address{
				Address1:   to.Ptr("3400 State St"),
				City:       to.Ptr("Chicago"),
				Country:    to.Ptr("United States"),
				PostalCode: to.Ptr("67098"),
				State:      to.Ptr("IL"),
			},
			Email:        to.Ptr("tech@email.com"),
			Fax:          to.Ptr("1-245-534-2242"),
			JobTitle:     to.Ptr("Tech"),
			NameFirst:    to.Ptr("John"),
			NameLast:     to.Ptr("Doe"),
			NameMiddle:   to.Ptr(""),
			Organization: to.Ptr("Microsoft Inc."),
			Phone:        to.Ptr("1-245-534-2242"),
		},
		DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
		Privacy: to.Ptr(false),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Domain = armappservice.Domain{
// 	Name: to.Ptr("example.com"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com"),
// 	Location: to.Ptr("global"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.DomainProperties{
// 		AuthCode: to.Ptr("exampleAuthCode"),
// 		AutoRenew: to.Ptr(true),
// 		Consent: &armappservice.DomainPurchaseConsent{
// 			AgreedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			AgreedBy: to.Ptr("192.0.2.1"),
// 			AgreementKeys: []*string{
// 				to.Ptr("agreementKey1")},
// 			},
// 			ContactAdmin: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("admin@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Admin"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactBilling: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("billing@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Billing"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactRegistrant: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("registrant@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Registrant"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			ContactTech: &armappservice.Contact{
// 				AddressMailing: &armappservice.Address{
// 					Address1: to.Ptr("3400 State St"),
// 					City: to.Ptr("Chicago"),
// 					Country: to.Ptr("United States"),
// 					PostalCode: to.Ptr("67098"),
// 					State: to.Ptr("IL"),
// 				},
// 				Email: to.Ptr("tech@email.com"),
// 				Fax: to.Ptr("1-245-534-2242"),
// 				JobTitle: to.Ptr("Tech"),
// 				NameFirst: to.Ptr("John"),
// 				NameLast: to.Ptr("Doe"),
// 				NameMiddle: to.Ptr(""),
// 				Organization: to.Ptr("Microsoft Inc."),
// 				Phone: to.Ptr("1-245-534-2242"),
// 			},
// 			CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-10T19:30:53.000Z"); return t}()),
// 			DNSType: to.Ptr(armappservice.DNSTypeDefaultDomainRegistrarDNS),
// 			DomainNotRenewableReasons: []*armappservice.ResourceNotRenewableReason{
// 				to.Ptr(armappservice.ResourceNotRenewableReasonExpirationNotInRenewalTimeRange)},
// 				ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-10T19:30:53.000Z"); return t}()),
// 				ManagedHostNames: []*armappservice.HostName{
// 				},
// 				NameServers: []*string{
// 					to.Ptr("ns01.ote.domaincontrol.com"),
// 					to.Ptr("ns02.ote.domaincontrol.com")},
// 					Privacy: to.Ptr(false),
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					ReadyForDNSRecordManagement: to.Ptr(true),
// 					RegistrationStatus: to.Ptr(armappservice.DomainStatusActive),
// 				},
// 			}
Output:

func (*DomainsClient) UpdateOwnershipIdentifier

func (client *DomainsClient) UpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier, options *DomainsClientUpdateOwnershipIdentifierOptions) (DomainsClientUpdateOwnershipIdentifierResponse, error)

UpdateOwnershipIdentifier - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/UpdateAppServiceDomainOwnershipIdentifier.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewDomainsClient().UpdateOwnershipIdentifier(ctx, "testrg123", "example.com", "SampleOwnershipId", armappservice.DomainOwnershipIdentifier{
	Properties: &armappservice.DomainOwnershipIdentifierProperties{
		OwnershipID: to.Ptr("SampleOwnershipId"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DomainOwnershipIdentifier = armappservice.DomainOwnershipIdentifier{
// 	Name: to.Ptr("SampleOwnershipId"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/domains/domainownershipidentifiers"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com/domainownershipidentifiers/SampleOwnershipId"),
// 	Properties: &armappservice.DomainOwnershipIdentifierProperties{
// 		OwnershipID: to.Ptr("SampleOwnershipId"),
// 	},
// }
Output:

type DomainsClientBeginCreateOrUpdateOptions

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

DomainsClientBeginCreateOrUpdateOptions contains the optional parameters for the DomainsClient.BeginCreateOrUpdate method.

type DomainsClientCheckAvailabilityOptions

type DomainsClientCheckAvailabilityOptions struct {
}

DomainsClientCheckAvailabilityOptions contains the optional parameters for the DomainsClient.CheckAvailability method.

type DomainsClientCheckAvailabilityResponse

type DomainsClientCheckAvailabilityResponse struct {
	// Domain availability check result.
	DomainAvailabilityCheckResult
}

DomainsClientCheckAvailabilityResponse contains the response from method DomainsClient.CheckAvailability.

type DomainsClientCreateOrUpdateOwnershipIdentifierOptions

type DomainsClientCreateOrUpdateOwnershipIdentifierOptions struct {
}

DomainsClientCreateOrUpdateOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.CreateOrUpdateOwnershipIdentifier method.

type DomainsClientCreateOrUpdateOwnershipIdentifierResponse

type DomainsClientCreateOrUpdateOwnershipIdentifierResponse struct {
	// Domain ownership Identifier.
	DomainOwnershipIdentifier
}

DomainsClientCreateOrUpdateOwnershipIdentifierResponse contains the response from method DomainsClient.CreateOrUpdateOwnershipIdentifier.

type DomainsClientCreateOrUpdateResponse

type DomainsClientCreateOrUpdateResponse struct {
	// Information about a domain.
	Domain
}

DomainsClientCreateOrUpdateResponse contains the response from method DomainsClient.BeginCreateOrUpdate.

type DomainsClientDeleteOptions

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

type DomainsClientDeleteOwnershipIdentifierOptions struct {
}

DomainsClientDeleteOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.DeleteOwnershipIdentifier method.

type DomainsClientDeleteOwnershipIdentifierResponse

type DomainsClientDeleteOwnershipIdentifierResponse struct {
}

DomainsClientDeleteOwnershipIdentifierResponse contains the response from method DomainsClient.DeleteOwnershipIdentifier.

type DomainsClientDeleteResponse

type DomainsClientDeleteResponse struct {
}

DomainsClientDeleteResponse contains the response from method DomainsClient.Delete.

type DomainsClientGetControlCenterSsoRequestOptions

type DomainsClientGetControlCenterSsoRequestOptions struct {
}

DomainsClientGetControlCenterSsoRequestOptions contains the optional parameters for the DomainsClient.GetControlCenterSsoRequest method.

type DomainsClientGetControlCenterSsoRequestResponse

type DomainsClientGetControlCenterSsoRequestResponse struct {
	// Single sign-on request information for domain management.
	DomainControlCenterSsoRequest
}

DomainsClientGetControlCenterSsoRequestResponse contains the response from method DomainsClient.GetControlCenterSsoRequest.

type DomainsClientGetOptions

type DomainsClientGetOptions struct {
}

DomainsClientGetOptions contains the optional parameters for the DomainsClient.Get method.

type DomainsClientGetOwnershipIdentifierOptions

type DomainsClientGetOwnershipIdentifierOptions struct {
}

DomainsClientGetOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.GetOwnershipIdentifier method.

type DomainsClientGetOwnershipIdentifierResponse

type DomainsClientGetOwnershipIdentifierResponse struct {
	// Domain ownership Identifier.
	DomainOwnershipIdentifier
}

DomainsClientGetOwnershipIdentifierResponse contains the response from method DomainsClient.GetOwnershipIdentifier.

type DomainsClientGetResponse

type DomainsClientGetResponse struct {
	// Information about a domain.
	Domain
}

DomainsClientGetResponse contains the response from method DomainsClient.Get.

type DomainsClientListByResourceGroupOptions

type DomainsClientListByResourceGroupOptions struct {
}

DomainsClientListByResourceGroupOptions contains the optional parameters for the DomainsClient.NewListByResourceGroupPager method.

type DomainsClientListByResourceGroupResponse

type DomainsClientListByResourceGroupResponse struct {
	// Collection of domains.
	DomainCollection
}

DomainsClientListByResourceGroupResponse contains the response from method DomainsClient.NewListByResourceGroupPager.

type DomainsClientListOptions

type DomainsClientListOptions struct {
}

DomainsClientListOptions contains the optional parameters for the DomainsClient.NewListPager method.

type DomainsClientListOwnershipIdentifiersOptions

type DomainsClientListOwnershipIdentifiersOptions struct {
}

DomainsClientListOwnershipIdentifiersOptions contains the optional parameters for the DomainsClient.NewListOwnershipIdentifiersPager method.

type DomainsClientListOwnershipIdentifiersResponse

type DomainsClientListOwnershipIdentifiersResponse struct {
	// Collection of domain ownership identifiers.
	DomainOwnershipIdentifierCollection
}

DomainsClientListOwnershipIdentifiersResponse contains the response from method DomainsClient.NewListOwnershipIdentifiersPager.

type DomainsClientListRecommendationsOptions

type DomainsClientListRecommendationsOptions struct {
}

DomainsClientListRecommendationsOptions contains the optional parameters for the DomainsClient.NewListRecommendationsPager method.

type DomainsClientListRecommendationsResponse

type DomainsClientListRecommendationsResponse struct {
	// Collection of domain name identifiers.
	NameIdentifierCollection
}

DomainsClientListRecommendationsResponse contains the response from method DomainsClient.NewListRecommendationsPager.

type DomainsClientListResponse

type DomainsClientListResponse struct {
	// Collection of domains.
	DomainCollection
}

DomainsClientListResponse contains the response from method DomainsClient.NewListPager.

type DomainsClientRenewOptions

type DomainsClientRenewOptions struct {
}

DomainsClientRenewOptions contains the optional parameters for the DomainsClient.Renew method.

type DomainsClientRenewResponse

type DomainsClientRenewResponse struct {
}

DomainsClientRenewResponse contains the response from method DomainsClient.Renew.

type DomainsClientTransferOutOptions

type DomainsClientTransferOutOptions struct {
}

DomainsClientTransferOutOptions contains the optional parameters for the DomainsClient.TransferOut method.

type DomainsClientTransferOutResponse

type DomainsClientTransferOutResponse struct {
	// Information about a domain.
	Domain
}

DomainsClientTransferOutResponse contains the response from method DomainsClient.TransferOut.

type DomainsClientUpdateOptions

type DomainsClientUpdateOptions struct {
}

DomainsClientUpdateOptions contains the optional parameters for the DomainsClient.Update method.

type DomainsClientUpdateOwnershipIdentifierOptions

type DomainsClientUpdateOwnershipIdentifierOptions struct {
}

DomainsClientUpdateOwnershipIdentifierOptions contains the optional parameters for the DomainsClient.UpdateOwnershipIdentifier method.

type DomainsClientUpdateOwnershipIdentifierResponse

type DomainsClientUpdateOwnershipIdentifierResponse struct {
	// Domain ownership Identifier.
	DomainOwnershipIdentifier
}

DomainsClientUpdateOwnershipIdentifierResponse contains the response from method DomainsClient.UpdateOwnershipIdentifier.

type DomainsClientUpdateResponse

type DomainsClientUpdateResponse struct {
	// Information about a domain.
	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
}

EnabledConfig - Enabled configuration.

func (EnabledConfig) MarshalJSON

func (e EnabledConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnabledConfig.

func (*EnabledConfig) UnmarshalJSON

func (e *EnabledConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EnabledConfig.

type EndpointDependency

type EndpointDependency struct {
	// The domain name of the dependency.
	DomainName *string

	// The IP Addresses and Ports used when connecting to DomainName.
	EndpointDetails []*EndpointDetail
}

EndpointDependency - A domain name that a service is reached at, including details of the current connection status.

func (EndpointDependency) MarshalJSON

func (e EndpointDependency) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EndpointDependency.

func (*EndpointDependency) UnmarshalJSON

func (e *EndpointDependency) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EndpointDependency.

type EndpointDetail

type EndpointDetail struct {
	// An IP Address that Domain Name currently resolves to.
	IPAddress *string

	// Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
	IsAccessible *bool

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

	// The port an endpoint is connected to.
	Port *int32
}

EndpointDetail - Current TCP connectivity information from the App Service Environment to a single endpoint.

func (EndpointDetail) MarshalJSON

func (e EndpointDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EndpointDetail.

func (*EndpointDetail) UnmarshalJSON

func (e *EndpointDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EndpointDetail.

type EnterpriseGradeCdnStatus

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

func PossibleEnterpriseGradeCdnStatusValues() []EnterpriseGradeCdnStatus

PossibleEnterpriseGradeCdnStatusValues returns the possible values for the EnterpriseGradeCdnStatus const type.

type Environment

type Environment struct {
	// REQUIRED; Description of the Virtual Network.
	VirtualNetwork *VirtualNetworkProfile

	// Custom settings for changing the behavior of the App Service Environment.
	ClusterSettings []*NameValuePair

	// Full view of the custom domain suffix configuration for ASEv3.
	CustomDNSSuffixConfiguration *CustomDNSSuffixConfiguration

	// DNS suffix of the App Service Environment.
	DNSSuffix *string

	// Dedicated Host Count
	DedicatedHostCount *int32

	// Scale factor for front-ends.
	FrontEndScaleFactor *int32

	// Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.
	InternalLoadBalancingMode *LoadBalancingMode

	// Number of IP SSL addresses reserved for the App Service Environment.
	IpsslAddressCount *int32

	// Front-end VM size, e.g. "Medium", "Large".
	MultiSize *string

	// Full view of networking configuration for an ASE.
	NetworkingConfiguration *AseV3NetworkingConfiguration

	// Upgrade Preference
	UpgradePreference *UpgradePreference

	// User added ip ranges to whitelist on ASE db
	UserWhitelistedIPRanges []*string

	// Whether or not this App Service Environment is zone-redundant.
	ZoneRedundant *bool

	// READ-ONLY; Flag that displays whether an ASE has linux workers or not
	HasLinuxWorkers *bool

	// READ-ONLY; Maximum number of VMs in the App Service Environment.
	MaximumNumberOfMachines *int32

	// READ-ONLY; Number of front-end instances.
	MultiRoleCount *int32

	// READ-ONLY; Provisioning state of the App Service Environment.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Current status of the App Service Environment.
	Status *HostingEnvironmentStatus

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

	// READ-ONLY; Whether an upgrade is available for this App Service Environment.
	UpgradeAvailability *UpgradeAvailability
}

Environment - Description of an App Service Environment.

func (Environment) MarshalJSON

func (e Environment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Environment.

func (*Environment) UnmarshalJSON

func (e *Environment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Environment.

type EnvironmentCollection

type EnvironmentCollection struct {
	// REQUIRED; Collection of resources.
	Value []*EnvironmentResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

EnvironmentCollection - Collection of App Service Environments.

func (EnvironmentCollection) MarshalJSON

func (e EnvironmentCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnvironmentCollection.

func (*EnvironmentCollection) UnmarshalJSON

func (e *EnvironmentCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentCollection.

type EnvironmentPatchResource

type EnvironmentPatchResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *Environment

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

EnvironmentPatchResource - ARM resource for a app service environment.

func (EnvironmentPatchResource) MarshalJSON

func (e EnvironmentPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnvironmentPatchResource.

func (*EnvironmentPatchResource) UnmarshalJSON

func (e *EnvironmentPatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentPatchResource.

type EnvironmentResource

type EnvironmentResource struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *Environment

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

EnvironmentResource - App Service Environment ARM resource.

func (EnvironmentResource) MarshalJSON

func (e EnvironmentResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnvironmentResource.

func (*EnvironmentResource) UnmarshalJSON

func (e *EnvironmentResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentResource.

type EnvironmentVar

type EnvironmentVar struct {
	// Environment variable name.
	Name *string

	// Name of the Container App secret from which to pull the environment variable value.
	SecretRef *string

	// Non-secret environment variable value.
	Value *string
}

EnvironmentVar - Container App container environment variable.

func (EnvironmentVar) MarshalJSON

func (e EnvironmentVar) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EnvironmentVar.

func (*EnvironmentVar) UnmarshalJSON

func (e *EnvironmentVar) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentVar.

type EnvironmentsClient

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

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

func (client *EnvironmentsClient) BeginApproveOrRejectPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, privateEndpointWrapper PrivateLinkConnectionApprovalRequestResource, options *EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions) (*runtime.Poller[EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse], error)

BeginApproveOrRejectPrivateEndpointConnection - Description for Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginApproveOrRejectPrivateEndpointConnection(ctx, "test-rg", "test-ase", "fa38656c-034e-43d8-adce-fe06ce039c98", armappservice.PrivateLinkConnectionApprovalRequestResource{
	Properties: &armappservice.PrivateLinkConnectionApprovalRequest{
		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
			Description: to.Ptr("Approved by johndoe@company.com"),
			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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	Name: to.Ptr("fa38656c-034e-43d8-adce-fe06ce039c98"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/privateEndpointConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		IPAddresses: []*string{
// 		},
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by johndoe@company.com"),
// 			ActionsRequired: to.Ptr("None"),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
Output:

func (*EnvironmentsClient) BeginChangeVnet

BeginChangeVnet - Description for Move an App Service Environment to a different VNET.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ChangeVnet.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginChangeVnet(ctx, "test-rg", "test-ase", armappservice.VirtualNetworkProfile{
	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"),
}, 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)
}
for res.More() {
	page, err := res.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 	},
	// }
}
Output:

func (*EnvironmentsClient) BeginCreateOrUpdate

func (client *EnvironmentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope EnvironmentResource, options *EnvironmentsClientBeginCreateOrUpdateOptions) (*runtime.Poller[EnvironmentsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Description for Create or update an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_CreateOrUpdate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginCreateOrUpdate(ctx, "test-rg", "test-ase", armappservice.EnvironmentResource{
	Kind:     to.Ptr("Asev3"),
	Location: to.Ptr("South Central US"),
	Properties: &armappservice.Environment{
		VirtualNetwork: &armappservice.VirtualNetworkProfile{
			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated"),
		},
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.EnvironmentResource = armappservice.EnvironmentResource{
// 	Name: to.Ptr("test-ase"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
// 	Kind: to.Ptr("ASEV3"),
// 	Location: to.Ptr("South Central US"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.Environment{
// 		DedicatedHostCount: to.Ptr[int32](0),
// 		DNSSuffix: to.Ptr("test-ase.p.azurewebsites.net"),
// 		FrontEndScaleFactor: to.Ptr[int32](15),
// 		HasLinuxWorkers: to.Ptr(true),
// 		InternalLoadBalancingMode: to.Ptr(armappservice.LoadBalancingModeNone),
// 		IpsslAddressCount: to.Ptr[int32](0),
// 		MaximumNumberOfMachines: to.Ptr[int32](250),
// 		MultiSize: to.Ptr("Standard_D2d_v4"),
// 		NetworkingConfiguration: &armappservice.AseV3NetworkingConfiguration{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
// 			Properties: &armappservice.AseV3NetworkingConfigurationProperties{
// 				AllowNewPrivateEndpointConnections: to.Ptr(false),
// 				ExternalInboundIPAddresses: []*string{
// 					to.Ptr("52.153.248.36")},
// 					FtpEnabled: to.Ptr(false),
// 					InternalInboundIPAddresses: []*string{
// 					},
// 					LinuxOutboundIPAddresses: []*string{
// 						to.Ptr("20.88.241.56"),
// 						to.Ptr("20.88.241.9")},
// 						RemoteDebugEnabled: to.Ptr(false),
// 						WindowsOutboundIPAddresses: []*string{
// 							to.Ptr("20.88.241.56"),
// 							to.Ptr("20.88.241.9")},
// 						},
// 					},
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					Status: to.Ptr(armappservice.HostingEnvironmentStatusReady),
// 					Suspended: to.Ptr(false),
// 					VirtualNetwork: &armappservice.VirtualNetworkProfile{
// 						Name: to.Ptr("delegated"),
// 						Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated"),
// 						Subnet: to.Ptr(""),
// 					},
// 					ZoneRedundant: to.Ptr(false),
// 				},
// 			}
Output:

func (*EnvironmentsClient) BeginCreateOrUpdateMultiRolePool

func (client *EnvironmentsClient) BeginCreateOrUpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource, options *EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions) (*runtime.Poller[EnvironmentsClientCreateOrUpdateMultiRolePoolResponse], error)

BeginCreateOrUpdateMultiRolePool - Description for Create or update a multi-role pool. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginCreateOrUpdateMultiRolePool(ctx, "test-rg", "test-ase", armappservice.WorkerPoolResource{
	Properties: &armappservice.WorkerPool{
		WorkerCount: to.Ptr[int32](3),
		WorkerSize:  to.Ptr("Medium"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkerPoolResource = armappservice.WorkerPoolResource{
// }
Output:

func (*EnvironmentsClient) BeginCreateOrUpdateWorkerPool

func (client *EnvironmentsClient) BeginCreateOrUpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource, options *EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions) (*runtime.Poller[EnvironmentsClientCreateOrUpdateWorkerPoolResponse], error)

BeginCreateOrUpdateWorkerPool - Description for Create or update a worker pool. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginCreateOrUpdateWorkerPool(ctx, "test-rg", "test-ase", "0", armappservice.WorkerPoolResource{
	Properties: &armappservice.WorkerPool{
		WorkerCount: to.Ptr[int32](3),
		WorkerSize:  to.Ptr("Small"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkerPoolResource = armappservice.WorkerPoolResource{
// }
Output:

func (*EnvironmentsClient) BeginDelete

BeginDelete - Description for Delete an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Delete.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginDelete(ctx, "test-rg", "test-ase", &armappservice.EnvironmentsClientBeginDeleteOptions{ForceDelete: 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 (*EnvironmentsClient) BeginDeletePrivateEndpointConnection

func (client *EnvironmentsClient) BeginDeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions) (*runtime.Poller[EnvironmentsClientDeletePrivateEndpointConnectionResponse], error)

BeginDeletePrivateEndpointConnection - Description for Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginDeletePrivateEndpointConnection(ctx, "test-rg", "test-ase", "fa38656c-034e-43d8-adce-fe06ce039c98", 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Interface = map[string]any{
// }
Output:

func (*EnvironmentsClient) BeginResume

BeginResume - Description for Resume an App Service Environment.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Resume.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginResume(ctx, "test-rg", "test-ase", 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)
}
for res.More() {
	page, err := res.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 	},
	// }
}
Output:

func (*EnvironmentsClient) BeginSuspend

BeginSuspend - Description for Suspend an App Service Environment.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Suspend.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginSuspend(ctx, "test-rg", "test-ase", 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)
}
for res.More() {
	page, err := res.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 	},
	// }
}
Output:

func (*EnvironmentsClient) BeginUpgrade

BeginUpgrade - Description for Initiate an upgrade of an App Service Environment if one is available. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the App Service Environment.
  • options - EnvironmentsClientBeginUpgradeOptions contains the optional parameters for the EnvironmentsClient.BeginUpgrade method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Upgrade.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewEnvironmentsClient().BeginUpgrade(ctx, "rg", "SampleHostingEnvironment", 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 (*EnvironmentsClient) DeleteAseCustomDNSSuffixConfiguration

DeleteAseCustomDNSSuffixConfiguration - Delete Custom Dns Suffix configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the App Service Environment.
  • options - EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationOptions contains the optional parameters for the EnvironmentsClient.DeleteAseCustomDNSSuffixConfiguration method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteAseCustomDnsSuffixConfiguration.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().DeleteAseCustomDNSSuffixConfiguration(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Interface = map[string]any{
// }
Output:

func (*EnvironmentsClient) Get

func (client *EnvironmentsClient) Get(ctx context.Context, resourceGroupName string, name string, options *EnvironmentsClientGetOptions) (EnvironmentsClientGetResponse, error)

Get - Description for Get the properties of an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().Get(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.EnvironmentResource = armappservice.EnvironmentResource{
// 	Name: to.Ptr("test-ase"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
// 	Kind: to.Ptr("ASEV3"),
// 	Location: to.Ptr("South Central US"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.Environment{
// 		DedicatedHostCount: to.Ptr[int32](0),
// 		DNSSuffix: to.Ptr("test-ase.p.azurewebsites.net"),
// 		FrontEndScaleFactor: to.Ptr[int32](15),
// 		HasLinuxWorkers: to.Ptr(true),
// 		InternalLoadBalancingMode: to.Ptr(armappservice.LoadBalancingModeNone),
// 		IpsslAddressCount: to.Ptr[int32](0),
// 		MaximumNumberOfMachines: to.Ptr[int32](250),
// 		MultiSize: to.Ptr("Standard_D2d_v4"),
// 		NetworkingConfiguration: &armappservice.AseV3NetworkingConfiguration{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
// 			Properties: &armappservice.AseV3NetworkingConfigurationProperties{
// 				AllowNewPrivateEndpointConnections: to.Ptr(false),
// 				ExternalInboundIPAddresses: []*string{
// 					to.Ptr("52.153.248.36")},
// 					FtpEnabled: to.Ptr(false),
// 					InternalInboundIPAddresses: []*string{
// 					},
// 					LinuxOutboundIPAddresses: []*string{
// 						to.Ptr("20.88.241.56"),
// 						to.Ptr("20.88.241.9")},
// 						RemoteDebugEnabled: to.Ptr(false),
// 						WindowsOutboundIPAddresses: []*string{
// 							to.Ptr("20.88.241.56"),
// 							to.Ptr("20.88.241.9")},
// 						},
// 					},
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					Status: to.Ptr(armappservice.HostingEnvironmentStatusReady),
// 					Suspended: to.Ptr(false),
// 					VirtualNetwork: &armappservice.VirtualNetworkProfile{
// 						Name: to.Ptr("delegated"),
// 						Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated"),
// 						Subnet: to.Ptr(""),
// 					},
// 					ZoneRedundant: to.Ptr(false),
// 				},
// 			}
Output:

func (*EnvironmentsClient) GetAseCustomDNSSuffixConfiguration

GetAseCustomDNSSuffixConfiguration - Get Custom Dns Suffix configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the App Service Environment.
  • options - EnvironmentsClientGetAseCustomDNSSuffixConfigurationOptions contains the optional parameters for the EnvironmentsClient.GetAseCustomDNSSuffixConfiguration method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetAseCustomDnsSuffixConfiguration.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetAseCustomDNSSuffixConfiguration(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CustomDNSSuffixConfiguration = armappservice.CustomDNSSuffixConfiguration{
// 	Name: to.Ptr("customDnsSuffix"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/configurations/customdnssuffix"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix"),
// 	Properties: &armappservice.CustomDNSSuffixConfigurationProperties{
// 		CertificateURL: to.Ptr("https://test-kv.vault.azure.net/secrets/contosocert"),
// 		DNSSuffix: to.Ptr("contoso.com"),
// 		KeyVaultReferenceIdentity: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi"),
// 		ProvisioningState: to.Ptr(armappservice.CustomDNSSuffixProvisioningStateSucceeded),
// 	},
// }
Output:

func (*EnvironmentsClient) GetAseV3NetworkingConfiguration

GetAseV3NetworkingConfiguration - Description for Get networking configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetAseV3NetworkingConfiguration(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AseV3NetworkingConfiguration = armappservice.AseV3NetworkingConfiguration{
// 	Name: to.Ptr("networking"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/configurations/networking"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
// 	Properties: &armappservice.AseV3NetworkingConfigurationProperties{
// 		AllowNewPrivateEndpointConnections: to.Ptr(false),
// 		ExternalInboundIPAddresses: []*string{
// 			to.Ptr("52.153.248.36")},
// 			FtpEnabled: to.Ptr(false),
// 			InternalInboundIPAddresses: []*string{
// 			},
// 			LinuxOutboundIPAddresses: []*string{
// 				to.Ptr("20.88.241.56"),
// 				to.Ptr("20.88.241.9")},
// 				RemoteDebugEnabled: to.Ptr(false),
// 				WindowsOutboundIPAddresses: []*string{
// 					to.Ptr("20.88.241.56"),
// 					to.Ptr("20.88.241.9")},
// 				},
// 			}
Output:

func (*EnvironmentsClient) GetDiagnosticsItem

func (client *EnvironmentsClient) GetDiagnosticsItem(ctx context.Context, resourceGroupName string, name string, diagnosticsName string, options *EnvironmentsClientGetDiagnosticsItemOptions) (EnvironmentsClientGetDiagnosticsItemResponse, error)

GetDiagnosticsItem - Description for Get a diagnostics item for an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetDiagnosticsItem(ctx, "test-rg", "test-ase", "test-diagnostic", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.HostingEnvironmentDiagnostics = armappservice.HostingEnvironmentDiagnostics{
// 	Name: to.Ptr("test-diagnostic"),
// }
Output:

func (*EnvironmentsClient) GetMultiRolePool

GetMultiRolePool - Description for Get properties of a multi-role pool. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetMultiRolePool.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetMultiRolePool(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkerPoolResource = armappservice.WorkerPoolResource{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default"),
// 	Properties: &armappservice.WorkerPool{
// 		InstanceNames: []*string{
// 			to.Ptr("10.7.1.8"),
// 			to.Ptr("10.7.1.9")},
// 			WorkerCount: to.Ptr[int32](2),
// 			WorkerSize: to.Ptr("Standard_D1_V2"),
// 		},
// 		SKU: &armappservice.SKUDescription{
// 			Name: to.Ptr("Q1"),
// 			Capacity: to.Ptr[int32](2),
// 			Family: to.Ptr("Q"),
// 			Size: to.Ptr("Q1"),
// 			Tier: to.Ptr("Quantum"),
// 		},
// 	}
Output:

func (*EnvironmentsClient) GetPrivateEndpointConnection

func (client *EnvironmentsClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *EnvironmentsClientGetPrivateEndpointConnectionOptions) (EnvironmentsClientGetPrivateEndpointConnectionResponse, error)

GetPrivateEndpointConnection - Description for Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetPrivateEndpointConnection(ctx, "test-rg", "test-ase", "fa38656c-034e-43d8-adce-fe06ce039c98", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	Name: to.Ptr("fa38656c-034e-43d8-adce-fe06ce039c98"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/privateEndpointConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		IPAddresses: []*string{
// 		},
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Please approve my connection, thanks!"),
// 			ActionsRequired: to.Ptr("None"),
// 			Status: to.Ptr("Disconnecting"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
Output:

func (*EnvironmentsClient) GetPrivateLinkResources

GetPrivateLinkResources - Description for Gets the private link resources If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetPrivateLinkResources(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.PrivateLinkResourcesWrapper = armappservice.PrivateLinkResourcesWrapper{
// 	Value: []*armappservice.PrivateLinkResource{
// 	},
// }
Output:

func (*EnvironmentsClient) GetVipInfo

GetVipInfo - Description for Get IP addresses assigned to an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetVipInfo.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetVipInfo(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AddressResponse = armappservice.AddressResponse{
// 	Name: to.Ptr("test-ase"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/capacities"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/Microsoft.Web/hostingEnvironments/test-ase/capacities/virtualip"),
// 	Properties: &armappservice.AddressResponseProperties{
// 		OutboundIPAddresses: []*string{
// 			to.Ptr("20.112.141.120")},
// 			ServiceIPAddress: to.Ptr("20.112.141.120"),
// 			VipMappings: []*armappservice.VirtualIPMapping{
// 				{
// 					InUse: to.Ptr(false),
// 					InternalHTTPPort: to.Ptr[int32](20003),
// 					InternalHTTPSPort: to.Ptr[int32](20001),
// 					VirtualIP: to.Ptr("20.112.141.135"),
// 				},
// 				{
// 					InUse: to.Ptr(false),
// 					InternalHTTPPort: to.Ptr[int32](20004),
// 					InternalHTTPSPort: to.Ptr[int32](20002),
// 					VirtualIP: to.Ptr("20.112.141.150"),
// 			}},
// 		},
// 	}
Output:

func (*EnvironmentsClient) GetWorkerPool

func (client *EnvironmentsClient) GetWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientGetWorkerPoolOptions) (EnvironmentsClientGetWorkerPoolResponse, error)

GetWorkerPool - Description for Get properties of a worker pool. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetWorkerPool.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().GetWorkerPool(ctx, "test-rg", "test-ase", "workerPool1", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkerPoolResource = armappservice.WorkerPoolResource{
// 	Name: to.Ptr("workerPool1"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1"),
// 	Kind: to.Ptr("ASEV1"),
// 	Properties: &armappservice.WorkerPool{
// 		InstanceNames: []*string{
// 		},
// 		WorkerCount: to.Ptr[int32](2),
// 		WorkerSize: to.Ptr("Small"),
// 		WorkerSizeID: to.Ptr[int32](0),
// 	},
// }
Output:

func (*EnvironmentsClient) ListDiagnostics

ListDiagnostics - Description for Get diagnostic information for an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListDiagnostics.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().ListDiagnostics(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.HostingEnvironmentDiagnosticsArray = []*armappservice.HostingEnvironmentDiagnostics{}
Output:

func (*EnvironmentsClient) ListOperations

ListOperations - Description for List all currently running operations on the App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListOperations.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().ListOperations(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.OperationArray = []*armappservice.Operation{
// }
Output:

func (*EnvironmentsClient) NewGetInboundNetworkDependenciesEndpointsPager

NewGetInboundNetworkDependenciesEndpointsPager - Description for Get the network endpoints of all inbound dependencies of an App Service Environment.

Generated from API version 2023-01-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.NewGetInboundNetworkDependenciesEndpointsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetInboundNetworkDependenciesEndpoints.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewGetInboundNetworkDependenciesEndpointsPager("Sample-WestUSResourceGroup", "SampleAse", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.InboundEnvironmentEndpointCollection = armappservice.InboundEnvironmentEndpointCollection{
	// 	Value: []*armappservice.InboundEnvironmentEndpoint{
	// 		{
	// 			Description: to.Ptr("App Service management"),
	// 			Endpoints: []*string{
	// 				to.Ptr("70.37.57.58/32"),
	// 				to.Ptr("157.55.208.185/32"),
	// 				to.Ptr("23.102.188.65/32"),
	// 				to.Ptr("191.236.154.88/32"),
	// 				to.Ptr("52.174.22.21/32"),
	// 				to.Ptr("13.94.149.179/32"),
	// 				to.Ptr("13.94.143.126/32"),
	// 				to.Ptr("13.94.141.115/32"),
	// 				to.Ptr("52.178.195.197/32"),
	// 				to.Ptr("52.178.190.65/32"),
	// 				to.Ptr("52.178.184.149/32"),
	// 				to.Ptr("52.178.177.147/32"),
	// 				to.Ptr("13.75.127.117/32"),
	// 				to.Ptr("40.83.125.161/32"),
	// 				to.Ptr("40.83.121.56/32"),
	// 				to.Ptr("40.83.120.64/32"),
	// 				to.Ptr("52.187.56.50/32"),
	// 				to.Ptr("52.187.63.37/32"),
	// 				to.Ptr("52.187.59.251/32"),
	// 				to.Ptr("52.187.63.19/32"),
	// 				to.Ptr("52.165.158.140/32"),
	// 				to.Ptr("52.165.152.214/32"),
	// 				to.Ptr("52.165.154.193/32"),
	// 				to.Ptr("52.165.153.122/32"),
	// 				to.Ptr("104.44.129.255/32"),
	// 				to.Ptr("104.44.134.255/32"),
	// 				to.Ptr("104.44.129.243/32"),
	// 				to.Ptr("104.44.129.141/32"),
	// 				to.Ptr("65.52.193.203/32"),
	// 				to.Ptr("70.37.89.222/32"),
	// 				to.Ptr("13.64.115.203/32"),
	// 				to.Ptr("52.225.177.153/32"),
	// 				to.Ptr("65.52.172.237/32")},
	// 				Ports: []*string{
	// 					to.Ptr("454"),
	// 					to.Ptr("455")},
	// 				},
	// 				{
	// 					Description: to.Ptr("App Service Environment VIP"),
	// 					Endpoints: []*string{
	// 						to.Ptr("52.247.209.18/32")},
	// 						Ports: []*string{
	// 							to.Ptr("454"),
	// 							to.Ptr("455"),
	// 							to.Ptr("16001")},
	// 						},
	// 						{
	// 							Description: to.Ptr("App Service Environment subnet"),
	// 							Endpoints: []*string{
	// 								to.Ptr("192.168.250.0/24")},
	// 								Ports: []*string{
	// 									to.Ptr("All")},
	// 							}},
	// 						}
}
Output:

func (*EnvironmentsClient) NewGetOutboundNetworkDependenciesEndpointsPager

NewGetOutboundNetworkDependenciesEndpointsPager - Description for Get the network endpoints of all outbound dependencies of an App Service Environment.

Generated from API version 2023-01-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.NewGetOutboundNetworkDependenciesEndpointsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetOutboundNetworkDependenciesEndpoints.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewGetOutboundNetworkDependenciesEndpointsPager("Sample-WestUSResourceGroup", "SampleAse", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.OutboundEnvironmentEndpointCollection = armappservice.OutboundEnvironmentEndpointCollection{
	// 	Value: []*armappservice.OutboundEnvironmentEndpoint{
	// 		{
	// 			Category: to.Ptr("Azure Storage"),
	// 			Endpoints: []*armappservice.EndpointDependency{
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.36"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](42.0469),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.36"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](41.7038),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.25"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](37.326),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.25"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](37.513600000000004),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.26"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](32.789),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.26"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](1.8702),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.28"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](36.7378),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("52.183.104.28"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](36.7108),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](4.0261000000000005),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.8264),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](40.8523),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](40.7501),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](1.2071),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](38.2975),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](59.383700000000005),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](60.0775),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.5512),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.6777),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.5204),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.8193),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2720000000000002),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.0147),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2387),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2804),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.16"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](43.025200000000005),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.16"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](43.1683),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.25"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](41.8598),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.25"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](41.9805),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.26"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](30.542900000000003),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.26"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](0.9832000000000001),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.28"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](35.9562),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.66.176.28"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](36.0643),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2829),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.3393),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.4103000000000003),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](4.1032),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.1141),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.0247),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.834),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.8198000000000003),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](1.3855000000000002),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](1.0594000000000001),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.4717000000000002),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.4827),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.395),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.1701),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](1.4308),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](22.5866),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("blob.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.5372),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.64"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.4626),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("queue.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.7873),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.73"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](4.1911000000000005),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("table.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.9162000000000003),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.74"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](2.7896),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("file.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](26.723100000000002),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("13.77.184.76"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](26.735200000000003),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 			}},
	// 		},
	// 		{
	// 			Category: to.Ptr("Azure SQL Database"),
	// 			Endpoints: []*armappservice.EndpointDependency{
	// 				{
	// 					DomainName: to.Ptr("database.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.66.226.202"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](1.5964),
	// 							Port: to.Ptr[int32](1433),
	// 					}},
	// 			}},
	// 		},
	// 		{
	// 			Category: to.Ptr("Azure Management"),
	// 			Endpoints: []*armappservice.EndpointDependency{
	// 				{
	// 					DomainName: to.Ptr("management.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("23.102.135.246"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](46.5764),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("admin.core.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("23.102.135.247"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](47.408),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("management.azure.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("52.151.25.45"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.9529),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 			}},
	// 		},
	// 		{
	// 			Category: to.Ptr("Azure Active Directory"),
	// 			Endpoints: []*armappservice.EndpointDependency{
	// 				{
	// 					DomainName: to.Ptr("graph.windows.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("20.190.133.83"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2264),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("20.190.133.81"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2264),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("20.190.133.67"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2264),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("40.126.5.34"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.2264),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 			}},
	// 		},
	// 		{
	// 			Category: to.Ptr("Regional Service"),
	// 			Endpoints: []*armappservice.EndpointDependency{
	// 				{
	// 					DomainName: to.Ptr("gr-prod-mwh.cloudapp.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("13.66.225.188"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](3.3826),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("az-prod.metrics.nsatc.net"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("40.77.24.27"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](38.5647),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 			}},
	// 		},
	// 		{
	// 			Category: to.Ptr("SSL Certificate Verification"),
	// 			Endpoints: []*armappservice.EndpointDependency{
	// 				{
	// 					DomainName: to.Ptr("ocsp.msocsp.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("104.18.25.243"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](6.0651),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("104.18.25.243"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](12.888),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("104.18.24.243"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](6.0651),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("104.18.24.243"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](12.888),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("mscrl.microsoft.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("152.199.4.33"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](6.742900000000001),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("152.199.4.33"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](7.436100000000001),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("crl.microsoft.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("23.215.102.10"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](25.136200000000002),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("23.215.102.10"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](25.0085),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("23.215.102.42"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](25.136200000000002),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("23.215.102.42"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](25.0085),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("www.microsoft.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("23.49.13.56"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](7.9229),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("23.49.13.56"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](8.4871),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("crl3.digicert.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("72.21.91.29"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](5.4074),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("72.21.91.29"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](5.577),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("ocsp.digicert.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("72.21.91.29"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](6.8989),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("72.21.91.29"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](5.667400000000001),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("cacerts.digicert.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("104.18.11.39"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](10.772400000000001),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("104.18.11.39"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](10.7705),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("104.18.10.39"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](10.772400000000001),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("104.18.10.39"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](10.7705),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 				},
	// 				{
	// 					DomainName: to.Ptr("www.thawte.com"),
	// 					EndpointDetails: []*armappservice.EndpointDetail{
	// 						{
	// 							IPAddress: to.Ptr("54.69.98.161"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](47.532900000000005),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("54.69.98.161"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](48.5362),
	// 							Port: to.Ptr[int32](443),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("35.167.62.148"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](47.532900000000005),
	// 							Port: to.Ptr[int32](80),
	// 						},
	// 						{
	// 							IPAddress: to.Ptr("35.167.62.148"),
	// 							IsAccessible: to.Ptr(true),
	// 							Latency: to.Ptr[float64](48.5362),
	// 							Port: to.Ptr[int32](443),
	// 					}},
	// 			}},
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewGetPrivateEndpointConnectionListPager

NewGetPrivateEndpointConnectionListPager - Description for Gets the list of private endpoints associated with a hosting environment

Generated from API version 2023-01-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.NewGetPrivateEndpointConnectionListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewGetPrivateEndpointConnectionListPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PrivateEndpointConnectionCollection = armappservice.PrivateEndpointConnectionCollection{
	// 	Value: []*armappservice.RemotePrivateEndpointConnectionARMResource{
	// 		{
	// 			Name: to.Ptr("fa38656c-034e-43d8-adce-fe06ce039c98"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments/privateEndpointConnections"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98"),
	// 			Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
	// 				IPAddresses: []*string{
	// 				},
	// 				PrivateEndpoint: &armappservice.ArmIDWrapper{
	// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint"),
	// 				},
	// 				PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
	// 					Description: to.Ptr("Please approve my connection, thanks!"),
	// 					ActionsRequired: to.Ptr("None"),
	// 					Status: to.Ptr("Disconnecting"),
	// 				},
	// 				ProvisioningState: to.Ptr("Succeeded"),
	// 			},
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListAppServicePlansPager

func (client *EnvironmentsClient) NewListAppServicePlansPager(resourceGroupName string, name string, options *EnvironmentsClientListAppServicePlansOptions) *runtime.Pager[EnvironmentsClientListAppServicePlansResponse]

NewListAppServicePlansPager - Description for Get all App Service plans in an App Service Environment.

Generated from API version 2023-01-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.NewListAppServicePlansPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListAppServicePlans.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListAppServicePlansPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PlanCollection = armappservice.PlanCollection{
	// 	Value: []*armappservice.Plan{
	// 		{
	// 			Name: to.Ptr("test-asp"),
	// 			Type: to.Ptr("Microsoft.Web/serverfarms"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-asp"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("Central US EUAP"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.PlanProperties{
	// 				ElasticScaleEnabled: to.Ptr(false),
	// 				GeoRegion: to.Ptr("Central US EUAP"),
	// 				HostingEnvironmentProfile: &armappservice.HostingEnvironmentProfile{
	// 					Name: to.Ptr("test-ase"),
	// 					Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
	// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
	// 				},
	// 				HyperV: to.Ptr(false),
	// 				IsSpot: to.Ptr(false),
	// 				IsXenon: to.Ptr(false),
	// 				MaximumElasticWorkerCount: to.Ptr[int32](0),
	// 				MaximumNumberOfWorkers: to.Ptr[int32](100),
	// 				NumberOfSites: to.Ptr[int32](0),
	// 				PerSiteScaling: to.Ptr(false),
	// 				ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 				Reserved: to.Ptr(false),
	// 				ResourceGroup: to.Ptr("test-rg"),
	// 				Status: to.Ptr(armappservice.StatusOptionsReady),
	// 				Subscription: to.Ptr("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"),
	// 				TargetWorkerCount: to.Ptr[int32](1),
	// 				TargetWorkerSizeID: to.Ptr[int32](0),
	// 				ZoneRedundant: to.Ptr(false),
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("I1"),
	// 				Capacity: to.Ptr[int32](0),
	// 				Family: to.Ptr("I"),
	// 				Size: to.Ptr("I1"),
	// 				Tier: to.Ptr("Isolated"),
	// 			},
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListByResourceGroupPager

NewListByResourceGroupPager - Description for Get all App Service Environments in a resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - EnvironmentsClientListByResourceGroupOptions contains the optional parameters for the EnvironmentsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListByResourceGroupPager("test-rg", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.EnvironmentCollection = armappservice.EnvironmentCollection{
	// 	Value: []*armappservice.EnvironmentResource{
	// 		{
	// 			Name: to.Ptr("test-ase"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
	// 			Kind: to.Ptr("ASEV3"),
	// 			Location: to.Ptr("South Central US"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.Environment{
	// 				DedicatedHostCount: to.Ptr[int32](0),
	// 				DNSSuffix: to.Ptr("test-ase.p.azurewebsites.net"),
	// 				FrontEndScaleFactor: to.Ptr[int32](15),
	// 				HasLinuxWorkers: to.Ptr(true),
	// 				InternalLoadBalancingMode: to.Ptr(armappservice.LoadBalancingModeNone),
	// 				IpsslAddressCount: to.Ptr[int32](0),
	// 				MaximumNumberOfMachines: to.Ptr[int32](250),
	// 				MultiSize: to.Ptr("Standard_D2d_v4"),
	// 				NetworkingConfiguration: &armappservice.AseV3NetworkingConfiguration{
	// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
	// 					Properties: &armappservice.AseV3NetworkingConfigurationProperties{
	// 						AllowNewPrivateEndpointConnections: to.Ptr(false),
	// 						ExternalInboundIPAddresses: []*string{
	// 							to.Ptr("52.153.248.36")},
	// 							FtpEnabled: to.Ptr(false),
	// 							InternalInboundIPAddresses: []*string{
	// 							},
	// 							LinuxOutboundIPAddresses: []*string{
	// 								to.Ptr("20.88.241.56"),
	// 								to.Ptr("20.88.241.9")},
	// 								RemoteDebugEnabled: to.Ptr(false),
	// 								WindowsOutboundIPAddresses: []*string{
	// 									to.Ptr("20.88.241.56"),
	// 									to.Ptr("20.88.241.9")},
	// 								},
	// 							},
	// 							ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 							Status: to.Ptr(armappservice.HostingEnvironmentStatusReady),
	// 							Suspended: to.Ptr(false),
	// 							VirtualNetwork: &armappservice.VirtualNetworkProfile{
	// 								Name: to.Ptr("delegated"),
	// 								Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 								ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated"),
	// 								Subnet: to.Ptr(""),
	// 							},
	// 							ZoneRedundant: to.Ptr(false),
	// 						},
	// 				}},
	// 			}
}
Output:

func (*EnvironmentsClient) NewListCapacitiesPager

func (client *EnvironmentsClient) NewListCapacitiesPager(resourceGroupName string, name string, options *EnvironmentsClientListCapacitiesOptions) *runtime.Pager[EnvironmentsClientListCapacitiesResponse]

NewListCapacitiesPager - Description for Get the used, available, and total worker capacity an App Service Environment.

Generated from API version 2023-01-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.NewListCapacitiesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListCapacities.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListCapacitiesPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StampCapacityCollection = armappservice.StampCapacityCollection{
	// 	Value: []*armappservice.StampCapacity{
	// 		{
	// 			AvailableCapacity: to.Ptr[int64](0),
	// 			ComputeMode: to.Ptr(armappservice.ComputeModeOptionsDedicated),
	// 			ExcludeFromCapacityAllocation: to.Ptr(false),
	// 			IsApplicableForAllComputeModes: to.Ptr(false),
	// 			IsLinux: to.Ptr(false),
	// 			TotalCapacity: to.Ptr[int64](1),
	// 			WorkerSizeID: to.Ptr[int32](0),
	// 		},
	// 		{
	// 			AvailableCapacity: to.Ptr[int64](0),
	// 			ComputeMode: to.Ptr(armappservice.ComputeModeOptionsDedicated),
	// 			ExcludeFromCapacityAllocation: to.Ptr(false),
	// 			IsApplicableForAllComputeModes: to.Ptr(false),
	// 			IsLinux: to.Ptr(false),
	// 			TotalCapacity: to.Ptr[int64](1),
	// 			WorkerSizeID: to.Ptr[int32](1),
	// 		},
	// 		{
	// 			AvailableCapacity: to.Ptr[int64](0),
	// 			ComputeMode: to.Ptr(armappservice.ComputeModeOptionsDedicated),
	// 			ExcludeFromCapacityAllocation: to.Ptr(false),
	// 			IsApplicableForAllComputeModes: to.Ptr(false),
	// 			IsLinux: to.Ptr(false),
	// 			TotalCapacity: to.Ptr[int64](1),
	// 			WorkerSizeID: to.Ptr[int32](2),
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListMultiRoleMetricDefinitionsPager

NewListMultiRoleMetricDefinitionsPager - Description for Get metric definitions for a multi-role pool of an App Service Environment.

Generated from API version 2023-01-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.NewListMultiRoleMetricDefinitionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListMultiRoleMetricDefinitionsPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceMetricDefinitionCollection = armappservice.ResourceMetricDefinitionCollection{
	// 	Value: []*armappservice.ResourceMetricDefinition{
	// 		{
	// 			Name: to.Ptr("CpuPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/cpupercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("MemoryPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/MemoryPercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("DiskQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/DiskQueueLength"),
	// 		},
	// 		{
	// 			Name: to.Ptr("HttpQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/HttpQueueLength"),
	// 		},
	// 		{
	// 			Name: to.Ptr("BytesReceived"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesReceived"),
	// 		},
	// 		{
	// 			Name: to.Ptr("BytesSent"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesSent"),
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListMultiRolePoolInstanceMetricDefinitionsPager

func (client *EnvironmentsClient) NewListMultiRolePoolInstanceMetricDefinitionsPager(resourceGroupName string, name string, instance string, options *EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions) *runtime.Pager[EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse]

NewListMultiRolePoolInstanceMetricDefinitionsPager - Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.

Generated from API version 2023-01-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.NewListMultiRolePoolInstanceMetricDefinitionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListMultiRolePoolInstanceMetricDefinitionsPager("test-rg", "test-ase", "10.7.1.8", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceMetricDefinitionCollection = armappservice.ResourceMetricDefinitionCollection{
	// 	Value: []*armappservice.ResourceMetricDefinition{
	// 		{
	// 			Name: to.Ptr("CpuPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/cpupercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("MemoryPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/MemoryPercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("DiskQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/DiskQueueLength"),
	// 		},
	// 		{
	// 			Name: to.Ptr("HttpQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/HttpQueueLength"),
	// 		},
	// 		{
	// 			Name: to.Ptr("BytesReceived"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesReceived"),
	// 		},
	// 		{
	// 			Name: to.Ptr("BytesSent"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesSent"),
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListMultiRolePoolSKUsPager

func (client *EnvironmentsClient) NewListMultiRolePoolSKUsPager(resourceGroupName string, name string, options *EnvironmentsClientListMultiRolePoolSKUsOptions) *runtime.Pager[EnvironmentsClientListMultiRolePoolSKUsResponse]

NewListMultiRolePoolSKUsPager - Description for Get available SKUs for scaling a multi-role pool.

Generated from API version 2023-01-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.NewListMultiRolePoolSKUsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListMultiRolePoolSKUsPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.SKUInfoCollection = armappservice.SKUInfoCollection{
	// 	Value: []*armappservice.SKUInfo{
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S2"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S3"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S4"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("O2"),
	// 				Tier: to.Ptr("Optimized"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("O3"),
	// 				Tier: to.Ptr("Optimized"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("O4"),
	// 				Tier: to.Ptr("Optimized"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("Q1"),
	// 				Tier: to.Ptr("Quantum"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("Q2"),
	// 				Tier: to.Ptr("Quantum"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("Q3"),
	// 				Tier: to.Ptr("Quantum"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](247),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("Q4"),
	// 				Tier: to.Ptr("Quantum"),
	// 			},
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListMultiRolePoolsPager

func (client *EnvironmentsClient) NewListMultiRolePoolsPager(resourceGroupName string, name string, options *EnvironmentsClientListMultiRolePoolsOptions) *runtime.Pager[EnvironmentsClientListMultiRolePoolsResponse]

NewListMultiRolePoolsPager - Description for Get all multi-role pools.

Generated from API version 2023-01-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.NewListMultiRolePoolsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListMultiRolePools.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListMultiRolePoolsPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkerPoolCollection = armappservice.WorkerPoolCollection{
	// 	Value: []*armappservice.WorkerPoolResource{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default"),
	// 			Properties: &armappservice.WorkerPool{
	// 				InstanceNames: []*string{
	// 					to.Ptr("10.7.1.8"),
	// 					to.Ptr("10.7.1.9")},
	// 					WorkerCount: to.Ptr[int32](2),
	// 					WorkerSize: to.Ptr("Standard_D1_V2"),
	// 				},
	// 				SKU: &armappservice.SKUDescription{
	// 					Name: to.Ptr("Q1"),
	// 					Capacity: to.Ptr[int32](2),
	// 					Family: to.Ptr("Q"),
	// 					Size: to.Ptr("Q1"),
	// 					Tier: to.Ptr("Quantum"),
	// 				},
	// 		}},
	// 	}
}
Output:

func (*EnvironmentsClient) NewListMultiRoleUsagesPager

func (client *EnvironmentsClient) NewListMultiRoleUsagesPager(resourceGroupName string, name string, options *EnvironmentsClientListMultiRoleUsagesOptions) *runtime.Pager[EnvironmentsClientListMultiRoleUsagesResponse]

NewListMultiRoleUsagesPager - Description for Get usage metrics for a multi-role pool of an App Service Environment.

Generated from API version 2023-01-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.NewListMultiRoleUsagesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListMultiRoleUsagesPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.UsageCollection = armappservice.UsageCollection{
	// 	Value: []*armappservice.Usage{
	// 	},
	// }
}
Output:

func (*EnvironmentsClient) NewListPager

NewListPager - Description for Get all App Service Environments for a subscription.

Generated from API version 2023-01-01

  • options - EnvironmentsClientListOptions contains the optional parameters for the EnvironmentsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.EnvironmentCollection = armappservice.EnvironmentCollection{
	// 	Value: []*armappservice.EnvironmentResource{
	// 		{
	// 			Name: to.Ptr("test-ase"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
	// 			Kind: to.Ptr("ASEV3"),
	// 			Location: to.Ptr("South Central US"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.Environment{
	// 				DedicatedHostCount: to.Ptr[int32](0),
	// 				DNSSuffix: to.Ptr("test-ase.p.azurewebsites.net"),
	// 				FrontEndScaleFactor: to.Ptr[int32](15),
	// 				HasLinuxWorkers: to.Ptr(true),
	// 				InternalLoadBalancingMode: to.Ptr(armappservice.LoadBalancingModeNone),
	// 				IpsslAddressCount: to.Ptr[int32](0),
	// 				MaximumNumberOfMachines: to.Ptr[int32](250),
	// 				MultiSize: to.Ptr("Standard_D2d_v4"),
	// 				NetworkingConfiguration: &armappservice.AseV3NetworkingConfiguration{
	// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
	// 					Properties: &armappservice.AseV3NetworkingConfigurationProperties{
	// 						AllowNewPrivateEndpointConnections: to.Ptr(false),
	// 						ExternalInboundIPAddresses: []*string{
	// 							to.Ptr("52.153.248.36")},
	// 							FtpEnabled: to.Ptr(false),
	// 							InternalInboundIPAddresses: []*string{
	// 							},
	// 							LinuxOutboundIPAddresses: []*string{
	// 								to.Ptr("20.88.241.56"),
	// 								to.Ptr("20.88.241.9")},
	// 								RemoteDebugEnabled: to.Ptr(false),
	// 								WindowsOutboundIPAddresses: []*string{
	// 									to.Ptr("20.88.241.56"),
	// 									to.Ptr("20.88.241.9")},
	// 								},
	// 							},
	// 							ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 							Status: to.Ptr(armappservice.HostingEnvironmentStatusReady),
	// 							Suspended: to.Ptr(false),
	// 							VirtualNetwork: &armappservice.VirtualNetworkProfile{
	// 								Name: to.Ptr("delegated"),
	// 								Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 								ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated"),
	// 								Subnet: to.Ptr(""),
	// 							},
	// 							ZoneRedundant: to.Ptr(false),
	// 						},
	// 				}},
	// 			}
}
Output:

func (*EnvironmentsClient) NewListUsagesPager

func (client *EnvironmentsClient) NewListUsagesPager(resourceGroupName string, name string, options *EnvironmentsClientListUsagesOptions) *runtime.Pager[EnvironmentsClientListUsagesResponse]

NewListUsagesPager - Description for Get global usage metrics of an App Service Environment.

Generated from API version 2023-01-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.NewListUsagesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListUsages.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListUsagesPager("test-rg", "test-ase", &armappservice.EnvironmentsClientListUsagesOptions{Filter: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmUsageQuotaCollection = armappservice.CsmUsageQuotaCollection{
	// 	Value: []*armappservice.CsmUsageQuota{
	// 		{
	// 			Name: &armappservice.LocalizableString{
	// 				LocalizedValue: to.Ptr("File System Storage"),
	// 				Value: to.Ptr("FileSystemStorage"),
	// 			},
	// 			CurrentValue: to.Ptr[int64](37888),
	// 			Limit: to.Ptr[int64](1099511627776),
	// 			NextResetTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "9999-12-31T23:59:59.999Z"); return t}()),
	// 			Unit: to.Ptr("Bytes"),
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListWebAppsPager

func (client *EnvironmentsClient) NewListWebAppsPager(resourceGroupName string, name string, options *EnvironmentsClientListWebAppsOptions) *runtime.Pager[EnvironmentsClientListWebAppsResponse]

NewListWebAppsPager - Description for Get all apps in an App Service Environment.

Generated from API version 2023-01-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.NewListWebAppsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListWebApps.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListWebAppsPager("test-rg", "test-ase", &armappservice.EnvironmentsClientListWebAppsOptions{PropertiesToInclude: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 		{
	// 			Name: to.Ptr("test-site"),
	// 			Type: to.Ptr("Microsoft.Web/sites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-site"),
	// 			Location: to.Ptr("Central US EUAP"),
	// 			Properties: &armappservice.SiteProperties{
	// 				AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 				ClientAffinityEnabled: to.Ptr(true),
	// 				ClientCertEnabled: to.Ptr(false),
	// 				ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 				ContainerSize: to.Ptr[int32](0),
	// 				CustomDomainVerificationID: to.Ptr("2982A67AD520FBCD070650FC77814FB03B62927C6EFCA2F5FF3BF5DC60088845"),
	// 				DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 				DefaultHostName: to.Ptr("test-site.test-ase.p.azurewebsites.net"),
	// 				Enabled: to.Ptr(true),
	// 				EnabledHostNames: []*string{
	// 					to.Ptr("test-site.test-ase.p.azurewebsites.net"),
	// 					to.Ptr("test-site.scm.test-ase.p.azurewebsites.net")},
	// 					HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 						{
	// 							Name: to.Ptr("test-site.test-ase.p.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeStandard),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 						},
	// 						{
	// 							Name: to.Ptr("test-site.scm.test-ase.p.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeRepository),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 					}},
	// 					HostNames: []*string{
	// 						to.Ptr("test-site.test-ase.p.azurewebsites.net")},
	// 						HostNamesDisabled: to.Ptr(false),
	// 						HostingEnvironmentProfile: &armappservice.HostingEnvironmentProfile{
	// 							Name: to.Ptr("test-ase"),
	// 							Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
	// 							ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
	// 						},
	// 						HTTPSOnly: to.Ptr(false),
	// 						HyperV: to.Ptr(false),
	// 						IsXenon: to.Ptr(false),
	// 						KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 						LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-04-08T12:41:04.123Z"); return t}()),
	// 						OutboundIPAddresses: to.Ptr("20.112.141.120"),
	// 						PossibleOutboundIPAddresses: to.Ptr("20.112.141.120"),
	// 						RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 						RepositorySiteName: to.Ptr("test-site"),
	// 						Reserved: to.Ptr(false),
	// 						ResourceGroup: to.Ptr("test-rg"),
	// 						ScmSiteAlsoStopped: to.Ptr(false),
	// 						ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-serverfarm"),
	// 						SiteConfig: &armappservice.SiteConfig{
	// 							FunctionAppScaleLimit: to.Ptr[int32](0),
	// 							LinuxFxVersion: to.Ptr(""),
	// 							MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 							NumberOfWorkers: to.Ptr[int32](1),
	// 						},
	// 						State: to.Ptr("Running"),
	// 						StorageAccountRequired: to.Ptr(false),
	// 						UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 					},
	// 			}},
	// 		}
}
Output:

func (*EnvironmentsClient) NewListWebWorkerMetricDefinitionsPager

func (client *EnvironmentsClient) NewListWebWorkerMetricDefinitionsPager(resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientListWebWorkerMetricDefinitionsOptions) *runtime.Pager[EnvironmentsClientListWebWorkerMetricDefinitionsResponse]

NewListWebWorkerMetricDefinitionsPager - Description for Get metric definitions for a worker pool of an App Service Environment.

Generated from API version 2023-01-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.NewListWebWorkerMetricDefinitionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListWebWorkerMetricDefinitionsPager("test-rg", "test-ase", "0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceMetricDefinitionCollection = armappservice.ResourceMetricDefinitionCollection{
	// 	Value: []*armappservice.ResourceMetricDefinition{
	// 		{
	// 			Name: to.Ptr("CpuPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/CpuPercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("MemoryPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/MemoryPercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("DiskQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/DiskQueueLength"),
	// 		},
	// 		{
	// 			Name: to.Ptr("HttpQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/HttpQueueLength"),
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListWebWorkerUsagesPager

func (client *EnvironmentsClient) NewListWebWorkerUsagesPager(resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientListWebWorkerUsagesOptions) *runtime.Pager[EnvironmentsClientListWebWorkerUsagesResponse]

NewListWebWorkerUsagesPager - Description for Get usage metrics for a worker pool of an App Service Environment.

Generated from API version 2023-01-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.NewListWebWorkerUsagesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListWebWorkerUsagesPager("test-rg", "test-ase", "0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.UsageCollection = armappservice.UsageCollection{
	// 	Value: []*armappservice.Usage{
	// 	},
	// }
}
Output:

func (*EnvironmentsClient) NewListWorkerPoolInstanceMetricDefinitionsPager

func (client *EnvironmentsClient) NewListWorkerPoolInstanceMetricDefinitionsPager(resourceGroupName string, name string, workerPoolName string, instance string, options *EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions) *runtime.Pager[EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse]

NewListWorkerPoolInstanceMetricDefinitionsPager - Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment.

Generated from API version 2023-01-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.NewListWorkerPoolInstanceMetricDefinitionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListWorkerPoolInstanceMetricDefinitionsPager("test-rg", "test-ase", "0", "10.8.0.7", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceMetricDefinitionCollection = armappservice.ResourceMetricDefinitionCollection{
	// 	Value: []*armappservice.ResourceMetricDefinition{
	// 		{
	// 			Name: to.Ptr("CpuPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/CpuPercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("MemoryPercentage"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/MemoryPercentage"),
	// 		},
	// 		{
	// 			Name: to.Ptr("DiskQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/DiskQueueLength"),
	// 		},
	// 		{
	// 			Name: to.Ptr("HttpQueueLength"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/HttpQueueLength"),
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListWorkerPoolSKUsPager

func (client *EnvironmentsClient) NewListWorkerPoolSKUsPager(resourceGroupName string, name string, workerPoolName string, options *EnvironmentsClientListWorkerPoolSKUsOptions) *runtime.Pager[EnvironmentsClientListWorkerPoolSKUsResponse]

NewListWorkerPoolSKUsPager - Description for Get available SKUs for scaling a worker pool.

Generated from API version 2023-01-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.NewListWorkerPoolSKUsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListWorkerPoolSKUsPager("test-rg", "test-ase", "workerPool1", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.SKUInfoCollection = armappservice.SKUInfoCollection{
	// 	Value: []*armappservice.SKUInfo{
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](53),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S1"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](53),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S2"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](53),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S3"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](53),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("S4"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 		},
	// 		{
	// 			Capacity: &armappservice.SKUCapacity{
	// 				Default: to.Ptr[int32](2),
	// 				Maximum: to.Ptr[int32](53),
	// 				Minimum: to.Ptr[int32](2),
	// 				ScaleType: to.Ptr("automatic"),
	// 			},
	// 			ResourceType: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("O1"),
	// 				Tier: to.Ptr("Optimized"),
	// 			},
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) NewListWorkerPoolsPager

func (client *EnvironmentsClient) NewListWorkerPoolsPager(resourceGroupName string, name string, options *EnvironmentsClientListWorkerPoolsOptions) *runtime.Pager[EnvironmentsClientListWorkerPoolsResponse]

NewListWorkerPoolsPager - Description for Get all worker pools of an App Service Environment.

Generated from API version 2023-01-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.NewListWorkerPoolsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_ListWorkerPools.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewEnvironmentsClient().NewListWorkerPoolsPager("test-rg", "test-ase", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkerPoolCollection = armappservice.WorkerPoolCollection{
	// 	Value: []*armappservice.WorkerPoolResource{
	// 		{
	// 			Name: to.Ptr("workerPool1"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1"),
	// 			Kind: to.Ptr("ASEV1"),
	// 			Properties: &armappservice.WorkerPool{
	// 				InstanceNames: []*string{
	// 				},
	// 				WorkerCount: to.Ptr[int32](2),
	// 				WorkerSize: to.Ptr("Small"),
	// 				WorkerSizeID: to.Ptr[int32](0),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("workerPool2"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool2"),
	// 			Kind: to.Ptr("ASEV1"),
	// 			Properties: &armappservice.WorkerPool{
	// 				InstanceNames: []*string{
	// 				},
	// 				WorkerCount: to.Ptr[int32](0),
	// 				WorkerSize: to.Ptr("Small"),
	// 				WorkerSizeID: to.Ptr[int32](1),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("workerPool3"),
	// 			Type: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool3"),
	// 			Kind: to.Ptr("ASEV1"),
	// 			Properties: &armappservice.WorkerPool{
	// 				InstanceNames: []*string{
	// 				},
	// 				WorkerCount: to.Ptr[int32](0),
	// 				WorkerSize: to.Ptr("Small"),
	// 				WorkerSizeID: to.Ptr[int32](2),
	// 			},
	// 	}},
	// }
}
Output:

func (*EnvironmentsClient) Reboot

Reboot - Description for Reboot all machines in an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Reboot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewEnvironmentsClient().Reboot(ctx, "test-rg", "test-ase", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*EnvironmentsClient) TestUpgradeAvailableNotification

TestUpgradeAvailableNotification - Send a test notification that an upgrade is available for this App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the App Service Environment.
  • options - EnvironmentsClientTestUpgradeAvailableNotificationOptions contains the optional parameters for the EnvironmentsClient.TestUpgradeAvailableNotification method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewEnvironmentsClient().TestUpgradeAvailableNotification(ctx, "rg", "SampleHostingEnvironment", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*EnvironmentsClient) Update

func (client *EnvironmentsClient) Update(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope EnvironmentPatchResource, options *EnvironmentsClientUpdateOptions) (EnvironmentsClientUpdateResponse, error)

Update - Description for Create or update an App Service Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_Update.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().Update(ctx, "test-rg", "test-ase", armappservice.EnvironmentPatchResource{
	Properties: &armappservice.Environment{
		FrontEndScaleFactor: to.Ptr[int32](20),
		VirtualNetwork: &armappservice.VirtualNetworkProfile{
			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated"),
		},
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.EnvironmentResource = armappservice.EnvironmentResource{
// 	Name: to.Ptr("test-ase"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase"),
// 	Kind: to.Ptr("ASEV3"),
// 	Location: to.Ptr("South Central US"),
// 	Tags: map[string]*string{
// 	},
// 	Properties: &armappservice.Environment{
// 		DedicatedHostCount: to.Ptr[int32](0),
// 		DNSSuffix: to.Ptr("test-ase.p.azurewebsites.net"),
// 		FrontEndScaleFactor: to.Ptr[int32](15),
// 		HasLinuxWorkers: to.Ptr(true),
// 		InternalLoadBalancingMode: to.Ptr(armappservice.LoadBalancingModeNone),
// 		IpsslAddressCount: to.Ptr[int32](0),
// 		MaximumNumberOfMachines: to.Ptr[int32](250),
// 		MultiSize: to.Ptr("Standard_D2d_v4"),
// 		NetworkingConfiguration: &armappservice.AseV3NetworkingConfiguration{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
// 			Properties: &armappservice.AseV3NetworkingConfigurationProperties{
// 				AllowNewPrivateEndpointConnections: to.Ptr(false),
// 				ExternalInboundIPAddresses: []*string{
// 					to.Ptr("52.153.248.36")},
// 					FtpEnabled: to.Ptr(false),
// 					InternalInboundIPAddresses: []*string{
// 					},
// 					LinuxOutboundIPAddresses: []*string{
// 						to.Ptr("20.88.241.56"),
// 						to.Ptr("20.88.241.9")},
// 						RemoteDebugEnabled: to.Ptr(false),
// 						WindowsOutboundIPAddresses: []*string{
// 							to.Ptr("20.88.241.56"),
// 							to.Ptr("20.88.241.9")},
// 						},
// 					},
// 					ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 					Status: to.Ptr(armappservice.HostingEnvironmentStatusReady),
// 					Suspended: to.Ptr(false),
// 					VirtualNetwork: &armappservice.VirtualNetworkProfile{
// 						Name: to.Ptr("delegated"),
// 						Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated"),
// 						Subnet: to.Ptr(""),
// 					},
// 					ZoneRedundant: to.Ptr(false),
// 				},
// 			}
Output:

func (*EnvironmentsClient) UpdateAseCustomDNSSuffixConfiguration

func (client *EnvironmentsClient) UpdateAseCustomDNSSuffixConfiguration(ctx context.Context, resourceGroupName string, name string, customDNSSuffixConfiguration CustomDNSSuffixConfiguration, options *EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationOptions) (EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationResponse, error)

UpdateAseCustomDNSSuffixConfiguration - Update Custom Dns Suffix configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the App Service Environment.
  • options - EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationOptions contains the optional parameters for the EnvironmentsClient.UpdateAseCustomDNSSuffixConfiguration method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateAseCustomDnsSuffixConfiguration.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().UpdateAseCustomDNSSuffixConfiguration(ctx, "test-rg", "test-ase", armappservice.CustomDNSSuffixConfiguration{
	Properties: &armappservice.CustomDNSSuffixConfigurationProperties{
		CertificateURL:            to.Ptr("https://test-kv.vault.azure.net/secrets/contosocert"),
		DNSSuffix:                 to.Ptr("contoso.com"),
		KeyVaultReferenceIdentity: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CustomDNSSuffixConfiguration = armappservice.CustomDNSSuffixConfiguration{
// 	Name: to.Ptr("customDnsSuffix"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/configurations/customdnssuffix"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix"),
// 	Properties: &armappservice.CustomDNSSuffixConfigurationProperties{
// 		CertificateURL: to.Ptr("https://test-kv.vault.azure.net/secrets/contosocert"),
// 		DNSSuffix: to.Ptr("contoso.com"),
// 		KeyVaultReferenceIdentity: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi"),
// 		ProvisioningState: to.Ptr(armappservice.CustomDNSSuffixProvisioningStateSucceeded),
// 	},
// }
Output:

func (*EnvironmentsClient) UpdateAseNetworkingConfiguration

func (client *EnvironmentsClient) UpdateAseNetworkingConfiguration(ctx context.Context, resourceGroupName string, name string, aseNetworkingConfiguration AseV3NetworkingConfiguration, options *EnvironmentsClientUpdateAseNetworkingConfigurationOptions) (EnvironmentsClientUpdateAseNetworkingConfigurationResponse, error)

UpdateAseNetworkingConfiguration - Description for Update networking configuration of an App Service Environment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewEnvironmentsClient().UpdateAseNetworkingConfiguration(ctx, "test-rg", "test-ase", armappservice.AseV3NetworkingConfiguration{
	Properties: &armappservice.AseV3NetworkingConfigurationProperties{
		FtpEnabled:         to.Ptr(true),
		RemoteDebugEnabled: to.Ptr(true),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AseV3NetworkingConfiguration = armappservice.AseV3NetworkingConfiguration{
// 	Name: to.Ptr("networking"),
// 	Type: to.Ptr("Microsoft.Web/hostingEnvironments/configurations/networking"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking"),
// 	Properties: &armappservice.AseV3NetworkingConfigurationProperties{
// 		AllowNewPrivateEndpointConnections: to.Ptr(false),
// 		ExternalInboundIPAddresses: []*string{
// 			to.Ptr("52.153.248.36")},
// 			FtpEnabled: to.Ptr(true),
// 			InternalInboundIPAddresses: []*string{
// 			},
// 			LinuxOutboundIPAddresses: []*string{
// 				to.Ptr("20.88.241.56"),
// 				to.Ptr("20.88.241.9")},
// 				RemoteDebugEnabled: to.Ptr(true),
// 				WindowsOutboundIPAddresses: []*string{
// 					to.Ptr("20.88.241.56"),
// 					to.Ptr("20.88.241.9")},
// 				},
// 			}
Output:

func (*EnvironmentsClient) UpdateMultiRolePool

func (client *EnvironmentsClient) UpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource, options *EnvironmentsClientUpdateMultiRolePoolOptions) (EnvironmentsClientUpdateMultiRolePoolResponse, error)

UpdateMultiRolePool - Description for Create or update a multi-role pool. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *EnvironmentsClient) UpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource, options *EnvironmentsClientUpdateWorkerPoolOptions) (EnvironmentsClientUpdateWorkerPoolResponse, error)

UpdateWorkerPool - Description for Create or update a worker pool. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

type EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

EnvironmentsClientApproveOrRejectPrivateEndpointConnectionResponse contains the response from method EnvironmentsClient.BeginApproveOrRejectPrivateEndpointConnection.

type EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions

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

EnvironmentsClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.BeginApproveOrRejectPrivateEndpointConnection method.

type EnvironmentsClientBeginChangeVnetOptions

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

EnvironmentsClientBeginChangeVnetOptions contains the optional parameters for the EnvironmentsClient.BeginChangeVnet method.

type EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions

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

EnvironmentsClientBeginCreateOrUpdateMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdateMultiRolePool method.

type EnvironmentsClientBeginCreateOrUpdateOptions

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

EnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdate method.

type EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions

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

EnvironmentsClientBeginCreateOrUpdateWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.BeginCreateOrUpdateWorkerPool method.

type EnvironmentsClientBeginDeleteOptions

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

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

EnvironmentsClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.BeginDeletePrivateEndpointConnection method.

type EnvironmentsClientBeginResumeOptions

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

EnvironmentsClientBeginResumeOptions contains the optional parameters for the EnvironmentsClient.BeginResume method.

type EnvironmentsClientBeginSuspendOptions

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

EnvironmentsClientBeginSuspendOptions contains the optional parameters for the EnvironmentsClient.BeginSuspend method.

type EnvironmentsClientBeginUpgradeOptions

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

EnvironmentsClientBeginUpgradeOptions contains the optional parameters for the EnvironmentsClient.BeginUpgrade method.

type EnvironmentsClientChangeVnetResponse

type EnvironmentsClientChangeVnetResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

EnvironmentsClientChangeVnetResponse contains the response from method EnvironmentsClient.BeginChangeVnet.

type EnvironmentsClientCreateOrUpdateMultiRolePoolResponse

type EnvironmentsClientCreateOrUpdateMultiRolePoolResponse struct {
	// Worker pool of an App Service Environment ARM resource.
	WorkerPoolResource
}

EnvironmentsClientCreateOrUpdateMultiRolePoolResponse contains the response from method EnvironmentsClient.BeginCreateOrUpdateMultiRolePool.

type EnvironmentsClientCreateOrUpdateResponse

type EnvironmentsClientCreateOrUpdateResponse struct {
	// App Service Environment ARM resource.
	EnvironmentResource
}

EnvironmentsClientCreateOrUpdateResponse contains the response from method EnvironmentsClient.BeginCreateOrUpdate.

type EnvironmentsClientCreateOrUpdateWorkerPoolResponse

type EnvironmentsClientCreateOrUpdateWorkerPoolResponse struct {
	// Worker pool of an App Service Environment ARM resource.
	WorkerPoolResource
}

EnvironmentsClientCreateOrUpdateWorkerPoolResponse contains the response from method EnvironmentsClient.BeginCreateOrUpdateWorkerPool.

type EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationOptions

type EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationOptions struct {
}

EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationOptions contains the optional parameters for the EnvironmentsClient.DeleteAseCustomDNSSuffixConfiguration method.

type EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationResponse

type EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationResponse struct {
	// Anything
	Interface any
}

EnvironmentsClientDeleteAseCustomDNSSuffixConfigurationResponse contains the response from method EnvironmentsClient.DeleteAseCustomDNSSuffixConfiguration.

type EnvironmentsClientDeletePrivateEndpointConnectionResponse

type EnvironmentsClientDeletePrivateEndpointConnectionResponse struct {
	// Anything
	Interface any
}

EnvironmentsClientDeletePrivateEndpointConnectionResponse contains the response from method EnvironmentsClient.BeginDeletePrivateEndpointConnection.

func (*EnvironmentsClientDeletePrivateEndpointConnectionResponse) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentsClientDeletePrivateEndpointConnectionResponse.

type EnvironmentsClientDeleteResponse

type EnvironmentsClientDeleteResponse struct {
}

EnvironmentsClientDeleteResponse contains the response from method EnvironmentsClient.BeginDelete.

type EnvironmentsClientGetAseCustomDNSSuffixConfigurationOptions

type EnvironmentsClientGetAseCustomDNSSuffixConfigurationOptions struct {
}

EnvironmentsClientGetAseCustomDNSSuffixConfigurationOptions contains the optional parameters for the EnvironmentsClient.GetAseCustomDNSSuffixConfiguration method.

type EnvironmentsClientGetAseCustomDNSSuffixConfigurationResponse

type EnvironmentsClientGetAseCustomDNSSuffixConfigurationResponse struct {
	// Full view of the custom domain suffix configuration for ASEv3.
	CustomDNSSuffixConfiguration
}

EnvironmentsClientGetAseCustomDNSSuffixConfigurationResponse contains the response from method EnvironmentsClient.GetAseCustomDNSSuffixConfiguration.

type EnvironmentsClientGetAseV3NetworkingConfigurationOptions

type EnvironmentsClientGetAseV3NetworkingConfigurationOptions struct {
}

EnvironmentsClientGetAseV3NetworkingConfigurationOptions contains the optional parameters for the EnvironmentsClient.GetAseV3NetworkingConfiguration method.

type EnvironmentsClientGetAseV3NetworkingConfigurationResponse

type EnvironmentsClientGetAseV3NetworkingConfigurationResponse struct {
	// Full view of networking configuration for an ASE.
	AseV3NetworkingConfiguration
}

EnvironmentsClientGetAseV3NetworkingConfigurationResponse contains the response from method EnvironmentsClient.GetAseV3NetworkingConfiguration.

type EnvironmentsClientGetDiagnosticsItemOptions

type EnvironmentsClientGetDiagnosticsItemOptions struct {
}

EnvironmentsClientGetDiagnosticsItemOptions contains the optional parameters for the EnvironmentsClient.GetDiagnosticsItem method.

type EnvironmentsClientGetDiagnosticsItemResponse

type EnvironmentsClientGetDiagnosticsItemResponse struct {
	// Diagnostics for an App Service Environment.
	HostingEnvironmentDiagnostics
}

EnvironmentsClientGetDiagnosticsItemResponse contains the response from method EnvironmentsClient.GetDiagnosticsItem.

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions struct {
}

EnvironmentsClientGetInboundNetworkDependenciesEndpointsOptions contains the optional parameters for the EnvironmentsClient.NewGetInboundNetworkDependenciesEndpointsPager method.

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsResponse

type EnvironmentsClientGetInboundNetworkDependenciesEndpointsResponse struct {
	// Collection of Inbound Environment Endpoints
	InboundEnvironmentEndpointCollection
}

EnvironmentsClientGetInboundNetworkDependenciesEndpointsResponse contains the response from method EnvironmentsClient.NewGetInboundNetworkDependenciesEndpointsPager.

type EnvironmentsClientGetMultiRolePoolOptions

type EnvironmentsClientGetMultiRolePoolOptions struct {
}

EnvironmentsClientGetMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.GetMultiRolePool method.

type EnvironmentsClientGetMultiRolePoolResponse

type EnvironmentsClientGetMultiRolePoolResponse struct {
	// Worker pool of an App Service Environment ARM resource.
	WorkerPoolResource
}

EnvironmentsClientGetMultiRolePoolResponse contains the response from method EnvironmentsClient.GetMultiRolePool.

type EnvironmentsClientGetOptions

type EnvironmentsClientGetOptions struct {
}

EnvironmentsClientGetOptions contains the optional parameters for the EnvironmentsClient.Get method.

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions struct {
}

EnvironmentsClientGetOutboundNetworkDependenciesEndpointsOptions contains the optional parameters for the EnvironmentsClient.NewGetOutboundNetworkDependenciesEndpointsPager method.

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsResponse

type EnvironmentsClientGetOutboundNetworkDependenciesEndpointsResponse struct {
	// Collection of Outbound Environment Endpoints
	OutboundEnvironmentEndpointCollection
}

EnvironmentsClientGetOutboundNetworkDependenciesEndpointsResponse contains the response from method EnvironmentsClient.NewGetOutboundNetworkDependenciesEndpointsPager.

type EnvironmentsClientGetPrivateEndpointConnectionListOptions

type EnvironmentsClientGetPrivateEndpointConnectionListOptions struct {
}

EnvironmentsClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the EnvironmentsClient.NewGetPrivateEndpointConnectionListPager method.

type EnvironmentsClientGetPrivateEndpointConnectionListResponse

type EnvironmentsClientGetPrivateEndpointConnectionListResponse struct {
	PrivateEndpointConnectionCollection
}

EnvironmentsClientGetPrivateEndpointConnectionListResponse contains the response from method EnvironmentsClient.NewGetPrivateEndpointConnectionListPager.

type EnvironmentsClientGetPrivateEndpointConnectionOptions

type EnvironmentsClientGetPrivateEndpointConnectionOptions struct {
}

EnvironmentsClientGetPrivateEndpointConnectionOptions contains the optional parameters for the EnvironmentsClient.GetPrivateEndpointConnection method.

type EnvironmentsClientGetPrivateEndpointConnectionResponse

type EnvironmentsClientGetPrivateEndpointConnectionResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

EnvironmentsClientGetPrivateEndpointConnectionResponse contains the response from method EnvironmentsClient.GetPrivateEndpointConnection.

type EnvironmentsClientGetPrivateLinkResourcesOptions

type EnvironmentsClientGetPrivateLinkResourcesOptions struct {
}

EnvironmentsClientGetPrivateLinkResourcesOptions contains the optional parameters for the EnvironmentsClient.GetPrivateLinkResources method.

type EnvironmentsClientGetPrivateLinkResourcesResponse

type EnvironmentsClientGetPrivateLinkResourcesResponse struct {
	// Wrapper for a collection of private link resources
	PrivateLinkResourcesWrapper
}

EnvironmentsClientGetPrivateLinkResourcesResponse contains the response from method EnvironmentsClient.GetPrivateLinkResources.

type EnvironmentsClientGetResponse

type EnvironmentsClientGetResponse struct {
	// App Service Environment ARM resource.
	EnvironmentResource
}

EnvironmentsClientGetResponse contains the response from method EnvironmentsClient.Get.

type EnvironmentsClientGetVipInfoOptions

type EnvironmentsClientGetVipInfoOptions struct {
}

EnvironmentsClientGetVipInfoOptions contains the optional parameters for the EnvironmentsClient.GetVipInfo method.

type EnvironmentsClientGetVipInfoResponse

type EnvironmentsClientGetVipInfoResponse struct {
	// Describes main public IP address and any extra virtual IPs.
	AddressResponse
}

EnvironmentsClientGetVipInfoResponse contains the response from method EnvironmentsClient.GetVipInfo.

type EnvironmentsClientGetWorkerPoolOptions

type EnvironmentsClientGetWorkerPoolOptions struct {
}

EnvironmentsClientGetWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.GetWorkerPool method.

type EnvironmentsClientGetWorkerPoolResponse

type EnvironmentsClientGetWorkerPoolResponse struct {
	// Worker pool of an App Service Environment ARM resource.
	WorkerPoolResource
}

EnvironmentsClientGetWorkerPoolResponse contains the response from method EnvironmentsClient.GetWorkerPool.

type EnvironmentsClientListAppServicePlansOptions

type EnvironmentsClientListAppServicePlansOptions struct {
}

EnvironmentsClientListAppServicePlansOptions contains the optional parameters for the EnvironmentsClient.NewListAppServicePlansPager method.

type EnvironmentsClientListAppServicePlansResponse

type EnvironmentsClientListAppServicePlansResponse struct {
	// Collection of App Service plans.
	PlanCollection
}

EnvironmentsClientListAppServicePlansResponse contains the response from method EnvironmentsClient.NewListAppServicePlansPager.

type EnvironmentsClientListByResourceGroupOptions

type EnvironmentsClientListByResourceGroupOptions struct {
}

EnvironmentsClientListByResourceGroupOptions contains the optional parameters for the EnvironmentsClient.NewListByResourceGroupPager method.

type EnvironmentsClientListByResourceGroupResponse

type EnvironmentsClientListByResourceGroupResponse struct {
	// Collection of App Service Environments.
	EnvironmentCollection
}

EnvironmentsClientListByResourceGroupResponse contains the response from method EnvironmentsClient.NewListByResourceGroupPager.

type EnvironmentsClientListCapacitiesOptions

type EnvironmentsClientListCapacitiesOptions struct {
}

EnvironmentsClientListCapacitiesOptions contains the optional parameters for the EnvironmentsClient.NewListCapacitiesPager method.

type EnvironmentsClientListCapacitiesResponse

type EnvironmentsClientListCapacitiesResponse struct {
	// Collection of stamp capacities.
	StampCapacityCollection
}

EnvironmentsClientListCapacitiesResponse contains the response from method EnvironmentsClient.NewListCapacitiesPager.

type EnvironmentsClientListDiagnosticsOptions

type EnvironmentsClientListDiagnosticsOptions struct {
}

EnvironmentsClientListDiagnosticsOptions contains the optional parameters for the EnvironmentsClient.ListDiagnostics method.

type EnvironmentsClientListDiagnosticsResponse

type EnvironmentsClientListDiagnosticsResponse struct {
	// Array of HostingEnvironmentDiagnostics
	HostingEnvironmentDiagnosticsArray []*HostingEnvironmentDiagnostics
}

EnvironmentsClientListDiagnosticsResponse contains the response from method EnvironmentsClient.ListDiagnostics.

type EnvironmentsClientListMultiRoleMetricDefinitionsOptions

type EnvironmentsClientListMultiRoleMetricDefinitionsOptions struct {
}

EnvironmentsClientListMultiRoleMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.NewListMultiRoleMetricDefinitionsPager method.

type EnvironmentsClientListMultiRoleMetricDefinitionsResponse

type EnvironmentsClientListMultiRoleMetricDefinitionsResponse struct {
	// Collection of metric definitions.
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListMultiRoleMetricDefinitionsResponse contains the response from method EnvironmentsClient.NewListMultiRoleMetricDefinitionsPager.

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions struct {
}

EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.NewListMultiRolePoolInstanceMetricDefinitionsPager method.

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse

type EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse struct {
	// Collection of metric definitions.
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListMultiRolePoolInstanceMetricDefinitionsResponse contains the response from method EnvironmentsClient.NewListMultiRolePoolInstanceMetricDefinitionsPager.

type EnvironmentsClientListMultiRolePoolSKUsOptions

type EnvironmentsClientListMultiRolePoolSKUsOptions struct {
}

EnvironmentsClientListMultiRolePoolSKUsOptions contains the optional parameters for the EnvironmentsClient.NewListMultiRolePoolSKUsPager method.

type EnvironmentsClientListMultiRolePoolSKUsResponse

type EnvironmentsClientListMultiRolePoolSKUsResponse struct {
	// Collection of SKU information.
	SKUInfoCollection
}

EnvironmentsClientListMultiRolePoolSKUsResponse contains the response from method EnvironmentsClient.NewListMultiRolePoolSKUsPager.

type EnvironmentsClientListMultiRolePoolsOptions

type EnvironmentsClientListMultiRolePoolsOptions struct {
}

EnvironmentsClientListMultiRolePoolsOptions contains the optional parameters for the EnvironmentsClient.NewListMultiRolePoolsPager method.

type EnvironmentsClientListMultiRolePoolsResponse

type EnvironmentsClientListMultiRolePoolsResponse struct {
	// Collection of worker pools.
	WorkerPoolCollection
}

EnvironmentsClientListMultiRolePoolsResponse contains the response from method EnvironmentsClient.NewListMultiRolePoolsPager.

type EnvironmentsClientListMultiRoleUsagesOptions

type EnvironmentsClientListMultiRoleUsagesOptions struct {
}

EnvironmentsClientListMultiRoleUsagesOptions contains the optional parameters for the EnvironmentsClient.NewListMultiRoleUsagesPager method.

type EnvironmentsClientListMultiRoleUsagesResponse

type EnvironmentsClientListMultiRoleUsagesResponse struct {
	// Collection of usages.
	UsageCollection
}

EnvironmentsClientListMultiRoleUsagesResponse contains the response from method EnvironmentsClient.NewListMultiRoleUsagesPager.

type EnvironmentsClientListOperationsOptions

type EnvironmentsClientListOperationsOptions struct {
}

EnvironmentsClientListOperationsOptions contains the optional parameters for the EnvironmentsClient.ListOperations method.

type EnvironmentsClientListOperationsResponse

type EnvironmentsClientListOperationsResponse struct {
	// Array of Operation
	OperationArray []*Operation
}

EnvironmentsClientListOperationsResponse contains the response from method EnvironmentsClient.ListOperations.

type EnvironmentsClientListOptions

type EnvironmentsClientListOptions struct {
}

EnvironmentsClientListOptions contains the optional parameters for the EnvironmentsClient.NewListPager method.

type EnvironmentsClientListResponse

type EnvironmentsClientListResponse struct {
	// Collection of App Service Environments.
	EnvironmentCollection
}

EnvironmentsClientListResponse contains the response from method EnvironmentsClient.NewListPager.

type EnvironmentsClientListUsagesOptions

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.NewListUsagesPager method.

type EnvironmentsClientListUsagesResponse

type EnvironmentsClientListUsagesResponse struct {
	// Collection of CSM usage quotas.
	CsmUsageQuotaCollection
}

EnvironmentsClientListUsagesResponse contains the response from method EnvironmentsClient.NewListUsagesPager.

type EnvironmentsClientListWebAppsOptions

type EnvironmentsClientListWebAppsOptions struct {
	// Comma separated list of app properties to include.
	PropertiesToInclude *string
}

EnvironmentsClientListWebAppsOptions contains the optional parameters for the EnvironmentsClient.NewListWebAppsPager method.

type EnvironmentsClientListWebAppsResponse

type EnvironmentsClientListWebAppsResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

EnvironmentsClientListWebAppsResponse contains the response from method EnvironmentsClient.NewListWebAppsPager.

type EnvironmentsClientListWebWorkerMetricDefinitionsOptions

type EnvironmentsClientListWebWorkerMetricDefinitionsOptions struct {
}

EnvironmentsClientListWebWorkerMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.NewListWebWorkerMetricDefinitionsPager method.

type EnvironmentsClientListWebWorkerMetricDefinitionsResponse

type EnvironmentsClientListWebWorkerMetricDefinitionsResponse struct {
	// Collection of metric definitions.
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListWebWorkerMetricDefinitionsResponse contains the response from method EnvironmentsClient.NewListWebWorkerMetricDefinitionsPager.

type EnvironmentsClientListWebWorkerUsagesOptions

type EnvironmentsClientListWebWorkerUsagesOptions struct {
}

EnvironmentsClientListWebWorkerUsagesOptions contains the optional parameters for the EnvironmentsClient.NewListWebWorkerUsagesPager method.

type EnvironmentsClientListWebWorkerUsagesResponse

type EnvironmentsClientListWebWorkerUsagesResponse struct {
	// Collection of usages.
	UsageCollection
}

EnvironmentsClientListWebWorkerUsagesResponse contains the response from method EnvironmentsClient.NewListWebWorkerUsagesPager.

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions struct {
}

EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsOptions contains the optional parameters for the EnvironmentsClient.NewListWorkerPoolInstanceMetricDefinitionsPager method.

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse

type EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse struct {
	// Collection of metric definitions.
	ResourceMetricDefinitionCollection
}

EnvironmentsClientListWorkerPoolInstanceMetricDefinitionsResponse contains the response from method EnvironmentsClient.NewListWorkerPoolInstanceMetricDefinitionsPager.

type EnvironmentsClientListWorkerPoolSKUsOptions

type EnvironmentsClientListWorkerPoolSKUsOptions struct {
}

EnvironmentsClientListWorkerPoolSKUsOptions contains the optional parameters for the EnvironmentsClient.NewListWorkerPoolSKUsPager method.

type EnvironmentsClientListWorkerPoolSKUsResponse

type EnvironmentsClientListWorkerPoolSKUsResponse struct {
	// Collection of SKU information.
	SKUInfoCollection
}

EnvironmentsClientListWorkerPoolSKUsResponse contains the response from method EnvironmentsClient.NewListWorkerPoolSKUsPager.

type EnvironmentsClientListWorkerPoolsOptions

type EnvironmentsClientListWorkerPoolsOptions struct {
}

EnvironmentsClientListWorkerPoolsOptions contains the optional parameters for the EnvironmentsClient.NewListWorkerPoolsPager method.

type EnvironmentsClientListWorkerPoolsResponse

type EnvironmentsClientListWorkerPoolsResponse struct {
	// Collection of worker pools.
	WorkerPoolCollection
}

EnvironmentsClientListWorkerPoolsResponse contains the response from method EnvironmentsClient.NewListWorkerPoolsPager.

type EnvironmentsClientRebootOptions

type EnvironmentsClientRebootOptions struct {
}

EnvironmentsClientRebootOptions contains the optional parameters for the EnvironmentsClient.Reboot method.

type EnvironmentsClientRebootResponse

type EnvironmentsClientRebootResponse struct {
}

EnvironmentsClientRebootResponse contains the response from method EnvironmentsClient.Reboot.

type EnvironmentsClientResumeResponse

type EnvironmentsClientResumeResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

EnvironmentsClientResumeResponse contains the response from method EnvironmentsClient.BeginResume.

type EnvironmentsClientSuspendResponse

type EnvironmentsClientSuspendResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

EnvironmentsClientSuspendResponse contains the response from method EnvironmentsClient.BeginSuspend.

type EnvironmentsClientTestUpgradeAvailableNotificationOptions

type EnvironmentsClientTestUpgradeAvailableNotificationOptions struct {
}

EnvironmentsClientTestUpgradeAvailableNotificationOptions contains the optional parameters for the EnvironmentsClient.TestUpgradeAvailableNotification method.

type EnvironmentsClientTestUpgradeAvailableNotificationResponse

type EnvironmentsClientTestUpgradeAvailableNotificationResponse struct {
}

EnvironmentsClientTestUpgradeAvailableNotificationResponse contains the response from method EnvironmentsClient.TestUpgradeAvailableNotification.

type EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationOptions

type EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationOptions struct {
}

EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationOptions contains the optional parameters for the EnvironmentsClient.UpdateAseCustomDNSSuffixConfiguration method.

type EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationResponse

type EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationResponse struct {
	// Full view of the custom domain suffix configuration for ASEv3.
	CustomDNSSuffixConfiguration
}

EnvironmentsClientUpdateAseCustomDNSSuffixConfigurationResponse contains the response from method EnvironmentsClient.UpdateAseCustomDNSSuffixConfiguration.

type EnvironmentsClientUpdateAseNetworkingConfigurationOptions

type EnvironmentsClientUpdateAseNetworkingConfigurationOptions struct {
}

EnvironmentsClientUpdateAseNetworkingConfigurationOptions contains the optional parameters for the EnvironmentsClient.UpdateAseNetworkingConfiguration method.

type EnvironmentsClientUpdateAseNetworkingConfigurationResponse

type EnvironmentsClientUpdateAseNetworkingConfigurationResponse struct {
	// Full view of networking configuration for an ASE.
	AseV3NetworkingConfiguration
}

EnvironmentsClientUpdateAseNetworkingConfigurationResponse contains the response from method EnvironmentsClient.UpdateAseNetworkingConfiguration.

type EnvironmentsClientUpdateMultiRolePoolOptions

type EnvironmentsClientUpdateMultiRolePoolOptions struct {
}

EnvironmentsClientUpdateMultiRolePoolOptions contains the optional parameters for the EnvironmentsClient.UpdateMultiRolePool method.

type EnvironmentsClientUpdateMultiRolePoolResponse

type EnvironmentsClientUpdateMultiRolePoolResponse struct {
	// Worker pool of an App Service Environment ARM resource.
	WorkerPoolResource
}

EnvironmentsClientUpdateMultiRolePoolResponse contains the response from method EnvironmentsClient.UpdateMultiRolePool.

type EnvironmentsClientUpdateOptions

type EnvironmentsClientUpdateOptions struct {
}

EnvironmentsClientUpdateOptions contains the optional parameters for the EnvironmentsClient.Update method.

type EnvironmentsClientUpdateResponse

type EnvironmentsClientUpdateResponse struct {
	// App Service Environment ARM resource.
	EnvironmentResource
}

EnvironmentsClientUpdateResponse contains the response from method EnvironmentsClient.Update.

type EnvironmentsClientUpdateWorkerPoolOptions

type EnvironmentsClientUpdateWorkerPoolOptions struct {
}

EnvironmentsClientUpdateWorkerPoolOptions contains the optional parameters for the EnvironmentsClient.UpdateWorkerPool method.

type EnvironmentsClientUpdateWorkerPoolResponse

type EnvironmentsClientUpdateWorkerPoolResponse struct {
	// Worker pool of an App Service Environment ARM resource.
	WorkerPoolResource
}

EnvironmentsClientUpdateWorkerPoolResponse contains the response from method EnvironmentsClient.UpdateWorkerPool.

type EnvironmentsClientUpgradeResponse

type EnvironmentsClientUpgradeResponse struct {
}

EnvironmentsClientUpgradeResponse contains the response from method EnvironmentsClient.BeginUpgrade.

type ErrorEntity

type ErrorEntity struct {
	// Basic error code.
	Code *string

	// Error Details.
	Details []*ErrorEntity

	// Type of error.
	ExtendedCode *string

	// Inner errors.
	InnerErrors []*ErrorEntity

	// Any details of the error.
	Message *string

	// Message template.
	MessageTemplate *string

	// Parameters for the template.
	Parameters []*string

	// The error target.
	Target *string
}

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.

func (*ErrorEntity) UnmarshalJSON

func (e *ErrorEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorEntity.

type ErrorInfo

type ErrorInfo struct {
	// REQUIRED; The error code.
	Code *string
}

ErrorInfo - The error info.

func (ErrorInfo) MarshalJSON

func (e ErrorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorInfo.

func (*ErrorInfo) UnmarshalJSON

func (e *ErrorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorInfo.

type ErrorProperties

type ErrorProperties struct {
	// Error code.
	Code *string

	// Error message indicating why the operation failed.
	Message *string
}

ErrorProperties - Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.

func (ErrorProperties) MarshalJSON

func (e ErrorProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorProperties.

func (*ErrorProperties) UnmarshalJSON

func (e *ErrorProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorProperties.

type ErrorResponse

type ErrorResponse struct {
	// The error properties.
	Error *ErrorProperties
}

ErrorResponse - Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.

func (ErrorResponse) MarshalJSON

func (e ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorResponse.

func (*ErrorResponse) UnmarshalJSON

func (e *ErrorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.

type Experiments

type Experiments struct {
	// List of ramp-up rules.
	RampUpRules []*RampUpRule
}

Experiments - Routing rules in production experiments.

func (Experiments) MarshalJSON

func (e Experiments) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Experiments.

func (*Experiments) UnmarshalJSON

func (e *Experiments) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Experiments.

type Expression

type Expression struct {
	// The azure resource error info.
	Error *AzureResourceErrorInfo

	// The sub expressions.
	Subexpressions []*Expression

	// The text.
	Text *string

	// Anything
	Value any
}

Expression - The expression.

func (Expression) MarshalJSON

func (e Expression) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Expression.

func (*Expression) UnmarshalJSON

func (e *Expression) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Expression.

type ExpressionRoot

type ExpressionRoot struct {
	// The azure resource error info.
	Error *AzureResourceErrorInfo

	// The path.
	Path *string

	// The sub expressions.
	Subexpressions []*Expression

	// The text.
	Text *string

	// Anything
	Value any
}

ExpressionRoot - The expression root.

func (ExpressionRoot) MarshalJSON

func (e ExpressionRoot) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressionRoot.

func (*ExpressionRoot) UnmarshalJSON

func (e *ExpressionRoot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ExpressionRoot.

type ExpressionTraces

type ExpressionTraces struct {
	Inputs []*ExpressionRoot

	// The link used to get the next page of recommendations.
	NextLink *string

	// Anything
	Value any
}

ExpressionTraces - The expression traces.

func (ExpressionTraces) MarshalJSON

func (e ExpressionTraces) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressionTraces.

func (*ExpressionTraces) UnmarshalJSON

func (e *ExpressionTraces) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ExpressionTraces.

type ExtendedLocation

type ExtendedLocation struct {
	// Name of extended location.
	Name *string

	// READ-ONLY; Type of extended location.
	Type *string
}

ExtendedLocation - Extended Location.

func (ExtendedLocation) MarshalJSON

func (e ExtendedLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExtendedLocation.

func (*ExtendedLocation) UnmarshalJSON

func (e *ExtendedLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ExtendedLocation.

type Facebook

type Facebook struct {
	// false if the Facebook provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool

	// The version of the Facebook api to be used while logging in.
	GraphAPIVersion *string

	// The configuration settings of the login flow.
	Login *LoginScopes

	// The configuration settings of the app registration for the Facebook provider.
	Registration *AppRegistration
}

Facebook - The configuration settings of the Facebook provider.

func (Facebook) MarshalJSON

func (f Facebook) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Facebook.

func (*Facebook) UnmarshalJSON

func (f *Facebook) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Facebook.

type FileSystemApplicationLogsConfig

type FileSystemApplicationLogsConfig struct {
	// Log level.
	Level *LogLevel
}

FileSystemApplicationLogsConfig - Application logs to file system configuration.

func (FileSystemApplicationLogsConfig) MarshalJSON

func (f FileSystemApplicationLogsConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FileSystemApplicationLogsConfig.

func (*FileSystemApplicationLogsConfig) UnmarshalJSON

func (f *FileSystemApplicationLogsConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FileSystemApplicationLogsConfig.

type FileSystemHTTPLogsConfig

type FileSystemHTTPLogsConfig struct {
	// True if configuration is enabled, false if it is disabled and null if configuration is not set.
	Enabled *bool

	// Retention in days. Remove files older than X days. 0 or lower means no retention.
	RetentionInDays *int32

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

FileSystemHTTPLogsConfig - Http logs to file system configuration.

func (FileSystemHTTPLogsConfig) MarshalJSON

func (f FileSystemHTTPLogsConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FileSystemHTTPLogsConfig.

func (*FileSystemHTTPLogsConfig) UnmarshalJSON

func (f *FileSystemHTTPLogsConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FileSystemHTTPLogsConfig.

type FileSystemTokenStore

type FileSystemTokenStore struct {
	// The directory in which the tokens will be stored.
	Directory *string
}

FileSystemTokenStore - The configuration settings of the storage of the tokens if a file system is used.

func (FileSystemTokenStore) MarshalJSON

func (f FileSystemTokenStore) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FileSystemTokenStore.

func (*FileSystemTokenStore) UnmarshalJSON

func (f *FileSystemTokenStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FileSystemTokenStore.

type FlowAccessControlConfiguration

type FlowAccessControlConfiguration struct {
	// The access control configuration for workflow actions.
	Actions *FlowAccessControlConfigurationPolicy

	// The access control configuration for accessing workflow run contents.
	Contents *FlowAccessControlConfigurationPolicy

	// The access control configuration for invoking workflow triggers.
	Triggers *FlowAccessControlConfigurationPolicy

	// The access control configuration for workflow management.
	WorkflowManagement *FlowAccessControlConfigurationPolicy
}

FlowAccessControlConfiguration - The access control configuration.

func (FlowAccessControlConfiguration) MarshalJSON

func (f FlowAccessControlConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowAccessControlConfiguration.

func (*FlowAccessControlConfiguration) UnmarshalJSON

func (f *FlowAccessControlConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowAccessControlConfiguration.

type FlowAccessControlConfigurationPolicy

type FlowAccessControlConfigurationPolicy struct {
	// The allowed caller IP address ranges.
	AllowedCallerIPAddresses []*IPAddressRange

	// The authentication policies for workflow.
	OpenAuthenticationPolicies *OpenAuthenticationAccessPolicies
}

FlowAccessControlConfigurationPolicy - The access control configuration policy.

func (FlowAccessControlConfigurationPolicy) MarshalJSON

func (f FlowAccessControlConfigurationPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowAccessControlConfigurationPolicy.

func (*FlowAccessControlConfigurationPolicy) UnmarshalJSON

func (f *FlowAccessControlConfigurationPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowAccessControlConfigurationPolicy.

type FlowEndpoints

type FlowEndpoints struct {
	// The access endpoint ip address.
	AccessEndpointIPAddresses []*IPAddress

	// The outgoing ip address.
	OutgoingIPAddresses []*IPAddress
}

FlowEndpoints - The flow endpoints configuration.

func (FlowEndpoints) MarshalJSON

func (f FlowEndpoints) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowEndpoints.

func (*FlowEndpoints) UnmarshalJSON

func (f *FlowEndpoints) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowEndpoints.

type FlowEndpointsConfiguration

type FlowEndpointsConfiguration struct {
	// The connector endpoints.
	Connector *FlowEndpoints

	// The workflow endpoints.
	Workflow *FlowEndpoints
}

FlowEndpointsConfiguration - The endpoints configuration.

func (FlowEndpointsConfiguration) MarshalJSON

func (f FlowEndpointsConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowEndpointsConfiguration.

func (*FlowEndpointsConfiguration) UnmarshalJSON

func (f *FlowEndpointsConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowEndpointsConfiguration.

type ForwardProxy

type ForwardProxy struct {
	// The convention used to determine the url of the request made.
	Convention *ForwardProxyConvention

	// The name of the header containing the host of the request.
	CustomHostHeaderName *string

	// The name of the header containing the scheme of the request.
	CustomProtoHeaderName *string
}

ForwardProxy - The configuration settings of a forward proxy used to make the requests.

func (ForwardProxy) MarshalJSON

func (f ForwardProxy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ForwardProxy.

func (*ForwardProxy) UnmarshalJSON

func (f *ForwardProxy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ForwardProxy.

type ForwardProxyConvention

type ForwardProxyConvention string

ForwardProxyConvention - The convention used to determine the url of the request made.

const (
	ForwardProxyConventionCustom   ForwardProxyConvention = "Custom"
	ForwardProxyConventionNoProxy  ForwardProxyConvention = "NoProxy"
	ForwardProxyConventionStandard ForwardProxyConvention = "Standard"
)

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
}

func (FrontEndConfiguration) MarshalJSON

func (f FrontEndConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FrontEndConfiguration.

func (*FrontEndConfiguration) UnmarshalJSON

func (f *FrontEndConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FrontEndConfiguration.

type FrontEndServiceType

type FrontEndServiceType string
const (
	FrontEndServiceTypeLoadBalancer FrontEndServiceType = "LoadBalancer"
	FrontEndServiceTypeNodePort     FrontEndServiceType = "NodePort"
)

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

	// READ-ONLY; Minor versions associated with the major version.
	MinorVersions []*FunctionAppMinorVersion

	// READ-ONLY; Function App stack major version name.
	Value *string
}

FunctionAppMajorVersion - Function App stack major version.

func (FunctionAppMajorVersion) MarshalJSON

func (f FunctionAppMajorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppMajorVersion.

func (*FunctionAppMajorVersion) UnmarshalJSON

func (f *FunctionAppMajorVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppMajorVersion.

type FunctionAppMinorVersion

type FunctionAppMinorVersion struct {
	// READ-ONLY; Function App stack (display only).
	DisplayText *string

	// READ-ONLY; Settings associated with the minor version.
	StackSettings *FunctionAppRuntimes

	// READ-ONLY; Function App stack name.
	Value *string
}

FunctionAppMinorVersion - Function App stack minor version.

func (FunctionAppMinorVersion) MarshalJSON

func (f FunctionAppMinorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppMinorVersion.

func (*FunctionAppMinorVersion) UnmarshalJSON

func (f *FunctionAppMinorVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppMinorVersion.

type FunctionAppRuntimeSettings

type FunctionAppRuntimeSettings struct {
	// READ-ONLY; Application Insights settings associated with the minor version.
	AppInsightsSettings *AppInsightsWebAppStackSettings

	// READ-ONLY; Application settings associated with the minor version.
	AppSettingsDictionary map[string]*string

	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time

	// READ-ONLY; GitHub Actions settings associated with the minor version.
	GitHubActionSettings *GitHubActionWebAppStackSettings

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool

	// READ-ONLY; true if the minor version the default; otherwise, false.
	IsDefault *bool

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool

	// READ-ONLY; true if remote debugging is supported for the stack; otherwise, false.
	RemoteDebuggingSupported *bool

	// READ-ONLY; Function App stack minor version (runtime only).
	RuntimeVersion *string

	// READ-ONLY; Configuration settings associated with the minor version.
	SiteConfigPropertiesDictionary *SiteConfigPropertiesDictionary

	// READ-ONLY; List of supported Functions extension versions.
	SupportedFunctionsExtensionVersions []*string
}

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

	// READ-ONLY; Windows-specific settings associated with the minor version.
	WindowsRuntimeSettings *FunctionAppRuntimeSettings
}

FunctionAppRuntimes - Function App stack runtimes.

func (FunctionAppRuntimes) MarshalJSON

func (f FunctionAppRuntimes) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppRuntimes.

func (*FunctionAppRuntimes) UnmarshalJSON

func (f *FunctionAppRuntimes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppRuntimes.

type FunctionAppStack

type FunctionAppStack struct {
	// Kind of resource.
	Kind *string

	// FunctionAppStack resource specific properties
	Properties *FunctionAppStackProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Function App stack location.
	Location *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

FunctionAppStack - Function App Stack.

func (FunctionAppStack) MarshalJSON

func (f FunctionAppStack) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppStack.

func (*FunctionAppStack) UnmarshalJSON

func (f *FunctionAppStack) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppStack.

type FunctionAppStackCollection

type FunctionAppStackCollection struct {
	// REQUIRED; Collection of resources.
	Value []*FunctionAppStack

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

FunctionAppStackCollection - Collection of Function app Stacks

func (FunctionAppStackCollection) MarshalJSON

func (f FunctionAppStackCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppStackCollection.

func (*FunctionAppStackCollection) UnmarshalJSON

func (f *FunctionAppStackCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppStackCollection.

type FunctionAppStackProperties

type FunctionAppStackProperties struct {
	// READ-ONLY; Function App stack (display only).
	DisplayText *string

	// READ-ONLY; List of major versions available.
	MajorVersions []*FunctionAppMajorVersion

	// READ-ONLY; Function App stack preferred OS.
	PreferredOs *StackPreferredOs

	// READ-ONLY; Function App stack name.
	Value *string
}

FunctionAppStackProperties - FunctionAppStack resource specific properties

func (FunctionAppStackProperties) MarshalJSON

func (f FunctionAppStackProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionAppStackProperties.

func (*FunctionAppStackProperties) UnmarshalJSON

func (f *FunctionAppStackProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionAppStackProperties.

type FunctionEnvelope

type FunctionEnvelope struct {
	// Kind of resource.
	Kind *string

	// FunctionEnvelope resource specific properties
	Properties *FunctionEnvelopeProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

FunctionEnvelope - Function information.

func (FunctionEnvelope) MarshalJSON

func (f FunctionEnvelope) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionEnvelope.

func (*FunctionEnvelope) UnmarshalJSON

func (f *FunctionEnvelope) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionEnvelope.

type FunctionEnvelopeCollection

type FunctionEnvelopeCollection struct {
	// REQUIRED; Collection of resources.
	Value []*FunctionEnvelope

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

FunctionEnvelopeCollection - Collection of Kudu function information elements.

func (FunctionEnvelopeCollection) MarshalJSON

func (f FunctionEnvelopeCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionEnvelopeCollection.

func (*FunctionEnvelopeCollection) UnmarshalJSON

func (f *FunctionEnvelopeCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionEnvelopeCollection.

type FunctionEnvelopeProperties

type FunctionEnvelopeProperties struct {
	// Config information.
	Config any

	// Config URI.
	ConfigHref *string

	// File list.
	Files map[string]*string

	// Function App ID.
	FunctionAppID *string

	// Function URI.
	Href *string

	// The invocation URL
	InvokeURLTemplate *string

	// Gets or sets a value indicating whether the function is disabled
	IsDisabled *bool

	// The function language
	Language *string

	// Script URI.
	ScriptHref *string

	// Script root path URI.
	ScriptRootPathHref *string

	// Secrets file URI.
	SecretsFileHref *string

	// Test data used when testing via the Azure Portal.
	TestData *string

	// Test data URI.
	TestDataHref *string
}

FunctionEnvelopeProperties - FunctionEnvelope resource specific properties

func (FunctionEnvelopeProperties) MarshalJSON

func (f FunctionEnvelopeProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionEnvelopeProperties.

func (*FunctionEnvelopeProperties) UnmarshalJSON

func (f *FunctionEnvelopeProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionEnvelopeProperties.

type FunctionSecrets

type FunctionSecrets struct {
	// Secret key.
	Key *string

	// Trigger URL.
	TriggerURL *string
}

FunctionSecrets - Function secrets.

func (FunctionSecrets) MarshalJSON

func (f FunctionSecrets) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FunctionSecrets.

func (*FunctionSecrets) UnmarshalJSON

func (f *FunctionSecrets) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FunctionSecrets.

type GeoRegion

type GeoRegion struct {
	// Kind of resource.
	Kind *string

	// GeoRegion resource specific properties
	Properties *GeoRegionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

GeoRegion - Geographical region.

func (GeoRegion) MarshalJSON

func (g GeoRegion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GeoRegion.

func (*GeoRegion) UnmarshalJSON

func (g *GeoRegion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GeoRegion.

type GeoRegionCollection

type GeoRegionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*GeoRegion

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

GeoRegionCollection - Collection of geographical regions.

func (GeoRegionCollection) MarshalJSON

func (g GeoRegionCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GeoRegionCollection.

func (*GeoRegionCollection) UnmarshalJSON

func (g *GeoRegionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GeoRegionCollection.

type GeoRegionProperties

type GeoRegionProperties struct {
	// READ-ONLY; Region description.
	Description *string

	// READ-ONLY; Display name for region.
	DisplayName *string

	// READ-ONLY; Display name for region.
	OrgDomain *string
}

GeoRegionProperties - GeoRegion resource specific properties

func (GeoRegionProperties) MarshalJSON

func (g GeoRegionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GeoRegionProperties.

func (*GeoRegionProperties) UnmarshalJSON

func (g *GeoRegionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GeoRegionProperties.

type GetUsagesInLocationClient added in v2.3.0

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

GetUsagesInLocationClient contains the methods for the GetUsagesInLocation group. Don't use this type directly, use NewGetUsagesInLocationClient() instead.

func NewGetUsagesInLocationClient added in v2.3.0

func NewGetUsagesInLocationClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*GetUsagesInLocationClient, error)

NewGetUsagesInLocationClient creates a new instance of GetUsagesInLocationClient 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 (*GetUsagesInLocationClient) NewListPager added in v2.3.0

NewListPager - List usages in cores for all skus used by a subscription in a given location, for a specific quota type.

Generated from API version 2023-01-01

  • location - The name of the Azure region.
  • options - GetUsagesInLocationClientListOptions contains the optional parameters for the GetUsagesInLocationClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetUsagesInLocation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewGetUsagesInLocationClient().NewListPager("West US", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmUsageQuotaCollection = armappservice.CsmUsageQuotaCollection{
	// 	Value: []*armappservice.CsmUsageQuota{
	// 		{
	// 			Name: &armappservice.LocalizableString{
	// 				LocalizedValue: to.Ptr("Cores usage in West US"),
	// 				Value: to.Ptr("Cores usage in West US"),
	// 			},
	// 			CurrentValue: to.Ptr[int64](55),
	// 			Limit: to.Ptr[int64](250),
	// 			Unit: to.Ptr("Core Count"),
	// 	}},
	// }
}
Output:

type GetUsagesInLocationClientListOptions added in v2.3.0

type GetUsagesInLocationClientListOptions struct {
}

GetUsagesInLocationClientListOptions contains the optional parameters for the GetUsagesInLocationClient.NewListPager method.

type GetUsagesInLocationClientListResponse added in v2.3.0

type GetUsagesInLocationClientListResponse struct {
	// Collection of CSM usage quotas.
	CsmUsageQuotaCollection
}

GetUsagesInLocationClientListResponse contains the response from method GetUsagesInLocationClient.NewListPager.

type GitHub

type GitHub struct {
	// false if the GitHub provider should not be enabled despite the set registration; otherwise, true.
	Enabled *bool

	// The configuration settings of the login flow.
	Login *LoginScopes

	// The configuration settings of the app registration for the GitHub provider.
	Registration *ClientRegistration
}

GitHub - The configuration settings of the GitHub provider.

func (GitHub) MarshalJSON

func (g GitHub) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GitHub.

func (*GitHub) UnmarshalJSON

func (g *GitHub) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GitHub.

type GitHubActionCodeConfiguration

type GitHubActionCodeConfiguration struct {
	// Runtime stack is used to determine the workflow file content for code base apps.
	RuntimeStack *string

	// Runtime version is used to determine what build version to set in the workflow file.
	RuntimeVersion *string
}

GitHubActionCodeConfiguration - The GitHub action code configuration.

func (GitHubActionCodeConfiguration) MarshalJSON

func (g GitHubActionCodeConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GitHubActionCodeConfiguration.

func (*GitHubActionCodeConfiguration) UnmarshalJSON

func (g *GitHubActionCodeConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GitHubActionCodeConfiguration.

type GitHubActionConfiguration

type GitHubActionConfiguration struct {
	// GitHub Action code configuration.
	CodeConfiguration *GitHubActionCodeConfiguration

	// GitHub Action container configuration.
	ContainerConfiguration *GitHubActionContainerConfiguration

	// Workflow option to determine whether the workflow file should be generated and written to the repository.
	GenerateWorkflowFile *bool

	// This will help determine the workflow configuration to select.
	IsLinux *bool
}

GitHubActionConfiguration - The GitHub action configuration.

func (GitHubActionConfiguration) MarshalJSON

func (g GitHubActionConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GitHubActionConfiguration.

func (*GitHubActionConfiguration) UnmarshalJSON

func (g *GitHubActionConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GitHubActionConfiguration.

type GitHubActionContainerConfiguration

type GitHubActionContainerConfiguration struct {
	// The image name for the build.
	ImageName *string

	// The password used to upload the image to the container registry.
	Password *string

	// The server URL for the container registry where the build will be hosted.
	ServerURL *string

	// The username used to upload the image to the container registry.
	Username *string
}

GitHubActionContainerConfiguration - The GitHub action container configuration.

func (GitHubActionContainerConfiguration) MarshalJSON

func (g GitHubActionContainerConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GitHubActionContainerConfiguration.

func (*GitHubActionContainerConfiguration) UnmarshalJSON

func (g *GitHubActionContainerConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GitHubActionContainerConfiguration.

type GitHubActionWebAppStackSettings

type GitHubActionWebAppStackSettings struct {
	// READ-ONLY; true if GitHub Actions is supported for the stack; otherwise, false.
	IsSupported *bool

	// READ-ONLY; The minor version that is supported for GitHub Actions.
	SupportedVersion *string
}

GitHubActionWebAppStackSettings - GitHub Actions Web App stack settings.

func (GitHubActionWebAppStackSettings) MarshalJSON

func (g GitHubActionWebAppStackSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GitHubActionWebAppStackSettings.

func (*GitHubActionWebAppStackSettings) UnmarshalJSON

func (g *GitHubActionWebAppStackSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GitHubActionWebAppStackSettings.

type GithubToken

type GithubToken struct {
	// Github access token for Appservice CLI github integration
	AccessToken *string

	// Error message if unable to get token
	ErrorMessage *string

	// True if valid github token received, False otherwise
	GotToken *bool

	// Scope of the github access token
	Scope *string

	// token type
	TokenType *string
}

GithubToken - Github access token for Appservice CLI github integration.

func (GithubToken) MarshalJSON

func (g GithubToken) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GithubToken.

func (*GithubToken) UnmarshalJSON

func (g *GithubToken) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GithubToken.

type GithubTokenRequest

type GithubTokenRequest struct {
	// REQUIRED; Code string to exchange for Github Access token
	Code *string

	// REQUIRED; State string used for verification.
	State *string
}

GithubTokenRequest - Appservice Github token request content.

func (GithubTokenRequest) MarshalJSON

func (g GithubTokenRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GithubTokenRequest.

func (*GithubTokenRequest) UnmarshalJSON

func (g *GithubTokenRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GithubTokenRequest.

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 - Description for Get deleted app for a subscription. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetDeletedWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewGlobalClient().GetDeletedWebApp(ctx, "9", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DeletedSite = armappservice.DeletedSite{
// 	Name: to.Ptr("wussite6"),
// 	Type: to.Ptr("Microsoft.Web/deletedSites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6"),
// 	Properties: &armappservice.DeletedSiteProperties{
// 		DeletedSiteID: to.Ptr[int32](9),
// 		DeletedSiteName: to.Ptr("wussite6"),
// 		DeletedTimestamp: to.Ptr("2019-05-09T22:29:05.1337007"),
// 		GeoRegionName: to.Ptr("West US 2"),
// 		Kind: to.Ptr("app"),
// 		ResourceGroup: to.Ptr("rg1"),
// 		Slot: to.Ptr("Production"),
// 		Subscription: to.Ptr("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"),
// 	},
// }
Output:

func (*GlobalClient) GetDeletedWebAppSnapshots

GetDeletedWebAppSnapshots - Description for Get all deleted apps for a subscription. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetDeletedWebAppSnapshots.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewGlobalClient().GetDeletedWebAppSnapshots(ctx, "9", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SnapshotArray = []*armappservice.Snapshot{
// 	{
// 		Name: to.Ptr("wussite6"),
// 		Type: to.Ptr("Microsoft.Web/locations/deletedSites"),
// 		ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6/snapshots/9"),
// 		Properties: &armappservice.SnapshotProperties{
// 			Time: to.Ptr("2019-05-09T22:29:05.1337007"),
// 		},
// }}
Output:

func (*GlobalClient) GetSubscriptionOperationWithAsyncResponse

GetSubscriptionOperationWithAsyncResponse - Description for Gets an operation in a subscription and given region If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSubscriptionOperationWithAsyncResponse.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewGlobalClient().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

type GlobalClientGetDeletedWebAppOptions struct {
}

GlobalClientGetDeletedWebAppOptions contains the optional parameters for the GlobalClient.GetDeletedWebApp method.

type GlobalClientGetDeletedWebAppResponse

type GlobalClientGetDeletedWebAppResponse struct {
	// A deleted app.
	DeletedSite
}

GlobalClientGetDeletedWebAppResponse contains the response from method GlobalClient.GetDeletedWebApp.

type GlobalClientGetDeletedWebAppSnapshotsOptions

type GlobalClientGetDeletedWebAppSnapshotsOptions struct {
}

GlobalClientGetDeletedWebAppSnapshotsOptions contains the optional parameters for the GlobalClient.GetDeletedWebAppSnapshots method.

type GlobalClientGetDeletedWebAppSnapshotsResponse

type GlobalClientGetDeletedWebAppSnapshotsResponse struct {
	// Array of Snapshot
	SnapshotArray []*Snapshot
}

GlobalClientGetDeletedWebAppSnapshotsResponse contains the response from method GlobalClient.GetDeletedWebAppSnapshots.

type GlobalClientGetSubscriptionOperationWithAsyncResponseOptions

type GlobalClientGetSubscriptionOperationWithAsyncResponseOptions struct {
}

GlobalClientGetSubscriptionOperationWithAsyncResponseOptions contains the optional parameters for the GlobalClient.GetSubscriptionOperationWithAsyncResponse method.

type GlobalClientGetSubscriptionOperationWithAsyncResponseResponse

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

	// Min, max, and default scale values of the SKU.
	Capacity *SKUCapacity

	// Family code of the resource SKU.
	Family *string

	// Locations of the SKU.
	Locations []*string

	// Name of the resource SKU.
	Name *string

	// Size specifier of the resource SKU.
	Size *string

	// Service Tier of the resource SKU.
	Tier *string
}

GlobalCsmSKUDescription - A Global SKU Description.

func (GlobalCsmSKUDescription) MarshalJSON

func (g GlobalCsmSKUDescription) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GlobalCsmSKUDescription.

func (*GlobalCsmSKUDescription) UnmarshalJSON

func (g *GlobalCsmSKUDescription) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GlobalCsmSKUDescription.

type GlobalValidation

type GlobalValidation struct {
	// The paths for which unauthenticated flow would not be redirected to the login page.
	ExcludedPaths []*string

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

	// true if the authentication flow is required any request is made; otherwise, false.
	RequireAuthentication *bool

	// The action to take when an unauthenticated client attempts to access the app.
	UnauthenticatedClientAction *UnauthenticatedClientActionV2
}

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.

func (*GlobalValidation) UnmarshalJSON

func (g *GlobalValidation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// The configuration settings of the login flow.
	Login *LoginScopes

	// The configuration settings of the app registration for the Google provider.
	Registration *ClientRegistration

	// The configuration settings of the Azure Active Directory token validation flow.
	Validation *AllowedAudiencesValidation
}

Google - The configuration settings of the Google provider.

func (Google) MarshalJSON

func (g Google) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Google.

func (*Google) UnmarshalJSON

func (g *Google) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Google.

type HTTPLogsConfig

type HTTPLogsConfig struct {
	// Http logs to azure blob storage configuration.
	AzureBlobStorage *AzureBlobStorageHTTPLogsConfig

	// Http logs to file system configuration.
	FileSystem *FileSystemHTTPLogsConfig
}

HTTPLogsConfig - Http logs configuration.

func (HTTPLogsConfig) MarshalJSON

func (h HTTPLogsConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HTTPLogsConfig.

func (*HTTPLogsConfig) UnmarshalJSON

func (h *HTTPLogsConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HTTPLogsConfig.

type HTTPScaleRule

type HTTPScaleRule struct {
	// Authentication secrets for the custom scale rule.
	Auth []*ScaleRuleAuth

	// Metadata properties to describe http scale rule.
	Metadata map[string]*string
}

HTTPScaleRule - Container App container Custom scaling rule.

func (HTTPScaleRule) MarshalJSON

func (h HTTPScaleRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HTTPScaleRule.

func (*HTTPScaleRule) UnmarshalJSON

func (h *HTTPScaleRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HTTPScaleRule.

type HTTPSettings

type HTTPSettings struct {
	// The configuration settings of a forward proxy used to make the requests.
	ForwardProxy *ForwardProxy

	// false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true.
	RequireHTTPS *bool

	// The configuration settings of the paths HTTP requests.
	Routes *HTTPSettingsRoutes
}

HTTPSettings - The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.

func (HTTPSettings) MarshalJSON

func (h HTTPSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HTTPSettings.

func (*HTTPSettings) UnmarshalJSON

func (h *HTTPSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HTTPSettings.

type HTTPSettingsRoutes

type HTTPSettingsRoutes struct {
	// The prefix that should precede all the authentication/authorization paths.
	APIPrefix *string
}

HTTPSettingsRoutes - The configuration settings of the paths HTTP requests.

func (HTTPSettingsRoutes) MarshalJSON

func (h HTTPSettingsRoutes) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HTTPSettingsRoutes.

func (*HTTPSettingsRoutes) UnmarshalJSON

func (h *HTTPSettingsRoutes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HTTPSettingsRoutes.

type HandlerMapping

type HandlerMapping struct {
	// Command-line arguments to be passed to the script processor.
	Arguments *string

	// Requests with this extension will be handled using the specified FastCGI application.
	Extension *string

	// The absolute path to the FastCGI application.
	ScriptProcessor *string
}

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.

func (HandlerMapping) MarshalJSON

func (h HandlerMapping) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HandlerMapping.

func (*HandlerMapping) UnmarshalJSON

func (h *HandlerMapping) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HandlerMapping.

type HostKeys

type HostKeys struct {
	// Host level function keys.
	FunctionKeys map[string]*string

	// Secret key.
	MasterKey *string

	// System keys.
	SystemKeys map[string]*string
}

HostKeys - Functions host level keys.

func (HostKeys) MarshalJSON

func (h HostKeys) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostKeys.

func (*HostKeys) UnmarshalJSON

func (h *HostKeys) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostKeys.

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

	// Type of the Azure resource the hostname is assigned to.
	AzureResourceType *AzureResourceType

	// Type of the DNS record.
	CustomHostNameDNSRecordType *CustomHostNameDNSRecordType

	// Type of the hostname.
	HostNameType *HostNameType

	// Name of the hostname.
	Name *string

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

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.

func (*HostName) UnmarshalJSON

func (h *HostName) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostName.

type HostNameBinding

type HostNameBinding struct {
	// Kind of resource.
	Kind *string

	// HostNameBinding resource specific properties
	Properties *HostNameBindingProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

HostNameBinding - A hostname binding object.

func (HostNameBinding) MarshalJSON

func (h HostNameBinding) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostNameBinding.

func (*HostNameBinding) UnmarshalJSON

func (h *HostNameBinding) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostNameBinding.

type HostNameBindingCollection

type HostNameBindingCollection struct {
	// REQUIRED; Collection of resources.
	Value []*HostNameBinding

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

HostNameBindingCollection - Collection of hostname bindings.

func (HostNameBindingCollection) MarshalJSON

func (h HostNameBindingCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostNameBindingCollection.

func (*HostNameBindingCollection) UnmarshalJSON

func (h *HostNameBindingCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostNameBindingCollection.

type HostNameBindingProperties

type HostNameBindingProperties struct {
	// Azure resource name.
	AzureResourceName *string

	// Azure resource type.
	AzureResourceType *AzureResourceType

	// Custom DNS record type.
	CustomHostNameDNSRecordType *CustomHostNameDNSRecordType

	// Fully qualified ARM domain resource URI.
	DomainID *string

	// Hostname type.
	HostNameType *HostNameType

	// SSL type
	SSLState *SSLState

	// App Service app name.
	SiteName *string

	// SSL certificate thumbprint
	Thumbprint *string

	// READ-ONLY; Virtual IP address assigned to the hostname if IP based SSL is enabled.
	VirtualIP *string
}

HostNameBindingProperties - HostNameBinding resource specific properties

func (HostNameBindingProperties) MarshalJSON

func (h HostNameBindingProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostNameBindingProperties.

func (*HostNameBindingProperties) UnmarshalJSON

func (h *HostNameBindingProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostNameBindingProperties.

type HostNameSSLState

type HostNameSSLState struct {
	// Indicates whether the hostname is a standard or repository hostname.
	HostType *HostType

	// Hostname.
	Name *string

	// SSL type.
	SSLState *SSLState

	// SSL certificate thumbprint.
	Thumbprint *string

	// Set to true to update existing hostname.
	ToUpdate *bool

	// Virtual IP address assigned to the hostname if IP based SSL is enabled.
	VirtualIP *string
}

HostNameSSLState - SSL-enabled hostname.

func (HostNameSSLState) MarshalJSON

func (h HostNameSSLState) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostNameSSLState.

func (*HostNameSSLState) UnmarshalJSON

func (h *HostNameSSLState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostNameSSLState.

type HostNameType

type HostNameType string

HostNameType - Type of the hostname.

const (
	HostNameTypeManaged  HostNameType = "Managed"
	HostNameTypeVerified HostNameType = "Verified"
)

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 (
	HostTypeRepository HostType = "Repository"
	HostTypeStandard   HostType = "Standard"
)

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

	// Name of the App Service Environment.
	Name *string
}

HostingEnvironmentDeploymentInfo - Information needed to create resources on an App Service Environment.

func (HostingEnvironmentDeploymentInfo) MarshalJSON

func (h HostingEnvironmentDeploymentInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostingEnvironmentDeploymentInfo.

func (*HostingEnvironmentDeploymentInfo) UnmarshalJSON

func (h *HostingEnvironmentDeploymentInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostingEnvironmentDeploymentInfo.

type HostingEnvironmentDiagnostics

type HostingEnvironmentDiagnostics struct {
	// Diagnostics output.
	DiagnosticsOutput *string

	// Name/identifier of the diagnostics.
	Name *string
}

HostingEnvironmentDiagnostics - Diagnostics for an App Service Environment.

func (HostingEnvironmentDiagnostics) MarshalJSON

func (h HostingEnvironmentDiagnostics) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostingEnvironmentDiagnostics.

func (*HostingEnvironmentDiagnostics) UnmarshalJSON

func (h *HostingEnvironmentDiagnostics) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostingEnvironmentDiagnostics.

type HostingEnvironmentProfile

type HostingEnvironmentProfile struct {
	// Resource ID of the App Service Environment.
	ID *string

	// READ-ONLY; Name of the App Service Environment.
	Name *string

	// READ-ONLY; Resource type of the App Service Environment.
	Type *string
}

HostingEnvironmentProfile - Specification for an App Service Environment to use for this resource.

func (HostingEnvironmentProfile) MarshalJSON

func (h HostingEnvironmentProfile) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HostingEnvironmentProfile.

func (*HostingEnvironmentProfile) UnmarshalJSON

func (h *HostingEnvironmentProfile) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HostingEnvironmentProfile.

type HostingEnvironmentStatus

type HostingEnvironmentStatus string

HostingEnvironmentStatus - Current status of the App Service Environment.

const (
	HostingEnvironmentStatusDeleting  HostingEnvironmentStatus = "Deleting"
	HostingEnvironmentStatusPreparing HostingEnvironmentStatus = "Preparing"
	HostingEnvironmentStatusReady     HostingEnvironmentStatus = "Ready"
	HostingEnvironmentStatusScaling   HostingEnvironmentStatus = "Scaling"
)

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

	// HybridConnection resource specific properties
	Properties *HybridConnectionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*HybridConnection) UnmarshalJSON

func (h *HybridConnection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnection.

type HybridConnectionCollection

type HybridConnectionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*HybridConnection

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

HybridConnectionCollection - Collection of hostname bindings.

func (HybridConnectionCollection) MarshalJSON

func (h HybridConnectionCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnectionCollection.

func (*HybridConnectionCollection) UnmarshalJSON

func (h *HybridConnectionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnectionCollection.

type HybridConnectionKey

type HybridConnectionKey struct {
	// Kind of resource.
	Kind *string

	// HybridConnectionKey resource specific properties
	Properties *HybridConnectionKeyProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

HybridConnectionKey - Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.

func (HybridConnectionKey) MarshalJSON

func (h HybridConnectionKey) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnectionKey.

func (*HybridConnectionKey) UnmarshalJSON

func (h *HybridConnectionKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnectionKey.

type HybridConnectionKeyProperties

type HybridConnectionKeyProperties struct {
	// READ-ONLY; The name of the send key.
	SendKeyName *string

	// READ-ONLY; The value of the send key.
	SendKeyValue *string
}

HybridConnectionKeyProperties - HybridConnectionKey resource specific properties

func (HybridConnectionKeyProperties) MarshalJSON

func (h HybridConnectionKeyProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnectionKeyProperties.

func (*HybridConnectionKeyProperties) UnmarshalJSON

func (h *HybridConnectionKeyProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnectionKeyProperties.

type HybridConnectionLimits

type HybridConnectionLimits struct {
	// Kind of resource.
	Kind *string

	// HybridConnectionLimits resource specific properties
	Properties *HybridConnectionLimitsProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

HybridConnectionLimits - Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.

func (HybridConnectionLimits) MarshalJSON

func (h HybridConnectionLimits) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnectionLimits.

func (*HybridConnectionLimits) UnmarshalJSON

func (h *HybridConnectionLimits) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnectionLimits.

type HybridConnectionLimitsProperties

type HybridConnectionLimitsProperties struct {
	// READ-ONLY; The current number of Hybrid Connections.
	Current *int32

	// READ-ONLY; The maximum number of Hybrid Connections allowed.
	Maximum *int32
}

HybridConnectionLimitsProperties - HybridConnectionLimits resource specific properties

func (HybridConnectionLimitsProperties) MarshalJSON

func (h HybridConnectionLimitsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnectionLimitsProperties.

func (*HybridConnectionLimitsProperties) UnmarshalJSON

func (h *HybridConnectionLimitsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnectionLimitsProperties.

type HybridConnectionProperties

type HybridConnectionProperties struct {
	// The hostname of the endpoint.
	Hostname *string

	// The port of the endpoint.
	Port *int32

	// The ARM URI to the Service Bus relay.
	RelayArmURI *string

	// The name of the Service Bus relay.
	RelayName *string

	// The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.
	SendKeyName *string

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

	// The name of the Service Bus namespace.
	ServiceBusNamespace *string

	// The suffix for the service bus endpoint. By default this is .servicebus.windows.net
	ServiceBusSuffix *string
}

HybridConnectionProperties - HybridConnection resource specific properties

func (HybridConnectionProperties) MarshalJSON

func (h HybridConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HybridConnectionProperties.

func (*HybridConnectionProperties) UnmarshalJSON

func (h *HybridConnectionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HybridConnectionProperties.

type IPAddress

type IPAddress struct {
	// The address.
	Address *string
}

IPAddress - The ip address.

func (IPAddress) MarshalJSON

func (i IPAddress) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAddress.

func (*IPAddress) UnmarshalJSON

func (i *IPAddress) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IPAddress.

type IPAddressRange

type IPAddressRange struct {
	// The IP address range.
	AddressRange *string
}

IPAddressRange - The ip address range.

func (IPAddressRange) MarshalJSON

func (i IPAddressRange) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAddressRange.

func (*IPAddressRange) UnmarshalJSON

func (i *IPAddressRange) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IPAddressRange.

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

	// IP restriction rule description.
	Description *string

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

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

	// IP restriction rule name.
	Name *string

	// Priority of IP restriction rule.
	Priority *int32

	// Subnet mask for the range of IP addresses the restriction is valid for.
	SubnetMask *string

	// (internal) Subnet traffic tag
	SubnetTrafficTag *int32

	// Defines what this IP filter will be used for. This is to support IP filtering on proxies.
	Tag *IPFilterTag

	// Virtual network resource id
	VnetSubnetResourceID *string

	// (internal) Vnet traffic tag
	VnetTrafficTag *int32
}

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.

func (*IPSecurityRestriction) UnmarshalJSON

func (i *IPSecurityRestriction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IPSecurityRestriction.

type Identifier

type Identifier struct {
	// Kind of resource.
	Kind *string

	// Identifier resource specific properties
	Properties *IdentifierProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Identifier - A domain specific resource identifier.

func (Identifier) MarshalJSON

func (i Identifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Identifier.

func (*Identifier) UnmarshalJSON

func (i *Identifier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Identifier.

type IdentifierCollection

type IdentifierCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Identifier

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

IdentifierCollection - Collection of identifiers.

func (IdentifierCollection) MarshalJSON

func (i IdentifierCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IdentifierCollection.

func (*IdentifierCollection) UnmarshalJSON

func (i *IdentifierCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IdentifierCollection.

type IdentifierProperties

type IdentifierProperties struct {
	// String representation of the identity.
	Value *string
}

IdentifierProperties - Identifier resource specific properties

func (IdentifierProperties) MarshalJSON

func (i IdentifierProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IdentifierProperties.

func (*IdentifierProperties) UnmarshalJSON

func (i *IdentifierProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IdentifierProperties.

type IdentityProviders

type IdentityProviders struct {
	// The configuration settings of the Apple provider.
	Apple *Apple

	// The configuration settings of the Azure Active directory provider.
	AzureActiveDirectory *AzureActiveDirectory

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

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

	// The configuration settings of the Facebook provider.
	Facebook *Facebook

	// The configuration settings of the GitHub provider.
	GitHub *GitHub

	// The configuration settings of the Google provider.
	Google *Google

	// The configuration settings of the legacy Microsoft Account provider.
	LegacyMicrosoftAccount *LegacyMicrosoftAccount

	// The configuration settings of the Twitter provider.
	Twitter *Twitter
}

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.

func (*IdentityProviders) UnmarshalJSON

func (i *IdentityProviders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// The IP addresses that network traffic will originate from in cidr notation.
	Endpoints []*string

	// The ports that network traffic will arrive to the App Service Environment at.
	Ports []*string
}

InboundEnvironmentEndpoint - The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.

func (InboundEnvironmentEndpoint) MarshalJSON

func (i InboundEnvironmentEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InboundEnvironmentEndpoint.

func (*InboundEnvironmentEndpoint) UnmarshalJSON

func (i *InboundEnvironmentEndpoint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type InboundEnvironmentEndpoint.

type InboundEnvironmentEndpointCollection

type InboundEnvironmentEndpointCollection struct {
	// REQUIRED; Collection of resources.
	Value []*InboundEnvironmentEndpoint

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

InboundEnvironmentEndpointCollection - Collection of Inbound Environment Endpoints

func (InboundEnvironmentEndpointCollection) MarshalJSON

func (i InboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InboundEnvironmentEndpointCollection.

func (*InboundEnvironmentEndpointCollection) UnmarshalJSON

func (i *InboundEnvironmentEndpointCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type InboundEnvironmentEndpointCollection.

type Ingress

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

	// Bool indicating if app exposes an external http endpoint
	External *bool

	// Target Port in containers for traffic from ingress
	TargetPort *int32
	Traffic    []*TrafficWeight

	// Ingress transport protocol
	Transport *IngressTransportMethod

	// READ-ONLY; Hostname.
	Fqdn *string
}

Ingress - Container App Ingress configuration.

func (Ingress) MarshalJSON

func (i Ingress) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Ingress.

func (*Ingress) UnmarshalJSON

func (i *Ingress) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Ingress.

type IngressTransportMethod

type IngressTransportMethod string

IngressTransportMethod - Ingress transport protocol

const (
	IngressTransportMethodAuto  IngressTransportMethod = "auto"
	IngressTransportMethodHTTP  IngressTransportMethod = "http"
	IngressTransportMethodHTTP2 IngressTransportMethod = "http2"
)

func PossibleIngressTransportMethodValues

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"
	InsightStatusInfo     InsightStatus = "Info"
	InsightStatusNone     InsightStatus = "None"
	InsightStatusSuccess  InsightStatus = "Success"
	InsightStatusWarning  InsightStatus = "Warning"
)

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 (
	IssueTypeAppCrash             IssueType = "AppCrash"
	IssueTypeAppDeployment        IssueType = "AppDeployment"
	IssueTypeAseDeployment        IssueType = "AseDeployment"
	IssueTypeOther                IssueType = "Other"
	IssueTypePlatformIssue        IssueType = "PlatformIssue"
	IssueTypeRuntimeIssueDetected IssueType = "RuntimeIssueDetected"
	IssueTypeServiceIncident      IssueType = "ServiceIncident"
	IssueTypeUserIssue            IssueType = "UserIssue"
)

func PossibleIssueTypeValues

func PossibleIssueTypeValues() []IssueType

PossibleIssueTypeValues returns the possible values for the IssueType const type.

type JSONSchema

type JSONSchema struct {
	// The JSON content.
	Content *string

	// The JSON title.
	Title *string
}

JSONSchema - The JSON schema.

func (JSONSchema) MarshalJSON

func (j JSONSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type JSONSchema.

func (*JSONSchema) UnmarshalJSON

func (j *JSONSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type JSONSchema.

type JwtClaimChecks

type JwtClaimChecks struct {
	// The list of the allowed client applications.
	AllowedClientApplications []*string

	// The list of the allowed groups.
	AllowedGroups []*string
}

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.

func (*JwtClaimChecks) UnmarshalJSON

func (j *JwtClaimChecks) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type JwtClaimChecks.

type KeyInfo

type KeyInfo struct {
	// Key name
	Name *string

	// Key value
	Value *string
}

KeyInfo - Function key info.

func (KeyInfo) MarshalJSON

func (k KeyInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyInfo.

func (*KeyInfo) UnmarshalJSON

func (k *KeyInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyInfo.

type KeyType

type KeyType string

KeyType - The key type.

const (
	KeyTypeNotSpecified KeyType = "NotSpecified"
	KeyTypePrimary      KeyType = "Primary"
	KeyTypeSecondary    KeyType = "Secondary"
)

func PossibleKeyTypeValues

func PossibleKeyTypeValues() []KeyType

PossibleKeyTypeValues returns the possible values for the KeyType const type.

type KeyValuePairStringObject

type KeyValuePairStringObject struct {
	// READ-ONLY
	Key *string

	// READ-ONLY; Anything
	Value any
}

func (KeyValuePairStringObject) MarshalJSON

func (k KeyValuePairStringObject) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyValuePairStringObject.

func (*KeyValuePairStringObject) UnmarshalJSON

func (k *KeyValuePairStringObject) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyValuePairStringObject.

type KeyVaultSecretStatus

type KeyVaultSecretStatus string

KeyVaultSecretStatus - Status of the Key Vault secret.

const (
	KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault KeyVaultSecretStatus = "AzureServiceUnauthorizedToAccessKeyVault"
	KeyVaultSecretStatusCertificateOrderFailed                   KeyVaultSecretStatus = "CertificateOrderFailed"
	KeyVaultSecretStatusExternalPrivateKey                       KeyVaultSecretStatus = "ExternalPrivateKey"
	KeyVaultSecretStatusInitialized                              KeyVaultSecretStatus = "Initialized"
	KeyVaultSecretStatusKeyVaultDoesNotExist                     KeyVaultSecretStatus = "KeyVaultDoesNotExist"
	KeyVaultSecretStatusKeyVaultSecretDoesNotExist               KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist"
	KeyVaultSecretStatusOperationNotPermittedOnKeyVault          KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault"
	KeyVaultSecretStatusSucceeded                                KeyVaultSecretStatus = "Succeeded"
	KeyVaultSecretStatusUnknown                                  KeyVaultSecretStatus = "Unknown"
	KeyVaultSecretStatusUnknownError                             KeyVaultSecretStatus = "UnknownError"
	KeyVaultSecretStatusWaitingOnCertificateOrder                KeyVaultSecretStatus = "WaitingOnCertificateOrder"
)

func PossibleKeyVaultSecretStatusValues

func PossibleKeyVaultSecretStatusValues() []KeyVaultSecretStatus

PossibleKeyVaultSecretStatusValues returns the possible values for the KeyVaultSecretStatus const type.

type Kind

type Kind string

Kind - The workflow kind.

const (
	KindStateful  Kind = "Stateful"
	KindStateless Kind = "Stateless"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns the possible values for the Kind const type.

type KubeEnvironment

type KubeEnvironment struct {
	// REQUIRED; Resource Location.
	Location *string

	// Extended Location.
	ExtendedLocation *ExtendedLocation

	// Kind of resource.
	Kind *string

	// KubeEnvironment resource specific properties
	Properties *KubeEnvironmentProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*KubeEnvironment) UnmarshalJSON

func (k *KubeEnvironment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KubeEnvironment.

type KubeEnvironmentCollection

type KubeEnvironmentCollection struct {
	// REQUIRED; Collection of resources.
	Value []*KubeEnvironment

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

KubeEnvironmentCollection - Collection of Kubernetes Environments

func (KubeEnvironmentCollection) MarshalJSON

func (k KubeEnvironmentCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KubeEnvironmentCollection.

func (*KubeEnvironmentCollection) UnmarshalJSON

func (k *KubeEnvironmentCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KubeEnvironmentCollection.

type KubeEnvironmentPatchResource

type KubeEnvironmentPatchResource struct {
	// Kind of resource.
	Kind *string

	// KubeEnvironmentPatchResource resource specific properties
	Properties *KubeEnvironmentPatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*KubeEnvironmentPatchResource) UnmarshalJSON

func (k *KubeEnvironmentPatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KubeEnvironmentPatchResource.

type KubeEnvironmentPatchResourceProperties

type KubeEnvironmentPatchResourceProperties struct {
	AksResourceID *string

	// Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics"
	// is supported
	AppLogsConfiguration *AppLogsConfiguration

	// Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd
	// Service ArtifactsStorageType etc.
	ArcConfiguration *ArcConfiguration

	// Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
	ContainerAppsConfiguration *ContainerAppsConfiguration

	// Only visible within Vnet/Subnet
	InternalLoadBalancerEnabled *bool

	// Static IP of the KubeEnvironment
	StaticIP *string

	// READ-ONLY; Default Domain Name for the cluster
	DefaultDomain *string

	// READ-ONLY; Any errors that occurred during deployment or deployment validation
	DeploymentErrors *string

	// READ-ONLY; Provisioning state of the Kubernetes Environment.
	ProvisioningState *KubeEnvironmentProvisioningState
}

KubeEnvironmentPatchResourceProperties - KubeEnvironmentPatchResource resource specific properties

func (KubeEnvironmentPatchResourceProperties) MarshalJSON

func (k KubeEnvironmentPatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KubeEnvironmentPatchResourceProperties.

func (*KubeEnvironmentPatchResourceProperties) UnmarshalJSON

func (k *KubeEnvironmentPatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KubeEnvironmentPatchResourceProperties.

type KubeEnvironmentProfile

type KubeEnvironmentProfile struct {
	// Resource ID of the Kubernetes Environment.
	ID *string

	// READ-ONLY; Name of the Kubernetes Environment.
	Name *string

	// READ-ONLY; Resource type of the Kubernetes Environment.
	Type *string
}

KubeEnvironmentProfile - Specification for a Kubernetes Environment to use for this resource.

func (KubeEnvironmentProfile) MarshalJSON

func (k KubeEnvironmentProfile) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KubeEnvironmentProfile.

func (*KubeEnvironmentProfile) UnmarshalJSON

func (k *KubeEnvironmentProfile) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KubeEnvironmentProfile.

type KubeEnvironmentProperties

type KubeEnvironmentProperties struct {
	AksResourceID *string

	// Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics"
	// is supported
	AppLogsConfiguration *AppLogsConfiguration

	// Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd
	// Service ArtifactsStorageType etc.
	ArcConfiguration *ArcConfiguration

	// Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
	ContainerAppsConfiguration *ContainerAppsConfiguration

	// Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed
	EnvironmentType *string

	// Only visible within Vnet/Subnet
	InternalLoadBalancerEnabled *bool

	// Static IP of the KubeEnvironment
	StaticIP *string

	// READ-ONLY; Default Domain Name for the cluster
	DefaultDomain *string

	// READ-ONLY; Any errors that occurred during deployment or deployment validation
	DeploymentErrors *string

	// READ-ONLY; Provisioning state of the Kubernetes Environment.
	ProvisioningState *KubeEnvironmentProvisioningState
}

KubeEnvironmentProperties - KubeEnvironment resource specific properties

func (KubeEnvironmentProperties) MarshalJSON

func (k KubeEnvironmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KubeEnvironmentProperties.

func (*KubeEnvironmentProperties) UnmarshalJSON

func (k *KubeEnvironmentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KubeEnvironmentProperties.

type KubeEnvironmentProvisioningState

type KubeEnvironmentProvisioningState string

KubeEnvironmentProvisioningState - Provisioning state of the Kubernetes Environment.

const (
	KubeEnvironmentProvisioningStateCanceled                      KubeEnvironmentProvisioningState = "Canceled"
	KubeEnvironmentProvisioningStateFailed                        KubeEnvironmentProvisioningState = "Failed"
	KubeEnvironmentProvisioningStateInfrastructureSetupComplete   KubeEnvironmentProvisioningState = "InfrastructureSetupComplete"
	KubeEnvironmentProvisioningStateInfrastructureSetupInProgress KubeEnvironmentProvisioningState = "InfrastructureSetupInProgress"
	KubeEnvironmentProvisioningStateInitializationInProgress      KubeEnvironmentProvisioningState = "InitializationInProgress"
	KubeEnvironmentProvisioningStateScheduledForDelete            KubeEnvironmentProvisioningState = "ScheduledForDelete"
	KubeEnvironmentProvisioningStateSucceeded                     KubeEnvironmentProvisioningState = "Succeeded"
	KubeEnvironmentProvisioningStateUpgradeFailed                 KubeEnvironmentProvisioningState = "UpgradeFailed"
	KubeEnvironmentProvisioningStateUpgradeRequested              KubeEnvironmentProvisioningState = "UpgradeRequested"
	KubeEnvironmentProvisioningStateWaiting                       KubeEnvironmentProvisioningState = "Waiting"
)

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 - Description for Creates or updates a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/KubeEnvironments_CreateOrUpdate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewKubeEnvironmentsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.KubeEnvironment = armappservice.KubeEnvironment{
// 	Name: to.Ptr("testkubeenv"),
// 	Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv"),
// 	Location: to.Ptr("East US"),
// 	Tags: map[string]*string{
// 	},
// 	ExtendedLocation: &armappservice.ExtendedLocation{
// 		Name: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
// 		Type: to.Ptr("customLocation"),
// 	},
// 	Properties: &armappservice.KubeEnvironmentProperties{
// 		AksResourceID: to.Ptr("test"),
// 		DefaultDomain: to.Ptr("testkubeenv.k4apps.io"),
// 		InternalLoadBalancerEnabled: to.Ptr(false),
// 		ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
// 		StaticIP: to.Ptr("1.2.3.4"),
// 	},
// }
Output:

func (*KubeEnvironmentsClient) BeginDelete

BeginDelete - Description for Delete a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/KubeEnvironments_Delete.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewKubeEnvironmentsClient().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 - Description for Get the properties of a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/KubeEnvironments_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewKubeEnvironmentsClient().Get(ctx, "examplerg", "jlaw-demo1", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.KubeEnvironment = armappservice.KubeEnvironment{
// 	Name: to.Ptr("jlaw-demo1"),
// 	Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
// 	ID: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1"),
// 	Location: to.Ptr("North Central US"),
// 	Tags: map[string]*string{
// 	},
// 	ExtendedLocation: &armappservice.ExtendedLocation{
// 		Name: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
// 		Type: to.Ptr("customLocation"),
// 	},
// 	Properties: &armappservice.KubeEnvironmentProperties{
// 		AksResourceID: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ContainerService/managedClusters/jlaw-demo1"),
// 		DefaultDomain: to.Ptr("jlaw-demo1.k4apps.io"),
// 		InternalLoadBalancerEnabled: to.Ptr(false),
// 		ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
// 		StaticIP: to.Ptr("20.42.33.145"),
// 	},
// }
Output:

func (*KubeEnvironmentsClient) NewListByResourceGroupPager

NewListByResourceGroupPager - Description for Get all the Kubernetes Environments in a resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - KubeEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the KubeEnvironmentsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/KubeEnvironments_ListByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewKubeEnvironmentsClient().NewListByResourceGroupPager("examplerg", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.KubeEnvironmentCollection = armappservice.KubeEnvironmentCollection{
	// 	Value: []*armappservice.KubeEnvironment{
	// 		{
	// 			Name: to.Ptr("jlaw-demo1"),
	// 			Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
	// 			ID: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1"),
	// 			Location: to.Ptr("North Central US"),
	// 			Tags: map[string]*string{
	// 			},
	// 			ExtendedLocation: &armappservice.ExtendedLocation{
	// 				Name: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
	// 				Type: to.Ptr("customLocation"),
	// 			},
	// 			Properties: &armappservice.KubeEnvironmentProperties{
	// 				DefaultDomain: to.Ptr("jlaw-demo1.k4apps.io"),
	// 				InternalLoadBalancerEnabled: to.Ptr(false),
	// 				ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
	// 				StaticIP: to.Ptr("20.42.33.145"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("demo1"),
	// 			Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
	// 			ID: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/demo1"),
	// 			Location: to.Ptr("North Central US"),
	// 			Tags: map[string]*string{
	// 			},
	// 			ExtendedLocation: &armappservice.ExtendedLocation{
	// 				Name: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
	// 				Type: to.Ptr("customLocation"),
	// 			},
	// 			Properties: &armappservice.KubeEnvironmentProperties{
	// 				DefaultDomain: to.Ptr("demo1.k4apps.io"),
	// 				InternalLoadBalancerEnabled: to.Ptr(false),
	// 				ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
	// 				StaticIP: to.Ptr("52.142.21.61"),
	// 			},
	// 	}},
	// }
}
Output:

func (*KubeEnvironmentsClient) NewListBySubscriptionPager

NewListBySubscriptionPager - Description for Get all Kubernetes Environments for a subscription.

Generated from API version 2023-01-01

  • options - KubeEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the KubeEnvironmentsClient.NewListBySubscriptionPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/KubeEnvironments_ListBySubscription.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewKubeEnvironmentsClient().NewListBySubscriptionPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.KubeEnvironmentCollection = armappservice.KubeEnvironmentCollection{
	// 	Value: []*armappservice.KubeEnvironment{
	// 		{
	// 			Name: to.Ptr("jlaw-demo1"),
	// 			Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
	// 			ID: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1"),
	// 			Location: to.Ptr("North Central US"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.KubeEnvironmentProperties{
	// 				DefaultDomain: to.Ptr("jlaw-demo1.k4apps.io"),
	// 				InternalLoadBalancerEnabled: to.Ptr(false),
	// 				ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
	// 				StaticIP: to.Ptr("20.42.33.145"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("demo1"),
	// 			Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
	// 			ID: to.Ptr("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/DemoRG/providers/Microsoft.Web/kubeEnvironments/demo1"),
	// 			Location: to.Ptr("North Central US"),
	// 			Tags: map[string]*string{
	// 			},
	// 			Properties: &armappservice.KubeEnvironmentProperties{
	// 				DefaultDomain: to.Ptr("demo1.k4apps.io"),
	// 				InternalLoadBalancerEnabled: to.Ptr(false),
	// 				ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
	// 				StaticIP: to.Ptr("52.142.21.61"),
	// 			},
	// 	}},
	// }
}
Output:

func (*KubeEnvironmentsClient) Update

Update - Description for Creates or updates a Kubernetes Environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/KubeEnvironments_Update.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewKubeEnvironmentsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.KubeEnvironment = armappservice.KubeEnvironment{
// 	Name: to.Ptr("testkubeenv"),
// 	Type: to.Ptr("Microsoft.Web/kubeEnvironments"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv"),
// 	Location: to.Ptr("East US"),
// 	Tags: map[string]*string{
// 	},
// 	ExtendedLocation: &armappservice.ExtendedLocation{
// 		Name: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
// 		Type: to.Ptr("customLocation"),
// 	},
// 	Properties: &armappservice.KubeEnvironmentProperties{
// 		AksResourceID: to.Ptr("test"),
// 		DefaultDomain: to.Ptr("testkubeenv.k4apps.io"),
// 		InternalLoadBalancerEnabled: to.Ptr(false),
// 		ProvisioningState: to.Ptr(armappservice.KubeEnvironmentProvisioningStateSucceeded),
// 		StaticIP: to.Ptr("1.2.3.4"),
// 	},
// }
Output:

type KubeEnvironmentsClientBeginCreateOrUpdateOptions

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

KubeEnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the KubeEnvironmentsClient.BeginCreateOrUpdate method.

type KubeEnvironmentsClientBeginDeleteOptions

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

KubeEnvironmentsClientBeginDeleteOptions contains the optional parameters for the KubeEnvironmentsClient.BeginDelete method.

type KubeEnvironmentsClientCreateOrUpdateResponse

type KubeEnvironmentsClientCreateOrUpdateResponse struct {
	// A Kubernetes cluster specialized for web workloads by Azure App Service
	KubeEnvironment
}

KubeEnvironmentsClientCreateOrUpdateResponse contains the response from method KubeEnvironmentsClient.BeginCreateOrUpdate.

type KubeEnvironmentsClientDeleteResponse

type KubeEnvironmentsClientDeleteResponse struct {
}

KubeEnvironmentsClientDeleteResponse contains the response from method KubeEnvironmentsClient.BeginDelete.

type KubeEnvironmentsClientGetOptions

type KubeEnvironmentsClientGetOptions struct {
}

KubeEnvironmentsClientGetOptions contains the optional parameters for the KubeEnvironmentsClient.Get method.

type KubeEnvironmentsClientGetResponse

type KubeEnvironmentsClientGetResponse struct {
	// A Kubernetes cluster specialized for web workloads by Azure App Service
	KubeEnvironment
}

KubeEnvironmentsClientGetResponse contains the response from method KubeEnvironmentsClient.Get.

type KubeEnvironmentsClientListByResourceGroupOptions

type KubeEnvironmentsClientListByResourceGroupOptions struct {
}

KubeEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the KubeEnvironmentsClient.NewListByResourceGroupPager method.

type KubeEnvironmentsClientListByResourceGroupResponse

type KubeEnvironmentsClientListByResourceGroupResponse struct {
	// Collection of Kubernetes Environments
	KubeEnvironmentCollection
}

KubeEnvironmentsClientListByResourceGroupResponse contains the response from method KubeEnvironmentsClient.NewListByResourceGroupPager.

type KubeEnvironmentsClientListBySubscriptionOptions

type KubeEnvironmentsClientListBySubscriptionOptions struct {
}

KubeEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the KubeEnvironmentsClient.NewListBySubscriptionPager method.

type KubeEnvironmentsClientListBySubscriptionResponse

type KubeEnvironmentsClientListBySubscriptionResponse struct {
	// Collection of Kubernetes Environments
	KubeEnvironmentCollection
}

KubeEnvironmentsClientListBySubscriptionResponse contains the response from method KubeEnvironmentsClient.NewListBySubscriptionPager.

type KubeEnvironmentsClientUpdateOptions

type KubeEnvironmentsClientUpdateOptions struct {
}

KubeEnvironmentsClientUpdateOptions contains the optional parameters for the KubeEnvironmentsClient.Update method.

type KubeEnvironmentsClientUpdateResponse

type KubeEnvironmentsClientUpdateResponse struct {
	// A Kubernetes cluster specialized for web workloads by Azure App Service
	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

	// The configuration settings of the login flow.
	Login *LoginScopes

	// The configuration settings of the app registration for the legacy Microsoft Account provider.
	Registration *ClientRegistration

	// The configuration settings of the legacy Microsoft Account provider token validation flow.
	Validation *AllowedAudiencesValidation
}

LegacyMicrosoftAccount - The configuration settings of the legacy Microsoft Account provider.

func (LegacyMicrosoftAccount) MarshalJSON

func (l LegacyMicrosoftAccount) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LegacyMicrosoftAccount.

func (*LegacyMicrosoftAccount) UnmarshalJSON

func (l *LegacyMicrosoftAccount) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LegacyMicrosoftAccount.

type LinuxJavaContainerSettings

type LinuxJavaContainerSettings struct {
	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool

	// READ-ONLY; Java 11 version (runtime only).
	Java11Runtime *string

	// READ-ONLY; Java 8 version (runtime only).
	Java8Runtime *string
}

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

	// Non-localized name.
	Value *string
}

LocalizableString - Localizable string object containing the name and a localized value.

func (LocalizableString) MarshalJSON

func (l LocalizableString) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LocalizableString.

func (*LocalizableString) UnmarshalJSON

func (l *LocalizableString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LocalizableString.

type LogAnalyticsConfiguration

type LogAnalyticsConfiguration struct {
	CustomerID *string
	SharedKey  *string
}

func (LogAnalyticsConfiguration) MarshalJSON

func (l LogAnalyticsConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LogAnalyticsConfiguration.

func (*LogAnalyticsConfiguration) UnmarshalJSON

func (l *LogAnalyticsConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LogAnalyticsConfiguration.

type LogLevel

type LogLevel string

LogLevel - Log level.

const (
	LogLevelError       LogLevel = "Error"
	LogLevelInformation LogLevel = "Information"
	LogLevelOff         LogLevel = "Off"
	LogLevelVerbose     LogLevel = "Verbose"
	LogLevelWarning     LogLevel = "Warning"
)

func PossibleLogLevelValues

func PossibleLogLevelValues() []LogLevel

PossibleLogLevelValues returns the possible values for the LogLevel const type.

type LogSpecification

type LogSpecification struct {
	BlobDuration     *string
	DisplayName      *string
	LogFilterPattern *string
	Name             *string
}

LogSpecification - Log Definition of a single resource metric.

func (LogSpecification) MarshalJSON

func (l LogSpecification) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LogSpecification.

func (*LogSpecification) UnmarshalJSON

func (l *LogSpecification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LogSpecification.

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

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

	// The configuration settings of the nonce used in the login flow.
	Nonce *Nonce

	// true if the fragments from the request are preserved after the login request is made; otherwise, false.
	PreserveURLFragmentsForLogins *bool

	// The routes that specify the endpoints used for login and logout requests.
	Routes *LoginRoutes

	// The configuration settings of the token store.
	TokenStore *TokenStore
}

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.

func (*Login) UnmarshalJSON

func (l *Login) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Login.

type LoginRoutes

type LoginRoutes struct {
	// The endpoint at which a logout request should be made.
	LogoutEndpoint *string
}

LoginRoutes - The routes that specify the endpoints used for login and logout requests.

func (LoginRoutes) MarshalJSON

func (l LoginRoutes) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoginRoutes.

func (*LoginRoutes) UnmarshalJSON

func (l *LoginRoutes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LoginRoutes.

type LoginScopes

type LoginScopes struct {
	// A list of the scopes that should be requested while authenticating.
	Scopes []*string
}

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.

func (*LoginScopes) UnmarshalJSON

func (l *LoginScopes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LoginScopes.

type MSDeploy

type MSDeploy struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *MSDeployCore

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

MSDeploy ARM PUT information

func (MSDeploy) MarshalJSON

func (m MSDeploy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeploy.

func (*MSDeploy) UnmarshalJSON

func (m *MSDeploy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeploy.

type MSDeployCore

type MSDeployCore struct {
	// Sets the AppOffline rule while the MSDeploy operation executes. Setting is false by default.
	AppOffline *bool

	// SQL Connection String
	ConnectionString *string

	// Database Type
	DbType *string

	// Package URI
	PackageURI *string

	// MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
	SetParameters map[string]*string

	// URI of MSDeploy Parameters file. Must not be set if SetParameters is used.
	SetParametersXMLFileURI *string

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

MSDeployCore - MSDeploy ARM PUT core information

func (MSDeployCore) MarshalJSON

func (m MSDeployCore) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployCore.

func (*MSDeployCore) UnmarshalJSON

func (m *MSDeployCore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeployCore.

type MSDeployLog

type MSDeployLog struct {
	// Kind of resource.
	Kind *string

	// MSDeployLog resource specific properties
	Properties *MSDeployLogProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

MSDeployLog - MSDeploy log

func (MSDeployLog) MarshalJSON

func (m MSDeployLog) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployLog.

func (*MSDeployLog) UnmarshalJSON

func (m *MSDeployLog) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeployLog.

type MSDeployLogEntry

type MSDeployLogEntry struct {
	// READ-ONLY; Log entry message
	Message *string

	// READ-ONLY; Timestamp of log entry
	Time *time.Time

	// READ-ONLY; Log entry type
	Type *MSDeployLogEntryType
}

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 (
	MSDeployLogEntryTypeError   MSDeployLogEntryType = "Error"
	MSDeployLogEntryTypeMessage MSDeployLogEntryType = "Message"
	MSDeployLogEntryTypeWarning MSDeployLogEntryType = "Warning"
)

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
}

MSDeployLogProperties - MSDeployLog resource specific properties

func (MSDeployLogProperties) MarshalJSON

func (m MSDeployLogProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployLogProperties.

func (*MSDeployLogProperties) UnmarshalJSON

func (m *MSDeployLogProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeployLogProperties.

type MSDeployProvisioningState

type MSDeployProvisioningState string

MSDeployProvisioningState - Provisioning state

const (
	MSDeployProvisioningStateAccepted  MSDeployProvisioningState = "accepted"
	MSDeployProvisioningStateCanceled  MSDeployProvisioningState = "canceled"
	MSDeployProvisioningStateFailed    MSDeployProvisioningState = "failed"
	MSDeployProvisioningStateRunning   MSDeployProvisioningState = "running"
	MSDeployProvisioningStateSucceeded MSDeployProvisioningState = "succeeded"
)

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

	// MSDeployStatus resource specific properties
	Properties *MSDeployStatusProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

MSDeployStatus - MSDeploy ARM response

func (MSDeployStatus) MarshalJSON

func (m MSDeployStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MSDeployStatus.

func (*MSDeployStatus) UnmarshalJSON

func (m *MSDeployStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MSDeployStatus.

type MSDeployStatusProperties

type MSDeployStatusProperties struct {
	// READ-ONLY; Whether the deployment operation has completed
	Complete *bool

	// READ-ONLY; Username of deployer
	Deployer *string

	// READ-ONLY; End time of deploy operation
	EndTime *time.Time

	// READ-ONLY; Provisioning state
	ProvisioningState *MSDeployProvisioningState

	// READ-ONLY; Start time of deploy operation
	StartTime *time.Time
}

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 (
	ManagedPipelineModeClassic    ManagedPipelineMode = "Classic"
	ManagedPipelineModeIntegrated ManagedPipelineMode = "Integrated"
)

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

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

	// READ-ONLY; Principal Id of managed service identity.
	PrincipalID *string

	// READ-ONLY; Tenant of managed service identity.
	TenantID *string
}

ManagedServiceIdentity - Managed service identity.

func (ManagedServiceIdentity) MarshalJSON

func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentity.

func (*ManagedServiceIdentity) UnmarshalJSON

func (m *ManagedServiceIdentity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagedServiceIdentity.

type ManagedServiceIdentityType

type ManagedServiceIdentityType string

ManagedServiceIdentityType - Type of managed service identity.

const (
	ManagedServiceIdentityTypeNone                       ManagedServiceIdentityType = "None"
	ManagedServiceIdentityTypeSystemAssigned             ManagedServiceIdentityType = "SystemAssigned"
	ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned, UserAssigned"
	ManagedServiceIdentityTypeUserAssigned               ManagedServiceIdentityType = "UserAssigned"
)

func PossibleManagedServiceIdentityTypeValues

func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType

PossibleManagedServiceIdentityTypeValues returns the possible values for the ManagedServiceIdentityType const type.

type MetricAvailability

type MetricAvailability struct {
	BlobDuration *string
	TimeGrain    *string
}

MetricAvailability - Retention policy of a resource metric.

func (MetricAvailability) MarshalJSON

func (m MetricAvailability) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricAvailability.

func (*MetricAvailability) UnmarshalJSON

func (m *MetricAvailability) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MetricAvailability.

type MetricSpecification

type MetricSpecification struct {
	AggregationType                  *string
	Availabilities                   []*MetricAvailability
	Category                         *string
	Dimensions                       []*Dimension
	DisplayDescription               *string
	DisplayName                      *string
	EnableRegionalMdmAccount         *bool
	FillGapWithZero                  *bool
	IsInternal                       *bool
	MetricFilterPattern              *string
	Name                             *string
	SourceMdmAccount                 *string
	SourceMdmNamespace               *string
	SupportedAggregationTypes        []*string
	SupportedTimeGrainTypes          []*string
	SupportsInstanceLevelAggregation *bool
	Unit                             *string
}

MetricSpecification - Definition of a single resource metric.

func (MetricSpecification) MarshalJSON

func (m MetricSpecification) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricSpecification.

func (*MetricSpecification) UnmarshalJSON

func (m *MetricSpecification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MetricSpecification.

type MigrateMySQLRequest

type MigrateMySQLRequest struct {
	// Kind of resource.
	Kind *string

	// MigrateMySqlRequest resource specific properties
	Properties *MigrateMySQLRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

MigrateMySQLRequest - MySQL migration request.

func (MigrateMySQLRequest) MarshalJSON

func (m MigrateMySQLRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MigrateMySQLRequest.

func (*MigrateMySQLRequest) UnmarshalJSON

func (m *MigrateMySQLRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MigrateMySQLRequest.

type MigrateMySQLRequestProperties

type MigrateMySQLRequestProperties struct {
	// REQUIRED; Connection string to the remote MySQL database.
	ConnectionString *string

	// REQUIRED; The type of migration operation to be done
	MigrationType *MySQLMigrationType
}

MigrateMySQLRequestProperties - MigrateMySqlRequest resource specific properties

func (MigrateMySQLRequestProperties) MarshalJSON

func (m MigrateMySQLRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MigrateMySQLRequestProperties.

func (*MigrateMySQLRequestProperties) UnmarshalJSON

func (m *MigrateMySQLRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MigrateMySQLRequestProperties.

type MigrateMySQLStatus

type MigrateMySQLStatus struct {
	// Kind of resource.
	Kind *string

	// MigrateMySqlStatus resource specific properties
	Properties *MigrateMySQLStatusProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

MigrateMySQLStatus - MySQL migration status.

func (MigrateMySQLStatus) MarshalJSON

func (m MigrateMySQLStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MigrateMySQLStatus.

func (*MigrateMySQLStatus) UnmarshalJSON

func (m *MigrateMySQLStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MigrateMySQLStatus.

type MigrateMySQLStatusProperties

type MigrateMySQLStatusProperties struct {
	// READ-ONLY; True if the web app has in app MySql enabled
	LocalMySQLEnabled *bool

	// READ-ONLY; Status of the migration task.
	MigrationOperationStatus *OperationStatus

	// READ-ONLY; Operation ID for the migration task.
	OperationID *string
}

MigrateMySQLStatusProperties - MigrateMySqlStatus resource specific properties

func (MigrateMySQLStatusProperties) MarshalJSON

func (m MigrateMySQLStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MigrateMySQLStatusProperties.

func (*MigrateMySQLStatusProperties) UnmarshalJSON

func (m *MigrateMySQLStatusProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MigrateMySQLStatusProperties.

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
}

NameIdentifier - Identifies an object.

func (NameIdentifier) MarshalJSON

func (n NameIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NameIdentifier.

func (*NameIdentifier) UnmarshalJSON

func (n *NameIdentifier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NameIdentifier.

type NameIdentifierCollection

type NameIdentifierCollection struct {
	// REQUIRED; Collection of resources.
	Value []*NameIdentifier

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

NameIdentifierCollection - Collection of domain name identifiers.

func (NameIdentifierCollection) MarshalJSON

func (n NameIdentifierCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NameIdentifierCollection.

func (*NameIdentifierCollection) UnmarshalJSON

func (n *NameIdentifierCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NameIdentifierCollection.

type NameValuePair

type NameValuePair struct {
	// Pair name.
	Name *string

	// Pair value.
	Value *string
}

NameValuePair - Name value pair.

func (NameValuePair) MarshalJSON

func (n NameValuePair) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NameValuePair.

func (*NameValuePair) UnmarshalJSON

func (n *NameValuePair) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NameValuePair.

type NetworkFeatures

type NetworkFeatures struct {
	// Kind of resource.
	Kind *string

	// NetworkFeatures resource specific properties
	Properties *NetworkFeaturesProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

NetworkFeatures - Full view of network features for an app (presently VNET integration and Hybrid Connections).

func (NetworkFeatures) MarshalJSON

func (n NetworkFeatures) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkFeatures.

func (*NetworkFeatures) UnmarshalJSON

func (n *NetworkFeatures) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NetworkFeatures.

type NetworkFeaturesProperties

type NetworkFeaturesProperties struct {
	// READ-ONLY; The Hybrid Connections summary view.
	HybridConnections []*RelayServiceConnectionEntity

	// READ-ONLY; The Hybrid Connection V2 (Service Bus) view.
	HybridConnectionsV2 []*HybridConnection

	// READ-ONLY; The Virtual Network summary view.
	VirtualNetworkConnection *VnetInfo

	// READ-ONLY; The Virtual Network name.
	VirtualNetworkName *string
}

NetworkFeaturesProperties - NetworkFeatures resource specific properties

func (NetworkFeaturesProperties) MarshalJSON

func (n NetworkFeaturesProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkFeaturesProperties.

func (*NetworkFeaturesProperties) UnmarshalJSON

func (n *NetworkFeaturesProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// Local file path for the captured network trace file.
	Path *string

	// Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).
	Status *string
}

NetworkTrace - Network trace

func (NetworkTrace) MarshalJSON

func (n NetworkTrace) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkTrace.

func (*NetworkTrace) UnmarshalJSON

func (n *NetworkTrace) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NetworkTrace.

type Nonce

type Nonce struct {
	// The time after the request is made when the nonce should expire.
	NonceExpirationInterval *string

	// false if the nonce should not be validated while completing the login flow; otherwise, true.
	ValidateNonce *bool
}

Nonce - The configuration settings of the nonce used in the login flow.

func (Nonce) MarshalJSON

func (n Nonce) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Nonce.

func (*Nonce) UnmarshalJSON

func (n *Nonce) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Nonce.

type NotificationLevel

type NotificationLevel string

NotificationLevel - Level indicating how critical this recommendation can impact.

const (
	NotificationLevelCritical            NotificationLevel = "Critical"
	NotificationLevelInformation         NotificationLevel = "Information"
	NotificationLevelNonUrgentSuggestion NotificationLevel = "NonUrgentSuggestion"
	NotificationLevelWarning             NotificationLevel = "Warning"
)

func PossibleNotificationLevelValues

func PossibleNotificationLevelValues() []NotificationLevel

PossibleNotificationLevelValues returns the possible values for the NotificationLevel const type.

type OpenAuthenticationAccessPolicies

type OpenAuthenticationAccessPolicies struct {
	// Open authentication policies.
	Policies map[string]*OpenAuthenticationAccessPolicy
}

OpenAuthenticationAccessPolicies - AuthenticationPolicy of type Open.

func (OpenAuthenticationAccessPolicies) MarshalJSON

func (o OpenAuthenticationAccessPolicies) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenAuthenticationAccessPolicies.

func (*OpenAuthenticationAccessPolicies) UnmarshalJSON

func (o *OpenAuthenticationAccessPolicies) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenAuthenticationAccessPolicies.

type OpenAuthenticationAccessPolicy

type OpenAuthenticationAccessPolicy struct {
	// The access policy claims.
	Claims []*OpenAuthenticationPolicyClaim

	// Type of provider for OAuth.
	Type *OpenAuthenticationProviderType
}

OpenAuthenticationAccessPolicy - Open authentication access policy defined by user.

func (OpenAuthenticationAccessPolicy) MarshalJSON

func (o OpenAuthenticationAccessPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenAuthenticationAccessPolicy.

func (*OpenAuthenticationAccessPolicy) UnmarshalJSON

func (o *OpenAuthenticationAccessPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenAuthenticationAccessPolicy.

type OpenAuthenticationPolicyClaim

type OpenAuthenticationPolicyClaim struct {
	// The name of the claim.
	Name *string

	// The value of the claim.
	Value *string
}

OpenAuthenticationPolicyClaim - Open authentication policy claim.

func (OpenAuthenticationPolicyClaim) MarshalJSON

func (o OpenAuthenticationPolicyClaim) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenAuthenticationPolicyClaim.

func (*OpenAuthenticationPolicyClaim) UnmarshalJSON

func (o *OpenAuthenticationPolicyClaim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenAuthenticationPolicyClaim.

type OpenAuthenticationProviderType

type OpenAuthenticationProviderType string

OpenAuthenticationProviderType - Open authentication policy provider type.

const (
	OpenAuthenticationProviderTypeAAD OpenAuthenticationProviderType = "AAD"
)

func PossibleOpenAuthenticationProviderTypeValues

func PossibleOpenAuthenticationProviderTypeValues() []OpenAuthenticationProviderType

PossibleOpenAuthenticationProviderTypeValues returns the possible values for the OpenAuthenticationProviderType const type.

type OpenIDConnectClientCredential

type OpenIDConnectClientCredential struct {
	// The app setting that contains the client secret for the custom Open ID Connect provider.
	ClientSecretSettingName *string

	// The method that should be used to authenticate the user.
	Method *string
}

OpenIDConnectClientCredential - The authentication client credentials of the custom Open ID Connect provider.

func (OpenIDConnectClientCredential) MarshalJSON

func (o OpenIDConnectClientCredential) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenIDConnectClientCredential.

func (*OpenIDConnectClientCredential) UnmarshalJSON

func (o *OpenIDConnectClientCredential) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenIDConnectClientCredential.

type OpenIDConnectConfig

type OpenIDConnectConfig struct {
	// The endpoint to be used to make an authorization request.
	AuthorizationEndpoint *string

	// The endpoint that provides the keys necessary to validate the token.
	CertificationURI *string

	// The endpoint that issues the token.
	Issuer *string

	// The endpoint to be used to request a token.
	TokenEndpoint *string

	// The endpoint that contains all the configuration endpoints for the provider.
	WellKnownOpenIDConfiguration *string
}

OpenIDConnectConfig - The configuration settings of the endpoints used for the custom Open ID Connect provider.

func (OpenIDConnectConfig) MarshalJSON

func (o OpenIDConnectConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenIDConnectConfig.

func (*OpenIDConnectConfig) UnmarshalJSON

func (o *OpenIDConnectConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenIDConnectConfig.

type OpenIDConnectLogin

type OpenIDConnectLogin struct {
	// The name of the claim that contains the users name.
	NameClaimType *string

	// A list of the scopes that should be requested while authenticating.
	Scopes []*string
}

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.

func (*OpenIDConnectLogin) UnmarshalJSON

func (o *OpenIDConnectLogin) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenIDConnectLogin.

type OpenIDConnectRegistration

type OpenIDConnectRegistration struct {
	// The authentication credentials of the custom Open ID Connect provider.
	ClientCredential *OpenIDConnectClientCredential

	// The client id of the custom Open ID Connect provider.
	ClientID *string

	// The configuration settings of the endpoints used for the custom Open ID Connect provider.
	OpenIDConnectConfiguration *OpenIDConnectConfig
}

OpenIDConnectRegistration - The configuration settings of the app registration for the custom Open ID Connect provider.

func (OpenIDConnectRegistration) MarshalJSON

func (o OpenIDConnectRegistration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenIDConnectRegistration.

func (*OpenIDConnectRegistration) UnmarshalJSON

func (o *OpenIDConnectRegistration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenIDConnectRegistration.

type Operation

type Operation struct {
	// Time when operation has started.
	CreatedTime *time.Time

	// Any errors associate with the operation.
	Errors []*ErrorEntity

	// Time when operation will expire.
	ExpirationTime *time.Time

	// Applicable only for stamp operation ids.
	GeoMasterOperationID *string

	// Operation ID.
	ID *string

	// Time when operation has been updated.
	ModifiedTime *time.Time

	// Operation name.
	Name *string

	// The current status of the operation.
	Status *OperationStatus
}

Operation - An operation on a resource.

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Operation.

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Operation.

type OperationResult

type OperationResult struct {
	// The workflow scope repetition code.
	Code *string

	// The correlation properties.
	Correlation *RunActionCorrelation

	// The end time of the workflow scope repetition.
	EndTime *time.Time

	// Anything
	Error          any
	IterationCount *int32

	// Gets the retry histories.
	RetryHistory []*RetryHistory

	// The start time of the workflow scope repetition.
	StartTime *time.Time

	// The status of the workflow scope repetition.
	Status *WorkflowStatus

	// READ-ONLY; Gets the inputs.
	Inputs any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the outputs.
	Outputs any

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

OperationResult - The operation result definition.

func (OperationResult) MarshalJSON

func (o OperationResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationResult.

func (*OperationResult) UnmarshalJSON

func (o *OperationResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationResult.

type OperationResultProperties

type OperationResultProperties struct {
	// The workflow scope repetition code.
	Code *string

	// The correlation properties.
	Correlation *RunActionCorrelation

	// The end time of the workflow scope repetition.
	EndTime *time.Time

	// Anything
	Error any

	// The start time of the workflow scope repetition.
	StartTime *time.Time

	// The status of the workflow scope repetition.
	Status *WorkflowStatus
}

OperationResultProperties - The run operation result properties.

func (OperationResultProperties) MarshalJSON

func (o OperationResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationResultProperties.

func (*OperationResultProperties) UnmarshalJSON

func (o *OperationResultProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationResultProperties.

type OperationStatus

type OperationStatus string

OperationStatus - The current status of the operation.

const (
	OperationStatusCreated    OperationStatus = "Created"
	OperationStatusFailed     OperationStatus = "Failed"
	OperationStatusInProgress OperationStatus = "InProgress"
	OperationStatusSucceeded  OperationStatus = "Succeeded"
	OperationStatusTimedOut   OperationStatus = "TimedOut"
)

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

	// The endpoints that the App Service Environment reaches the service at.
	Endpoints []*EndpointDependency
}

OutboundEnvironmentEndpoint - Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.

func (OutboundEnvironmentEndpoint) MarshalJSON

func (o OutboundEnvironmentEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OutboundEnvironmentEndpoint.

func (*OutboundEnvironmentEndpoint) UnmarshalJSON

func (o *OutboundEnvironmentEndpoint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OutboundEnvironmentEndpoint.

type OutboundEnvironmentEndpointCollection

type OutboundEnvironmentEndpointCollection struct {
	// REQUIRED; Collection of resources.
	Value []*OutboundEnvironmentEndpoint

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

OutboundEnvironmentEndpointCollection - Collection of Outbound Environment Endpoints

func (OutboundEnvironmentEndpointCollection) MarshalJSON

func (o OutboundEnvironmentEndpointCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OutboundEnvironmentEndpointCollection.

func (*OutboundEnvironmentEndpointCollection) UnmarshalJSON

func (o *OutboundEnvironmentEndpointCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OutboundEnvironmentEndpointCollection.

type ParameterType

type ParameterType string

ParameterType - The parameter type.

const (
	ParameterTypeArray        ParameterType = "Array"
	ParameterTypeBool         ParameterType = "Bool"
	ParameterTypeFloat        ParameterType = "Float"
	ParameterTypeInt          ParameterType = "Int"
	ParameterTypeNotSpecified ParameterType = "NotSpecified"
	ParameterTypeObject       ParameterType = "Object"
	ParameterTypeSecureObject ParameterType = "SecureObject"
	ParameterTypeSecureString ParameterType = "SecureString"
	ParameterTypeString       ParameterType = "String"
)

func PossibleParameterTypeValues

func PossibleParameterTypeValues() []ParameterType

PossibleParameterTypeValues returns the possible values for the ParameterType const type.

type PerfMonCounterCollection

type PerfMonCounterCollection struct {
	// REQUIRED; Collection of resources.
	Value []*PerfMonResponse

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

PerfMonCounterCollection - Collection of performance monitor counters.

func (PerfMonCounterCollection) MarshalJSON

func (p PerfMonCounterCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PerfMonCounterCollection.

func (*PerfMonCounterCollection) UnmarshalJSON

func (p *PerfMonCounterCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PerfMonCounterCollection.

type PerfMonResponse

type PerfMonResponse struct {
	// The response code.
	Code *string

	// The performance monitor counters.
	Data *PerfMonSet

	// The message.
	Message *string
}

PerfMonResponse - Performance monitor API response.

func (PerfMonResponse) MarshalJSON

func (p PerfMonResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PerfMonResponse.

func (*PerfMonResponse) UnmarshalJSON

func (p *PerfMonResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PerfMonResponse.

type PerfMonSample

type PerfMonSample struct {
	// Name of the server on which the measurement is made.
	InstanceName *string

	// Point in time for which counter was measured.
	Time *time.Time

	// Value of counter at a certain time.
	Value *float64
}

PerfMonSample - Performance monitor sample in a set.

func (PerfMonSample) MarshalJSON

func (p PerfMonSample) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PerfMonSample.

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

	// Unique key name of the counter.
	Name *string

	// Start time of the period.
	StartTime *time.Time

	// Presented time grain.
	TimeGrain *string

	// Collection of workers that are active during this time.
	Values []*PerfMonSample
}

PerfMonSet - Metric information.

func (PerfMonSet) MarshalJSON

func (p PerfMonSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PerfMonSet.

func (*PerfMonSet) UnmarshalJSON

func (p *PerfMonSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PerfMonSet.

type Plan

type Plan struct {
	// REQUIRED; Resource Location.
	Location *string

	// Extended Location.
	ExtendedLocation *ExtendedLocation

	// Kind of resource.
	Kind *string

	// AppServicePlan resource specific properties
	Properties *PlanProperties

	// Description of a SKU for a scalable resource.
	SKU *SKUDescription

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Plan - App Service plan.

func (Plan) MarshalJSON

func (p Plan) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Plan.

func (*Plan) UnmarshalJSON

func (p *Plan) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Plan.

type PlanCollection

type PlanCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Plan

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

PlanCollection - Collection of App Service plans.

func (PlanCollection) MarshalJSON

func (p PlanCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanCollection.

func (*PlanCollection) UnmarshalJSON

func (p *PlanCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlanCollection.

type PlanPatchResource

type PlanPatchResource struct {
	// Kind of resource.
	Kind *string

	// AppServicePlanPatchResource resource specific properties
	Properties *PlanPatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PlanPatchResource - ARM resource for a app service plan.

func (PlanPatchResource) MarshalJSON

func (p PlanPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanPatchResource.

func (*PlanPatchResource) UnmarshalJSON

func (p *PlanPatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlanPatchResource.

type PlanPatchResourceProperties

type PlanPatchResourceProperties struct {
	// ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku
	ElasticScaleEnabled *bool

	// The time when the server farm free offer expires.
	FreeOfferExpirationTime *time.Time

	// Specification for the App Service Environment to use for the App Service plan.
	HostingEnvironmentProfile *HostingEnvironmentProfile

	// If Hyper-V container app service plan true, false otherwise.
	HyperV *bool

	// If true, this App Service Plan owns spot instances.
	IsSpot *bool

	// Obsolete: If Hyper-V container app service plan true, false otherwise.
	IsXenon *bool

	// Specification for the Kubernetes Environment to use for the App Service plan.
	KubeEnvironmentProfile *KubeEnvironmentProfile

	// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
	MaximumElasticWorkerCount *int32

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

	// If Linux app service plan true, false otherwise.
	Reserved *bool

	// The time when the server farm expires. Valid only if it is a spot server farm.
	SpotExpirationTime *time.Time

	// Scaling worker count.
	TargetWorkerCount *int32

	// Scaling worker size ID.
	TargetWorkerSizeID *int32

	// Target worker tier assigned to the App Service plan.
	WorkerTierName *string

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

	// READ-ONLY; Geographical location for the App Service plan.
	GeoRegion *string

	// READ-ONLY; Maximum number of instances that can be assigned to this App Service plan.
	MaximumNumberOfWorkers *int32

	// READ-ONLY; Number of apps assigned to this App Service plan.
	NumberOfSites *int32

	// READ-ONLY; The number of instances that are assigned to this App Service plan.
	NumberOfWorkers *int32

	// READ-ONLY; Provisioning state of the App Service Plan.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Resource group of the App Service plan.
	ResourceGroup *string

	// READ-ONLY; App Service plan status.
	Status *StatusOptions

	// READ-ONLY; App Service plan subscription.
	Subscription *string
}

PlanPatchResourceProperties - AppServicePlanPatchResource resource specific properties

func (PlanPatchResourceProperties) MarshalJSON

func (p PlanPatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanPatchResourceProperties.

func (*PlanPatchResourceProperties) UnmarshalJSON

func (p *PlanPatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlanPatchResourceProperties.

type PlanProperties

type PlanProperties struct {
	// ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku
	ElasticScaleEnabled *bool

	// The time when the server farm free offer expires.
	FreeOfferExpirationTime *time.Time

	// Specification for the App Service Environment to use for the App Service plan.
	HostingEnvironmentProfile *HostingEnvironmentProfile

	// If Hyper-V container app service plan true, false otherwise.
	HyperV *bool

	// If true, this App Service Plan owns spot instances.
	IsSpot *bool

	// Obsolete: If Hyper-V container app service plan true, false otherwise.
	IsXenon *bool

	// Specification for the Kubernetes Environment to use for the App Service plan.
	KubeEnvironmentProfile *KubeEnvironmentProfile

	// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
	MaximumElasticWorkerCount *int32

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

	// If Linux app service plan true, false otherwise.
	Reserved *bool

	// The time when the server farm expires. Valid only if it is a spot server farm.
	SpotExpirationTime *time.Time

	// Scaling worker count.
	TargetWorkerCount *int32

	// Scaling worker size ID.
	TargetWorkerSizeID *int32

	// Target worker tier assigned to the App Service plan.
	WorkerTierName *string

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

	// READ-ONLY; Geographical location for the App Service plan.
	GeoRegion *string

	// READ-ONLY; Maximum number of instances that can be assigned to this App Service plan.
	MaximumNumberOfWorkers *int32

	// READ-ONLY; Number of apps assigned to this App Service plan.
	NumberOfSites *int32

	// READ-ONLY; The number of instances that are assigned to this App Service plan.
	NumberOfWorkers *int32

	// READ-ONLY; Provisioning state of the App Service Plan.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Resource group of the App Service plan.
	ResourceGroup *string

	// READ-ONLY; App Service plan status.
	Status *StatusOptions

	// READ-ONLY; App Service plan subscription.
	Subscription *string
}

PlanProperties - AppServicePlan resource specific properties

func (PlanProperties) MarshalJSON

func (p PlanProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlanProperties.

func (*PlanProperties) UnmarshalJSON

func (p *PlanProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlanProperties.

type PlansClient

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

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

func (client *PlansClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, name string, appServicePlan Plan, options *PlansClientBeginCreateOrUpdateOptions) (*runtime.Poller[PlansClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate - Description for Creates or updates an App Service Plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateAppServicePlan.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewPlansClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Plan = armappservice.Plan{
// 	Name: to.Ptr("testsf6141"),
// 	Type: to.Ptr("Microsoft.Web/serverfarms"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.PlanProperties{
// 		GeoRegion: to.Ptr("East US"),
// 		MaximumNumberOfWorkers: to.Ptr[int32](20),
// 		NumberOfSites: to.Ptr[int32](4),
// 		ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 		Reserved: to.Ptr(false),
// 		Status: to.Ptr(armappservice.StatusOptionsReady),
// 		TargetWorkerCount: to.Ptr[int32](0),
// 		TargetWorkerSizeID: to.Ptr[int32](0),
// 	},
// 	SKU: &armappservice.SKUDescription{
// 		Name: to.Ptr("P1"),
// 		Capacity: to.Ptr[int32](1),
// 		Family: to.Ptr("P"),
// 		Size: to.Ptr("P1"),
// 		Tier: to.Ptr("Premium"),
// 	},
// }
Output:

func (*PlansClient) CreateOrUpdateVnetRoute

func (client *PlansClient) CreateOrUpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute, options *PlansClientCreateOrUpdateVnetRouteOptions) (PlansClientCreateOrUpdateVnetRouteResponse, error)

CreateOrUpdateVnetRoute - Description for 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 2023-01-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

func (client *PlansClient) Delete(ctx context.Context, resourceGroupName string, name string, options *PlansClientDeleteOptions) (PlansClientDeleteResponse, error)

Delete - Description for Delete an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteAppServicePlan.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewPlansClient().Delete(ctx, "testrg123", "testsf6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*PlansClient) DeleteHybridConnection

func (client *PlansClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientDeleteHybridConnectionOptions) (PlansClientDeleteHybridConnectionResponse, error)

DeleteHybridConnection - Description for 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 2023-01-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

func (client *PlansClient) DeleteVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, options *PlansClientDeleteVnetRouteOptions) (PlansClientDeleteVnetRouteResponse, error)

DeleteVnetRoute - Description for Delete a Virtual Network route in an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) Get(ctx context.Context, resourceGroupName string, name string, options *PlansClientGetOptions) (PlansClientGetResponse, error)

Get - Description for Get an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetAppServicePlan.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewPlansClient().Get(ctx, "testrg123", "testsf6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Plan = armappservice.Plan{
// 	Name: to.Ptr("testsf6141"),
// 	Type: to.Ptr("Microsoft.Web/serverfarms"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.PlanProperties{
// 		GeoRegion: to.Ptr("East US"),
// 		IsSpot: to.Ptr(false),
// 		MaximumNumberOfWorkers: to.Ptr[int32](20),
// 		NumberOfSites: to.Ptr[int32](4),
// 		NumberOfWorkers: to.Ptr[int32](19),
// 		ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 		Reserved: to.Ptr(false),
// 		Status: to.Ptr(armappservice.StatusOptionsReady),
// 		TargetWorkerCount: to.Ptr[int32](0),
// 		TargetWorkerSizeID: to.Ptr[int32](0),
// 	},
// 	SKU: &armappservice.SKUDescription{
// 		Name: to.Ptr("P1"),
// 		Capacity: to.Ptr[int32](1),
// 		Family: to.Ptr("P"),
// 		Size: to.Ptr("P1"),
// 		Tier: to.Ptr("Premium"),
// 	},
// }
Output:

func (*PlansClient) GetHybridConnection

func (client *PlansClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientGetHybridConnectionOptions) (PlansClientGetHybridConnectionResponse, error)

GetHybridConnection - Description for 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 2023-01-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

func (client *PlansClient) GetHybridConnectionPlanLimit(ctx context.Context, resourceGroupName string, name string, options *PlansClientGetHybridConnectionPlanLimitOptions) (PlansClientGetHybridConnectionPlanLimitResponse, error)

GetHybridConnectionPlanLimit - Description for 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 2023-01-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

func (client *PlansClient) GetRouteForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, options *PlansClientGetRouteForVnetOptions) (PlansClientGetRouteForVnetResponse, error)

GetRouteForVnet - Description for Get a Virtual Network route in an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) GetServerFarmSKUs(ctx context.Context, resourceGroupName string, name string, options *PlansClientGetServerFarmSKUsOptions) (PlansClientGetServerFarmSKUsResponse, error)

GetServerFarmSKUs - Description for Gets all selectable SKUs for a given App Service Plan If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) GetVnetFromServerFarm(ctx context.Context, resourceGroupName string, name string, vnetName string, options *PlansClientGetVnetFromServerFarmOptions) (PlansClientGetVnetFromServerFarmResponse, error)

GetVnetFromServerFarm - Description for Get a Virtual Network associated with an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) GetVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, options *PlansClientGetVnetGatewayOptions) (PlansClientGetVnetGatewayResponse, error)

GetVnetGateway - Description for Get a Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) ListCapabilities(ctx context.Context, resourceGroupName string, name string, options *PlansClientListCapabilitiesOptions) (PlansClientListCapabilitiesResponse, error)

ListCapabilities - Description for List all capabilities of an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) ListHybridConnectionKeys(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientListHybridConnectionKeysOptions) (PlansClientListHybridConnectionKeysResponse, error)

ListHybridConnectionKeys - Description for 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 2023-01-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

func (client *PlansClient) ListRoutesForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string, options *PlansClientListRoutesForVnetOptions) (PlansClientListRoutesForVnetResponse, error)

ListRoutesForVnet - Description for 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 2023-01-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

func (client *PlansClient) ListVnets(ctx context.Context, resourceGroupName string, name string, options *PlansClientListVnetsOptions) (PlansClientListVnetsResponse, error)

ListVnets - Description for Get all Virtual Networks associated with an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) NewListByResourceGroupPager(resourceGroupName string, options *PlansClientListByResourceGroupOptions) *runtime.Pager[PlansClientListByResourceGroupResponse]

NewListByResourceGroupPager - Description for Get all App Service plans in a resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - PlansClientListByResourceGroupOptions contains the optional parameters for the PlansClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListAppServicePlansByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewPlansClient().NewListByResourceGroupPager("testrg123", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PlanCollection = armappservice.PlanCollection{
	// 	Value: []*armappservice.Plan{
	// 		{
	// 			Name: to.Ptr("testsf6141"),
	// 			Type: to.Ptr("Microsoft.Web/serverfarms"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.PlanProperties{
	// 				GeoRegion: to.Ptr("East US"),
	// 				IsSpot: to.Ptr(false),
	// 				MaximumNumberOfWorkers: to.Ptr[int32](20),
	// 				NumberOfSites: to.Ptr[int32](4),
	// 				NumberOfWorkers: to.Ptr[int32](19),
	// 				ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 				Reserved: to.Ptr(false),
	// 				Status: to.Ptr(armappservice.StatusOptionsReady),
	// 				TargetWorkerCount: to.Ptr[int32](0),
	// 				TargetWorkerSizeID: to.Ptr[int32](0),
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("P1"),
	// 				Capacity: to.Ptr[int32](1),
	// 				Family: to.Ptr("P"),
	// 				Size: to.Ptr("P1"),
	// 				Tier: to.Ptr("Premium"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("testsf7252"),
	// 			Type: to.Ptr("Microsoft.Web/serverfarms"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.PlanProperties{
	// 				GeoRegion: to.Ptr("East US"),
	// 				IsSpot: to.Ptr(false),
	// 				MaximumNumberOfWorkers: to.Ptr[int32](20),
	// 				NumberOfSites: to.Ptr[int32](4),
	// 				NumberOfWorkers: to.Ptr[int32](19),
	// 				ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 				Reserved: to.Ptr(false),
	// 				Status: to.Ptr(armappservice.StatusOptionsReady),
	// 				TargetWorkerCount: to.Ptr[int32](0),
	// 				TargetWorkerSizeID: to.Ptr[int32](0),
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("P1"),
	// 				Capacity: to.Ptr[int32](1),
	// 				Family: to.Ptr("P"),
	// 				Size: to.Ptr("P1"),
	// 				Tier: to.Ptr("Premium"),
	// 			},
	// 	}},
	// }
}
Output:

func (*PlansClient) NewListHybridConnectionsPager

func (client *PlansClient) NewListHybridConnectionsPager(resourceGroupName string, name string, options *PlansClientListHybridConnectionsOptions) *runtime.Pager[PlansClientListHybridConnectionsResponse]

NewListHybridConnectionsPager - Description for Retrieve all Hybrid Connections in use in an App Service plan.

Generated from API version 2023-01-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.NewListHybridConnectionsPager method.

func (*PlansClient) NewListPager

func (client *PlansClient) NewListPager(options *PlansClientListOptions) *runtime.Pager[PlansClientListResponse]

NewListPager - Description for Get all App Service plans for a subscription.

Generated from API version 2023-01-01

  • options - PlansClientListOptions contains the optional parameters for the PlansClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListAppServicePlans.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewPlansClient().NewListPager(&armappservice.PlansClientListOptions{Detailed: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PlanCollection = armappservice.PlanCollection{
	// 	Value: []*armappservice.Plan{
	// 		{
	// 			Name: to.Ptr("testsf6141"),
	// 			Type: to.Ptr("Microsoft.Web/serverfarms"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.PlanProperties{
	// 				GeoRegion: to.Ptr("East US"),
	// 				IsSpot: to.Ptr(false),
	// 				MaximumNumberOfWorkers: to.Ptr[int32](20),
	// 				NumberOfSites: to.Ptr[int32](4),
	// 				NumberOfWorkers: to.Ptr[int32](19),
	// 				ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 				Reserved: to.Ptr(false),
	// 				Status: to.Ptr(armappservice.StatusOptionsReady),
	// 				TargetWorkerCount: to.Ptr[int32](0),
	// 				TargetWorkerSizeID: to.Ptr[int32](0),
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("P1"),
	// 				Capacity: to.Ptr[int32](1),
	// 				Family: to.Ptr("P"),
	// 				Size: to.Ptr("P1"),
	// 				Tier: to.Ptr("Premium"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("testsf7252"),
	// 			Type: to.Ptr("Microsoft.Web/serverfarms"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.PlanProperties{
	// 				GeoRegion: to.Ptr("East US"),
	// 				IsSpot: to.Ptr(false),
	// 				MaximumNumberOfWorkers: to.Ptr[int32](20),
	// 				NumberOfSites: to.Ptr[int32](4),
	// 				NumberOfWorkers: to.Ptr[int32](19),
	// 				ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
	// 				Reserved: to.Ptr(false),
	// 				Status: to.Ptr(armappservice.StatusOptionsReady),
	// 				TargetWorkerCount: to.Ptr[int32](0),
	// 				TargetWorkerSizeID: to.Ptr[int32](0),
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("P1"),
	// 				Capacity: to.Ptr[int32](1),
	// 				Family: to.Ptr("P"),
	// 				Size: to.Ptr("P1"),
	// 				Tier: to.Ptr("Premium"),
	// 			},
	// 	}},
	// }
}
Output:

func (*PlansClient) NewListUsagesPager

func (client *PlansClient) NewListUsagesPager(resourceGroupName string, name string, options *PlansClientListUsagesOptions) *runtime.Pager[PlansClientListUsagesResponse]

NewListUsagesPager - Description for Gets server farm usage information

Generated from API version 2023-01-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.NewListUsagesPager method.

func (*PlansClient) NewListWebAppsByHybridConnectionPager

func (client *PlansClient) NewListWebAppsByHybridConnectionPager(resourceGroupName string, name string, namespaceName string, relayName string, options *PlansClientListWebAppsByHybridConnectionOptions) *runtime.Pager[PlansClientListWebAppsByHybridConnectionResponse]

NewListWebAppsByHybridConnectionPager - Description for Get all apps that use a Hybrid Connection in an App Service Plan.

Generated from API version 2023-01-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.NewListWebAppsByHybridConnectionPager method.

func (*PlansClient) NewListWebAppsPager

func (client *PlansClient) NewListWebAppsPager(resourceGroupName string, name string, options *PlansClientListWebAppsOptions) *runtime.Pager[PlansClientListWebAppsResponse]

NewListWebAppsPager - Description for Get all apps associated with an App Service plan.

Generated from API version 2023-01-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.NewListWebAppsPager method.

func (*PlansClient) RebootWorker

func (client *PlansClient) RebootWorker(ctx context.Context, resourceGroupName string, name string, workerName string, options *PlansClientRebootWorkerOptions) (PlansClientRebootWorkerResponse, error)

RebootWorker - Description for Reboot a worker machine in an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) RestartWebApps(ctx context.Context, resourceGroupName string, name string, options *PlansClientRestartWebAppsOptions) (PlansClientRestartWebAppsResponse, error)

RestartWebApps - Description for Restart all apps in an App Service plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) Update(ctx context.Context, resourceGroupName string, name string, appServicePlan PlanPatchResource, options *PlansClientUpdateOptions) (PlansClientUpdateResponse, error)

Update - Description for Creates or updates an App Service Plan. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PatchAppServicePlan.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewPlansClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Plan = armappservice.Plan{
// 	Name: to.Ptr("testsf6141"),
// 	Type: to.Ptr("Microsoft.Web/serverfarms"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.PlanProperties{
// 		GeoRegion: to.Ptr("East US"),
// 		MaximumNumberOfWorkers: to.Ptr[int32](20),
// 		NumberOfSites: to.Ptr[int32](4),
// 		ProvisioningState: to.Ptr(armappservice.ProvisioningStateSucceeded),
// 		Reserved: to.Ptr(false),
// 		Status: to.Ptr(armappservice.StatusOptionsReady),
// 		TargetWorkerCount: to.Ptr[int32](0),
// 		TargetWorkerSizeID: to.Ptr[int32](0),
// 	},
// 	SKU: &armappservice.SKUDescription{
// 		Name: to.Ptr("P1"),
// 		Capacity: to.Ptr[int32](1),
// 		Family: to.Ptr("P"),
// 		Size: to.Ptr("P1"),
// 		Tier: to.Ptr("Premium"),
// 	},
// }
Output:

func (*PlansClient) UpdateVnetGateway

func (client *PlansClient) UpdateVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, options *PlansClientUpdateVnetGatewayOptions) (PlansClientUpdateVnetGatewayResponse, error)

UpdateVnetGateway - Description for Update a Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *PlansClient) UpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute, options *PlansClientUpdateVnetRouteOptions) (PlansClientUpdateVnetRouteResponse, error)

UpdateVnetRoute - Description for 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 2023-01-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

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

PlansClientBeginCreateOrUpdateOptions contains the optional parameters for the PlansClient.BeginCreateOrUpdate method.

type PlansClientCreateOrUpdateResponse

type PlansClientCreateOrUpdateResponse struct {
	// App Service plan.
	Plan
}

PlansClientCreateOrUpdateResponse contains the response from method PlansClient.BeginCreateOrUpdate.

type PlansClientCreateOrUpdateVnetRouteOptions

type PlansClientCreateOrUpdateVnetRouteOptions struct {
}

PlansClientCreateOrUpdateVnetRouteOptions contains the optional parameters for the PlansClient.CreateOrUpdateVnetRoute method.

type PlansClientCreateOrUpdateVnetRouteResponse

type PlansClientCreateOrUpdateVnetRouteResponse struct {
	// Virtual Network route contract used to pass routing information for a Virtual Network.
	VnetRoute
}

PlansClientCreateOrUpdateVnetRouteResponse contains the response from method PlansClient.CreateOrUpdateVnetRoute.

type PlansClientDeleteHybridConnectionOptions

type PlansClientDeleteHybridConnectionOptions struct {
}

PlansClientDeleteHybridConnectionOptions contains the optional parameters for the PlansClient.DeleteHybridConnection method.

type PlansClientDeleteHybridConnectionResponse

type PlansClientDeleteHybridConnectionResponse struct {
}

PlansClientDeleteHybridConnectionResponse contains the response from method PlansClient.DeleteHybridConnection.

type PlansClientDeleteOptions

type PlansClientDeleteOptions struct {
}

PlansClientDeleteOptions contains the optional parameters for the PlansClient.Delete method.

type PlansClientDeleteResponse

type PlansClientDeleteResponse struct {
}

PlansClientDeleteResponse contains the response from method PlansClient.Delete.

type PlansClientDeleteVnetRouteOptions

type PlansClientDeleteVnetRouteOptions struct {
}

PlansClientDeleteVnetRouteOptions contains the optional parameters for the PlansClient.DeleteVnetRoute method.

type PlansClientDeleteVnetRouteResponse

type PlansClientDeleteVnetRouteResponse struct {
}

PlansClientDeleteVnetRouteResponse contains the response from method PlansClient.DeleteVnetRoute.

type PlansClientGetHybridConnectionOptions

type PlansClientGetHybridConnectionOptions struct {
}

PlansClientGetHybridConnectionOptions contains the optional parameters for the PlansClient.GetHybridConnection method.

type PlansClientGetHybridConnectionPlanLimitOptions

type PlansClientGetHybridConnectionPlanLimitOptions struct {
}

PlansClientGetHybridConnectionPlanLimitOptions contains the optional parameters for the PlansClient.GetHybridConnectionPlanLimit method.

type PlansClientGetHybridConnectionPlanLimitResponse

type PlansClientGetHybridConnectionPlanLimitResponse struct {
	// Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.
	HybridConnectionLimits
}

PlansClientGetHybridConnectionPlanLimitResponse contains the response from method PlansClient.GetHybridConnectionPlanLimit.

type PlansClientGetHybridConnectionResponse

type PlansClientGetHybridConnectionResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

PlansClientGetHybridConnectionResponse contains the response from method PlansClient.GetHybridConnection.

type PlansClientGetOptions

type PlansClientGetOptions struct {
}

PlansClientGetOptions contains the optional parameters for the PlansClient.Get method.

type PlansClientGetResponse

type PlansClientGetResponse struct {
	// App Service plan.
	Plan
}

PlansClientGetResponse contains the response from method PlansClient.Get.

type PlansClientGetRouteForVnetOptions

type PlansClientGetRouteForVnetOptions struct {
}

PlansClientGetRouteForVnetOptions contains the optional parameters for the PlansClient.GetRouteForVnet method.

type PlansClientGetRouteForVnetResponse

type PlansClientGetRouteForVnetResponse struct {
	// Array of VnetRoute
	VnetRouteArray []*VnetRoute
}

PlansClientGetRouteForVnetResponse contains the response from method PlansClient.GetRouteForVnet.

type PlansClientGetServerFarmSKUsOptions

type PlansClientGetServerFarmSKUsOptions struct {
}

PlansClientGetServerFarmSKUsOptions contains the optional parameters for the PlansClient.GetServerFarmSKUs method.

type PlansClientGetServerFarmSKUsResponse

type PlansClientGetServerFarmSKUsResponse struct {
	// Anything
	Interface any
}

PlansClientGetServerFarmSKUsResponse contains the response from method PlansClient.GetServerFarmSKUs.

type PlansClientGetVnetFromServerFarmOptions

type PlansClientGetVnetFromServerFarmOptions struct {
}

PlansClientGetVnetFromServerFarmOptions contains the optional parameters for the PlansClient.GetVnetFromServerFarm method.

type PlansClientGetVnetFromServerFarmResponse

type PlansClientGetVnetFromServerFarmResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

PlansClientGetVnetFromServerFarmResponse contains the response from method PlansClient.GetVnetFromServerFarm.

type PlansClientGetVnetGatewayOptions

type PlansClientGetVnetGatewayOptions struct {
}

PlansClientGetVnetGatewayOptions contains the optional parameters for the PlansClient.GetVnetGateway method.

type PlansClientGetVnetGatewayResponse

type PlansClientGetVnetGatewayResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

PlansClientGetVnetGatewayResponse contains the response from method PlansClient.GetVnetGateway.

type PlansClientListByResourceGroupOptions

type PlansClientListByResourceGroupOptions struct {
}

PlansClientListByResourceGroupOptions contains the optional parameters for the PlansClient.NewListByResourceGroupPager method.

type PlansClientListByResourceGroupResponse

type PlansClientListByResourceGroupResponse struct {
	// Collection of App Service plans.
	PlanCollection
}

PlansClientListByResourceGroupResponse contains the response from method PlansClient.NewListByResourceGroupPager.

type PlansClientListCapabilitiesOptions

type PlansClientListCapabilitiesOptions struct {
}

PlansClientListCapabilitiesOptions contains the optional parameters for the PlansClient.ListCapabilities method.

type PlansClientListCapabilitiesResponse

type PlansClientListCapabilitiesResponse struct {
	// Array of Capability
	CapabilityArray []*Capability
}

PlansClientListCapabilitiesResponse contains the response from method PlansClient.ListCapabilities.

type PlansClientListHybridConnectionKeysOptions

type PlansClientListHybridConnectionKeysOptions struct {
}

PlansClientListHybridConnectionKeysOptions contains the optional parameters for the PlansClient.ListHybridConnectionKeys method.

type PlansClientListHybridConnectionKeysResponse

type PlansClientListHybridConnectionKeysResponse struct {
	// Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.
	HybridConnectionKey
}

PlansClientListHybridConnectionKeysResponse contains the response from method PlansClient.ListHybridConnectionKeys.

type PlansClientListHybridConnectionsOptions

type PlansClientListHybridConnectionsOptions struct {
}

PlansClientListHybridConnectionsOptions contains the optional parameters for the PlansClient.NewListHybridConnectionsPager method.

type PlansClientListHybridConnectionsResponse

type PlansClientListHybridConnectionsResponse struct {
	// Collection of hostname bindings.
	HybridConnectionCollection
}

PlansClientListHybridConnectionsResponse contains the response from method PlansClient.NewListHybridConnectionsPager.

type PlansClientListOptions

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.NewListPager method.

type PlansClientListResponse

type PlansClientListResponse struct {
	// Collection of App Service plans.
	PlanCollection
}

PlansClientListResponse contains the response from method PlansClient.NewListPager.

type PlansClientListRoutesForVnetOptions

type PlansClientListRoutesForVnetOptions struct {
}

PlansClientListRoutesForVnetOptions contains the optional parameters for the PlansClient.ListRoutesForVnet method.

type PlansClientListRoutesForVnetResponse

type PlansClientListRoutesForVnetResponse struct {
	// Array of VnetRoute
	VnetRouteArray []*VnetRoute
}

PlansClientListRoutesForVnetResponse contains the response from method PlansClient.ListRoutesForVnet.

type PlansClientListUsagesOptions

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.NewListUsagesPager method.

type PlansClientListUsagesResponse

type PlansClientListUsagesResponse struct {
	// Collection of CSM usage quotas.
	CsmUsageQuotaCollection
}

PlansClientListUsagesResponse contains the response from method PlansClient.NewListUsagesPager.

type PlansClientListVnetsOptions

type PlansClientListVnetsOptions struct {
}

PlansClientListVnetsOptions contains the optional parameters for the PlansClient.ListVnets method.

type PlansClientListVnetsResponse

type PlansClientListVnetsResponse struct {
	// Array of VnetInfoResource
	VnetInfoResourceArray []*VnetInfoResource
}

PlansClientListVnetsResponse contains the response from method PlansClient.ListVnets.

type PlansClientListWebAppsByHybridConnectionOptions

type PlansClientListWebAppsByHybridConnectionOptions struct {
}

PlansClientListWebAppsByHybridConnectionOptions contains the optional parameters for the PlansClient.NewListWebAppsByHybridConnectionPager method.

type PlansClientListWebAppsByHybridConnectionResponse

type PlansClientListWebAppsByHybridConnectionResponse struct {
	// Collection of resources.
	ResourceCollection
}

PlansClientListWebAppsByHybridConnectionResponse contains the response from method PlansClient.NewListWebAppsByHybridConnectionPager.

type PlansClientListWebAppsOptions

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.NewListWebAppsPager method.

type PlansClientListWebAppsResponse

type PlansClientListWebAppsResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

PlansClientListWebAppsResponse contains the response from method PlansClient.NewListWebAppsPager.

type PlansClientRebootWorkerOptions

type PlansClientRebootWorkerOptions struct {
}

PlansClientRebootWorkerOptions contains the optional parameters for the PlansClient.RebootWorker method.

type PlansClientRebootWorkerResponse

type PlansClientRebootWorkerResponse struct {
}

PlansClientRebootWorkerResponse contains the response from method PlansClient.RebootWorker.

type PlansClientRestartWebAppsOptions

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

type PlansClientRestartWebAppsResponse struct {
}

PlansClientRestartWebAppsResponse contains the response from method PlansClient.RestartWebApps.

type PlansClientUpdateOptions

type PlansClientUpdateOptions struct {
}

PlansClientUpdateOptions contains the optional parameters for the PlansClient.Update method.

type PlansClientUpdateResponse

type PlansClientUpdateResponse struct {
	// App Service plan.
	Plan
}

PlansClientUpdateResponse contains the response from method PlansClient.Update.

type PlansClientUpdateVnetGatewayOptions

type PlansClientUpdateVnetGatewayOptions struct {
}

PlansClientUpdateVnetGatewayOptions contains the optional parameters for the PlansClient.UpdateVnetGateway method.

type PlansClientUpdateVnetGatewayResponse

type PlansClientUpdateVnetGatewayResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

PlansClientUpdateVnetGatewayResponse contains the response from method PlansClient.UpdateVnetGateway.

type PlansClientUpdateVnetRouteOptions

type PlansClientUpdateVnetRouteOptions struct {
}

PlansClientUpdateVnetRouteOptions contains the optional parameters for the PlansClient.UpdateVnetRoute method.

type PlansClientUpdateVnetRouteResponse

type PlansClientUpdateVnetRouteResponse struct {
	// Virtual Network route contract used to pass routing information for a Virtual Network.
	VnetRoute
}

PlansClientUpdateVnetRouteResponse contains the response from method PlansClient.UpdateVnetRoute.

type PremierAddOn

type PremierAddOn struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// PremierAddOn resource specific properties
	Properties *PremierAddOnProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PremierAddOn - Premier add-on.

func (PremierAddOn) MarshalJSON

func (p PremierAddOn) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOn.

func (*PremierAddOn) UnmarshalJSON

func (p *PremierAddOn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOn.

type PremierAddOnOffer

type PremierAddOnOffer struct {
	// Kind of resource.
	Kind *string

	// PremierAddOnOffer resource specific properties
	Properties *PremierAddOnOfferProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PremierAddOnOffer - Premier add-on offer.

func (PremierAddOnOffer) MarshalJSON

func (p PremierAddOnOffer) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnOffer.

func (*PremierAddOnOffer) UnmarshalJSON

func (p *PremierAddOnOffer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOnOffer.

type PremierAddOnOfferCollection

type PremierAddOnOfferCollection struct {
	// REQUIRED; Collection of resources.
	Value []*PremierAddOnOffer

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

PremierAddOnOfferCollection - Collection of premier add-on offers.

func (PremierAddOnOfferCollection) MarshalJSON

func (p PremierAddOnOfferCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnOfferCollection.

func (*PremierAddOnOfferCollection) UnmarshalJSON

func (p *PremierAddOnOfferCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOnOfferCollection.

type PremierAddOnOfferProperties

type PremierAddOnOfferProperties struct {
	// Legal terms URL.
	LegalTermsURL *string

	// Marketplace offer.
	MarketplaceOffer *string

	// Marketplace publisher.
	MarketplacePublisher *string

	// Privacy policy URL.
	PrivacyPolicyURL *string

	// Premier add on offer Product.
	Product *string

	// true if promotion code is required; otherwise, false.
	PromoCodeRequired *bool

	// Premier add on offer Quota.
	Quota *int32

	// Premier add on SKU.
	SKU *string

	// Premier add on offer Vendor.
	Vendor *string

	// App Service plans this offer is restricted to.
	WebHostingPlanRestrictions *AppServicePlanRestrictions
}

PremierAddOnOfferProperties - PremierAddOnOffer resource specific properties

func (PremierAddOnOfferProperties) MarshalJSON

func (p PremierAddOnOfferProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnOfferProperties.

func (*PremierAddOnOfferProperties) UnmarshalJSON

func (p *PremierAddOnOfferProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOnOfferProperties.

type PremierAddOnPatchResource

type PremierAddOnPatchResource struct {
	// Kind of resource.
	Kind *string

	// PremierAddOnPatchResource resource specific properties
	Properties *PremierAddOnPatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PremierAddOnPatchResource - ARM resource for a PremierAddOn.

func (PremierAddOnPatchResource) MarshalJSON

func (p PremierAddOnPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnPatchResource.

func (*PremierAddOnPatchResource) UnmarshalJSON

func (p *PremierAddOnPatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOnPatchResource.

type PremierAddOnPatchResourceProperties

type PremierAddOnPatchResourceProperties struct {
	// Premier add on Marketplace offer.
	MarketplaceOffer *string

	// Premier add on Marketplace publisher.
	MarketplacePublisher *string

	// Premier add on Product.
	Product *string

	// Premier add on SKU.
	SKU *string

	// Premier add on Vendor.
	Vendor *string
}

PremierAddOnPatchResourceProperties - PremierAddOnPatchResource resource specific properties

func (PremierAddOnPatchResourceProperties) MarshalJSON

func (p PremierAddOnPatchResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnPatchResourceProperties.

func (*PremierAddOnPatchResourceProperties) UnmarshalJSON

func (p *PremierAddOnPatchResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOnPatchResourceProperties.

type PremierAddOnProperties

type PremierAddOnProperties struct {
	// Premier add on Marketplace offer.
	MarketplaceOffer *string

	// Premier add on Marketplace publisher.
	MarketplacePublisher *string

	// Premier add on Product.
	Product *string

	// Premier add on SKU.
	SKU *string

	// Premier add on Vendor.
	Vendor *string
}

PremierAddOnProperties - PremierAddOn resource specific properties

func (PremierAddOnProperties) MarshalJSON

func (p PremierAddOnProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PremierAddOnProperties.

func (*PremierAddOnProperties) UnmarshalJSON

func (p *PremierAddOnProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PremierAddOnProperties.

type PrivateAccess

type PrivateAccess struct {
	// Kind of resource.
	Kind *string

	// PrivateAccess resource specific properties
	Properties *PrivateAccessProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PrivateAccess - Description of the parameters of Private Access for a Web Site.

func (PrivateAccess) MarshalJSON

func (p PrivateAccess) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateAccess.

func (*PrivateAccess) UnmarshalJSON

func (p *PrivateAccess) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateAccess.

type PrivateAccessProperties

type PrivateAccessProperties struct {
	// Whether private access is enabled or not.
	Enabled *bool

	// The Virtual Networks (and subnets) allowed to access the site privately.
	VirtualNetworks []*PrivateAccessVirtualNetwork
}

PrivateAccessProperties - PrivateAccess resource specific properties

func (PrivateAccessProperties) MarshalJSON

func (p PrivateAccessProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateAccessProperties.

func (*PrivateAccessProperties) UnmarshalJSON

func (p *PrivateAccessProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateAccessProperties.

type PrivateAccessSubnet

type PrivateAccessSubnet struct {
	// The key (ID) of the subnet.
	Key *int32

	// The name of the subnet.
	Name *string
}

PrivateAccessSubnet - Description of a Virtual Network subnet that is useable for private site access.

func (PrivateAccessSubnet) MarshalJSON

func (p PrivateAccessSubnet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateAccessSubnet.

func (*PrivateAccessSubnet) UnmarshalJSON

func (p *PrivateAccessSubnet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateAccessSubnet.

type PrivateAccessVirtualNetwork

type PrivateAccessVirtualNetwork struct {
	// The key (ID) of the Virtual Network.
	Key *int32

	// The name of the Virtual Network.
	Name *string

	// The ARM uri of the Virtual Network
	ResourceID *string

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

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.

func (*PrivateAccessVirtualNetwork) UnmarshalJSON

func (p *PrivateAccessVirtualNetwork) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateAccessVirtualNetwork.

type PrivateEndpointConnectionCollection

type PrivateEndpointConnectionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*RemotePrivateEndpointConnectionARMResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

func (PrivateEndpointConnectionCollection) MarshalJSON

func (p PrivateEndpointConnectionCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnectionCollection.

func (*PrivateEndpointConnectionCollection) UnmarshalJSON

func (p *PrivateEndpointConnectionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateEndpointConnectionCollection.

type PrivateLinkConnectionApprovalRequest

type PrivateLinkConnectionApprovalRequest struct {
	// The state of a private link connection
	PrivateLinkServiceConnectionState *PrivateLinkConnectionState
}

PrivateLinkConnectionApprovalRequest - A request to approve or reject a private endpoint connection

func (PrivateLinkConnectionApprovalRequest) MarshalJSON

func (p PrivateLinkConnectionApprovalRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkConnectionApprovalRequest.

func (*PrivateLinkConnectionApprovalRequest) UnmarshalJSON

func (p *PrivateLinkConnectionApprovalRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkConnectionApprovalRequest.

type PrivateLinkConnectionApprovalRequestResource

type PrivateLinkConnectionApprovalRequestResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *PrivateLinkConnectionApprovalRequest

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PrivateLinkConnectionApprovalRequestResource - Private Endpoint Connection Approval ARM resource.

func (PrivateLinkConnectionApprovalRequestResource) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type PrivateLinkConnectionApprovalRequestResource.

func (*PrivateLinkConnectionApprovalRequestResource) UnmarshalJSON

func (p *PrivateLinkConnectionApprovalRequestResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkConnectionApprovalRequestResource.

type PrivateLinkConnectionState

type PrivateLinkConnectionState struct {
	// ActionsRequired for a private link connection
	ActionsRequired *string

	// Description of a private link connection
	Description *string

	// Status of a private link connection
	Status *string
}

PrivateLinkConnectionState - The state of a private link connection

func (PrivateLinkConnectionState) MarshalJSON

func (p PrivateLinkConnectionState) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkConnectionState.

func (*PrivateLinkConnectionState) UnmarshalJSON

func (p *PrivateLinkConnectionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkConnectionState.

type PrivateLinkResource

type PrivateLinkResource struct {
	// REQUIRED
	ID *string

	// REQUIRED; Name of a private link resource
	Name *string

	// REQUIRED; Properties of a private link resource
	Properties *PrivateLinkResourceProperties

	// REQUIRED
	Type *string
}

PrivateLinkResource - A private link resource

func (PrivateLinkResource) MarshalJSON

func (p PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (p *PrivateLinkResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkResource.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// READ-ONLY; GroupId of a private link resource
	GroupID *string

	// READ-ONLY; RequiredMembers of a private link resource
	RequiredMembers []*string

	// READ-ONLY; RequiredZoneNames of a private link resource
	RequiredZoneNames []*string
}

PrivateLinkResourceProperties - Properties of a private link resource

func (PrivateLinkResourceProperties) MarshalJSON

func (p PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceProperties.

func (*PrivateLinkResourceProperties) UnmarshalJSON

func (p *PrivateLinkResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkResourceProperties.

type PrivateLinkResourcesWrapper

type PrivateLinkResourcesWrapper struct {
	// REQUIRED
	Value []*PrivateLinkResource
}

PrivateLinkResourcesWrapper - Wrapper for a collection of private link resources

func (PrivateLinkResourcesWrapper) MarshalJSON

func (p PrivateLinkResourcesWrapper) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourcesWrapper.

func (*PrivateLinkResourcesWrapper) UnmarshalJSON

func (p *PrivateLinkResourcesWrapper) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkResourcesWrapper.

type ProcessInfo

type ProcessInfo struct {
	// Kind of resource.
	Kind *string

	// ProcessInfo resource specific properties
	Properties *ProcessInfoProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ProcessInfo - Process Information.

func (ProcessInfo) MarshalJSON

func (p ProcessInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessInfo.

func (*ProcessInfo) UnmarshalJSON

func (p *ProcessInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessInfo.

type ProcessInfoCollection

type ProcessInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ProcessInfo

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ProcessInfoCollection - Collection of Kudu process information elements.

func (ProcessInfoCollection) MarshalJSON

func (p ProcessInfoCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessInfoCollection.

func (*ProcessInfoCollection) UnmarshalJSON

func (p *ProcessInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessInfoCollection.

type ProcessInfoProperties

type ProcessInfoProperties struct {
	// Child process list.
	Children []*string

	// Command line.
	CommandLine *string

	// Deployment name.
	DeploymentName *string

	// Description of process.
	Description *string

	// List of environment variables.
	EnvironmentVariables map[string]*string

	// File name of this process.
	FileName *string

	// Handle count.
	HandleCount *int32

	// HRef URI.
	Href *string

	// IIS Profile timeout (seconds).
	IisProfileTimeoutInSeconds *float64

	// Is the IIS Profile running?
	IsIisProfileRunning *bool

	// Is profile running?
	IsProfileRunning *bool

	// Is this the SCM site?
	IsScmSite *bool

	// Is this a Web Job?
	IsWebjob *bool

	// Minidump URI.
	Minidump *string

	// Module count.
	ModuleCount *int32

	// List of modules.
	Modules []*ProcessModuleInfo

	// Non-paged system memory.
	NonPagedSystemMemory *int64

	// List of open files.
	OpenFileHandles []*string

	// Paged memory.
	PagedMemory *int64

	// Paged system memory.
	PagedSystemMemory *int64

	// Parent process.
	Parent *string

	// Peak paged memory.
	PeakPagedMemory *int64

	// Peak virtual memory usage.
	PeakVirtualMemory *int64

	// Peak working set.
	PeakWorkingSet *int64

	// Private memory size.
	PrivateMemory *int64

	// Privileged CPU time.
	PrivilegedCPUTime *string

	// Start time.
	StartTime *time.Time

	// Thread count.
	ThreadCount *int32

	// Thread list.
	Threads []*ProcessThreadInfo

	// Time stamp.
	TimeStamp *time.Time

	// Total CPU time.
	TotalCPUTime *string

	// User CPU time.
	UserCPUTime *string

	// User name.
	UserName *string

	// Virtual memory size.
	VirtualMemory *int64

	// Working set.
	WorkingSet *int64

	// READ-ONLY; ARM Identifier for deployment.
	Identifier *int32
}

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

	// ProcessModuleInfo resource specific properties
	Properties *ProcessModuleInfoProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ProcessModuleInfo - Process Module Information.

func (ProcessModuleInfo) MarshalJSON

func (p ProcessModuleInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessModuleInfo.

func (*ProcessModuleInfo) UnmarshalJSON

func (p *ProcessModuleInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessModuleInfo.

type ProcessModuleInfoCollection

type ProcessModuleInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ProcessModuleInfo

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ProcessModuleInfoCollection - Collection of Kudu thread information elements.

func (ProcessModuleInfoCollection) MarshalJSON

func (p ProcessModuleInfoCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessModuleInfoCollection.

func (*ProcessModuleInfoCollection) UnmarshalJSON

func (p *ProcessModuleInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessModuleInfoCollection.

type ProcessModuleInfoProperties

type ProcessModuleInfoProperties struct {
	// Base address. Used as module identifier in ARM resource URI.
	BaseAddress *string

	// File description.
	FileDescription *string

	// File name.
	FileName *string

	// File path.
	FilePath *string

	// File version.
	FileVersion *string

	// HRef URI.
	Href *string

	// Is debug?
	IsDebug *bool

	// Module language (locale).
	Language *string

	// Module memory size.
	ModuleMemorySize *int32

	// Product name.
	Product *string

	// Product version.
	ProductVersion *string
}

ProcessModuleInfoProperties - ProcessModuleInfo resource specific properties

func (ProcessModuleInfoProperties) MarshalJSON

func (p ProcessModuleInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessModuleInfoProperties.

func (*ProcessModuleInfoProperties) UnmarshalJSON

func (p *ProcessModuleInfoProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessModuleInfoProperties.

type ProcessThreadInfo

type ProcessThreadInfo struct {
	// Kind of resource.
	Kind *string

	// ProcessThreadInfo resource specific properties
	Properties *ProcessThreadInfoProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ProcessThreadInfo - Process Thread Information.

func (ProcessThreadInfo) MarshalJSON

func (p ProcessThreadInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessThreadInfo.

func (*ProcessThreadInfo) UnmarshalJSON

func (p *ProcessThreadInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessThreadInfo.

type ProcessThreadInfoCollection

type ProcessThreadInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ProcessThreadInfo

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ProcessThreadInfoCollection - Collection of Kudu thread information elements.

func (ProcessThreadInfoCollection) MarshalJSON

func (p ProcessThreadInfoCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessThreadInfoCollection.

func (*ProcessThreadInfoCollection) UnmarshalJSON

func (p *ProcessThreadInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessThreadInfoCollection.

type ProcessThreadInfoProperties

type ProcessThreadInfoProperties struct {
	// Base priority.
	BasePriority *int32

	// Current thread priority.
	CurrentPriority *int32

	// HRef URI.
	Href *string

	// Thread priority level.
	PriorityLevel *string

	// Process URI.
	Process *string

	// Start address.
	StartAddress *string

	// Start time.
	StartTime *time.Time

	// Thread state.
	State *string

	// Total processor time.
	TotalProcessorTime *string

	// User processor time.
	UserProcessorTime *string

	// Wait reason.
	WaitReason *string

	// READ-ONLY; Site extension ID.
	Identifier *int32
}

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

NewGetAvailableStacksOnPremPager - Description for Get available application frameworks and their versions

Generated from API version 2023-01-01

  • options - ProviderClientGetAvailableStacksOnPremOptions contains the optional parameters for the ProviderClient.NewGetAvailableStacksOnPremPager method.

func (*ProviderClient) NewGetAvailableStacksPager

NewGetAvailableStacksPager - Description for Get available application frameworks and their versions

Generated from API version 2023-01-01

  • options - ProviderClientGetAvailableStacksOptions contains the optional parameters for the ProviderClient.NewGetAvailableStacksPager method.

func (*ProviderClient) NewGetFunctionAppStacksForLocationPager

NewGetFunctionAppStacksForLocationPager - Description for Get available Function app frameworks and their versions for location

Generated from API version 2023-01-01

  • location - Function App stack location.
  • options - ProviderClientGetFunctionAppStacksForLocationOptions contains the optional parameters for the ProviderClient.NewGetFunctionAppStacksForLocationPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetFunctionAppStacksForLocation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewProviderClient().NewGetFunctionAppStacksForLocationPager("westus", &armappservice.ProviderClientGetFunctionAppStacksForLocationOptions{StackOsType: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.FunctionAppStackCollection = armappservice.FunctionAppStackCollection{
	// 	Value: []*armappservice.FunctionAppStack{
	// 		{
	// 			Name: to.Ptr("dotnet"),
	// 			Type: to.Ptr("Microsoft.Web/locations/functionAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/functionAppStacks/dotnet"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.FunctionAppStackProperties{
	// 				DisplayText: to.Ptr(".NET"),
	// 				MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 3"),
	// 						MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 3.1"),
	// 								StackSettings: &armappservice.FunctionAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										AppSettingsDictionary: map[string]*string{
	// 											"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1.301"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("dotnet|3.1"),
	// 										SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 											LinuxFxVersion: to.Ptr("dotnet|3.1"),
	// 											Use32BitWorkerProcess: to.Ptr(false),
	// 										},
	// 										SupportedFunctionsExtensionVersions: []*string{
	// 											to.Ptr("~3")},
	// 										},
	// 										WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 											AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 												IsSupported: to.Ptr(true),
	// 											},
	// 											AppSettingsDictionary: map[string]*string{
	// 												"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 											},
	// 											GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 												IsSupported: to.Ptr(true),
	// 												SupportedVersion: to.Ptr("3.1.301"),
	// 											},
	// 											RemoteDebuggingSupported: to.Ptr(false),
	// 											RuntimeVersion: to.Ptr("3.1"),
	// 											SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 												Use32BitWorkerProcess: to.Ptr(true),
	// 											},
	// 											SupportedFunctionsExtensionVersions: []*string{
	// 												to.Ptr("~3")},
	// 											},
	// 										},
	// 										Value: to.Ptr("3.1"),
	// 								}},
	// 								Value: to.Ptr("3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2"),
	// 								MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 									{
	// 										DisplayText: to.Ptr(".NET Core 2.2"),
	// 										StackSettings: &armappservice.FunctionAppRuntimes{
	// 											LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 												AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 													IsSupported: to.Ptr(true),
	// 												},
	// 												AppSettingsDictionary: map[string]*string{
	// 													"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 												},
	// 												GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 													IsSupported: to.Ptr(true),
	// 													SupportedVersion: to.Ptr("2.2.207"),
	// 												},
	// 												RemoteDebuggingSupported: to.Ptr(false),
	// 												RuntimeVersion: to.Ptr("dotnet|2.2"),
	// 												SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 													LinuxFxVersion: to.Ptr("dotnet|2.2"),
	// 													Use32BitWorkerProcess: to.Ptr(false),
	// 												},
	// 												SupportedFunctionsExtensionVersions: []*string{
	// 													to.Ptr("~2")},
	// 												},
	// 												WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 													AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 														IsSupported: to.Ptr(true),
	// 													},
	// 													AppSettingsDictionary: map[string]*string{
	// 														"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 													},
	// 													GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 														IsSupported: to.Ptr(true),
	// 														SupportedVersion: to.Ptr("2.2.207"),
	// 													},
	// 													RemoteDebuggingSupported: to.Ptr(false),
	// 													RuntimeVersion: to.Ptr("2.2"),
	// 													SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 														Use32BitWorkerProcess: to.Ptr(true),
	// 													},
	// 													SupportedFunctionsExtensionVersions: []*string{
	// 														to.Ptr("~2")},
	// 													},
	// 												},
	// 												Value: to.Ptr("2.2"),
	// 										}},
	// 										Value: to.Ptr("2"),
	// 									},
	// 									{
	// 										DisplayText: to.Ptr(".NET Framework 4"),
	// 										MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 											{
	// 												DisplayText: to.Ptr(".NET Framework 4.7"),
	// 												StackSettings: &armappservice.FunctionAppRuntimes{
	// 													WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 														AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 															IsSupported: to.Ptr(true),
	// 														},
	// 														AppSettingsDictionary: map[string]*string{
	// 														},
	// 														GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 															IsSupported: to.Ptr(false),
	// 														},
	// 														RemoteDebuggingSupported: to.Ptr(false),
	// 														RuntimeVersion: to.Ptr("4.7"),
	// 														SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 															Use32BitWorkerProcess: to.Ptr(true),
	// 														},
	// 														SupportedFunctionsExtensionVersions: []*string{
	// 															to.Ptr("~1")},
	// 														},
	// 													},
	// 													Value: to.Ptr("4.7"),
	// 											}},
	// 											Value: to.Ptr("2"),
	// 									}},
	// 									PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 									Value: to.Ptr("dotnet"),
	// 								},
	// 							},
	// 							{
	// 								Name: to.Ptr("node"),
	// 								Type: to.Ptr("Microsoft.Web/locations/functionAppStacks"),
	// 								ID: to.Ptr("/providers/Microsoft.Web/locations/functionAppStacks/node"),
	// 								Location: to.Ptr("westus"),
	// 								Properties: &armappservice.FunctionAppStackProperties{
	// 									DisplayText: to.Ptr("Node.js"),
	// 									MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 										{
	// 											DisplayText: to.Ptr("Node.js 14"),
	// 											MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 												{
	// 													DisplayText: to.Ptr("Node.js 14 LTS"),
	// 													StackSettings: &armappservice.FunctionAppRuntimes{
	// 														LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 															AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																IsSupported: to.Ptr(true),
	// 															},
	// 															AppSettingsDictionary: map[string]*string{
	// 																"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 															},
	// 															GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																IsSupported: to.Ptr(true),
	// 																SupportedVersion: to.Ptr("14.x"),
	// 															},
	// 															IsHidden: to.Ptr(true),
	// 															IsPreview: to.Ptr(true),
	// 															RemoteDebuggingSupported: to.Ptr(false),
	// 															RuntimeVersion: to.Ptr("Node|14"),
	// 															SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																LinuxFxVersion: to.Ptr("Node|14"),
	// 																Use32BitWorkerProcess: to.Ptr(false),
	// 															},
	// 															SupportedFunctionsExtensionVersions: []*string{
	// 																to.Ptr("~3")},
	// 															},
	// 															WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																	IsSupported: to.Ptr(true),
	// 																},
	// 																AppSettingsDictionary: map[string]*string{
	// 																	"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																	"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~14"),
	// 																},
	// 																GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																	IsSupported: to.Ptr(true),
	// 																	SupportedVersion: to.Ptr("14.x"),
	// 																},
	// 																IsHidden: to.Ptr(true),
	// 																IsPreview: to.Ptr(true),
	// 																RemoteDebuggingSupported: to.Ptr(false),
	// 																RuntimeVersion: to.Ptr("~14"),
	// 																SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																	Use32BitWorkerProcess: to.Ptr(true),
	// 																},
	// 																SupportedFunctionsExtensionVersions: []*string{
	// 																	to.Ptr("~3")},
	// 																},
	// 															},
	// 															Value: to.Ptr("14 LTS"),
	// 													}},
	// 													Value: to.Ptr("14"),
	// 												},
	// 												{
	// 													DisplayText: to.Ptr("Node.js 12"),
	// 													MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 														{
	// 															DisplayText: to.Ptr("Node.js 12 LTS"),
	// 															StackSettings: &armappservice.FunctionAppRuntimes{
	// 																LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																	AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																		IsSupported: to.Ptr(true),
	// 																	},
	// 																	AppSettingsDictionary: map[string]*string{
	// 																		"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																	},
	// 																	GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																		IsSupported: to.Ptr(true),
	// 																		SupportedVersion: to.Ptr("12.x"),
	// 																	},
	// 																	RemoteDebuggingSupported: to.Ptr(false),
	// 																	RuntimeVersion: to.Ptr("Node|12"),
	// 																	SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																		LinuxFxVersion: to.Ptr("Node|12"),
	// 																		Use32BitWorkerProcess: to.Ptr(false),
	// 																	},
	// 																	SupportedFunctionsExtensionVersions: []*string{
	// 																		to.Ptr("~3")},
	// 																	},
	// 																	WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																		AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																			IsSupported: to.Ptr(true),
	// 																		},
	// 																		AppSettingsDictionary: map[string]*string{
	// 																			"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																			"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~12"),
	// 																		},
	// 																		GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																			IsSupported: to.Ptr(true),
	// 																			SupportedVersion: to.Ptr("12.x"),
	// 																		},
	// 																		RemoteDebuggingSupported: to.Ptr(false),
	// 																		RuntimeVersion: to.Ptr("~12"),
	// 																		SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																			Use32BitWorkerProcess: to.Ptr(true),
	// 																		},
	// 																		SupportedFunctionsExtensionVersions: []*string{
	// 																			to.Ptr("~3")},
	// 																		},
	// 																	},
	// 																	Value: to.Ptr("12 LTS"),
	// 															}},
	// 															Value: to.Ptr("12"),
	// 														},
	// 														{
	// 															DisplayText: to.Ptr("Node.js 10"),
	// 															MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																{
	// 																	DisplayText: to.Ptr("Node.js 10 LTS"),
	// 																	StackSettings: &armappservice.FunctionAppRuntimes{
	// 																		LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																			AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																				IsSupported: to.Ptr(true),
	// 																			},
	// 																			AppSettingsDictionary: map[string]*string{
	// 																				"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																			},
	// 																			GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																				IsSupported: to.Ptr(true),
	// 																				SupportedVersion: to.Ptr("10.x"),
	// 																			},
	// 																			RemoteDebuggingSupported: to.Ptr(false),
	// 																			RuntimeVersion: to.Ptr("Node|10"),
	// 																			SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																				LinuxFxVersion: to.Ptr("Node|10"),
	// 																				Use32BitWorkerProcess: to.Ptr(false),
	// 																			},
	// 																			SupportedFunctionsExtensionVersions: []*string{
	// 																				to.Ptr("~2"),
	// 																				to.Ptr("~3")},
	// 																			},
	// 																			WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																				AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																					IsSupported: to.Ptr(true),
	// 																				},
	// 																				AppSettingsDictionary: map[string]*string{
	// 																					"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																					"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~10"),
	// 																				},
	// 																				GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																					IsSupported: to.Ptr(true),
	// 																					SupportedVersion: to.Ptr("10.x"),
	// 																				},
	// 																				RemoteDebuggingSupported: to.Ptr(false),
	// 																				RuntimeVersion: to.Ptr("~10"),
	// 																				SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																					Use32BitWorkerProcess: to.Ptr(true),
	// 																				},
	// 																				SupportedFunctionsExtensionVersions: []*string{
	// 																					to.Ptr("~2"),
	// 																					to.Ptr("~3")},
	// 																				},
	// 																			},
	// 																			Value: to.Ptr("10 LTS"),
	// 																	}},
	// 																	Value: to.Ptr("10"),
	// 																},
	// 																{
	// 																	DisplayText: to.Ptr("Node.js 8"),
	// 																	MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																		{
	// 																			DisplayText: to.Ptr("Node.js 8 LTS"),
	// 																			StackSettings: &armappservice.FunctionAppRuntimes{
	// 																				WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																					AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																						IsSupported: to.Ptr(true),
	// 																					},
	// 																					AppSettingsDictionary: map[string]*string{
	// 																						"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																						"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~8"),
	// 																					},
	// 																					GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																						IsSupported: to.Ptr(true),
	// 																						SupportedVersion: to.Ptr("8.x"),
	// 																					},
	// 																					RemoteDebuggingSupported: to.Ptr(false),
	// 																					RuntimeVersion: to.Ptr("~8"),
	// 																					SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																						Use32BitWorkerProcess: to.Ptr(true),
	// 																					},
	// 																					SupportedFunctionsExtensionVersions: []*string{
	// 																						to.Ptr("~2")},
	// 																					},
	// 																				},
	// 																				Value: to.Ptr("8 LTS"),
	// 																		}},
	// 																		Value: to.Ptr("8"),
	// 																	},
	// 																	{
	// 																		DisplayText: to.Ptr("Node.js 6"),
	// 																		MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																			{
	// 																				DisplayText: to.Ptr("Node.js 6 LTS"),
	// 																				StackSettings: &armappservice.FunctionAppRuntimes{
	// 																					WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																						AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																							IsSupported: to.Ptr(true),
	// 																						},
	// 																						AppSettingsDictionary: map[string]*string{
	// 																							"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~6"),
	// 																						},
	// 																						GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																							IsSupported: to.Ptr(false),
	// 																						},
	// 																						RemoteDebuggingSupported: to.Ptr(false),
	// 																						RuntimeVersion: to.Ptr("~6"),
	// 																						SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																							Use32BitWorkerProcess: to.Ptr(true),
	// 																						},
	// 																						SupportedFunctionsExtensionVersions: []*string{
	// 																							to.Ptr("~1")},
	// 																						},
	// 																					},
	// 																					Value: to.Ptr("6 LTS"),
	// 																			}},
	// 																			Value: to.Ptr("6"),
	// 																	}},
	// 																	PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																	Value: to.Ptr("node"),
	// 																},
	// 															},
	// 															{
	// 																Name: to.Ptr("python"),
	// 																Type: to.Ptr("Microsoft.Web/locations/functionAppStacks"),
	// 																ID: to.Ptr("/providers/Microsoft.Web/locations/functionAppStacks/python"),
	// 																Location: to.Ptr("westus"),
	// 																Properties: &armappservice.FunctionAppStackProperties{
	// 																	DisplayText: to.Ptr("Python"),
	// 																	MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																		{
	// 																			DisplayText: to.Ptr("Python 3"),
	// 																			MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																				{
	// 																					DisplayText: to.Ptr("Python 3.8"),
	// 																					StackSettings: &armappservice.FunctionAppRuntimes{
	// 																						LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																							AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																								IsSupported: to.Ptr(true),
	// 																							},
	// 																							AppSettingsDictionary: map[string]*string{
	// 																								"FUNCTIONS_WORKER_RUNTIME": to.Ptr("python"),
	// 																							},
	// 																							GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																								IsSupported: to.Ptr(true),
	// 																								SupportedVersion: to.Ptr("3.8"),
	// 																							},
	// 																							RemoteDebuggingSupported: to.Ptr(false),
	// 																							RuntimeVersion: to.Ptr("Python|3.8"),
	// 																							SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																								LinuxFxVersion: to.Ptr("Python|3.8"),
	// 																								Use32BitWorkerProcess: to.Ptr(false),
	// 																							},
	// 																							SupportedFunctionsExtensionVersions: []*string{
	// 																								to.Ptr("~3")},
	// 																							},
	// 																						},
	// 																						Value: to.Ptr("3.8"),
	// 																					},
	// 																					{
	// 																						DisplayText: to.Ptr("Python 3.7"),
	// 																						StackSettings: &armappservice.FunctionAppRuntimes{
	// 																							LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																								AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																									IsSupported: to.Ptr(true),
	// 																								},
	// 																								AppSettingsDictionary: map[string]*string{
	// 																									"FUNCTIONS_WORKER_RUNTIME": to.Ptr("python"),
	// 																								},
	// 																								GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																									IsSupported: to.Ptr(true),
	// 																									SupportedVersion: to.Ptr("3.7"),
	// 																								},
	// 																								RemoteDebuggingSupported: to.Ptr(false),
	// 																								RuntimeVersion: to.Ptr("Python|3.7"),
	// 																								SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																									LinuxFxVersion: to.Ptr("Python|3.7"),
	// 																									Use32BitWorkerProcess: to.Ptr(false),
	// 																								},
	// 																								SupportedFunctionsExtensionVersions: []*string{
	// 																									to.Ptr("~2"),
	// 																									to.Ptr("~3")},
	// 																								},
	// 																							},
	// 																							Value: to.Ptr("3.7"),
	// 																						},
	// 																						{
	// 																							DisplayText: to.Ptr("Python 3.6"),
	// 																							StackSettings: &armappservice.FunctionAppRuntimes{
	// 																								LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																									AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																										IsSupported: to.Ptr(true),
	// 																									},
	// 																									AppSettingsDictionary: map[string]*string{
	// 																										"FUNCTIONS_WORKER_RUNTIME": to.Ptr("python"),
	// 																									},
	// 																									GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																										IsSupported: to.Ptr(true),
	// 																										SupportedVersion: to.Ptr("3.6"),
	// 																									},
	// 																									RemoteDebuggingSupported: to.Ptr(false),
	// 																									RuntimeVersion: to.Ptr("Python|3.6"),
	// 																									SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																										LinuxFxVersion: to.Ptr("Python|3.6"),
	// 																										Use32BitWorkerProcess: to.Ptr(false),
	// 																									},
	// 																									SupportedFunctionsExtensionVersions: []*string{
	// 																										to.Ptr("~2"),
	// 																										to.Ptr("~3")},
	// 																									},
	// 																								},
	// 																								Value: to.Ptr("3.6"),
	// 																						}},
	// 																						Value: to.Ptr("3"),
	// 																				}},
	// 																				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 																				Value: to.Ptr("python"),
	// 																			},
	// 																		},
	// 																		{
	// 																			Name: to.Ptr("java"),
	// 																			Type: to.Ptr("Microsoft.Web/locations/functionAppStacks"),
	// 																			ID: to.Ptr("/providers/Microsoft.Web/locations/functionAppStacks/java"),
	// 																			Location: to.Ptr("westus"),
	// 																			Properties: &armappservice.FunctionAppStackProperties{
	// 																				DisplayText: to.Ptr("Java"),
	// 																				MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																					{
	// 																						DisplayText: to.Ptr("Java 11"),
	// 																						MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																							{
	// 																								DisplayText: to.Ptr("Java 11"),
	// 																								StackSettings: &armappservice.FunctionAppRuntimes{
	// 																									LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																											IsSupported: to.Ptr(true),
	// 																										},
	// 																										AppSettingsDictionary: map[string]*string{
	// 																											"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																										},
	// 																										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																											IsSupported: to.Ptr(true),
	// 																											SupportedVersion: to.Ptr("11"),
	// 																										},
	// 																										IsAutoUpdate: to.Ptr(true),
	// 																										RemoteDebuggingSupported: to.Ptr(false),
	// 																										RuntimeVersion: to.Ptr("Java|11"),
	// 																										SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																											LinuxFxVersion: to.Ptr("Java|11"),
	// 																											Use32BitWorkerProcess: to.Ptr(false),
	// 																										},
	// 																										SupportedFunctionsExtensionVersions: []*string{
	// 																											to.Ptr("~3")},
	// 																										},
	// 																										WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																											AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																												IsSupported: to.Ptr(true),
	// 																											},
	// 																											AppSettingsDictionary: map[string]*string{
	// 																												"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																											},
	// 																											GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																												IsSupported: to.Ptr(true),
	// 																												SupportedVersion: to.Ptr("11"),
	// 																											},
	// 																											IsAutoUpdate: to.Ptr(true),
	// 																											RemoteDebuggingSupported: to.Ptr(false),
	// 																											RuntimeVersion: to.Ptr("11"),
	// 																											SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																												JavaVersion: to.Ptr("11"),
	// 																												Use32BitWorkerProcess: to.Ptr(true),
	// 																											},
	// 																											SupportedFunctionsExtensionVersions: []*string{
	// 																												to.Ptr("~3")},
	// 																											},
	// 																										},
	// 																										Value: to.Ptr("11.0"),
	// 																								}},
	// 																								Value: to.Ptr("11"),
	// 																							},
	// 																							{
	// 																								DisplayText: to.Ptr("Java 8"),
	// 																								MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																									{
	// 																										DisplayText: to.Ptr("Java 8"),
	// 																										StackSettings: &armappservice.FunctionAppRuntimes{
	// 																											LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																												AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																													IsSupported: to.Ptr(true),
	// 																												},
	// 																												AppSettingsDictionary: map[string]*string{
	// 																													"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																												},
	// 																												GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																													IsSupported: to.Ptr(true),
	// 																													SupportedVersion: to.Ptr("8"),
	// 																												},
	// 																												IsAutoUpdate: to.Ptr(true),
	// 																												IsDefault: to.Ptr(true),
	// 																												RemoteDebuggingSupported: to.Ptr(false),
	// 																												RuntimeVersion: to.Ptr("Java|8"),
	// 																												SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																													LinuxFxVersion: to.Ptr("Java|8"),
	// 																													Use32BitWorkerProcess: to.Ptr(false),
	// 																												},
	// 																												SupportedFunctionsExtensionVersions: []*string{
	// 																													to.Ptr("~3")},
	// 																												},
	// 																												WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																													AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																														IsSupported: to.Ptr(true),
	// 																													},
	// 																													AppSettingsDictionary: map[string]*string{
	// 																														"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																													},
	// 																													GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																														IsSupported: to.Ptr(true),
	// 																														SupportedVersion: to.Ptr("8"),
	// 																													},
	// 																													IsAutoUpdate: to.Ptr(true),
	// 																													IsDefault: to.Ptr(true),
	// 																													RemoteDebuggingSupported: to.Ptr(false),
	// 																													RuntimeVersion: to.Ptr("1.8"),
	// 																													SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																														JavaVersion: to.Ptr("1.8"),
	// 																														Use32BitWorkerProcess: to.Ptr(true),
	// 																													},
	// 																													SupportedFunctionsExtensionVersions: []*string{
	// 																														to.Ptr("~2"),
	// 																														to.Ptr("~3")},
	// 																													},
	// 																												},
	// 																												Value: to.Ptr("8.0"),
	// 																										}},
	// 																										Value: to.Ptr("8"),
	// 																								}},
	// 																								PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																								Value: to.Ptr("java"),
	// 																							},
	// 																						},
	// 																						{
	// 																							Name: to.Ptr("powershell"),
	// 																							Type: to.Ptr("Microsoft.Web/locations/functionAppStacks"),
	// 																							ID: to.Ptr("/providers/Microsoft.Web/locations/functionAppStacks/powershell"),
	// 																							Location: to.Ptr("westus"),
	// 																							Properties: &armappservice.FunctionAppStackProperties{
	// 																								DisplayText: to.Ptr("PowerShell Core"),
	// 																								MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																									{
	// 																										DisplayText: to.Ptr("PowerShell 7"),
	// 																										MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																											{
	// 																												DisplayText: to.Ptr("PowerShell 7.0"),
	// 																												StackSettings: &armappservice.FunctionAppRuntimes{
	// 																													WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																														AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																															IsSupported: to.Ptr(true),
	// 																														},
	// 																														AppSettingsDictionary: map[string]*string{
	// 																															"FUNCTIONS_WORKER_RUNTIME": to.Ptr("powershell"),
	// 																														},
	// 																														GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																															IsSupported: to.Ptr(false),
	// 																														},
	// 																														RemoteDebuggingSupported: to.Ptr(false),
	// 																														RuntimeVersion: to.Ptr("~7"),
	// 																														SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																															PowerShellVersion: to.Ptr("~7"),
	// 																															Use32BitWorkerProcess: to.Ptr(true),
	// 																														},
	// 																														SupportedFunctionsExtensionVersions: []*string{
	// 																															to.Ptr("~3")},
	// 																														},
	// 																													},
	// 																													Value: to.Ptr("7.0"),
	// 																											}},
	// 																											Value: to.Ptr("7"),
	// 																										},
	// 																										{
	// 																											DisplayText: to.Ptr("PowerShell Core 6"),
	// 																											MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																												{
	// 																													DisplayText: to.Ptr("PowerShell Core 6.2"),
	// 																													StackSettings: &armappservice.FunctionAppRuntimes{
	// 																														WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																															AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																																IsSupported: to.Ptr(true),
	// 																															},
	// 																															AppSettingsDictionary: map[string]*string{
	// 																																"FUNCTIONS_WORKER_RUNTIME": to.Ptr("powershell"),
	// 																															},
	// 																															EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-10-04T00:00:00.000Z"); return t}()),
	// 																															GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																																IsSupported: to.Ptr(false),
	// 																															},
	// 																															IsDeprecated: to.Ptr(true),
	// 																															RemoteDebuggingSupported: to.Ptr(false),
	// 																															RuntimeVersion: to.Ptr("~6"),
	// 																															SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																																PowerShellVersion: to.Ptr("~6"),
	// 																																Use32BitWorkerProcess: to.Ptr(true),
	// 																															},
	// 																															SupportedFunctionsExtensionVersions: []*string{
	// 																																to.Ptr("~2"),
	// 																																to.Ptr("~3")},
	// 																															},
	// 																														},
	// 																														Value: to.Ptr("6.2"),
	// 																												}},
	// 																												Value: to.Ptr("6"),
	// 																										}},
	// 																										PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																										Value: to.Ptr("powershell"),
	// 																									},
	// 																								},
	// 																								{
	// 																									Name: to.Ptr("custom"),
	// 																									Type: to.Ptr("Microsoft.Web/locations/functionAppStacks"),
	// 																									ID: to.Ptr("/providers/Microsoft.Web/locations/functionAppStacks/custom"),
	// 																									Location: to.Ptr("westus"),
	// 																									Properties: &armappservice.FunctionAppStackProperties{
	// 																										DisplayText: to.Ptr("Custom"),
	// 																										MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																											{
	// 																												DisplayText: to.Ptr("Custom"),
	// 																												MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																													{
	// 																														DisplayText: to.Ptr("Custom Handler"),
	// 																														StackSettings: &armappservice.FunctionAppRuntimes{
	// 																															LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																																AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																																	IsSupported: to.Ptr(true),
	// 																																},
	// 																																AppSettingsDictionary: map[string]*string{
	// 																																	"FUNCTIONS_WORKER_RUNTIME": to.Ptr("custom"),
	// 																																},
	// 																																GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																																	IsSupported: to.Ptr(false),
	// 																																},
	// 																																IsPreview: to.Ptr(true),
	// 																																RemoteDebuggingSupported: to.Ptr(false),
	// 																																RuntimeVersion: to.Ptr(""),
	// 																																SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																																	LinuxFxVersion: to.Ptr(""),
	// 																																	Use32BitWorkerProcess: to.Ptr(false),
	// 																																},
	// 																																SupportedFunctionsExtensionVersions: []*string{
	// 																																	to.Ptr("~3"),
	// 																																	to.Ptr("~2")},
	// 																																},
	// 																																WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																																	AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																																		IsSupported: to.Ptr(true),
	// 																																	},
	// 																																	AppSettingsDictionary: map[string]*string{
	// 																																		"FUNCTIONS_WORKER_RUNTIME": to.Ptr("custom"),
	// 																																	},
	// 																																	GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																																		IsSupported: to.Ptr(false),
	// 																																	},
	// 																																	IsPreview: to.Ptr(true),
	// 																																	RemoteDebuggingSupported: to.Ptr(false),
	// 																																	RuntimeVersion: to.Ptr("custom"),
	// 																																	SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																																		Use32BitWorkerProcess: to.Ptr(true),
	// 																																	},
	// 																																	SupportedFunctionsExtensionVersions: []*string{
	// 																																		to.Ptr("~3"),
	// 																																		to.Ptr("~2")},
	// 																																	},
	// 																																},
	// 																																Value: to.Ptr("custom"),
	// 																														}},
	// 																														Value: to.Ptr("custom"),
	// 																												}},
	// 																												PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																												Value: to.Ptr("custom"),
	// 																											},
	// 																									}},
	// 																								}
}
Output:

func (*ProviderClient) NewGetFunctionAppStacksPager

NewGetFunctionAppStacksPager - Description for Get available Function app frameworks and their versions

Generated from API version 2023-01-01

  • options - ProviderClientGetFunctionAppStacksOptions contains the optional parameters for the ProviderClient.NewGetFunctionAppStacksPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetFunctionAppStacks.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewProviderClient().NewGetFunctionAppStacksPager(&armappservice.ProviderClientGetFunctionAppStacksOptions{StackOsType: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.FunctionAppStackCollection = armappservice.FunctionAppStackCollection{
	// 	Value: []*armappservice.FunctionAppStack{
	// 		{
	// 			Name: to.Ptr("dotnet"),
	// 			Type: to.Ptr("Microsoft.Web/functionAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/functionAppStacks/dotnet"),
	// 			Properties: &armappservice.FunctionAppStackProperties{
	// 				DisplayText: to.Ptr(".NET"),
	// 				MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 3"),
	// 						MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 3.1"),
	// 								StackSettings: &armappservice.FunctionAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										AppSettingsDictionary: map[string]*string{
	// 											"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1.301"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("dotnet|3.1"),
	// 										SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 											LinuxFxVersion: to.Ptr("dotnet|3.1"),
	// 											Use32BitWorkerProcess: to.Ptr(false),
	// 										},
	// 										SupportedFunctionsExtensionVersions: []*string{
	// 											to.Ptr("~3")},
	// 										},
	// 										WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 											AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 												IsSupported: to.Ptr(true),
	// 											},
	// 											AppSettingsDictionary: map[string]*string{
	// 												"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 											},
	// 											GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 												IsSupported: to.Ptr(true),
	// 												SupportedVersion: to.Ptr("3.1.301"),
	// 											},
	// 											RemoteDebuggingSupported: to.Ptr(false),
	// 											RuntimeVersion: to.Ptr("3.1"),
	// 											SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 												Use32BitWorkerProcess: to.Ptr(true),
	// 											},
	// 											SupportedFunctionsExtensionVersions: []*string{
	// 												to.Ptr("~3")},
	// 											},
	// 										},
	// 										Value: to.Ptr("3.1"),
	// 								}},
	// 								Value: to.Ptr("3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2"),
	// 								MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 									{
	// 										DisplayText: to.Ptr(".NET Core 2.2"),
	// 										StackSettings: &armappservice.FunctionAppRuntimes{
	// 											LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 												AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 													IsSupported: to.Ptr(true),
	// 												},
	// 												AppSettingsDictionary: map[string]*string{
	// 													"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 												},
	// 												GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 													IsSupported: to.Ptr(true),
	// 													SupportedVersion: to.Ptr("2.2.207"),
	// 												},
	// 												RemoteDebuggingSupported: to.Ptr(false),
	// 												RuntimeVersion: to.Ptr("dotnet|2.2"),
	// 												SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 													LinuxFxVersion: to.Ptr("dotnet|2.2"),
	// 													Use32BitWorkerProcess: to.Ptr(false),
	// 												},
	// 												SupportedFunctionsExtensionVersions: []*string{
	// 													to.Ptr("~2")},
	// 												},
	// 												WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 													AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 														IsSupported: to.Ptr(true),
	// 													},
	// 													AppSettingsDictionary: map[string]*string{
	// 														"FUNCTIONS_WORKER_RUNTIME": to.Ptr("dotnet"),
	// 													},
	// 													GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 														IsSupported: to.Ptr(true),
	// 														SupportedVersion: to.Ptr("2.2.207"),
	// 													},
	// 													RemoteDebuggingSupported: to.Ptr(false),
	// 													RuntimeVersion: to.Ptr("2.2"),
	// 													SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 														Use32BitWorkerProcess: to.Ptr(true),
	// 													},
	// 													SupportedFunctionsExtensionVersions: []*string{
	// 														to.Ptr("~2")},
	// 													},
	// 												},
	// 												Value: to.Ptr("2.2"),
	// 										}},
	// 										Value: to.Ptr("2"),
	// 									},
	// 									{
	// 										DisplayText: to.Ptr(".NET Framework 4"),
	// 										MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 											{
	// 												DisplayText: to.Ptr(".NET Framework 4.7"),
	// 												StackSettings: &armappservice.FunctionAppRuntimes{
	// 													WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 														AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 															IsSupported: to.Ptr(true),
	// 														},
	// 														AppSettingsDictionary: map[string]*string{
	// 														},
	// 														GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 															IsSupported: to.Ptr(false),
	// 														},
	// 														RemoteDebuggingSupported: to.Ptr(false),
	// 														RuntimeVersion: to.Ptr("4.7"),
	// 														SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 															Use32BitWorkerProcess: to.Ptr(true),
	// 														},
	// 														SupportedFunctionsExtensionVersions: []*string{
	// 															to.Ptr("~1")},
	// 														},
	// 													},
	// 													Value: to.Ptr("4.7"),
	// 											}},
	// 											Value: to.Ptr("2"),
	// 									}},
	// 									PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 									Value: to.Ptr("dotnet"),
	// 								},
	// 							},
	// 							{
	// 								Name: to.Ptr("node"),
	// 								Type: to.Ptr("Microsoft.Web/functionAppStacks"),
	// 								ID: to.Ptr("/providers/Microsoft.Web/functionAppStacks/node"),
	// 								Properties: &armappservice.FunctionAppStackProperties{
	// 									DisplayText: to.Ptr("Node.js"),
	// 									MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 										{
	// 											DisplayText: to.Ptr("Node.js 14"),
	// 											MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 												{
	// 													DisplayText: to.Ptr("Node.js 14 LTS"),
	// 													StackSettings: &armappservice.FunctionAppRuntimes{
	// 														LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 															AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																IsSupported: to.Ptr(true),
	// 															},
	// 															AppSettingsDictionary: map[string]*string{
	// 																"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 															},
	// 															GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																IsSupported: to.Ptr(true),
	// 																SupportedVersion: to.Ptr("14.x"),
	// 															},
	// 															IsHidden: to.Ptr(true),
	// 															IsPreview: to.Ptr(true),
	// 															RemoteDebuggingSupported: to.Ptr(false),
	// 															RuntimeVersion: to.Ptr("Node|14"),
	// 															SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																LinuxFxVersion: to.Ptr("Node|14"),
	// 																Use32BitWorkerProcess: to.Ptr(false),
	// 															},
	// 															SupportedFunctionsExtensionVersions: []*string{
	// 																to.Ptr("~3")},
	// 															},
	// 															WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																	IsSupported: to.Ptr(true),
	// 																},
	// 																AppSettingsDictionary: map[string]*string{
	// 																	"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																	"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~14"),
	// 																},
	// 																GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																	IsSupported: to.Ptr(true),
	// 																	SupportedVersion: to.Ptr("14.x"),
	// 																},
	// 																IsHidden: to.Ptr(true),
	// 																IsPreview: to.Ptr(true),
	// 																RemoteDebuggingSupported: to.Ptr(false),
	// 																RuntimeVersion: to.Ptr("~14"),
	// 																SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																	Use32BitWorkerProcess: to.Ptr(true),
	// 																},
	// 																SupportedFunctionsExtensionVersions: []*string{
	// 																	to.Ptr("~3")},
	// 																},
	// 															},
	// 															Value: to.Ptr("14 LTS"),
	// 													}},
	// 													Value: to.Ptr("14"),
	// 												},
	// 												{
	// 													DisplayText: to.Ptr("Node.js 12"),
	// 													MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 														{
	// 															DisplayText: to.Ptr("Node.js 12 LTS"),
	// 															StackSettings: &armappservice.FunctionAppRuntimes{
	// 																LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																	AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																		IsSupported: to.Ptr(true),
	// 																	},
	// 																	AppSettingsDictionary: map[string]*string{
	// 																		"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																	},
	// 																	GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																		IsSupported: to.Ptr(true),
	// 																		SupportedVersion: to.Ptr("12.x"),
	// 																	},
	// 																	RemoteDebuggingSupported: to.Ptr(false),
	// 																	RuntimeVersion: to.Ptr("Node|12"),
	// 																	SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																		LinuxFxVersion: to.Ptr("Node|12"),
	// 																		Use32BitWorkerProcess: to.Ptr(false),
	// 																	},
	// 																	SupportedFunctionsExtensionVersions: []*string{
	// 																		to.Ptr("~3")},
	// 																	},
	// 																	WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																		AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																			IsSupported: to.Ptr(true),
	// 																		},
	// 																		AppSettingsDictionary: map[string]*string{
	// 																			"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																			"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~12"),
	// 																		},
	// 																		GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																			IsSupported: to.Ptr(true),
	// 																			SupportedVersion: to.Ptr("12.x"),
	// 																		},
	// 																		RemoteDebuggingSupported: to.Ptr(false),
	// 																		RuntimeVersion: to.Ptr("~12"),
	// 																		SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																			Use32BitWorkerProcess: to.Ptr(true),
	// 																		},
	// 																		SupportedFunctionsExtensionVersions: []*string{
	// 																			to.Ptr("~3")},
	// 																		},
	// 																	},
	// 																	Value: to.Ptr("12 LTS"),
	// 															}},
	// 															Value: to.Ptr("12"),
	// 														},
	// 														{
	// 															DisplayText: to.Ptr("Node.js 10"),
	// 															MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																{
	// 																	DisplayText: to.Ptr("Node.js 10 LTS"),
	// 																	StackSettings: &armappservice.FunctionAppRuntimes{
	// 																		LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																			AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																				IsSupported: to.Ptr(true),
	// 																			},
	// 																			AppSettingsDictionary: map[string]*string{
	// 																				"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																			},
	// 																			GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																				IsSupported: to.Ptr(true),
	// 																				SupportedVersion: to.Ptr("10.x"),
	// 																			},
	// 																			RemoteDebuggingSupported: to.Ptr(false),
	// 																			RuntimeVersion: to.Ptr("Node|10"),
	// 																			SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																				LinuxFxVersion: to.Ptr("Node|10"),
	// 																				Use32BitWorkerProcess: to.Ptr(false),
	// 																			},
	// 																			SupportedFunctionsExtensionVersions: []*string{
	// 																				to.Ptr("~2"),
	// 																				to.Ptr("~3")},
	// 																			},
	// 																			WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																				AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																					IsSupported: to.Ptr(true),
	// 																				},
	// 																				AppSettingsDictionary: map[string]*string{
	// 																					"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																					"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~10"),
	// 																				},
	// 																				GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																					IsSupported: to.Ptr(true),
	// 																					SupportedVersion: to.Ptr("10.x"),
	// 																				},
	// 																				RemoteDebuggingSupported: to.Ptr(false),
	// 																				RuntimeVersion: to.Ptr("~10"),
	// 																				SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																					Use32BitWorkerProcess: to.Ptr(true),
	// 																				},
	// 																				SupportedFunctionsExtensionVersions: []*string{
	// 																					to.Ptr("~2"),
	// 																					to.Ptr("~3")},
	// 																				},
	// 																			},
	// 																			Value: to.Ptr("10 LTS"),
	// 																	}},
	// 																	Value: to.Ptr("10"),
	// 																},
	// 																{
	// 																	DisplayText: to.Ptr("Node.js 8"),
	// 																	MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																		{
	// 																			DisplayText: to.Ptr("Node.js 8 LTS"),
	// 																			StackSettings: &armappservice.FunctionAppRuntimes{
	// 																				WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																					AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																						IsSupported: to.Ptr(true),
	// 																					},
	// 																					AppSettingsDictionary: map[string]*string{
	// 																						"FUNCTIONS_WORKER_RUNTIME": to.Ptr("node"),
	// 																						"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~8"),
	// 																					},
	// 																					GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																						IsSupported: to.Ptr(true),
	// 																						SupportedVersion: to.Ptr("8.x"),
	// 																					},
	// 																					RemoteDebuggingSupported: to.Ptr(false),
	// 																					RuntimeVersion: to.Ptr("~8"),
	// 																					SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																						Use32BitWorkerProcess: to.Ptr(true),
	// 																					},
	// 																					SupportedFunctionsExtensionVersions: []*string{
	// 																						to.Ptr("~2")},
	// 																					},
	// 																				},
	// 																				Value: to.Ptr("8 LTS"),
	// 																		}},
	// 																		Value: to.Ptr("8"),
	// 																	},
	// 																	{
	// 																		DisplayText: to.Ptr("Node.js 6"),
	// 																		MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																			{
	// 																				DisplayText: to.Ptr("Node.js 6 LTS"),
	// 																				StackSettings: &armappservice.FunctionAppRuntimes{
	// 																					WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																						AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																							IsSupported: to.Ptr(true),
	// 																						},
	// 																						AppSettingsDictionary: map[string]*string{
	// 																							"WEBSITE_NODE_DEFAULT_VERSION": to.Ptr("~6"),
	// 																						},
	// 																						GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																							IsSupported: to.Ptr(false),
	// 																						},
	// 																						RemoteDebuggingSupported: to.Ptr(false),
	// 																						RuntimeVersion: to.Ptr("~6"),
	// 																						SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																							Use32BitWorkerProcess: to.Ptr(true),
	// 																						},
	// 																						SupportedFunctionsExtensionVersions: []*string{
	// 																							to.Ptr("~1")},
	// 																						},
	// 																					},
	// 																					Value: to.Ptr("6 LTS"),
	// 																			}},
	// 																			Value: to.Ptr("6"),
	// 																	}},
	// 																	PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																	Value: to.Ptr("node"),
	// 																},
	// 															},
	// 															{
	// 																Name: to.Ptr("python"),
	// 																Type: to.Ptr("Microsoft.Web/functionAppStacks"),
	// 																ID: to.Ptr("/providers/Microsoft.Web/functionAppStacks/python"),
	// 																Properties: &armappservice.FunctionAppStackProperties{
	// 																	DisplayText: to.Ptr("Python"),
	// 																	MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																		{
	// 																			DisplayText: to.Ptr("Python 3"),
	// 																			MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																				{
	// 																					DisplayText: to.Ptr("Python 3.8"),
	// 																					StackSettings: &armappservice.FunctionAppRuntimes{
	// 																						LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																							AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																								IsSupported: to.Ptr(true),
	// 																							},
	// 																							AppSettingsDictionary: map[string]*string{
	// 																								"FUNCTIONS_WORKER_RUNTIME": to.Ptr("python"),
	// 																							},
	// 																							GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																								IsSupported: to.Ptr(true),
	// 																								SupportedVersion: to.Ptr("3.8"),
	// 																							},
	// 																							RemoteDebuggingSupported: to.Ptr(false),
	// 																							RuntimeVersion: to.Ptr("Python|3.8"),
	// 																							SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																								LinuxFxVersion: to.Ptr("Python|3.8"),
	// 																								Use32BitWorkerProcess: to.Ptr(false),
	// 																							},
	// 																							SupportedFunctionsExtensionVersions: []*string{
	// 																								to.Ptr("~3")},
	// 																							},
	// 																						},
	// 																						Value: to.Ptr("3.8"),
	// 																					},
	// 																					{
	// 																						DisplayText: to.Ptr("Python 3.7"),
	// 																						StackSettings: &armappservice.FunctionAppRuntimes{
	// 																							LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																								AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																									IsSupported: to.Ptr(true),
	// 																								},
	// 																								AppSettingsDictionary: map[string]*string{
	// 																									"FUNCTIONS_WORKER_RUNTIME": to.Ptr("python"),
	// 																								},
	// 																								GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																									IsSupported: to.Ptr(true),
	// 																									SupportedVersion: to.Ptr("3.7"),
	// 																								},
	// 																								RemoteDebuggingSupported: to.Ptr(false),
	// 																								RuntimeVersion: to.Ptr("Python|3.7"),
	// 																								SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																									LinuxFxVersion: to.Ptr("Python|3.7"),
	// 																									Use32BitWorkerProcess: to.Ptr(false),
	// 																								},
	// 																								SupportedFunctionsExtensionVersions: []*string{
	// 																									to.Ptr("~2"),
	// 																									to.Ptr("~3")},
	// 																								},
	// 																							},
	// 																							Value: to.Ptr("3.7"),
	// 																						},
	// 																						{
	// 																							DisplayText: to.Ptr("Python 3.6"),
	// 																							StackSettings: &armappservice.FunctionAppRuntimes{
	// 																								LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																									AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																										IsSupported: to.Ptr(true),
	// 																									},
	// 																									AppSettingsDictionary: map[string]*string{
	// 																										"FUNCTIONS_WORKER_RUNTIME": to.Ptr("python"),
	// 																									},
	// 																									GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																										IsSupported: to.Ptr(true),
	// 																										SupportedVersion: to.Ptr("3.6"),
	// 																									},
	// 																									RemoteDebuggingSupported: to.Ptr(false),
	// 																									RuntimeVersion: to.Ptr("Python|3.6"),
	// 																									SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																										LinuxFxVersion: to.Ptr("Python|3.6"),
	// 																										Use32BitWorkerProcess: to.Ptr(false),
	// 																									},
	// 																									SupportedFunctionsExtensionVersions: []*string{
	// 																										to.Ptr("~2"),
	// 																										to.Ptr("~3")},
	// 																									},
	// 																								},
	// 																								Value: to.Ptr("3.6"),
	// 																						}},
	// 																						Value: to.Ptr("3"),
	// 																				}},
	// 																				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 																				Value: to.Ptr("python"),
	// 																			},
	// 																		},
	// 																		{
	// 																			Name: to.Ptr("java"),
	// 																			Type: to.Ptr("Microsoft.Web/functionAppStacks"),
	// 																			ID: to.Ptr("/providers/Microsoft.Web/functionAppStacks/java"),
	// 																			Properties: &armappservice.FunctionAppStackProperties{
	// 																				DisplayText: to.Ptr("Java"),
	// 																				MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																					{
	// 																						DisplayText: to.Ptr("Java 11"),
	// 																						MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																							{
	// 																								DisplayText: to.Ptr("Java 11"),
	// 																								StackSettings: &armappservice.FunctionAppRuntimes{
	// 																									LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																											IsSupported: to.Ptr(true),
	// 																										},
	// 																										AppSettingsDictionary: map[string]*string{
	// 																											"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																										},
	// 																										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																											IsSupported: to.Ptr(true),
	// 																											SupportedVersion: to.Ptr("11"),
	// 																										},
	// 																										IsAutoUpdate: to.Ptr(true),
	// 																										RemoteDebuggingSupported: to.Ptr(false),
	// 																										RuntimeVersion: to.Ptr("Java|11"),
	// 																										SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																											LinuxFxVersion: to.Ptr("Java|11"),
	// 																											Use32BitWorkerProcess: to.Ptr(false),
	// 																										},
	// 																										SupportedFunctionsExtensionVersions: []*string{
	// 																											to.Ptr("~3")},
	// 																										},
	// 																										WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																											AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																												IsSupported: to.Ptr(true),
	// 																											},
	// 																											AppSettingsDictionary: map[string]*string{
	// 																												"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																											},
	// 																											GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																												IsSupported: to.Ptr(true),
	// 																												SupportedVersion: to.Ptr("11"),
	// 																											},
	// 																											IsAutoUpdate: to.Ptr(true),
	// 																											RemoteDebuggingSupported: to.Ptr(false),
	// 																											RuntimeVersion: to.Ptr("11"),
	// 																											SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																												JavaVersion: to.Ptr("11"),
	// 																												Use32BitWorkerProcess: to.Ptr(true),
	// 																											},
	// 																											SupportedFunctionsExtensionVersions: []*string{
	// 																												to.Ptr("~3")},
	// 																											},
	// 																										},
	// 																										Value: to.Ptr("11.0"),
	// 																								}},
	// 																								Value: to.Ptr("11"),
	// 																							},
	// 																							{
	// 																								DisplayText: to.Ptr("Java 8"),
	// 																								MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																									{
	// 																										DisplayText: to.Ptr("Java 8"),
	// 																										StackSettings: &armappservice.FunctionAppRuntimes{
	// 																											LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																												AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																													IsSupported: to.Ptr(true),
	// 																												},
	// 																												AppSettingsDictionary: map[string]*string{
	// 																													"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																												},
	// 																												GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																													IsSupported: to.Ptr(true),
	// 																													SupportedVersion: to.Ptr("8"),
	// 																												},
	// 																												IsAutoUpdate: to.Ptr(true),
	// 																												IsDefault: to.Ptr(true),
	// 																												RemoteDebuggingSupported: to.Ptr(false),
	// 																												RuntimeVersion: to.Ptr("Java|8"),
	// 																												SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																													LinuxFxVersion: to.Ptr("Java|8"),
	// 																													Use32BitWorkerProcess: to.Ptr(false),
	// 																												},
	// 																												SupportedFunctionsExtensionVersions: []*string{
	// 																													to.Ptr("~3")},
	// 																												},
	// 																												WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																													AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																														IsSupported: to.Ptr(true),
	// 																													},
	// 																													AppSettingsDictionary: map[string]*string{
	// 																														"FUNCTIONS_WORKER_RUNTIME": to.Ptr("java"),
	// 																													},
	// 																													GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																														IsSupported: to.Ptr(true),
	// 																														SupportedVersion: to.Ptr("8"),
	// 																													},
	// 																													IsAutoUpdate: to.Ptr(true),
	// 																													IsDefault: to.Ptr(true),
	// 																													RemoteDebuggingSupported: to.Ptr(false),
	// 																													RuntimeVersion: to.Ptr("1.8"),
	// 																													SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																														JavaVersion: to.Ptr("1.8"),
	// 																														Use32BitWorkerProcess: to.Ptr(true),
	// 																													},
	// 																													SupportedFunctionsExtensionVersions: []*string{
	// 																														to.Ptr("~2"),
	// 																														to.Ptr("~3")},
	// 																													},
	// 																												},
	// 																												Value: to.Ptr("8.0"),
	// 																										}},
	// 																										Value: to.Ptr("8"),
	// 																								}},
	// 																								PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																								Value: to.Ptr("java"),
	// 																							},
	// 																						},
	// 																						{
	// 																							Name: to.Ptr("powershell"),
	// 																							Type: to.Ptr("Microsoft.Web/functionAppStacks"),
	// 																							ID: to.Ptr("/providers/Microsoft.Web/functionAppStacks/powershell"),
	// 																							Properties: &armappservice.FunctionAppStackProperties{
	// 																								DisplayText: to.Ptr("PowerShell Core"),
	// 																								MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																									{
	// 																										DisplayText: to.Ptr("PowerShell 7"),
	// 																										MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																											{
	// 																												DisplayText: to.Ptr("PowerShell 7.0"),
	// 																												StackSettings: &armappservice.FunctionAppRuntimes{
	// 																													WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																														AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																															IsSupported: to.Ptr(true),
	// 																														},
	// 																														AppSettingsDictionary: map[string]*string{
	// 																															"FUNCTIONS_WORKER_RUNTIME": to.Ptr("powershell"),
	// 																														},
	// 																														GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																															IsSupported: to.Ptr(false),
	// 																														},
	// 																														RemoteDebuggingSupported: to.Ptr(false),
	// 																														RuntimeVersion: to.Ptr("~7"),
	// 																														SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																															PowerShellVersion: to.Ptr("~7"),
	// 																															Use32BitWorkerProcess: to.Ptr(true),
	// 																														},
	// 																														SupportedFunctionsExtensionVersions: []*string{
	// 																															to.Ptr("~3")},
	// 																														},
	// 																													},
	// 																													Value: to.Ptr("7.0"),
	// 																											}},
	// 																											Value: to.Ptr("7"),
	// 																										},
	// 																										{
	// 																											DisplayText: to.Ptr("PowerShell Core 6"),
	// 																											MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																												{
	// 																													DisplayText: to.Ptr("PowerShell Core 6.2"),
	// 																													StackSettings: &armappservice.FunctionAppRuntimes{
	// 																														WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																															AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																																IsSupported: to.Ptr(true),
	// 																															},
	// 																															AppSettingsDictionary: map[string]*string{
	// 																																"FUNCTIONS_WORKER_RUNTIME": to.Ptr("powershell"),
	// 																															},
	// 																															EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-10-04T00:00:00.000Z"); return t}()),
	// 																															GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																																IsSupported: to.Ptr(false),
	// 																															},
	// 																															IsDeprecated: to.Ptr(true),
	// 																															RemoteDebuggingSupported: to.Ptr(false),
	// 																															RuntimeVersion: to.Ptr("~6"),
	// 																															SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																																PowerShellVersion: to.Ptr("~6"),
	// 																																Use32BitWorkerProcess: to.Ptr(true),
	// 																															},
	// 																															SupportedFunctionsExtensionVersions: []*string{
	// 																																to.Ptr("~2"),
	// 																																to.Ptr("~3")},
	// 																															},
	// 																														},
	// 																														Value: to.Ptr("6.2"),
	// 																												}},
	// 																												Value: to.Ptr("6"),
	// 																										}},
	// 																										PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																										Value: to.Ptr("powershell"),
	// 																									},
	// 																								},
	// 																								{
	// 																									Name: to.Ptr("custom"),
	// 																									Type: to.Ptr("Microsoft.Web/functionAppStacks"),
	// 																									ID: to.Ptr("/providers/Microsoft.Web/functionAppStacks/custom"),
	// 																									Properties: &armappservice.FunctionAppStackProperties{
	// 																										DisplayText: to.Ptr("Custom"),
	// 																										MajorVersions: []*armappservice.FunctionAppMajorVersion{
	// 																											{
	// 																												DisplayText: to.Ptr("Custom"),
	// 																												MinorVersions: []*armappservice.FunctionAppMinorVersion{
	// 																													{
	// 																														DisplayText: to.Ptr("Custom Handler"),
	// 																														StackSettings: &armappservice.FunctionAppRuntimes{
	// 																															LinuxRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																																AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																																	IsSupported: to.Ptr(true),
	// 																																},
	// 																																AppSettingsDictionary: map[string]*string{
	// 																																	"FUNCTIONS_WORKER_RUNTIME": to.Ptr("custom"),
	// 																																},
	// 																																GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																																	IsSupported: to.Ptr(false),
	// 																																},
	// 																																IsPreview: to.Ptr(true),
	// 																																RemoteDebuggingSupported: to.Ptr(false),
	// 																																RuntimeVersion: to.Ptr(""),
	// 																																SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																																	LinuxFxVersion: to.Ptr(""),
	// 																																	Use32BitWorkerProcess: to.Ptr(false),
	// 																																},
	// 																																SupportedFunctionsExtensionVersions: []*string{
	// 																																	to.Ptr("~3"),
	// 																																	to.Ptr("~2")},
	// 																																},
	// 																																WindowsRuntimeSettings: &armappservice.FunctionAppRuntimeSettings{
	// 																																	AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 																																		IsSupported: to.Ptr(true),
	// 																																	},
	// 																																	AppSettingsDictionary: map[string]*string{
	// 																																		"FUNCTIONS_WORKER_RUNTIME": to.Ptr("custom"),
	// 																																	},
	// 																																	GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 																																		IsSupported: to.Ptr(false),
	// 																																	},
	// 																																	IsPreview: to.Ptr(true),
	// 																																	RemoteDebuggingSupported: to.Ptr(false),
	// 																																	RuntimeVersion: to.Ptr("custom"),
	// 																																	SiteConfigPropertiesDictionary: &armappservice.SiteConfigPropertiesDictionary{
	// 																																		Use32BitWorkerProcess: to.Ptr(true),
	// 																																	},
	// 																																	SupportedFunctionsExtensionVersions: []*string{
	// 																																		to.Ptr("~3"),
	// 																																		to.Ptr("~2")},
	// 																																	},
	// 																																},
	// 																																Value: to.Ptr("custom"),
	// 																														}},
	// 																														Value: to.Ptr("custom"),
	// 																												}},
	// 																												PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 																												Value: to.Ptr("custom"),
	// 																											},
	// 																									}},
	// 																								}
}
Output:

func (*ProviderClient) NewGetWebAppStacksForLocationPager

NewGetWebAppStacksForLocationPager - Description for Get available Web app frameworks and their versions for location

Generated from API version 2023-01-01

  • location - Web App stack location.
  • options - ProviderClientGetWebAppStacksForLocationOptions contains the optional parameters for the ProviderClient.NewGetWebAppStacksForLocationPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebAppStacksForLocation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewProviderClient().NewGetWebAppStacksForLocationPager("westus", &armappservice.ProviderClientGetWebAppStacksForLocationOptions{StackOsType: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppStackCollection = armappservice.WebAppStackCollection{
	// 	Value: []*armappservice.WebAppStack{
	// 		{
	// 			Name: to.Ptr("dotnet"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/dotnet"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr(".NET"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr(".NET 5"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET 5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("5.0.x"),
	// 										},
	// 										IsEarlyAccess: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|5.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("5.0.x"),
	// 										},
	// 										IsEarlyAccess: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("v5.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("5"),
	// 						}},
	// 						Value: to.Ptr("5"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 3.1 (LTS)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1.301"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|3.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1.301"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("3.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 3.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-04-03T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.0.103"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|3.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-04-03T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.0.103"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("3.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.0"),
	// 						}},
	// 						Value: to.Ptr("3"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 2"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-23T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.2.207"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|2.2"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-23T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.2.207"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2.1 (LTS)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-21T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.807"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|2.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-21T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.807"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-11-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.202"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|2.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-11-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.202"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.0"),
	// 						}},
	// 						Value: to.Ptr("dotnetcore2"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 1"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 1.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|1.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 1.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|1.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.0"),
	// 						}},
	// 						Value: to.Ptr("1"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("ASP.NET V4"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("ASP.NET V4.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("v4.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("v4.8"),
	// 						}},
	// 						Value: to.Ptr("v4"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("ASP.NET V3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("ASP.NET V3.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("v2.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("v3.5"),
	// 						}},
	// 						Value: to.Ptr("v3"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 				Value: to.Ptr("dotnet"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("node"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/node"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Node"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Node LTS"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("lts"),
	// 						}},
	// 						Value: to.Ptr("lts"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 14"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 14 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("14.x"),
	// 										},
	// 										IsPreview: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|14-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("14-lts"),
	// 						}},
	// 						Value: to.Ptr("14"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 12"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 12 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("12.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|12-lts"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("12.13.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("12-lts"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 12.9"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("12.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(true),
	// 										RuntimeVersion: to.Ptr("NODE|12.9"),
	// 									},
	// 								},
	// 								Value: to.Ptr("12.9"),
	// 						}},
	// 						Value: to.Ptr("12"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 10"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 10 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10-LTS"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.16"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.16"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.16"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.15"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsHidden: to.Ptr(true),
	// 										IsPreview: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.15.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.15"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.14"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.14"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.14.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.14"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.10"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.0.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.10"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.6"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.6.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.1"),
	// 						}},
	// 						Value: to.Ptr("10"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 9"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 9.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|9.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.4"),
	// 						}},
	// 						Value: to.Ptr("9"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 8"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 8 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8-lts"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.11"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.11"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.11"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.11"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.10"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.10"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.9"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.9"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.9"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.9"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.4"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.1.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0"),
	// 						}},
	// 						Value: to.Ptr("8"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 7"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 7.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-07-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.10.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.10"),
	// 						}},
	// 						Value: to.Ptr("7"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 6"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 6 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6-LTS"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("6.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.11"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.11"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.11"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.10"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.10"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.9"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.9"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("6.9.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.9"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("6.5.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.2"),
	// 						}},
	// 						Value: to.Ptr("6"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 4"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 4.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|4.8"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("4.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("4.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 4.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|4.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("4.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 4.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|4.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("4.4"),
	// 						}},
	// 						Value: to.Ptr("4"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("node"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("python"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/python"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Python"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Python 3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Python 3.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|3.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Python 3.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.7"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|3.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.7"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Python 3.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.6"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|3.6"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.6"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("3.4.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.6"),
	// 						}},
	// 						Value: to.Ptr("3"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Python 2"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Python 2.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.7"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|2.7"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.7"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.7.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.7"),
	// 						}},
	// 						Value: to.Ptr("2"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("python"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("php"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/php"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("PHP"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("PHP 7"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-12-28T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.4"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-12-28T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.4"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-01-06T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.3"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-01-06T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-12-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.2"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-12-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("7.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0"),
	// 						}},
	// 						Value: to.Ptr("7"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("PHP 5"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("PHP 5.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-01-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|5.6"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-01-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("5.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("5.6"),
	// 						}},
	// 						Value: to.Ptr("5"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("php"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("ruby"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/ruby"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Ruby"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Ruby 2"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.6.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.6.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.6.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.5.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.5.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.5.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.4"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.4.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.4.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.4.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.3.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.3.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.3.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.3.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.3.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.3.3"),
	// 						}},
	// 						Value: to.Ptr("2"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("ruby"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("java"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/java"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Java"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Java 11"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java 11"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.7"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.5_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.3_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.2_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.2"),
	// 						}},
	// 						Value: to.Ptr("11"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Java 8"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java 8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_252"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_252"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.252"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_242"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_242"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.242"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_232"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_232_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.232"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_212"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_212_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.212"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_202"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_202_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.202"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_202 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_202"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.202 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_181"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_181_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.181"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_181 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_181"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.181 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_172"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_172_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.172"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_172 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_172"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.172 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_144"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_144"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.144"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_111 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_111"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.111 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_102"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_102"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.102"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_92"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_92"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.92"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_73 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_73"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.73 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_60 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_60"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.60 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_25 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_25"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.25 (Oracle)"),
	// 						}},
	// 						Value: to.Ptr("8"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Java 7"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java 7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_262"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_262_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.262"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_242"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_242_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.242"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_222"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_222_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.222"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_191"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_191_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.191"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_80 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_80"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.80 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_71 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_71"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.71 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_51 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_51"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.51 (Oracle)"),
	// 						}},
	// 						Value: to.Ptr("7"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("java"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("javacontainers"),
	// 			Type: to.Ptr("Microsoft.Web/locations/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/locations/webAppStacks/javacontainers"),
	// 			Location: to.Ptr("westus"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Java Containers"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Java SE (Embedded Web Server)"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java SE (Embedded Web Server)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										Java11Runtime: to.Ptr("JAVA|11-java11"),
	// 										Java8Runtime: to.Ptr("JAVA|8-jre8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JAVA"),
	// 										JavaContainerVersion: to.Ptr("SE"),
	// 									},
	// 								},
	// 								Value: to.Ptr("SE"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 11.0.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("JAVA|11.0.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.7"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 11.0.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("JAVA|11.0.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 11.0.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("JAVA|11.0.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 8u252"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java8Runtime: to.Ptr("JAVA|8u252"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.8.252"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 8u242"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java8Runtime: to.Ptr("JAVA|8u242"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.8.242"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 8u232"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java8Runtime: to.Ptr("JAVA|8u232"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.8.232"),
	// 						}},
	// 						Value: to.Ptr("javase"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("JBoss EAP"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("JBoss EAP 7.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsPreview: to.Ptr(true),
	// 										Java8Runtime: to.Ptr("JBOSSEAP|7.2-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.2"),
	// 						}},
	// 						Value: to.Ptr("jbosseap"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 9.0"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0-jre8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.37"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0.37-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0.37-java8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.37"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.37"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.33"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0.33-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0.33-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.33"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.31"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.31"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.31"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.27"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.27"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.27"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.21"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.21"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.21"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.20"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0.20-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0.20-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.20"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.14"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.14"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.14"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.0"),
	// 						}},
	// 						Value: to.Ptr("tomcat9.0"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 8.5"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5-jre8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.57"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5.57-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5.57-java8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.57"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.57"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.53"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5.53-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5.53-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.53"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.51"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.51"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.51"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.47"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.47"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.47"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.42"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.42"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.42"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.41"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5.41-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5.41-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.41"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.37"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.37"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.37"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.34"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.34"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.34"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.31"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.31"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.31"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.20"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.20"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.20"),
	// 						}},
	// 						Value: to.Ptr("tomcat8.5"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 8.0"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0.53"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0.53"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.53"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0.46"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0.46"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.46"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0.23"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0.23"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.23"),
	// 						}},
	// 						Value: to.Ptr("tomcat8.0"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 7.0"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.94"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.94"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.94"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.81"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.81"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.81"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.62"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.62"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.62"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.50"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.50"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.50"),
	// 						}},
	// 						Value: to.Ptr("tomcat7.0"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Jetty 9.3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.3.25"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.3.25"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.3.25"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.3.13"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.3.13"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.3.13"),
	// 						}},
	// 						Value: to.Ptr("jetty9.3"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Jetty 9.1"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.1.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.1.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.1.0"),
	// 						}},
	// 						Value: to.Ptr("jetty9.1"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("WildFly 14"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("WildFly 14"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										Java8Runtime: to.Ptr("WILDFLY|14-jre8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("14"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("WildFly 14.0.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										Java8Runtime: to.Ptr("WILDFLY|14.0.1-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("14.0.1"),
	// 						}},
	// 						Value: to.Ptr("wildfly14"),
	// 				}},
	// 				Value: to.Ptr("javacontainers"),
	// 			},
	// 	}},
	// }
}
Output:

func (*ProviderClient) NewGetWebAppStacksPager

NewGetWebAppStacksPager - Description for Get available Web app frameworks and their versions

Generated from API version 2023-01-01

  • options - ProviderClientGetWebAppStacksOptions contains the optional parameters for the ProviderClient.NewGetWebAppStacksPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebAppStacks.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewProviderClient().NewGetWebAppStacksPager(&armappservice.ProviderClientGetWebAppStacksOptions{StackOsType: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppStackCollection = armappservice.WebAppStackCollection{
	// 	Value: []*armappservice.WebAppStack{
	// 		{
	// 			Name: to.Ptr("dotnet"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/dotnet"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr(".NET"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr(".NET 5"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET 5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("5.0.x"),
	// 										},
	// 										IsEarlyAccess: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|5.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("5.0.x"),
	// 										},
	// 										IsEarlyAccess: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("v5.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("5"),
	// 						}},
	// 						Value: to.Ptr("5"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 3.1 (LTS)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1.301"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|3.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1.301"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("3.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 3.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-04-03T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.0.103"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|3.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-04-03T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.0.103"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("3.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.0"),
	// 						}},
	// 						Value: to.Ptr("3"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 2"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-23T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.2.207"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|2.2"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-23T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.2.207"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2.1 (LTS)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-21T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.807"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|2.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-09-21T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.807"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 2.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-11-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.202"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|2.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-11-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1.202"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.0"),
	// 						}},
	// 						Value: to.Ptr("dotnetcore2"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr(".NET Core 1"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 1.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|1.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr(".NET Core 1.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("DOTNETCORE|1.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-27T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("1.1.14"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.0"),
	// 						}},
	// 						Value: to.Ptr("1"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("ASP.NET V4"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("ASP.NET V4.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.1"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("v4.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("v4.8"),
	// 						}},
	// 						Value: to.Ptr("v4"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("ASP.NET V3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("ASP.NET V3.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.1"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("v2.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("v3.5"),
	// 						}},
	// 						Value: to.Ptr("v3"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsWindows),
	// 				Value: to.Ptr("dotnet"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("node"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/node"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Node"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Node LTS"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("lts"),
	// 						}},
	// 						Value: to.Ptr("lts"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 14"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 14 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("14.x"),
	// 										},
	// 										IsPreview: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|14-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("14-lts"),
	// 						}},
	// 						Value: to.Ptr("14"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 12"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 12 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("12.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|12-lts"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("12.13.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("12-lts"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 12.9"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("12.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(true),
	// 										RuntimeVersion: to.Ptr("NODE|12.9"),
	// 									},
	// 								},
	// 								Value: to.Ptr("12.9"),
	// 						}},
	// 						Value: to.Ptr("12"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 10"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 10 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10-LTS"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.16"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.16"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.16"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.15"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsHidden: to.Ptr(true),
	// 										IsPreview: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.15.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.15"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.14"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.14"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.14.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.14"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.10"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.0.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.10"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.6"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("10.6.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 10.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("10.x"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|10.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("10.1"),
	// 						}},
	// 						Value: to.Ptr("10"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 9"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 9.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|9.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.4"),
	// 						}},
	// 						Value: to.Ptr("9"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 8"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 8 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8-lts"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.11"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.11"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.11"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.11"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.10"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.10"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.9"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.9"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.9"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.9"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.4"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.1"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("8.1.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 8.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-01-31T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|8.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0"),
	// 						}},
	// 						Value: to.Ptr("8"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 7"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 7.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-07-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.10.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.10"),
	// 						}},
	// 						Value: to.Ptr("7"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 6"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 6 LTS"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6-lts"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6-LTS"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("6.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.11"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.11"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.11"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.10"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.10"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.10"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.9"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.9"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("6.9.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.9"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("6.5.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 6.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|6.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("6.2"),
	// 						}},
	// 						Value: to.Ptr("6"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Node 4"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Node 4.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|4.8"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("4.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("4.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 4.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|4.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("4.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Node 4.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-05-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("NODE|4.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("4.4"),
	// 						}},
	// 						Value: to.Ptr("4"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("node"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("python"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/python"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Python"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Python 3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Python 3.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|3.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Python 3.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.7"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|3.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.7"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Python 3.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.6"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|3.6"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("3.6"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("3.4.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("3.6"),
	// 						}},
	// 						Value: to.Ptr("3"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Python 2"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Python 2.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.7"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PYTHON|2.7"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("2.7"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("2.7.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.7"),
	// 						}},
	// 						Value: to.Ptr("2"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("python"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("php"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/php"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("PHP"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("PHP 7"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-12-28T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.4"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-12-28T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.4"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-01-06T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.3"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-01-06T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-12-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.2"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-12-30T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("PHP 7.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("7.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|7.0"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("7.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0"),
	// 						}},
	// 						Value: to.Ptr("7"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("PHP 5"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("PHP 5.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-01-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("PHP|5.6"),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-01-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("5.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("5.6"),
	// 						}},
	// 						Value: to.Ptr("5"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("php"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("ruby"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/ruby"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Ruby"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Ruby 2"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.6.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.6.2"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.6.2"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.5.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.5.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.5.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.4"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.4"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.4"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.4.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.4.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.4.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.3.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.3.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.3.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Ruby 2.3.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-05-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("RUBY|2.3.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("2.3.3"),
	// 						}},
	// 						Value: to.Ptr("2"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("ruby"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("java"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/java"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Java"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Java 11"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java 11"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.7"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.5_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.3_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 11.0.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("11"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("11.0.2_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.2"),
	// 						}},
	// 						Value: to.Ptr("11"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Java 8"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java 8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_252"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_252"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.252"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_242"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_242"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.242"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_232"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr(""),
	// 									},
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_232_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.232"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_212"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_212_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.212"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_202"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_202_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.202"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_202 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_202"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.202 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_181"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_181_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.181"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_181 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_181"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.181 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_172"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_172_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.172"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_172 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_172"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.172 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_144"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_144"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.144"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_111 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_111"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.111 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_102"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_102"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.102"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_92"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_92"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.92"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_73 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_73"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.73 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_60 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_60"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.60 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.8.0_25 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(true),
	// 											SupportedVersion: to.Ptr("8"),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.8.0_25"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.25 (Oracle)"),
	// 						}},
	// 						Value: to.Ptr("8"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Java 7"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java 7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_262"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_262_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.262"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_242"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_242_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.242"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_222"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_222_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.222"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_191"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										EndOfLifeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-01T00:00:00.000Z"); return t}()),
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_191_ZULU"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.191"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_80 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_80"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.80 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_71 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_71"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.71 (Oracle)"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java 1.7.0_51 (Oracle)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsRuntimeSettings: &armappservice.WebAppRuntimeSettings{
	// 										AppInsightsSettings: &armappservice.AppInsightsWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										GitHubActionSettings: &armappservice.GitHubActionWebAppStackSettings{
	// 											IsSupported: to.Ptr(false),
	// 										},
	// 										IsDeprecated: to.Ptr(true),
	// 										RemoteDebuggingSupported: to.Ptr(false),
	// 										RuntimeVersion: to.Ptr("1.7.0_51"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.51 (Oracle)"),
	// 						}},
	// 						Value: to.Ptr("7"),
	// 				}},
	// 				PreferredOs: to.Ptr(armappservice.StackPreferredOsLinux),
	// 				Value: to.Ptr("java"),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("javacontainers"),
	// 			Type: to.Ptr("Microsoft.Web/webAppStacks"),
	// 			ID: to.Ptr("/providers/Microsoft.Web/webAppStacks/javacontainers"),
	// 			Properties: &armappservice.WebAppStackProperties{
	// 				DisplayText: to.Ptr("Java Containers"),
	// 				MajorVersions: []*armappservice.WebAppMajorVersion{
	// 					{
	// 						DisplayText: to.Ptr("Java SE (Embedded Web Server)"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Java SE (Embedded Web Server)"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										Java11Runtime: to.Ptr("JAVA|11-java11"),
	// 										Java8Runtime: to.Ptr("JAVA|8-jre8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JAVA"),
	// 										JavaContainerVersion: to.Ptr("SE"),
	// 									},
	// 								},
	// 								Value: to.Ptr("SE"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 11.0.7"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("JAVA|11.0.7"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.7"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 11.0.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("JAVA|11.0.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 11.0.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("JAVA|11.0.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("11.0.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 8u252"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java8Runtime: to.Ptr("JAVA|8u252"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.8.252"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 8u242"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java8Runtime: to.Ptr("JAVA|8u242"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.8.242"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Java SE 8u232"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java8Runtime: to.Ptr("JAVA|8u232"),
	// 									},
	// 								},
	// 								Value: to.Ptr("1.8.232"),
	// 						}},
	// 						Value: to.Ptr("javase"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("JBoss EAP"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("JBoss EAP 7.2"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsPreview: to.Ptr(true),
	// 										Java8Runtime: to.Ptr("JBOSSEAP|7.2-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.2"),
	// 						}},
	// 						Value: to.Ptr("jbosseap"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 9.0"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0-jre8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.37"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0.37-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0.37-java8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.37"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.37"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.33"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0.33-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0.33-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.33"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.31"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.31"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.31"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.27"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.27"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.27"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.21"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.21"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.21"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.20"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|9.0.20-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|9.0.20-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.20"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.14"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.14"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.14"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.12"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.12"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.12"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.8"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.8"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 9.0.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("9.0.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.0.0"),
	// 						}},
	// 						Value: to.Ptr("tomcat9.0"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 8.5"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5-jre8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.6"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.6"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.6"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.57"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5.57-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5.57-java8"),
	// 									},
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.57"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.57"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.53"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5.53-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5.53-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.53"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.51"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.51"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.51"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.47"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.47"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.47"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.42"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.42"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.42"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.41"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										Java11Runtime: to.Ptr("TOMCAT|8.5.41-java11"),
	// 										Java8Runtime: to.Ptr("TOMCAT|8.5.41-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.41"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.37"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.37"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.37"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.34"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.34"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.34"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.31"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.31"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.31"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.5.20"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.5.20"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.5.20"),
	// 						}},
	// 						Value: to.Ptr("tomcat8.5"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 8.0"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0.53"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0.53"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.53"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0.46"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0.46"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.46"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 8.0.23"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("8.0.23"),
	// 									},
	// 								},
	// 								Value: to.Ptr("8.0.23"),
	// 						}},
	// 						Value: to.Ptr("tomcat8.0"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Tomcat 7.0"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.94"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.94"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.94"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.81"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.81"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.81"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.62"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.62"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.62"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Tomcat 7.0.50"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										JavaContainer: to.Ptr("TOMCAT"),
	// 										JavaContainerVersion: to.Ptr("7.0.50"),
	// 									},
	// 								},
	// 								Value: to.Ptr("7.0.50"),
	// 						}},
	// 						Value: to.Ptr("tomcat7.0"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Jetty 9.3"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.3"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.3"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.3"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.3.25"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.3.25"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.3.25"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.3.13"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.3.13"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.3.13"),
	// 						}},
	// 						Value: to.Ptr("jetty9.3"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("Jetty 9.1"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.1"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.1"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("Jetty 9.1.0"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									WindowsContainerSettings: &armappservice.WindowsJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										JavaContainer: to.Ptr("JETTY"),
	// 										JavaContainerVersion: to.Ptr("9.1.0"),
	// 									},
	// 								},
	// 								Value: to.Ptr("9.1.0"),
	// 						}},
	// 						Value: to.Ptr("jetty9.1"),
	// 					},
	// 					{
	// 						DisplayText: to.Ptr("WildFly 14"),
	// 						MinorVersions: []*armappservice.WebAppMinorVersion{
	// 							{
	// 								DisplayText: to.Ptr("WildFly 14"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsAutoUpdate: to.Ptr(true),
	// 										IsDeprecated: to.Ptr(true),
	// 										Java8Runtime: to.Ptr("WILDFLY|14-jre8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("14"),
	// 							},
	// 							{
	// 								DisplayText: to.Ptr("WildFly 14.0.1"),
	// 								StackSettings: &armappservice.WebAppRuntimes{
	// 									LinuxContainerSettings: &armappservice.LinuxJavaContainerSettings{
	// 										IsDeprecated: to.Ptr(true),
	// 										Java8Runtime: to.Ptr("WILDFLY|14.0.1-java8"),
	// 									},
	// 								},
	// 								Value: to.Ptr("14.0.1"),
	// 						}},
	// 						Value: to.Ptr("wildfly14"),
	// 				}},
	// 				Value: to.Ptr("javacontainers"),
	// 			},
	// 	}},
	// }
}
Output:

func (*ProviderClient) NewListOperationsPager

NewListOperationsPager - Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions

Generated from API version 2023-01-01

  • options - ProviderClientListOperationsOptions contains the optional parameters for the ProviderClient.NewListOperationsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListOperations.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewProviderClient().NewListOperationsPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmOperationCollection = armappservice.CsmOperationCollection{
	// 	Value: []*armappservice.CsmOperationDescription{
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of a Web App"),
	// 				Operation: to.Ptr("Get Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new Web App or update an existing one"),
	// 				Operation: to.Ptr("Create or Update Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new Web App Slot or update an existing one"),
	// 				Operation: to.Ptr("Create or Update Web App Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing Web App"),
	// 				Operation: to.Ptr("Delete Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing Web App Slot"),
	// 				Operation: to.Ptr("Delete Web App Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/config/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web App Slot's configuration settings"),
	// 				Operation: to.Ptr("Get Web App Slot Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/config/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web App configuration settings"),
	// 				Operation: to.Ptr("Get Web App Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/config/list/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings"),
	// 				Operation: to.Ptr("List Web App Security Sensitive Settings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/config/list/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings"),
	// 				Operation: to.Ptr("List Web App Slot Security Sensitive Settings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/config/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web App's configuration settings"),
	// 				Operation: to.Ptr("Update Web App Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/config/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web App Slot's configuration settings"),
	// 				Operation: to.Ptr("Update Web App Slot Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/sourcecontrols/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web App's source control configuration settings"),
	// 				Operation: to.Ptr("Get Web App Source Control Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/sourcecontrols/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web App Slot's source control configuration settings"),
	// 				Operation: to.Ptr("Get Web App Slot Source Control Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/sourcecontrols/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web App's source control configuration settings"),
	// 				Operation: to.Ptr("Update Web App Source Control Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/sourcecontrols/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web App Slot's source control configuration settings"),
	// 				Operation: to.Ptr("Update Web App Slot Source Control Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/sourcecontrols/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web App's source control configuration settings"),
	// 				Operation: to.Ptr("Delete Web App Source Control Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/sourcecontrols/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web App Slot's source control configuration settings"),
	// 				Operation: to.Ptr("Delete Web App Slot Source Control Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/backup/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new web app backup"),
	// 				Operation: to.Ptr("Create Web App Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/backup/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create new Web App Slot backup."),
	// 				Operation: to.Ptr("Create Web App Slot Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/backups/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of a web app's backup"),
	// 				Operation: to.Ptr("Get Web App Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/backups/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of a web app slots' backup"),
	// 				Operation: to.Ptr("List Web App Slot Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/publishxml/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get publishing profile xml for a Web App"),
	// 				Operation: to.Ptr("Get Web App Publishing Profile"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/publishxml/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get publishing profile xml for Web App Slot"),
	// 				Operation: to.Ptr("Get Web App Slot Publishing Profile"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/publish/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Publish a Web App"),
	// 				Operation: to.Ptr("Publish Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/publish/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Publish a Web App Slot"),
	// 				Operation: to.Ptr("Publish Web App Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/restart/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restart a Web App"),
	// 				Operation: to.Ptr("Restart Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/restart/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restart a Web App Slot"),
	// 				Operation: to.Ptr("Restart Web App Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/start/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Start a Web App"),
	// 				Operation: to.Ptr("Start Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/start/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Start a Web App Slot"),
	// 				Operation: to.Ptr("Start Web App Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/stop/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Stop a Web App"),
	// 				Operation: to.Ptr("Stop Web App"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/stop/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Stop a Web App Slot"),
	// 				Operation: to.Ptr("Stop Web App Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slotsswap/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Swap Web App deployment slots"),
	// 				Operation: to.Ptr("Swap Web App Slots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/slotsswap/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Swap Web App deployment slots"),
	// 				Operation: to.Ptr("Swap Web App Slots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slotsdiffs/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get differences in configuration between web app and slots"),
	// 				Operation: to.Ptr("Get Web App Slots Differences"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/slotsdiffs/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get differences in configuration between web app and slots"),
	// 				Operation: to.Ptr("Get Web App Slots Differences"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/applySlotConfig/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Apply web app slot configuration from target slot to the current web app"),
	// 				Operation: to.Ptr("Apply Web App Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/applySlotConfig/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Apply web app slot configuration from target slot to the current slot."),
	// 				Operation: to.Ptr("Apply Web App Slot Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/resetSlotConfig/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Reset web app configuration"),
	// 				Operation: to.Ptr("Reset Web App Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/resetSlotConfig/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Reset web app slot configuration"),
	// 				Operation: to.Ptr("Reset Web App Slot Configuration"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of a Web App deployment slot"),
	// 				Operation: to.Ptr("Get Web App Deployment Slot"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/serverfarms/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties on an App Service Plan"),
	// 				Operation: to.Ptr("Get App Service Plan"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plan"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/serverfarms/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new App Service Plan or update an existing one"),
	// 				Operation: to.Ptr("Create or Update App Service Plan"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plan"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/serverfarms/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing App Service Plan"),
	// 				Operation: to.Ptr("Delete App Service Plan"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plan"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/serverfarms/restartSites/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restart all Web Apps in an App Service Plan"),
	// 				Operation: to.Ptr("Restart Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plan"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/certificates/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of certificates."),
	// 				Operation: to.Ptr("Get Certificates"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Certificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/certificates/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Add a new certificate or update an existing one."),
	// 				Operation: to.Ptr("Add or Update Certificate"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Certificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/certificates/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an existing certificate."),
	// 				Operation: to.Ptr("Delete Certificate"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Certificate"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/aseRegions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of ASE regions."),
	// 				Operation: to.Ptr("Get ASE Regions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("ASE Region"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/geoRegions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of Geo regions."),
	// 				Operation: to.Ptr("Get Geo Regions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Geo Region"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/listSitesAssignedToHostName/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get names of sites assigned to hostname."),
	// 				Operation: to.Ptr("Get sites assigned to hostname"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Site Name"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of an App Service Environment"),
	// 				Operation: to.Ptr("Get App Service Environment"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new App Service Environment or update existing one"),
	// 				Operation: to.Ptr("Create or Update App Service Environment"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete an App Service Environment"),
	// 				Operation: to.Ptr("Delete App Service Environment"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/reboot/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Reboot all machines in an App Service Environment"),
	// 				Operation: to.Ptr("Reboot an App Service Environment"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of a FrontEnd Pool in an App Service Environment"),
	// 				Operation: to.Ptr("Get FrontEnd Pool"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment FrontEnd Pool"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new FrontEnd Pool in an App Service Environment or update an existing one"),
	// 				Operation: to.Ptr("Create or Update FrontEnd Pool"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment FrontEnd Pool"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the properties of a Worker Pool in an App Service Environment"),
	// 				Operation: to.Ptr("Get Worker Pool"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment Worker Pool"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Create a new Worker Pool in an App Service Environment or update an existing one"),
	// 				Operation: to.Ptr("Create or Update Worker Pool"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Environment Worker Pool"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connections/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of Connections."),
	// 				Operation: to.Ptr("Get Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connections/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Creates or updates a Connection."),
	// 				Operation: to.Ptr("Add or Update Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connections/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Deletes a Connection."),
	// 				Operation: to.Ptr("Delete Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connections/Join/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Joins a Connection."),
	// 				Operation: to.Ptr("Join Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connectionGateways/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of Connection Gateways."),
	// 				Operation: to.Ptr("Get Connection Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connection Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connectionGateways/Write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Creates or updates a Connection Gateway."),
	// 				Operation: to.Ptr("Add or Update Connection Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connection Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connectionGateways/Delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Deletes a Connection Gateway."),
	// 				Operation: to.Ptr("Delete Connection Gateway"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connection Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/connectionGateways/Join/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Joins a Connection Gateway."),
	// 				Operation: to.Ptr("Join Connection Gateway"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connection Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/recommendations/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of recommendations for subscriptions."),
	// 				Operation: to.Ptr("Get recommendations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Recommendation"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/recommendations/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get the list of recommendations for web app."),
	// 				Operation: to.Ptr("Get recommendations for web app"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Recommendation"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/availablestacks/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Available Stacks."),
	// 				Operation: to.Ptr("Get Available Stacks"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Available Stacks"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/functionappstacks/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Function App Stacks."),
	// 				Operation: to.Ptr("Get Function App Stacks"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Function App Stacks"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/webappstacks/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web App Stacks."),
	// 				Operation: to.Ptr("Get Web App Stacks"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web App Stacks"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/checknameavailability/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Check if resource name is available."),
	// 				Operation: to.Ptr("Get Check Name Availability"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Check Name Availability"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/classicmobileservices/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Classic Mobile Services."),
	// 				Operation: to.Ptr("Get Classic Mobile Services"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Classic Mobile Services"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/connections/confirmconsentcode/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Confirm Connections Consent Code."),
	// 				Operation: to.Ptr("Confirm Connections Consent Code"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/connections/listconsentlinks/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Consent Links for Connections."),
	// 				Operation: to.Ptr("List Consent Links for Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/deploymentlocations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Deployment Locations."),
	// 				Operation: to.Ptr("Get Deployment Locations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Deployment Locations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/capacities/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Capacities."),
	// 				Operation: to.Ptr("Get Hosting Environments Capacities"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Capacities"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/diagnostics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Diagnostics."),
	// 				Operation: to.Ptr("Get Hosting Environments Diagnostics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Diagnostics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/metricdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Metric Definitions."),
	// 				Operation: to.Ptr("Get Hosting Environments Metric Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Metric Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments MultiRole Pools Metric Definitions."),
	// 				Operation: to.Ptr("Get Hosting Environments MultiRole Pools Metric Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments MultiRole Pools Metric Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/multirolepools/metrics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments MultiRole Pools Metrics."),
	// 				Operation: to.Ptr("Get Hosting Environments MultiRole Pools Metrics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments MultiRole Pools Metrics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/multirolepools/skus/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments MultiRole Pools SKUs."),
	// 				Operation: to.Ptr("Get Hosting Environments MultiRole Pools SKUs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments MultiRole Pools SKUs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/multirolepools/usages/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments MultiRole Pools Usages."),
	// 				Operation: to.Ptr("Get Hosting Environments MultiRole Pools Usages"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments MultiRole Pools Usages"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/operations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Operations."),
	// 				Operation: to.Ptr("Get Hosting Environments Operations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Operations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/resume/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Resume Hosting Environments."),
	// 				Operation: to.Ptr("Resume Hosting Environments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/serverfarms/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments App Service Plans."),
	// 				Operation: to.Ptr("Get Hosting Environments App Service Plans"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments App Service Plans"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/sites/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Web Apps."),
	// 				Operation: to.Ptr("Get Hosting Environments Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/suspend/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Suspend Hosting Environments."),
	// 				Operation: to.Ptr("Suspend Hosting Environments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/usages/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Usages."),
	// 				Operation: to.Ptr("Get Hosting Environments Usages"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Usages"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/workerpools/metricdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Workerpools Metric Definitions."),
	// 				Operation: to.Ptr("Get Hosting Environments Workerpools Metric Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Workerpools Metric Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/workerpools/metrics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Workerpools Metrics."),
	// 				Operation: to.Ptr("Get Hosting Environments Workerpools Metrics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Workerpools Metrics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/workerpools/skus/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Workerpools SKUs."),
	// 				Operation: to.Ptr("Get Hosting Environments Workerpools SKUs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Workerpools SKUs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/workerpools/usages/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Hosting Environments Workerpools Usages."),
	// 				Operation: to.Ptr("Get Hosting Environments Workerpools Usages"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environments Workerpools Usages"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/ishostingenvironmentnameavailable/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get if Hosting Environment Name is available."),
	// 				Operation: to.Ptr("Check if Hosting Environment Name is available"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hosting Environment Name"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/ishostnameavailable/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Check if Hostname is Available."),
	// 				Operation: to.Ptr("Check if Hostname is Available"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Hostname"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/isusernameavailable/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Check if Username is available."),
	// 				Operation: to.Ptr("Check if Username is available"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Username"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/locations/apioperations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Locations API Operations."),
	// 				Operation: to.Ptr("Get Locations API Operations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Locations API Operations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/locations/connectiongatewayinstallations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Locations Connection Gateway Installations."),
	// 				Operation: to.Ptr("Get Locations Connection Gateway Installations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Locations Connection Gateway Installations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/locations/functionappstacks/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Locations Function App Stacks."),
	// 				Operation: to.Ptr("Get Locations Function App Stacks"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Locations Function App Stacks"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/locations/webappstacks/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Locations Web App Stacks."),
	// 				Operation: to.Ptr("Get Locations Web App Stacks"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Locations Web App Stacks"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/locations/managedapis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Locations Managed APIs."),
	// 				Operation: to.Ptr("Get Locations Managed APIs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Locations Managed APIs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/operations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Operations."),
	// 				Operation: to.Ptr("Get Operations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Operations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/publishingusers/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Publishing Users."),
	// 				Operation: to.Ptr("Get Publishing Users"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Publishing Users"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/publishingusers/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Publishing Users."),
	// 				Operation: to.Ptr("Update Publishing Users"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Publishing Users"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/capabilities/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Capabilities."),
	// 				Operation: to.Ptr("Get App Service Plans Capabilities"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Capabilities"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/firstpartyapps/settings/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete App Service Plans First Party Apps Settings."),
	// 				Operation: to.Ptr("Delete App Service Plans First Party Apps Settings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans First Party Apps Settings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/firstpartyapps/settings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans First Party Apps Settings."),
	// 				Operation: to.Ptr("Get App Service Plans First Party Apps Settings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans First Party Apps Settings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/firstpartyapps/settings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update App Service Plans First Party Apps Settings."),
	// 				Operation: to.Ptr("Update App Service Plans First Party Apps Settings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans First Party Apps Settings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Hybrid Connection Namespaces Relays Web Apps."),
	// 				Operation: to.Ptr("Get App Service Plans Hybrid Connection Namespaces Relays Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Hybrid Connection Namespaces Relays Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/hybridconnectionplanlimits/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Hybrid Connection Plan Limits."),
	// 				Operation: to.Ptr("Get App Service Plans Hybrid Connection Plan Limits"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Hybrid Connection Plan Limits"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/hybridconnectionrelays/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Hybrid Connection Relays."),
	// 				Operation: to.Ptr("Get App Service Plans Hybrid Connection Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Hybrid Connection Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/metricdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Metric Definitions."),
	// 				Operation: to.Ptr("Get App Service Plans Metric Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Metric Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/metrics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Metrics."),
	// 				Operation: to.Ptr("Get App Service Plans Metrics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Metrics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/operationresults/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Operation Results."),
	// 				Operation: to.Ptr("Get App Service Plans Operation Results"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Operation Results"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/sites/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Web Apps."),
	// 				Operation: to.Ptr("Get App Service Plans Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/skus/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans SKUs."),
	// 				Operation: to.Ptr("Get App Service Plans SKUs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans SKUs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/usages/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Usages."),
	// 				Operation: to.Ptr("Get App Service Plans Usages"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Usages"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/virtualnetworkconnections/gateways/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update App Service Plans Virtual Network Connections Gateways."),
	// 				Operation: to.Ptr("Update App Service Plans Virtual Network Connections Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Virtual Network Connections Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/virtualnetworkconnections/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Virtual Network Connections."),
	// 				Operation: to.Ptr("Get App Service Plans Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/virtualnetworkconnections/routes/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete App Service Plans Virtual Network Connections Routes."),
	// 				Operation: to.Ptr("Delete App Service Plans Virtual Network Connections Routes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Virtual Network Connections Routes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/virtualnetworkconnections/routes/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Virtual Network Connections Routes."),
	// 				Operation: to.Ptr("Get App Service Plans Virtual Network Connections Routes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Virtual Network Connections Routes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/virtualnetworkconnections/routes/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update App Service Plans Virtual Network Connections Routes."),
	// 				Operation: to.Ptr("Update App Service Plans Virtual Network Connections Routes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Virtual Network Connections Routes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/workers/reboot/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Reboot App Service Plans Workers."),
	// 				Operation: to.Ptr("Reboot App Service Plans Workers"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Workers"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/analyzecustomhostname/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Analyze Custom Hostname."),
	// 				Operation: to.Ptr("Analyze Custom Hostname"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Custom Hostname"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/backup/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Backup."),
	// 				Operation: to.Ptr("Get Web Apps Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Backup"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/backup/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Backup."),
	// 				Operation: to.Ptr("Update Web Apps Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Backup"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/backups/list/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Web Apps Backups."),
	// 				Operation: to.Ptr("List Web Apps Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Backups"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/backups/restore/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restore Web Apps Backups."),
	// 				Operation: to.Ptr("Restore Web Apps Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Backups"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/config/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Config."),
	// 				Operation: to.Ptr("Delete Web Apps Config"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Config"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/continuouswebjobs/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Continuous Web Jobs."),
	// 				Operation: to.Ptr("Delete Web Apps Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/continuouswebjobs/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Continuous Web Jobs."),
	// 				Operation: to.Ptr("Get Web Apps Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/continuouswebjobs/start/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Start Web Apps Continuous Web Jobs."),
	// 				Operation: to.Ptr("Start Web Apps Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/continuouswebjobs/stop/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Stop Web Apps Continuous Web Jobs."),
	// 				Operation: to.Ptr("Stop Web Apps Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/deployments/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Deployments."),
	// 				Operation: to.Ptr("Delete Web Apps Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/deployments/log/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Deployments Log."),
	// 				Operation: to.Ptr("Get Web Apps Deployments Log"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Deployments Log"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/deployments/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Deployments."),
	// 				Operation: to.Ptr("Get Web Apps Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/deployments/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Deployments."),
	// 				Operation: to.Ptr("Update Web Apps Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/frebanalysis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics FREB Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics FREB Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics FREB Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/frebanalysis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics FREB Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics FREB Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics FREB Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Categories."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Category"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Category"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/runtimeavailability/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Runtime Availability."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Runtime Availability"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Runtime Availability"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/servicehealth/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Service Health."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Service Health"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Service Health"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/workeravailability/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Workeravailability."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Workeravailability"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Workeravailability"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/workeravailability/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Workeravailability."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Workeravailability"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Workeravailability"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/workerprocessrecycle/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Worker Process Recycle."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Worker Process Recycle"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Worker Process Recycle"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Worker Process Recycle."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Worker Process Recycle"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Worker Process Recycle"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/aspnetcore/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics for ASP.NET Core app."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics ASP.NET Core"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics ASP.NET Core"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/aspnetcore/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics for ASP.NET Core app."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics ASP.NET Core"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics ASP.NET Core"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/domainownershipidentifiers/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Domain Ownership Identifiers."),
	// 				Operation: to.Ptr("Get Web Apps Domain Ownership Identifiers"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Domain Ownership Identifiers"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/domainownershipidentifiers/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Domain Ownership Identifiers."),
	// 				Operation: to.Ptr("Update Web Apps Domain Ownership Identifiers"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Domain Ownership Identifiers"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Functions Web Apps."),
	// 				Operation: to.Ptr("Functions Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Functions."),
	// 				Operation: to.Ptr("Delete Web Apps Functions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Functions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/listsecrets/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Secrets Web Apps Functions."),
	// 				Operation: to.Ptr("List Secrets Web Apps Functions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Functions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Functions."),
	// 				Operation: to.Ptr("Get Web Apps Functions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Functions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Functions."),
	// 				Operation: to.Ptr("Update Web Apps Functions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Functions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hostnamebindings/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Hostname Bindings."),
	// 				Operation: to.Ptr("Delete Web Apps Hostname Bindings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hostname Bindings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hostnamebindings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Hostname Bindings."),
	// 				Operation: to.Ptr("Get Web Apps Hostname Bindings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hostname Bindings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hostnamebindings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Hostname Bindings."),
	// 				Operation: to.Ptr("Update Web Apps Hostname Bindings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hostname Bindings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnection/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Hybrid Connection."),
	// 				Operation: to.Ptr("Delete Web Apps Hybrid Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnection/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Hybrid Connection."),
	// 				Operation: to.Ptr("Get Web Apps Hybrid Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnection/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Hybrid Connection."),
	// 				Operation: to.Ptr("Update Web Apps Hybrid Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnectionrelays/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Hybrid Connection Relays."),
	// 				Operation: to.Ptr("Get Web Apps Hybrid Connection Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/deployments/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Instances Deployments."),
	// 				Operation: to.Ptr("Get Web Apps Instances Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/processes/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Instances Processes."),
	// 				Operation: to.Ptr("Delete Web Apps Instances Processes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances Processes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/processes/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Instances Processes."),
	// 				Operation: to.Ptr("Get Web Apps Instances Processes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances Processes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Instances."),
	// 				Operation: to.Ptr("Get Web Apps Instances"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/listsyncfunctiontriggerstatus/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Sync Function Trigger Status Web Apps."),
	// 				Operation: to.Ptr("List Sync Function Trigger Status Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/metricdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Metric Definitions."),
	// 				Operation: to.Ptr("Get Web Apps Metric Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Metric Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/metrics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Metrics."),
	// 				Operation: to.Ptr("Get Web Apps Metrics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Metrics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/networktrace/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Network Trace Web Apps."),
	// 				Operation: to.Ptr("Network Trace Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/newpassword/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Newpassword Web Apps."),
	// 				Operation: to.Ptr("Newpassword Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/operationresults/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Operation Results."),
	// 				Operation: to.Ptr("Get Web Apps Operation Results"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Operation Results"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/perfcounters/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Performance Counters."),
	// 				Operation: to.Ptr("Get Web Apps Performance Counters"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Performance Counters"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/premieraddons/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Premier Addons."),
	// 				Operation: to.Ptr("Delete Web Apps Premier Addons"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Premier Addons"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/premieraddons/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Premier Addons."),
	// 				Operation: to.Ptr("Get Web Apps Premier Addons"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Premier Addons"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/premieraddons/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Premier Addons."),
	// 				Operation: to.Ptr("Update Web Apps Premier Addons"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Premier Addons"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/publishxml/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Publishing XML."),
	// 				Operation: to.Ptr("Get Web Apps Publishing XML"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Publishing XML"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/recommendationhistory/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Recommendation History."),
	// 				Operation: to.Ptr("Get Web Apps Recommendation History"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Recommendation History"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/recommendations/disable/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Disable Web Apps Recommendations."),
	// 				Operation: to.Ptr("Disable Web Apps Recommendations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Recommendations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/restore/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Restore."),
	// 				Operation: to.Ptr("Get Web Apps Restore"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Restore"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/analyzecustomhostname/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Analyze Custom Hostname."),
	// 				Operation: to.Ptr("Get Web Apps Slots Analyze Custom Hostname"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Analyze Custom Hostname"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/backup/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Backup."),
	// 				Operation: to.Ptr("Update Web Apps Slots Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Backup"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/backups/list/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Web Apps Slots Backups."),
	// 				Operation: to.Ptr("List Web Apps Slots Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Backups"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/backups/restore/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restore Web Apps Slots Backups."),
	// 				Operation: to.Ptr("Restore Web Apps Slots Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Backups"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/config/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Config."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Config"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Config"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/continuouswebjobs/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Continuous Web Jobs."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/continuouswebjobs/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Continuous Web Jobs."),
	// 				Operation: to.Ptr("Get Web Apps Slots Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/continuouswebjobs/start/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Start Web Apps Slots Continuous Web Jobs."),
	// 				Operation: to.Ptr("Start Web Apps Slots Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/continuouswebjobs/stop/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Stop Web Apps Slots Continuous Web Jobs."),
	// 				Operation: to.Ptr("Stop Web Apps Slots Continuous Web Jobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Continuous Web Jobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/deployments/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Deployments."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/deployments/log/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Deployments Log."),
	// 				Operation: to.Ptr("Get Web Apps Slots Deployments Log"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Deployments Log"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/deployments/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Deployments."),
	// 				Operation: to.Ptr("Get Web Apps Slots Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/deployments/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Deployments."),
	// 				Operation: to.Ptr("Update Web Apps Slots Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hostnamebindings/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Hostname Bindings."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Hostname Bindings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hostname Bindings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hostnamebindings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Hostname Bindings."),
	// 				Operation: to.Ptr("Get Web Apps Slots Hostname Bindings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hostname Bindings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hostnamebindings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Hostname Bindings."),
	// 				Operation: to.Ptr("Update Web Apps Slots Hostname Bindings"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hostname Bindings"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hybridconnection/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Hybrid Connection."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Hybrid Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hybrid Connection"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hybridconnection/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Hybrid Connection."),
	// 				Operation: to.Ptr("Get Web Apps Slots Hybrid Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hybrid Connection"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hybridconnection/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Hybrid Connection."),
	// 				Operation: to.Ptr("Update Web Apps Slots Hybrid Connection"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hybrid Connection"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/instances/deployments/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Instances Deployments."),
	// 				Operation: to.Ptr("Get Web Apps Slots Instances Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Instances Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/instances/processes/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Instances Processes."),
	// 				Operation: to.Ptr("Get Web Apps Slots Instances Processes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Instances Processes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/instances/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Instances."),
	// 				Operation: to.Ptr("Get Web Apps Slots Instances"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Instances"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/metricdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Metric Definitions."),
	// 				Operation: to.Ptr("Get Web Apps Slots Metric Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Metric Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/metrics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Metrics."),
	// 				Operation: to.Ptr("Get Web Apps Slots Metrics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Metrics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/newpassword/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Newpassword Web Apps Slots."),
	// 				Operation: to.Ptr("Newpassword Web Apps Slots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/operationresults/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Operation Results."),
	// 				Operation: to.Ptr("Get Web Apps Slots Operation Results"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Operation Results"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/phplogging/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Phplogging."),
	// 				Operation: to.Ptr("Get Web Apps Slots Phplogging"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Phplogging"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/premieraddons/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Premier Addons."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Premier Addons"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Premier Addons"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/premieraddons/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Premier Addons."),
	// 				Operation: to.Ptr("Get Web Apps Slots Premier Addons"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Premier Addons"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/premieraddons/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Premier Addons."),
	// 				Operation: to.Ptr("Update Web Apps Slots Premier Addons"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Premier Addons"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/restore/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Restore."),
	// 				Operation: to.Ptr("Get Web Apps Slots Restore"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Restore"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/sync/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Sync Web Apps Slots."),
	// 				Operation: to.Ptr("Sync Web Apps Slots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/triggeredwebjobs/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Triggered WebJobs."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Triggered WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Triggered WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/triggeredwebjobs/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Triggered WebJobs."),
	// 				Operation: to.Ptr("Get Web Apps Slots Triggered WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Triggered WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/triggeredwebjobs/run/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Run Web Apps Slots Triggered WebJobs."),
	// 				Operation: to.Ptr("Run Web Apps Slots Triggered WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Triggered WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/usages/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Usages."),
	// 				Operation: to.Ptr("Get Web Apps Slots Usages"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Usages"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/virtualnetworkconnections/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Virtual Network Connections."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/virtualnetworkconnections/gateways/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Virtual Network Connections Gateways."),
	// 				Operation: to.Ptr("Update Web Apps Slots Virtual Network Connections Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Virtual Network Connections Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/virtualnetworkconnections/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Virtual Network Connections."),
	// 				Operation: to.Ptr("Get Web Apps Slots Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/virtualnetworkconnections/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Virtual Network Connections."),
	// 				Operation: to.Ptr("Update Web Apps Slots Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/webjobs/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots WebJobs."),
	// 				Operation: to.Ptr("Get Web Apps Slots WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/snapshots/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Snapshots."),
	// 				Operation: to.Ptr("Get Web Apps Snapshots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Snapshots"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/sync/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Sync Web Apps."),
	// 				Operation: to.Ptr("Sync Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/triggeredwebjobs/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Triggered WebJobs."),
	// 				Operation: to.Ptr("Delete Web Apps Triggered WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Triggered WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/triggeredwebjobs/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Triggered WebJobs."),
	// 				Operation: to.Ptr("Get Web Apps Triggered WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Triggered WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/triggeredwebjobs/run/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Run Web Apps Triggered WebJobs."),
	// 				Operation: to.Ptr("Run Web Apps Triggered WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Triggered WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/usages/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Usages."),
	// 				Operation: to.Ptr("Get Web Apps Usages"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Usages"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/virtualnetworkconnections/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Virtual Network Connections."),
	// 				Operation: to.Ptr("Delete Web Apps Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/virtualnetworkconnections/gateways/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Virtual Network Connections Gateways."),
	// 				Operation: to.Ptr("Get Web Apps Virtual Network Connections Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Virtual Network Connections Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/virtualnetworkconnections/gateways/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Virtual Network Connections Gateways."),
	// 				Operation: to.Ptr("Update Web Apps Virtual Network Connections Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Virtual Network Connections Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/virtualnetworkconnections/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Virtual Network Connections."),
	// 				Operation: to.Ptr("Get Web Apps Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/virtualnetworkconnections/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Virtual Network Connections."),
	// 				Operation: to.Ptr("Update Web Apps Virtual Network Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Virtual Network Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/webjobs/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps WebJobs."),
	// 				Operation: to.Ptr("Get Web Apps WebJobs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps WebJobs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/skus/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get SKUs."),
	// 				Operation: to.Ptr("Get SKUs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("SKUs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sourcecontrols/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Source Controls."),
	// 				Operation: to.Ptr("Get Source Controls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Source Controls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sourcecontrols/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Source Controls."),
	// 				Operation: to.Ptr("Update Source Controls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Source Controls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/unregister/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Unregister Microsoft.Web resource provider for the subscription."),
	// 				Operation: to.Ptr("Unregister Microsoft.Web resource provider"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Microsoft.Web resource provider"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/validate/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Validate ."),
	// 				Operation: to.Ptr("Validate "),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr(""),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/register/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Register Microsoft.Web resource provider for the subscription."),
	// 				Operation: to.Ptr("Register Microsoft.Web resource provider"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Microsoft.Web resource provider"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get App Service Plans Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Get App Service Plans Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/backups/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Backups."),
	// 				Operation: to.Ptr("Delete Web Apps Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Backups"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnectionnamespaces/relays/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Delete Web Apps Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Keys Web Apps Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("List Keys Web Apps Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnectionnamespaces/relays/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Update Web Apps Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/metricsdefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Metrics Definitions."),
	// 				Operation: to.Ptr("Get Web Apps Metrics Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Metrics Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/migratemysql/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Migrate MySql Web Apps."),
	// 				Operation: to.Ptr("Migrate MySql Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/migratemysql/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Migrate MySql."),
	// 				Operation: to.Ptr("Get Web Apps Migrate MySql"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Migrate MySql"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/recover/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Recover Web Apps."),
	// 				Operation: to.Ptr("Recover Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/siteextensions/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Site Extensions."),
	// 				Operation: to.Ptr("Delete Web Apps Site Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Site Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/siteextensions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Site Extensions."),
	// 				Operation: to.Ptr("Get Web Apps Site Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Site Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/siteextensions/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Site Extensions."),
	// 				Operation: to.Ptr("Update Web Apps Site Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Site Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/backup/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Backup."),
	// 				Operation: to.Ptr("Get Web Apps Slots Backup"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Backup"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hybridconnectionrelays/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Hybrid Connection Relays."),
	// 				Operation: to.Ptr("Get Web Apps Slots Hybrid Connection Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hybrid Connection Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/siteextensions/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Site Extensions."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Site Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Site Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/siteextensions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Site Extensions."),
	// 				Operation: to.Ptr("Get Web Apps Slots Site Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Site Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/siteextensions/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Site Extensions."),
	// 				Operation: to.Ptr("Update Web Apps Slots Site Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Site Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/snapshots/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Snapshots."),
	// 				Operation: to.Ptr("Get Web Apps Slots Snapshots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Snapshots"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/syncfunctiontriggers/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Sync Function Triggers for Web Apps."),
	// 				Operation: to.Ptr("Sync Function Triggers for Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/triggeredwebjobs/history/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Triggered WebJobs History."),
	// 				Operation: to.Ptr("Get Web Apps Triggered WebJobs History"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Triggered WebJobs History"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/connectiongateways/liststatus/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Status Connection Gateways."),
	// 				Operation: to.Ptr("List Status Connection Gateways"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Connection Gateways"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete App Service Plans Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Delete App Service Plans Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("App Service Plans Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/deployment/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Deployment."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Deployment"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Deployment"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/sitecpuanalysis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site CPU Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site CPU Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site CPU Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/sitelatency/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site Latency."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site Latency"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site Latency"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/sitememoryanalysis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site Memory Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site Memory Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site Memory Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/threadcount/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Thread Count."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Thread Count"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Thread Count"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/deployment/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Deployment."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Deployment"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Deployment"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site CPU Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site CPU Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site CPU Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/sitelatency/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Latency."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Latency"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Latency"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Memory Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Memory Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Memory Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/threadcount/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Thread Count."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Thread Count"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Thread Count"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/masterkey/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Functions Masterkey."),
	// 				Operation: to.Ptr("Get Web Apps Functions Masterkey"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Functions Masterkey"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/hybridconnectionnamespaces/relays/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Get Web Apps Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/extensions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Instances Extensions."),
	// 				Operation: to.Ptr("Get Web Apps Instances Extensions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances Extensions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/operations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Operations."),
	// 				Operation: to.Ptr("Get Web Apps Operations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Operations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/resourcehealthmetadata/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Resource Health Metadata."),
	// 				Operation: to.Ptr("Get Web Apps Resource Health Metadata"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Resource Health Metadata"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/backups/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Backups."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Backups"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Backups"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/domainownershipidentifiers/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Domain Ownership Identifiers."),
	// 				Operation: to.Ptr("Get Web Apps Slots Domain Ownership Identifiers"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Domain Ownership Identifiers"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Slots Hybrid Connection Namespaces Relays."),
	// 				Operation: to.Ptr("Update Web Apps Slots Hybrid Connection Namespaces Relays"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Hybrid Connection Namespaces Relays"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/operations/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Operations."),
	// 				Operation: to.Ptr("Get Web Apps Slots Operations"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Operations"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/perfcounters/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Performance Counters."),
	// 				Operation: to.Ptr("Get Web Apps Slots Performance Counters"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Performance Counters"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/resourcehealthmetadata/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Resource Health Metadata."),
	// 				Operation: to.Ptr("Get Web Apps Slots Resource Health Metadata"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Resource Health Metadata"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apiacls/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts Apiacls."),
	// 				Operation: to.Ptr("Get Api Management Accounts Apiacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts Apiacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("Get Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts APIs."),
	// 				Operation: to.Ptr("Get Api Management Accounts APIs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/connectionacls/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts Connectionacls."),
	// 				Operation: to.Ptr("Get Api Management Accounts Connectionacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts Connectionacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/apiacls/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Api Management Accounts APIs Apiacls."),
	// 				Operation: to.Ptr("Delete Api Management Accounts APIs Apiacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Apiacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/apiacls/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts APIs Apiacls."),
	// 				Operation: to.Ptr("Get Api Management Accounts APIs Apiacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Apiacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/apiacls/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Api Management Accounts APIs Apiacls."),
	// 				Operation: to.Ptr("Update Api Management Accounts APIs Apiacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Apiacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connectionacls/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts APIs Connectionacls."),
	// 				Operation: to.Ptr("Get Api Management Accounts APIs Connectionacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connectionacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Confirm Consent Code Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("Confirm Consent Code Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Api Management Accounts APIs Connections Connectionacls."),
	// 				Operation: to.Ptr("Delete Api Management Accounts APIs Connections Connectionacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections Connectionacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts APIs Connections Connectionacls."),
	// 				Operation: to.Ptr("Get Api Management Accounts APIs Connections Connectionacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections Connectionacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Api Management Accounts APIs Connections Connectionacls."),
	// 				Operation: to.Ptr("Update Api Management Accounts APIs Connections Connectionacls"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections Connectionacls"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("Delete Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Consent Links for Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("Get Consent Links for Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("Update Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Api Management Accounts APIs."),
	// 				Operation: to.Ptr("Delete Api Management Accounts APIs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Api Management Accounts APIs Localized Definitions."),
	// 				Operation: to.Ptr("Delete Api Management Accounts APIs Localized Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Localized Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Api Management Accounts APIs Localized Definitions."),
	// 				Operation: to.Ptr("Get Api Management Accounts APIs Localized Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Localized Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Api Management Accounts APIs Localized Definitions."),
	// 				Operation: to.Ptr("Update Api Management Accounts APIs Localized Definitions"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Localized Definitions"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Api Management Accounts APIs."),
	// 				Operation: to.Ptr("Update Api Management Accounts APIs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Connection Keys Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("List Connection Keys Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("List Secrets Api Management Accounts APIs Connections."),
	// 				Operation: to.Ptr("List Secrets Api Management Accounts APIs Connections"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Api Management Accounts APIs Connections"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/deployments/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Deployments."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/deployments/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Deployments."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/loganalyzer/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Log Analyzer."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Log Analyzer"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Log Analyzer"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/loganalyzer/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Log Analyzer."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Log Analyzer"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Log Analyzer"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/sitecrashes/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site Crashes."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site Crashes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site Crashes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/sitecrashes/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Crashes."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Crashes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Crashes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/siterestartsettingupdate/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site Restart Setting Update."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site Restart Setting Update"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site Restart Setting Update"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Restart Setting Update."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Restart Setting Update"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Restart Setting Update"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/siterestartuserinitiated/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site Restart User Initiated."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site Restart User Initiated"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site Restart User Initiated"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Restart User Initiated."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Restart User Initiated"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Restart User Initiated"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/siteswap/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Site Swap."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Site Swap"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Site Swap"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/siteswap/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Swap."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Swap"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Swap"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/functions/token/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Functions Token."),
	// 				Operation: to.Ptr("Get Web Apps Functions Token"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Functions Token"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/deployments/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Instances Deployments."),
	// 				Operation: to.Ptr("Delete Web Apps Instances Deployments"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances Deployments"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/processes/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Processes."),
	// 				Operation: to.Ptr("Get Web Apps Processes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Processes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/publiccertificates/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Public Certificates."),
	// 				Operation: to.Ptr("Delete Web Apps Public Certificates"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Public Certificates"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/publiccertificates/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Public Certificates."),
	// 				Operation: to.Ptr("Get Web Apps Public Certificates"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Public Certificates"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/publiccertificates/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Web Apps Public Certificates."),
	// 				Operation: to.Ptr("Update Web Apps Public Certificates"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Public Certificates"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/networktrace/action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Network Trace Web Apps Slots."),
	// 				Operation: to.Ptr("Network Trace Web Apps Slots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/autoheal/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Autoheal."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Autoheal"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Autoheal"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/autoheal/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Autoheal."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Autoheal"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Autoheal"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/runtimeavailability/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Runtime Availability."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Runtime Availability"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Runtime Availability"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/servicehealth/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Service Health."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Service Health"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Service Health"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/sitelatency/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Site Latency."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Site Latency"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Site Latency"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/migratemysql/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Migrate MySql."),
	// 				Operation: to.Ptr("Get Web Apps Slots Migrate MySql"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Migrate MySql"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Read diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for Web App"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Creates or updates the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Write diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for Web App"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Read diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for Web App slot"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Creates or updates the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Write diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for Web App slot"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Read diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for App Service plan"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Creates or updates the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Write diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for App Service plan"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Read diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for App Service Environment"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Creates or updates the diagnostic setting for the resource"),
	// 				Operation: to.Ptr("Write diagnostic setting"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Diagnostic setting for App Service Environment"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/billingmeters/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get list of billing meters."),
	// 				Operation: to.Ptr("Read billing meters"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Billing meters for Microsoft Web Apps"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/instances/processes/delete"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Delete Web Apps Slots Instances Processes."),
	// 				Operation: to.Ptr("Delete Web Apps Slots Instances Processes"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Instances Processes"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/restore/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restore Web Apps."),
	// 				Operation: to.Ptr("Restore Web Apps"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/instances/extensions/log/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Instances Extensions Log."),
	// 				Operation: to.Ptr("Get Web Apps Instances Extensions Log"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Instances Extensions Log"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/customapis/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Update Custom APIs."),
	// 				Operation: to.Ptr("Update Custom APIs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Custom APIs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/customapis/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Custom APIs."),
	// 				Operation: to.Ptr("Get Custom APIs"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Custom APIs"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/failedrequestsperuri/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Failed Requests Per Uri."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Failed Requests Per Uri"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Failed Requests Per Uri"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/restore/write"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Restore Web Apps Slots."),
	// 				Operation: to.Ptr("Restore Web Apps Slots"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/detectors/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Detector."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Detector"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Detector"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/analyses/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Diagnostics Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Diagnostics Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/analyses/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Analysis."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/detectors/read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Get Web Apps Slots Diagnostics Detector."),
	// 				Operation: to.Ptr("Get Web Apps Slots Diagnostics Detector"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Detector"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/analyses/execute/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Run Web Apps Diagnostics Analysis."),
	// 				Operation: to.Ptr("Run Web Apps Diagnostics Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/diagnostics/detectors/execute/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Run Web Apps Diagnostics Detector."),
	// 				Operation: to.Ptr("Run Web Apps Diagnostics Detector"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Diagnostics Detector"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/analyses/execute/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Run Web Apps Slots Diagnostics Analysis."),
	// 				Operation: to.Ptr("Run Web Apps Slots Diagnostics Analysis"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Analysis"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("microsoft.web/sites/slots/diagnostics/detectors/execute/Action"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Run Web Apps Slots Diagnostics Detector."),
	// 				Operation: to.Ptr("Run Web Apps Slots Diagnostics Detector"),
	// 				Provider: to.Ptr("Microsoft Web Apps"),
	// 				Resource: to.Ptr("Web Apps Slots Diagnostics Detector"),
	// 			},
	// 			Origin: to.Ptr("user,system"),
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the available metrics for App Service Plan"),
	// 				Operation: to.Ptr("Read App Service Plan metric definitions"),
	// 				Provider: to.Ptr("Microsoft.Web"),
	// 				Resource: to.Ptr("The metric definition of App Service Plan"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 			Properties: &armappservice.CsmOperationDescriptionProperties{
	// 				ServiceSpecification: &armappservice.ServiceSpecification{
	// 					MetricSpecifications: []*armappservice.MetricSpecification{
	// 						{
	// 							Name: to.Ptr("CpuPercentage"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("CPU Percentage"),
	// 							DisplayName: to.Ptr("CPU Percentage"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Percent"),
	// 						},
	// 						{
	// 							Name: to.Ptr("MemoryPercentage"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Memory Percentage"),
	// 							DisplayName: to.Ptr("Memory Percentage"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Percent"),
	// 						},
	// 						{
	// 							Name: to.Ptr("DiskQueueLength"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Disk Queue Length"),
	// 							DisplayName: to.Ptr("Disk Queue Length"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("HttpQueueLength"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http Queue Length"),
	// 							DisplayName: to.Ptr("Http Queue Length"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesReceived"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data In"),
	// 							DisplayName: to.Ptr("Data In"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesSent"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data Out"),
	// 							DisplayName: to.Ptr("Data Out"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 					}},
	// 				},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the available metrics for Web App"),
	// 				Operation: to.Ptr("Read Web App metric definitions"),
	// 				Provider: to.Ptr("Microsoft.Web"),
	// 				Resource: to.Ptr("The metric definition of Web App"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 			Properties: &armappservice.CsmOperationDescriptionProperties{
	// 				ServiceSpecification: &armappservice.ServiceSpecification{
	// 					MetricSpecifications: []*armappservice.MetricSpecification{
	// 						{
	// 							Name: to.Ptr("CpuTime"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("CPU Time"),
	// 							DisplayName: to.Ptr("CPU Time"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Seconds"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Requests"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Requests"),
	// 							DisplayName: to.Ptr("Requests"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesReceived"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data In"),
	// 							DisplayName: to.Ptr("Data In"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesSent"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data Out"),
	// 							DisplayName: to.Ptr("Data Out"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http101"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 101"),
	// 							DisplayName: to.Ptr("Http 101"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http2xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 2xx"),
	// 							DisplayName: to.Ptr("Http 2xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http3xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 3xx"),
	// 							DisplayName: to.Ptr("Http 3xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http401"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 401"),
	// 							DisplayName: to.Ptr("Http 401"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http403"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 403"),
	// 							DisplayName: to.Ptr("Http 403"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http404"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 404"),
	// 							DisplayName: to.Ptr("Http 404"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http406"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 406"),
	// 							DisplayName: to.Ptr("Http 406"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http4xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 4xx"),
	// 							DisplayName: to.Ptr("Http 4xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http5xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http Server Errors"),
	// 							DisplayName: to.Ptr("Http Server Errors"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("MemoryWorkingSet"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Memory working set"),
	// 							DisplayName: to.Ptr("Memory working set"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("AverageMemoryWorkingSet"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Average memory working set"),
	// 							DisplayName: to.Ptr("Average memory working set"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("AverageResponseTime"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Average Response Time"),
	// 							DisplayName: to.Ptr("Average Response Time"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Seconds"),
	// 						},
	// 						{
	// 							Name: to.Ptr("FunctionExecutionUnits"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Function Execution Units"),
	// 							DisplayName: to.Ptr("Function Execution Units"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("(?i:functionapp)"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("FunctionExecutionCount"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Function Execution Count"),
	// 							DisplayName: to.Ptr("Function Execution Count"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("(?i:functionapp)"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 					}},
	// 				},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the available metrics for Web App Slot"),
	// 				Operation: to.Ptr("Read Web App Slot metric definitions"),
	// 				Provider: to.Ptr("Microsoft.Web"),
	// 				Resource: to.Ptr("The metric definition of Web App Slot"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 			Properties: &armappservice.CsmOperationDescriptionProperties{
	// 				ServiceSpecification: &armappservice.ServiceSpecification{
	// 					MetricSpecifications: []*armappservice.MetricSpecification{
	// 						{
	// 							Name: to.Ptr("CpuTime"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("CPU Time"),
	// 							DisplayName: to.Ptr("CPU Time"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Seconds"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Requests"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Requests"),
	// 							DisplayName: to.Ptr("Requests"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesReceived"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data In"),
	// 							DisplayName: to.Ptr("Data In"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesSent"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data Out"),
	// 							DisplayName: to.Ptr("Data Out"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http101"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 101"),
	// 							DisplayName: to.Ptr("Http 101"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http2xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 2xx"),
	// 							DisplayName: to.Ptr("Http 2xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http3xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 3xx"),
	// 							DisplayName: to.Ptr("Http 3xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http401"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 401"),
	// 							DisplayName: to.Ptr("Http 401"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http403"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 403"),
	// 							DisplayName: to.Ptr("Http 403"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http404"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 404"),
	// 							DisplayName: to.Ptr("Http 404"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http406"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 406"),
	// 							DisplayName: to.Ptr("Http 406"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http4xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 4xx"),
	// 							DisplayName: to.Ptr("Http 4xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http5xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http Server Errors"),
	// 							DisplayName: to.Ptr("Http Server Errors"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("MemoryWorkingSet"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Memory working set"),
	// 							DisplayName: to.Ptr("Memory working set"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("AverageMemoryWorkingSet"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Average memory working set"),
	// 							DisplayName: to.Ptr("Average memory working set"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("AverageResponseTime"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Average Response Time"),
	// 							DisplayName: to.Ptr("Average Response Time"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("^(?!functionapp).*$"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Seconds"),
	// 						},
	// 						{
	// 							Name: to.Ptr("FunctionExecutionUnits"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Function Execution Units"),
	// 							DisplayName: to.Ptr("Function Execution Units"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("(?i:functionapp)"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("FunctionExecutionCount"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Function Execution Count"),
	// 							DisplayName: to.Ptr("Function Execution Count"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							MetricFilterPattern: to.Ptr("(?i:functionapp)"),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 					}},
	// 				},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the available metrics for App Service Environment MultiRole"),
	// 				Operation: to.Ptr("Read App Service Environment MultiRole metric definitions"),
	// 				Provider: to.Ptr("Microsoft.Web"),
	// 				Resource: to.Ptr("The metric definition of App Service Environment MultiRole"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 			Properties: &armappservice.CsmOperationDescriptionProperties{
	// 				ServiceSpecification: &armappservice.ServiceSpecification{
	// 					MetricSpecifications: []*armappservice.MetricSpecification{
	// 						{
	// 							Name: to.Ptr("Requests"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Requests"),
	// 							DisplayName: to.Ptr("Requests"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesReceived"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data In"),
	// 							DisplayName: to.Ptr("Data In"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("BytesSent"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Data Out"),
	// 							DisplayName: to.Ptr("Data Out"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Bytes"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http101"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 101"),
	// 							DisplayName: to.Ptr("Http 101"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http2xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 2xx"),
	// 							DisplayName: to.Ptr("Http 2xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http3xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 3xx"),
	// 							DisplayName: to.Ptr("Http 3xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http401"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 401"),
	// 							DisplayName: to.Ptr("Http 401"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http403"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 403"),
	// 							DisplayName: to.Ptr("Http 403"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http404"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 404"),
	// 							DisplayName: to.Ptr("Http 404"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http406"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 406"),
	// 							DisplayName: to.Ptr("Http 406"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http4xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http 4xx"),
	// 							DisplayName: to.Ptr("Http 4xx"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("Http5xx"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http Server Errors"),
	// 							DisplayName: to.Ptr("Http Server Errors"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("AverageResponseTime"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Average Response Time"),
	// 							DisplayName: to.Ptr("Average Response Time"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Seconds"),
	// 						},
	// 						{
	// 							Name: to.Ptr("CpuPercentage"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("CPU Percentage"),
	// 							DisplayName: to.Ptr("CPU Percentage"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Percent"),
	// 						},
	// 						{
	// 							Name: to.Ptr("MemoryPercentage"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Memory Percentage"),
	// 							DisplayName: to.Ptr("Memory Percentage"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Percent"),
	// 						},
	// 						{
	// 							Name: to.Ptr("DiskQueueLength"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Disk Queue Length"),
	// 							DisplayName: to.Ptr("Disk Queue Length"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("HttpQueueLength"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Http Queue Length"),
	// 							DisplayName: to.Ptr("Http Queue Length"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("ActiveRequests"),
	// 							AggregationType: to.Ptr("Total"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							Dimensions: []*armappservice.Dimension{
	// 								{
	// 									Name: to.Ptr("Instance"),
	// 									DisplayName: to.Ptr("Instance"),
	// 									InternalName: to.Ptr("ServerName"),
	// 									ToBeExportedForShoebox: to.Ptr(true),
	// 							}},
	// 							DisplayDescription: to.Ptr("Active Requests"),
	// 							DisplayName: to.Ptr("Active Requests"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("TotalFrontEnds"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Total Front Ends"),
	// 							DisplayName: to.Ptr("Total Front Ends"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("SmallAppServicePlanInstances"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Small App Service Plan Workers"),
	// 							DisplayName: to.Ptr("Small App Service Plan Workers"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("MediumAppServicePlanInstances"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Medium App Service Plan Workers"),
	// 							DisplayName: to.Ptr("Medium App Service Plan Workers"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("LargeAppServicePlanInstances"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Large App Service Plan Workers"),
	// 							DisplayName: to.Ptr("Large App Service Plan Workers"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 					}},
	// 				},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read"),
	// 			Display: &armappservice.CsmOperationDisplay{
	// 				Description: to.Ptr("Gets the available metrics for App Service Environment WorkerPool"),
	// 				Operation: to.Ptr("Read App Service Environment WorkerPool metric definitions"),
	// 				Provider: to.Ptr("Microsoft.Web"),
	// 				Resource: to.Ptr("The metric definition of App Service Environment WorkerPool"),
	// 			},
	// 			Origin: to.Ptr("system"),
	// 			Properties: &armappservice.CsmOperationDescriptionProperties{
	// 				ServiceSpecification: &armappservice.ServiceSpecification{
	// 					MetricSpecifications: []*armappservice.MetricSpecification{
	// 						{
	// 							Name: to.Ptr("WorkersTotal"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Total Workers"),
	// 							DisplayName: to.Ptr("Total Workers"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("WorkersAvailable"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Available Workers"),
	// 							DisplayName: to.Ptr("Available Workers"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 						},
	// 						{
	// 							Name: to.Ptr("WorkersUsed"),
	// 							AggregationType: to.Ptr("Average"),
	// 							Availabilities: []*armappservice.MetricAvailability{
	// 								{
	// 									BlobDuration: to.Ptr("P2D"),
	// 									TimeGrain: to.Ptr("PT1M"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P30D"),
	// 									TimeGrain: to.Ptr("PT1H"),
	// 								},
	// 								{
	// 									BlobDuration: to.Ptr("P90D"),
	// 									TimeGrain: to.Ptr("P1D"),
	// 							}},
	// 							DisplayDescription: to.Ptr("Used Workers"),
	// 							DisplayName: to.Ptr("Used Workers"),
	// 							EnableRegionalMdmAccount: to.Ptr(false),
	// 							FillGapWithZero: to.Ptr(true),
	// 							IsInternal: to.Ptr(false),
	// 							SupportsInstanceLevelAggregation: to.Ptr(false),
	// 							Unit: to.Ptr("Count"),
	// 					}},
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

type ProviderClientGetAvailableStacksOnPremOptions

type ProviderClientGetAvailableStacksOnPremOptions struct {
	OSTypeSelected *ProviderOsTypeSelected
}

ProviderClientGetAvailableStacksOnPremOptions contains the optional parameters for the ProviderClient.NewGetAvailableStacksOnPremPager method.

type ProviderClientGetAvailableStacksOnPremResponse

type ProviderClientGetAvailableStacksOnPremResponse struct {
	// Collection of Application Stacks
	ApplicationStackCollection
}

ProviderClientGetAvailableStacksOnPremResponse contains the response from method ProviderClient.NewGetAvailableStacksOnPremPager.

type ProviderClientGetAvailableStacksOptions

type ProviderClientGetAvailableStacksOptions struct {
	OSTypeSelected *ProviderOsTypeSelected
}

ProviderClientGetAvailableStacksOptions contains the optional parameters for the ProviderClient.NewGetAvailableStacksPager method.

type ProviderClientGetAvailableStacksResponse

type ProviderClientGetAvailableStacksResponse struct {
	// Collection of Application Stacks
	ApplicationStackCollection
}

ProviderClientGetAvailableStacksResponse contains the response from method ProviderClient.NewGetAvailableStacksPager.

type ProviderClientGetFunctionAppStacksForLocationOptions

type ProviderClientGetFunctionAppStacksForLocationOptions struct {
	// Stack OS Type
	StackOsType *ProviderStackOsType
}

ProviderClientGetFunctionAppStacksForLocationOptions contains the optional parameters for the ProviderClient.NewGetFunctionAppStacksForLocationPager method.

type ProviderClientGetFunctionAppStacksForLocationResponse

type ProviderClientGetFunctionAppStacksForLocationResponse struct {
	// Collection of Function app Stacks
	FunctionAppStackCollection
}

ProviderClientGetFunctionAppStacksForLocationResponse contains the response from method ProviderClient.NewGetFunctionAppStacksForLocationPager.

type ProviderClientGetFunctionAppStacksOptions

type ProviderClientGetFunctionAppStacksOptions struct {
	// Stack OS Type
	StackOsType *ProviderStackOsType
}

ProviderClientGetFunctionAppStacksOptions contains the optional parameters for the ProviderClient.NewGetFunctionAppStacksPager method.

type ProviderClientGetFunctionAppStacksResponse

type ProviderClientGetFunctionAppStacksResponse struct {
	// Collection of Function app Stacks
	FunctionAppStackCollection
}

ProviderClientGetFunctionAppStacksResponse contains the response from method ProviderClient.NewGetFunctionAppStacksPager.

type ProviderClientGetWebAppStacksForLocationOptions

type ProviderClientGetWebAppStacksForLocationOptions struct {
	// Stack OS Type
	StackOsType *ProviderStackOsType
}

ProviderClientGetWebAppStacksForLocationOptions contains the optional parameters for the ProviderClient.NewGetWebAppStacksForLocationPager method.

type ProviderClientGetWebAppStacksForLocationResponse

type ProviderClientGetWebAppStacksForLocationResponse struct {
	// Collection of Web app Stacks
	WebAppStackCollection
}

ProviderClientGetWebAppStacksForLocationResponse contains the response from method ProviderClient.NewGetWebAppStacksForLocationPager.

type ProviderClientGetWebAppStacksOptions

type ProviderClientGetWebAppStacksOptions struct {
	// Stack OS Type
	StackOsType *ProviderStackOsType
}

ProviderClientGetWebAppStacksOptions contains the optional parameters for the ProviderClient.NewGetWebAppStacksPager method.

type ProviderClientGetWebAppStacksResponse

type ProviderClientGetWebAppStacksResponse struct {
	// Collection of Web app Stacks
	WebAppStackCollection
}

ProviderClientGetWebAppStacksResponse contains the response from method ProviderClient.NewGetWebAppStacksPager.

type ProviderClientListOperationsOptions

type ProviderClientListOperationsOptions struct {
}

ProviderClientListOperationsOptions contains the optional parameters for the ProviderClient.NewListOperationsPager method.

type ProviderClientListOperationsResponse

type ProviderClientListOperationsResponse struct {
	// Collection of Azure resource manager operation metadata.
	CsmOperationCollection
}

ProviderClientListOperationsResponse contains the response from method ProviderClient.NewListOperationsPager.

type ProviderOsTypeSelected

type ProviderOsTypeSelected string
const (
	ProviderOsTypeSelectedAll              ProviderOsTypeSelected = "All"
	ProviderOsTypeSelectedLinux            ProviderOsTypeSelected = "Linux"
	ProviderOsTypeSelectedLinuxFunctions   ProviderOsTypeSelected = "LinuxFunctions"
	ProviderOsTypeSelectedWindows          ProviderOsTypeSelected = "Windows"
	ProviderOsTypeSelectedWindowsFunctions ProviderOsTypeSelected = "WindowsFunctions"
)

func PossibleProviderOsTypeSelectedValues

func PossibleProviderOsTypeSelectedValues() []ProviderOsTypeSelected

PossibleProviderOsTypeSelectedValues returns the possible values for the ProviderOsTypeSelected const type.

type ProviderStackOsType

type ProviderStackOsType string
const (
	ProviderStackOsTypeAll     ProviderStackOsType = "All"
	ProviderStackOsTypeLinux   ProviderStackOsType = "Linux"
	ProviderStackOsTypeWindows ProviderStackOsType = "Windows"
)

func PossibleProviderStackOsTypeValues

func PossibleProviderStackOsTypeValues() []ProviderStackOsType

PossibleProviderStackOsTypeValues returns the possible values for the ProviderStackOsType const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState - Status of certificate order.

const (
	ProvisioningStateCanceled   ProvisioningState = "Canceled"
	ProvisioningStateDeleting   ProvisioningState = "Deleting"
	ProvisioningStateFailed     ProvisioningState = "Failed"
	ProvisioningStateInProgress ProvisioningState = "InProgress"
	ProvisioningStateSucceeded  ProvisioningState = "Succeeded"
)

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

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ProxyOnlyResource - Azure proxy only resource. This resource is not tracked by Azure Resource Manager.

func (ProxyOnlyResource) MarshalJSON

func (p ProxyOnlyResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProxyOnlyResource.

func (*ProxyOnlyResource) UnmarshalJSON

func (p *ProxyOnlyResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProxyOnlyResource.

type PublicCertificate

type PublicCertificate struct {
	// Kind of resource.
	Kind *string

	// PublicCertificate resource specific properties
	Properties *PublicCertificateProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PublicCertificate - Public certificate object

func (PublicCertificate) MarshalJSON

func (p PublicCertificate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicCertificate.

func (*PublicCertificate) UnmarshalJSON

func (p *PublicCertificate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PublicCertificate.

type PublicCertificateCollection

type PublicCertificateCollection struct {
	// REQUIRED; Collection of resources.
	Value []*PublicCertificate

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

PublicCertificateCollection - Collection of public certificates

func (PublicCertificateCollection) MarshalJSON

func (p PublicCertificateCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicCertificateCollection.

func (*PublicCertificateCollection) UnmarshalJSON

func (p *PublicCertificateCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PublicCertificateCollection.

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

	// Public Certificate Location
	PublicCertificateLocation *PublicCertificateLocation

	// READ-ONLY; Certificate Thumbprint
	Thumbprint *string
}

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

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

PublishingCredentialsPoliciesCollection - Publishing Credentials Policies entity collection ARM resource.

func (PublishingCredentialsPoliciesCollection) MarshalJSON

func (p PublishingCredentialsPoliciesCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublishingCredentialsPoliciesCollection.

func (*PublishingCredentialsPoliciesCollection) UnmarshalJSON

func (p *PublishingCredentialsPoliciesCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PublishingCredentialsPoliciesCollection.

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

	// PushSettings resource specific properties
	Properties *PushSettingsProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

PushSettings - Push settings for the App.

func (PushSettings) MarshalJSON

func (p PushSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PushSettings.

func (*PushSettings) UnmarshalJSON

func (p *PushSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PushSettings.

type PushSettingsProperties

type PushSettingsProperties struct {
	// REQUIRED; Gets or sets a flag indicating whether the Push endpoint is enabled.
	IsPushEnabled *bool

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

	// Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
	TagWhitelistJSON *string

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

PushSettingsProperties - PushSettings resource specific properties

func (PushSettingsProperties) MarshalJSON

func (p PushSettingsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PushSettingsProperties.

func (*PushSettingsProperties) UnmarshalJSON

func (p *PushSettingsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PushSettingsProperties.

type QueryUtterancesResult

type QueryUtterancesResult struct {
	// A sample utterance.
	SampleUtterance *SampleUtterance

	// Score of a sample utterance.
	Score *float32
}

QueryUtterancesResult - Result for utterances query.

func (QueryUtterancesResult) MarshalJSON

func (q QueryUtterancesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type QueryUtterancesResult.

func (*QueryUtterancesResult) UnmarshalJSON

func (q *QueryUtterancesResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type QueryUtterancesResult.

type QueryUtterancesResults

type QueryUtterancesResults struct {
	// Search Query.
	Query *string

	// Array of utterance results for search query.
	Results []*QueryUtterancesResult
}

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.

func (*QueryUtterancesResults) UnmarshalJSON

func (q *QueryUtterancesResults) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type QueryUtterancesResults.

type QueueScaleRule

type QueueScaleRule struct {
	// Authentication secrets for the queue scale rule.
	Auth []*ScaleRuleAuth

	// Queue length.
	QueueLength *int32

	// Queue name.
	QueueName *string
}

QueueScaleRule - Container App container Azure Queue based scaling rule.

func (QueueScaleRule) MarshalJSON

func (q QueueScaleRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type QueueScaleRule.

func (*QueueScaleRule) UnmarshalJSON

func (q *QueueScaleRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

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

	// Specifies interval in minutes to reevaluate ReroutePercentage.
	ChangeIntervalInMinutes *int32

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

	// Specifies upper boundary below which ReroutePercentage will stay.
	MaxReroutePercentage *float64

	// Specifies lower boundary above which ReroutePercentage will stay.
	MinReroutePercentage *float64

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

	// Percentage of the traffic which will be redirected to ActionHostName.
	ReroutePercentage *float64
}

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.

func (RampUpRule) MarshalJSON

func (r RampUpRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RampUpRule.

func (*RampUpRule) UnmarshalJSON

func (r *RampUpRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RampUpRule.

type Recommendation

type Recommendation struct {
	// Kind of resource.
	Kind *string

	// Recommendation resource specific properties
	Properties *RecommendationProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Recommendation - Represents a recommendation result generated by the recommendation engine.

func (Recommendation) MarshalJSON

func (r Recommendation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Recommendation.

func (*Recommendation) UnmarshalJSON

func (r *Recommendation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Recommendation.

type RecommendationCollection

type RecommendationCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Recommendation

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

RecommendationCollection - Collection of recommendations.

func (RecommendationCollection) MarshalJSON

func (r RecommendationCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendationCollection.

func (*RecommendationCollection) UnmarshalJSON

func (r *RecommendationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecommendationCollection.

type RecommendationProperties

type RecommendationProperties struct {
	// Name of action recommended by this object.
	ActionName *string

	// Deep link to a blade on the portal.
	BladeName *string

	// List of channels that this recommendation can apply.
	Channels *Channels

	// Timestamp when this instance was created.
	CreationTime *time.Time

	// UI friendly name of the rule (may not be unique).
	DisplayName *string

	// True if this recommendation is still valid (i.e. "actionable"). False if it is invalid.
	Enabled *int32

	// The end time in UTC of a range that the recommendation refers to.
	EndTime *time.Time

	// Extension name of the portal if exists.
	ExtensionName *string

	// Forward link to an external document associated with the rule.
	ForwardLink *string

	// True if this is associated with a dynamically added rule
	IsDynamic *bool

	// Level indicating how critical this recommendation can impact.
	Level *NotificationLevel

	// Recommendation text.
	Message *string

	// When to notify this recommendation next in UTC. Null means that this will never be notified anymore.
	NextNotificationTime *time.Time

	// Date and time in UTC when this notification expires.
	NotificationExpirationTime *time.Time

	// Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.
	NotifiedTime *time.Time

	// A GUID value that each recommendation object is associated with.
	RecommendationID *string

	// Full ARM resource ID string that this recommendation object is associated with.
	ResourceID *string

	// Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.
	ResourceScope *ResourceScopeType

	// Unique name of the rule.
	RuleName *string

	// A metric value measured by the rule.
	Score *float64

	// The beginning time in UTC of a range that the recommendation refers to.
	StartTime *time.Time

	// The list of states of this recommendation. If it's null then it should be considered "Active".
	States []*string

	// READ-ONLY; The list of category tags that this recommendation belongs to.
	CategoryTags []*string
}

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

	// RecommendationRule resource specific properties
	Properties *RecommendationRuleProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

RecommendationRule - Represents a recommendation rule that the recommendation engine can perform.

func (RecommendationRule) MarshalJSON

func (r RecommendationRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendationRule.

func (*RecommendationRule) UnmarshalJSON

func (r *RecommendationRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecommendationRule.

type RecommendationRuleProperties

type RecommendationRuleProperties struct {
	// Name of action that is recommended by this rule in string.
	ActionName *string

	// Deep link to a blade on the portal. Applicable to dynamic rule only.
	BladeName *string

	// List of available channels that this rule applies.
	Channels *Channels

	// Localized detailed description of the rule.
	Description *string

	// UI friendly name of the rule.
	DisplayName *string

	// Extension name of the portal if exists. Applicable to dynamic rule only.
	ExtensionName *string

	// Forward link to an external document associated with the rule. Applicable to dynamic rule only.
	ForwardLink *string

	// True if this is associated with a dynamically added rule
	IsDynamic *bool

	// Level of impact indicating how critical this rule is.
	Level *NotificationLevel

	// Localized name of the rule (Good for UI).
	Message *string

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

	// Unique name of the rule.
	RecommendationName *string

	// READ-ONLY; The list of category tags that this recommendation rule belongs to.
	CategoryTags []*string
}

RecommendationRuleProperties - RecommendationRule resource specific properties

func (RecommendationRuleProperties) MarshalJSON

func (r RecommendationRuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendationRuleProperties.

func (*RecommendationRuleProperties) UnmarshalJSON

func (r *RecommendationRuleProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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 - Description for Disable all recommendations for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Disable all recommendations for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Disables the specific rule for a web site permanently. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Disables the specific rule for a web site permanently. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for Get a recommendation rule for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get a recommendation rule for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *RecommendationsClient) NewListHistoryForHostingEnvironmentPager(resourceGroupName string, hostingEnvironmentName string, options *RecommendationsClientListHistoryForHostingEnvironmentOptions) *runtime.Pager[RecommendationsClientListHistoryForHostingEnvironmentResponse]

NewListHistoryForHostingEnvironmentPager - Description for Get past recommendations for an app, optionally specified by the time range.

Generated from API version 2023-01-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.NewListHistoryForHostingEnvironmentPager method.

func (*RecommendationsClient) NewListHistoryForWebAppPager

NewListHistoryForWebAppPager - Description for Get past recommendations for an app, optionally specified by the time range.

Generated from API version 2023-01-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.NewListHistoryForWebAppPager method.

func (*RecommendationsClient) NewListPager

NewListPager - Description for List all recommendations for a subscription.

Generated from API version 2023-01-01

  • options - RecommendationsClientListOptions contains the optional parameters for the RecommendationsClient.NewListPager method.

func (*RecommendationsClient) NewListRecommendedRulesForHostingEnvironmentPager

func (client *RecommendationsClient) NewListRecommendedRulesForHostingEnvironmentPager(resourceGroupName string, hostingEnvironmentName string, options *RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions) *runtime.Pager[RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse]

NewListRecommendedRulesForHostingEnvironmentPager - Description for Get all recommendations for a hosting environment.

Generated from API version 2023-01-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.NewListRecommendedRulesForHostingEnvironmentPager method.

func (*RecommendationsClient) NewListRecommendedRulesForWebAppPager

NewListRecommendedRulesForWebAppPager - Description for Get all recommendations for an app.

Generated from API version 2023-01-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.NewListRecommendedRulesForWebAppPager method.

func (*RecommendationsClient) ResetAllFilters

ResetAllFilters - Description for Reset all recommendation opt-out settings for a subscription. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Reset all recommendation opt-out settings for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Reset all recommendation opt-out settings for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

type RecommendationsClientDisableAllForHostingEnvironmentOptions struct {
}

RecommendationsClientDisableAllForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.DisableAllForHostingEnvironment method.

type RecommendationsClientDisableAllForHostingEnvironmentResponse

type RecommendationsClientDisableAllForHostingEnvironmentResponse struct {
}

RecommendationsClientDisableAllForHostingEnvironmentResponse contains the response from method RecommendationsClient.DisableAllForHostingEnvironment.

type RecommendationsClientDisableAllForWebAppOptions

type RecommendationsClientDisableAllForWebAppOptions struct {
}

RecommendationsClientDisableAllForWebAppOptions contains the optional parameters for the RecommendationsClient.DisableAllForWebApp method.

type RecommendationsClientDisableAllForWebAppResponse

type RecommendationsClientDisableAllForWebAppResponse struct {
}

RecommendationsClientDisableAllForWebAppResponse contains the response from method RecommendationsClient.DisableAllForWebApp.

type RecommendationsClientDisableRecommendationForHostingEnvironmentOptions

type RecommendationsClientDisableRecommendationForHostingEnvironmentOptions struct {
}

RecommendationsClientDisableRecommendationForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForHostingEnvironment method.

type RecommendationsClientDisableRecommendationForHostingEnvironmentResponse

type RecommendationsClientDisableRecommendationForHostingEnvironmentResponse struct {
}

RecommendationsClientDisableRecommendationForHostingEnvironmentResponse contains the response from method RecommendationsClient.DisableRecommendationForHostingEnvironment.

type RecommendationsClientDisableRecommendationForSiteOptions

type RecommendationsClientDisableRecommendationForSiteOptions struct {
}

RecommendationsClientDisableRecommendationForSiteOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSite method.

type RecommendationsClientDisableRecommendationForSiteResponse

type RecommendationsClientDisableRecommendationForSiteResponse struct {
}

RecommendationsClientDisableRecommendationForSiteResponse contains the response from method RecommendationsClient.DisableRecommendationForSite.

type RecommendationsClientDisableRecommendationForSubscriptionOptions

type RecommendationsClientDisableRecommendationForSubscriptionOptions struct {
}

RecommendationsClientDisableRecommendationForSubscriptionOptions contains the optional parameters for the RecommendationsClient.DisableRecommendationForSubscription method.

type RecommendationsClientDisableRecommendationForSubscriptionResponse

type RecommendationsClientDisableRecommendationForSubscriptionResponse struct {
}

RecommendationsClientDisableRecommendationForSubscriptionResponse contains the response from method RecommendationsClient.DisableRecommendationForSubscription.

type RecommendationsClientGetRuleDetailsByHostingEnvironmentOptions

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

type RecommendationsClientGetRuleDetailsByHostingEnvironmentResponse struct {
	// Represents a recommendation rule that the recommendation engine can perform.
	RecommendationRule
}

RecommendationsClientGetRuleDetailsByHostingEnvironmentResponse contains the response from method RecommendationsClient.GetRuleDetailsByHostingEnvironment.

type RecommendationsClientGetRuleDetailsByWebAppOptions

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

type RecommendationsClientGetRuleDetailsByWebAppResponse struct {
	// Represents a recommendation rule that the recommendation engine can perform.
	RecommendationRule
}

RecommendationsClientGetRuleDetailsByWebAppResponse contains the response from method RecommendationsClient.GetRuleDetailsByWebApp.

type RecommendationsClientListHistoryForHostingEnvironmentOptions

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.NewListHistoryForHostingEnvironmentPager method.

type RecommendationsClientListHistoryForHostingEnvironmentResponse

type RecommendationsClientListHistoryForHostingEnvironmentResponse struct {
	// Collection of recommendations.
	RecommendationCollection
}

RecommendationsClientListHistoryForHostingEnvironmentResponse contains the response from method RecommendationsClient.NewListHistoryForHostingEnvironmentPager.

type RecommendationsClientListHistoryForWebAppOptions

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.NewListHistoryForWebAppPager method.

type RecommendationsClientListHistoryForWebAppResponse

type RecommendationsClientListHistoryForWebAppResponse struct {
	// Collection of recommendations.
	RecommendationCollection
}

RecommendationsClientListHistoryForWebAppResponse contains the response from method RecommendationsClient.NewListHistoryForWebAppPager.

type RecommendationsClientListOptions

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.NewListPager method.

type RecommendationsClientListRecommendedRulesForHostingEnvironmentOptions

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.NewListRecommendedRulesForHostingEnvironmentPager method.

type RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse

type RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse struct {
	// Collection of recommendations.
	RecommendationCollection
}

RecommendationsClientListRecommendedRulesForHostingEnvironmentResponse contains the response from method RecommendationsClient.NewListRecommendedRulesForHostingEnvironmentPager.

type RecommendationsClientListRecommendedRulesForWebAppOptions

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.NewListRecommendedRulesForWebAppPager method.

type RecommendationsClientListRecommendedRulesForWebAppResponse

type RecommendationsClientListRecommendedRulesForWebAppResponse struct {
	// Collection of recommendations.
	RecommendationCollection
}

RecommendationsClientListRecommendedRulesForWebAppResponse contains the response from method RecommendationsClient.NewListRecommendedRulesForWebAppPager.

type RecommendationsClientListResponse

type RecommendationsClientListResponse struct {
	// Collection of recommendations.
	RecommendationCollection
}

RecommendationsClientListResponse contains the response from method RecommendationsClient.NewListPager.

type RecommendationsClientResetAllFiltersForHostingEnvironmentOptions

type RecommendationsClientResetAllFiltersForHostingEnvironmentOptions struct {
}

RecommendationsClientResetAllFiltersForHostingEnvironmentOptions contains the optional parameters for the RecommendationsClient.ResetAllFiltersForHostingEnvironment method.

type RecommendationsClientResetAllFiltersForHostingEnvironmentResponse

type RecommendationsClientResetAllFiltersForHostingEnvironmentResponse struct {
}

RecommendationsClientResetAllFiltersForHostingEnvironmentResponse contains the response from method RecommendationsClient.ResetAllFiltersForHostingEnvironment.

type RecommendationsClientResetAllFiltersForWebAppOptions

type RecommendationsClientResetAllFiltersForWebAppOptions struct {
}

RecommendationsClientResetAllFiltersForWebAppOptions contains the optional parameters for the RecommendationsClient.ResetAllFiltersForWebApp method.

type RecommendationsClientResetAllFiltersForWebAppResponse

type RecommendationsClientResetAllFiltersForWebAppResponse struct {
}

RecommendationsClientResetAllFiltersForWebAppResponse contains the response from method RecommendationsClient.ResetAllFiltersForWebApp.

type RecommendationsClientResetAllFiltersOptions

type RecommendationsClientResetAllFiltersOptions struct {
}

RecommendationsClientResetAllFiltersOptions contains the optional parameters for the RecommendationsClient.ResetAllFilters method.

type RecommendationsClientResetAllFiltersResponse

type RecommendationsClientResetAllFiltersResponse struct {
}

RecommendationsClientResetAllFiltersResponse contains the response from method RecommendationsClient.ResetAllFilters.

type RecurrenceFrequency

type RecurrenceFrequency string

RecurrenceFrequency - The recurrence frequency.

const (
	RecurrenceFrequencyDay          RecurrenceFrequency = "Day"
	RecurrenceFrequencyHour         RecurrenceFrequency = "Hour"
	RecurrenceFrequencyMinute       RecurrenceFrequency = "Minute"
	RecurrenceFrequencyMonth        RecurrenceFrequency = "Month"
	RecurrenceFrequencyNotSpecified RecurrenceFrequency = "NotSpecified"
	RecurrenceFrequencySecond       RecurrenceFrequency = "Second"
	RecurrenceFrequencyWeek         RecurrenceFrequency = "Week"
	RecurrenceFrequencyYear         RecurrenceFrequency = "Year"
)

func PossibleRecurrenceFrequencyValues

func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency

PossibleRecurrenceFrequencyValues returns the possible values for the RecurrenceFrequency const type.

type RecurrenceSchedule

type RecurrenceSchedule struct {
	// The hours.
	Hours []*int32

	// The minutes.
	Minutes []*int32

	// The month days.
	MonthDays []*int32

	// The monthly occurrences.
	MonthlyOccurrences []*RecurrenceScheduleOccurrence

	// The days of the week.
	WeekDays []*DaysOfWeek
}

RecurrenceSchedule - The recurrence schedule.

func (RecurrenceSchedule) MarshalJSON

func (r RecurrenceSchedule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecurrenceSchedule.

func (*RecurrenceSchedule) UnmarshalJSON

func (r *RecurrenceSchedule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecurrenceSchedule.

type RecurrenceScheduleOccurrence

type RecurrenceScheduleOccurrence struct {
	// The day of the week.
	Day *DayOfWeek

	// The occurrence.
	Occurrence *int32
}

RecurrenceScheduleOccurrence - The recurrence schedule occurrence.

func (RecurrenceScheduleOccurrence) MarshalJSON

func (r RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecurrenceScheduleOccurrence.

func (*RecurrenceScheduleOccurrence) UnmarshalJSON

func (r *RecurrenceScheduleOccurrence) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecurrenceScheduleOccurrence.

type RedundancyMode

type RedundancyMode string

RedundancyMode - Site redundancy mode

const (
	RedundancyModeActiveActive RedundancyMode = "ActiveActive"
	RedundancyModeFailover     RedundancyMode = "Failover"
	RedundancyModeGeoRedundant RedundancyMode = "GeoRedundant"
	RedundancyModeManual       RedundancyMode = "Manual"
	RedundancyModeNone         RedundancyMode = "None"
)

func PossibleRedundancyModeValues

func PossibleRedundancyModeValues() []RedundancyMode

PossibleRedundancyModeValues returns the possible values for the RedundancyMode const type.

type RegenerateActionParameter

type RegenerateActionParameter struct {
	// The key type.
	KeyType *KeyType
}

RegenerateActionParameter - The access key regenerate action content.

func (RegenerateActionParameter) MarshalJSON

func (r RegenerateActionParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RegenerateActionParameter.

func (*RegenerateActionParameter) UnmarshalJSON

func (r *RegenerateActionParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RegenerateActionParameter.

type RegistryCredentials

type RegistryCredentials struct {
	// The name of the Secret that contains the registry login password
	PasswordSecretRef *string

	// Container Registry Server
	Server *string

	// Container Registry Username
	Username *string
}

RegistryCredentials - Container App Private Registry

func (RegistryCredentials) MarshalJSON

func (r RegistryCredentials) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RegistryCredentials.

func (*RegistryCredentials) UnmarshalJSON

func (r *RegistryCredentials) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RegistryCredentials.

type ReissueCertificateOrderRequest

type ReissueCertificateOrderRequest struct {
	// Kind of resource.
	Kind *string

	// ReissueCertificateOrderRequest resource specific properties
	Properties *ReissueCertificateOrderRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ReissueCertificateOrderRequest - Class representing certificate reissue request.

func (ReissueCertificateOrderRequest) MarshalJSON

func (r ReissueCertificateOrderRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ReissueCertificateOrderRequest.

func (*ReissueCertificateOrderRequest) UnmarshalJSON

func (r *ReissueCertificateOrderRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ReissueCertificateOrderRequest.

type ReissueCertificateOrderRequestProperties

type ReissueCertificateOrderRequestProperties struct {
	// Csr to be used for re-key operation.
	Csr *string

	// Delay in hours to revoke existing certificate after the new certificate is issued.
	DelayExistingRevokeInHours *int32

	// Should we change the ASC type (from managed private key to external private key and vice versa).
	IsPrivateKeyExternal *bool

	// Certificate Key Size.
	KeySize *int32
}

ReissueCertificateOrderRequestProperties - ReissueCertificateOrderRequest resource specific properties

func (ReissueCertificateOrderRequestProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ReissueCertificateOrderRequestProperties.

func (*ReissueCertificateOrderRequestProperties) UnmarshalJSON

func (r *ReissueCertificateOrderRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ReissueCertificateOrderRequestProperties.

type RelayServiceConnectionEntity

type RelayServiceConnectionEntity struct {
	// Kind of resource.
	Kind *string

	// RelayServiceConnectionEntity resource specific properties
	Properties *RelayServiceConnectionEntityProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*RelayServiceConnectionEntity) UnmarshalJSON

func (r *RelayServiceConnectionEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RelayServiceConnectionEntity.

type RelayServiceConnectionEntityProperties

type RelayServiceConnectionEntityProperties struct {
	BiztalkURI               *string
	EntityConnectionString   *string
	EntityName               *string
	Hostname                 *string
	Port                     *int32
	ResourceConnectionString *string
	ResourceType             *string
}

RelayServiceConnectionEntityProperties - RelayServiceConnectionEntity resource specific properties

func (RelayServiceConnectionEntityProperties) MarshalJSON

func (r RelayServiceConnectionEntityProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RelayServiceConnectionEntityProperties.

func (*RelayServiceConnectionEntityProperties) UnmarshalJSON

func (r *RelayServiceConnectionEntityProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RelayServiceConnectionEntityProperties.

type RemotePrivateEndpointConnection

type RemotePrivateEndpointConnection struct {
	// Kind of resource.
	Kind *string

	// RemotePrivateEndpointConnection resource specific properties
	Properties *RemotePrivateEndpointConnectionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

RemotePrivateEndpointConnection - A remote private endpoint connection

func (RemotePrivateEndpointConnection) MarshalJSON

func (r RemotePrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RemotePrivateEndpointConnection.

func (*RemotePrivateEndpointConnection) UnmarshalJSON

func (r *RemotePrivateEndpointConnection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RemotePrivateEndpointConnection.

type RemotePrivateEndpointConnectionARMResource

type RemotePrivateEndpointConnectionARMResource struct {
	// Kind of resource.
	Kind *string

	// RemotePrivateEndpointConnectionARMResource resource specific properties
	Properties *RemotePrivateEndpointConnectionARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

RemotePrivateEndpointConnectionARMResource - Remote Private Endpoint Connection ARM resource.

func (RemotePrivateEndpointConnectionARMResource) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RemotePrivateEndpointConnectionARMResource.

func (*RemotePrivateEndpointConnectionARMResource) UnmarshalJSON

func (r *RemotePrivateEndpointConnectionARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RemotePrivateEndpointConnectionARMResource.

type RemotePrivateEndpointConnectionARMResourceProperties

type RemotePrivateEndpointConnectionARMResourceProperties struct {
	// Private IPAddresses mapped to the remote private endpoint
	IPAddresses []*string

	// PrivateEndpoint of a remote private endpoint connection
	PrivateEndpoint *ArmIDWrapper

	// The state of a private link connection
	PrivateLinkServiceConnectionState *PrivateLinkConnectionState

	// READ-ONLY
	ProvisioningState *string
}

RemotePrivateEndpointConnectionARMResourceProperties - RemotePrivateEndpointConnectionARMResource resource specific properties

func (RemotePrivateEndpointConnectionARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RemotePrivateEndpointConnectionARMResourceProperties.

func (*RemotePrivateEndpointConnectionARMResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type RemotePrivateEndpointConnectionARMResourceProperties.

type RemotePrivateEndpointConnectionProperties

type RemotePrivateEndpointConnectionProperties struct {
	// Private IPAddresses mapped to the remote private endpoint
	IPAddresses []*string

	// PrivateEndpoint of a remote private endpoint connection
	PrivateEndpoint *ArmIDWrapper

	// The state of a private link connection
	PrivateLinkServiceConnectionState *PrivateLinkConnectionState

	// READ-ONLY
	ProvisioningState *string
}

RemotePrivateEndpointConnectionProperties - RemotePrivateEndpointConnection resource specific properties

func (RemotePrivateEndpointConnectionProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RemotePrivateEndpointConnectionProperties.

func (*RemotePrivateEndpointConnectionProperties) UnmarshalJSON

func (r *RemotePrivateEndpointConnectionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RemotePrivateEndpointConnectionProperties.

type Rendering

type Rendering struct {
	// Description of the data that will help it be interpreted
	Description *string

	// Title of data
	Title *string

	// Rendering Type
	Type *RenderingType
}

Rendering - Instructions for rendering the data

func (Rendering) MarshalJSON

func (r Rendering) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Rendering.

func (*Rendering) UnmarshalJSON

func (r *Rendering) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Rendering.

type RenderingType

type RenderingType string

RenderingType - Rendering Type

const (
	RenderingTypeAppInsight               RenderingType = "AppInsight"
	RenderingTypeAppInsightEnablement     RenderingType = "AppInsightEnablement"
	RenderingTypeCard                     RenderingType = "Card"
	RenderingTypeChangeAnalysisOnboarding RenderingType = "ChangeAnalysisOnboarding"
	RenderingTypeChangeSets               RenderingType = "ChangeSets"
	RenderingTypeChangesView              RenderingType = "ChangesView"
	RenderingTypeDataSummary              RenderingType = "DataSummary"
	RenderingTypeDependencyGraph          RenderingType = "DependencyGraph"
	RenderingTypeDetector                 RenderingType = "Detector"
	RenderingTypeDownTime                 RenderingType = "DownTime"
	RenderingTypeDropDown                 RenderingType = "DropDown"
	RenderingTypeDynamicInsight           RenderingType = "DynamicInsight"
	RenderingTypeEmail                    RenderingType = "Email"
	RenderingTypeForm                     RenderingType = "Form"
	RenderingTypeGuage                    RenderingType = "Guage"
	RenderingTypeInsights                 RenderingType = "Insights"
	RenderingTypeMarkdown                 RenderingType = "Markdown"
	RenderingTypeNoGraph                  RenderingType = "NoGraph"
	RenderingTypePieChart                 RenderingType = "PieChart"
	RenderingTypeSearchComponent          RenderingType = "SearchComponent"
	RenderingTypeSolution                 RenderingType = "Solution"
	RenderingTypeSummaryCard              RenderingType = "SummaryCard"
	RenderingTypeTable                    RenderingType = "Table"
	RenderingTypeTimeSeries               RenderingType = "TimeSeries"
	RenderingTypeTimeSeriesPerInstance    RenderingType = "TimeSeriesPerInstance"
)

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

	// RenewCertificateOrderRequest resource specific properties
	Properties *RenewCertificateOrderRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

RenewCertificateOrderRequest - Class representing certificate renew request.

func (RenewCertificateOrderRequest) MarshalJSON

func (r RenewCertificateOrderRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RenewCertificateOrderRequest.

func (*RenewCertificateOrderRequest) UnmarshalJSON

func (r *RenewCertificateOrderRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RenewCertificateOrderRequest.

type RenewCertificateOrderRequestProperties

type RenewCertificateOrderRequestProperties struct {
	// Csr to be used for re-key operation.
	Csr *string

	// Should we change the ASC type (from managed private key to external private key and vice versa).
	IsPrivateKeyExternal *bool

	// Certificate Key Size.
	KeySize *int32
}

RenewCertificateOrderRequestProperties - RenewCertificateOrderRequest resource specific properties

func (RenewCertificateOrderRequestProperties) MarshalJSON

func (r RenewCertificateOrderRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RenewCertificateOrderRequestProperties.

func (*RenewCertificateOrderRequestProperties) UnmarshalJSON

func (r *RenewCertificateOrderRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RenewCertificateOrderRequestProperties.

type RepetitionIndex

type RepetitionIndex struct {
	// REQUIRED; The index.
	ItemIndex *int32

	// The scope.
	ScopeName *string
}

RepetitionIndex - The workflow run action repetition index.

func (RepetitionIndex) MarshalJSON

func (r RepetitionIndex) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RepetitionIndex.

func (*RepetitionIndex) UnmarshalJSON

func (r *RepetitionIndex) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RepetitionIndex.

type Request

type Request struct {
	// A list of all the headers attached to the request.
	Headers any

	// The HTTP method used for the request.
	Method *string

	// The destination for the request.
	URI *string
}

Request - A request.

func (Request) MarshalJSON

func (r Request) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Request.

func (*Request) UnmarshalJSON

func (r *Request) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Request.

type RequestHistory

type RequestHistory struct {
	// The resource location.
	Location *string

	// The request history properties.
	Properties *RequestHistoryProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

RequestHistory - The request history.

func (RequestHistory) MarshalJSON

func (r RequestHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestHistory.

func (*RequestHistory) UnmarshalJSON

func (r *RequestHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestHistory.

type RequestHistoryListResult

type RequestHistoryListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow request histories.
	Value []*RequestHistory
}

RequestHistoryListResult - The list of workflow request histories.

func (RequestHistoryListResult) MarshalJSON

func (r RequestHistoryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestHistoryListResult.

func (*RequestHistoryListResult) UnmarshalJSON

func (r *RequestHistoryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestHistoryListResult.

type RequestHistoryProperties

type RequestHistoryProperties struct {
	// The time the request ended.
	EndTime *time.Time

	// The request.
	Request *Request

	// The response.
	Response *Response

	// The time the request started.
	StartTime *time.Time
}

RequestHistoryProperties - The request history.

func (RequestHistoryProperties) MarshalJSON

func (r RequestHistoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestHistoryProperties.

func (*RequestHistoryProperties) UnmarshalJSON

func (r *RequestHistoryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestHistoryProperties.

type RequestsBasedTrigger

type RequestsBasedTrigger struct {
	// Request Count.
	Count *int32

	// Time interval.
	TimeInterval *string
}

RequestsBasedTrigger - Trigger based on total requests.

func (RequestsBasedTrigger) MarshalJSON

func (r RequestsBasedTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestsBasedTrigger.

func (*RequestsBasedTrigger) UnmarshalJSON

func (r *RequestsBasedTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestsBasedTrigger.

type ResolveStatus

type ResolveStatus string
const (
	ResolveStatusAccessToKeyVaultDenied ResolveStatus = "AccessToKeyVaultDenied"
	ResolveStatusFetchTimedOut          ResolveStatus = "FetchTimedOut"
	ResolveStatusInitialized            ResolveStatus = "Initialized"
	ResolveStatusInvalidSyntax          ResolveStatus = "InvalidSyntax"
	ResolveStatusMSINotEnabled          ResolveStatus = "MSINotEnabled"
	ResolveStatusOtherReasons           ResolveStatus = "OtherReasons"
	ResolveStatusResolved               ResolveStatus = "Resolved"
	ResolveStatusSecretNotFound         ResolveStatus = "SecretNotFound"
	ResolveStatusSecretVersionNotFound  ResolveStatus = "SecretVersionNotFound"
	ResolveStatusUnauthorizedClient     ResolveStatus = "UnauthorizedClient"
	ResolveStatusVaultNotFound          ResolveStatus = "VaultNotFound"
)

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

	// Kind of resource.
	Kind *string

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*Resource) UnmarshalJSON

func (r *Resource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Resource.

type ResourceCollection

type ResourceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*string

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ResourceCollection - Collection of resources.

func (ResourceCollection) MarshalJSON

func (r ResourceCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceCollection.

func (*ResourceCollection) UnmarshalJSON

func (r *ResourceCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceCollection.

type ResourceConfig added in v2.3.0

type ResourceConfig struct {
	// Required CPU in cores, e.g. 0.5
	CPU *float64

	// Required memory, e.g. "1Gi"
	Memory *string
}

ResourceConfig - Function app resource requirements.

func (ResourceConfig) MarshalJSON added in v2.3.0

func (r ResourceConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceConfig.

func (*ResourceConfig) UnmarshalJSON added in v2.3.0

func (r *ResourceConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceConfig.

type ResourceHealthMetadata

type ResourceHealthMetadata struct {
	// Kind of resource.
	Kind *string

	// ResourceHealthMetadata resource specific properties
	Properties *ResourceHealthMetadataProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ResourceHealthMetadata - Used for getting ResourceHealthCheck settings.

func (ResourceHealthMetadata) MarshalJSON

func (r ResourceHealthMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceHealthMetadata.

func (*ResourceHealthMetadata) UnmarshalJSON

func (r *ResourceHealthMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceHealthMetadata.

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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetResourceHealthMetadataBySite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewResourceHealthMetadataClient().GetBySite(ctx, "Default-Web-NorthCentralUS", "newsiteinnewASE-NCUS", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.ResourceHealthMetadata = armappservice.ResourceHealthMetadata{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/sites/resourceHealthMetadata"),
// 	ID: to.Ptr("/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default"),
// 	Properties: &armappservice.ResourceHealthMetadataProperties{
// 		Category: to.Ptr("Shared"),
// 		SignalAvailability: to.Ptr(true),
// 	},
// }
Output:

func (*ResourceHealthMetadataClient) GetBySiteSlot

GetBySiteSlot - Description for 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 2023-01-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.

func (*ResourceHealthMetadataClient) NewListByResourceGroupPager

NewListByResourceGroupPager - Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - ResourceHealthMetadataClientListByResourceGroupOptions contains the optional parameters for the ResourceHealthMetadataClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListResourceHealthMetadataByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewResourceHealthMetadataClient().NewListByResourceGroupPager("Default-Web-NorthCentralUS", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceHealthMetadataCollection = armappservice.ResourceHealthMetadataCollection{
	// 	Value: []*armappservice.ResourceHealthMetadata{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/sites/resourceHealthMetadata"),
	// 			ID: to.Ptr("/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default"),
	// 			Properties: &armappservice.ResourceHealthMetadataProperties{
	// 				Category: to.Ptr("Shared"),
	// 				SignalAvailability: to.Ptr(true),
	// 			},
	// 	}},
	// }
}
Output:

func (*ResourceHealthMetadataClient) NewListBySitePager

NewListBySitePager - Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection

Generated from API version 2023-01-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.NewListBySitePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListResourceHealthMetadataBySite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewResourceHealthMetadataClient().NewListBySitePager("Default-Web-NorthCentralUS", "newsiteinnewASE-NCUS", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceHealthMetadataCollection = armappservice.ResourceHealthMetadataCollection{
	// 	Value: []*armappservice.ResourceHealthMetadata{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/sites/resourceHealthMetadata"),
	// 			ID: to.Ptr("/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default"),
	// 			Properties: &armappservice.ResourceHealthMetadataProperties{
	// 				Category: to.Ptr("Shared"),
	// 				SignalAvailability: to.Ptr(true),
	// 			},
	// 	}},
	// }
}
Output:

func (*ResourceHealthMetadataClient) NewListBySiteSlotPager

NewListBySiteSlotPager - Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection

Generated from API version 2023-01-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.NewListBySiteSlotPager method.

func (*ResourceHealthMetadataClient) NewListPager

NewListPager - Description for List all ResourceHealthMetadata for all sites in the subscription.

Generated from API version 2023-01-01

  • options - ResourceHealthMetadataClientListOptions contains the optional parameters for the ResourceHealthMetadataClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListResourceHealthMetadataBySubscription.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewResourceHealthMetadataClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ResourceHealthMetadataCollection = armappservice.ResourceHealthMetadataCollection{
	// 	Value: []*armappservice.ResourceHealthMetadata{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/sites/resourceHealthMetadata"),
	// 			ID: to.Ptr("/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default"),
	// 			Properties: &armappservice.ResourceHealthMetadataProperties{
	// 				Category: to.Ptr("Shared"),
	// 				SignalAvailability: to.Ptr(true),
	// 			},
	// 	}},
	// }
}
Output:

type ResourceHealthMetadataClientGetBySiteOptions

type ResourceHealthMetadataClientGetBySiteOptions struct {
}

ResourceHealthMetadataClientGetBySiteOptions contains the optional parameters for the ResourceHealthMetadataClient.GetBySite method.

type ResourceHealthMetadataClientGetBySiteResponse

type ResourceHealthMetadataClientGetBySiteResponse struct {
	// Used for getting ResourceHealthCheck settings.
	ResourceHealthMetadata
}

ResourceHealthMetadataClientGetBySiteResponse contains the response from method ResourceHealthMetadataClient.GetBySite.

type ResourceHealthMetadataClientGetBySiteSlotOptions

type ResourceHealthMetadataClientGetBySiteSlotOptions struct {
}

ResourceHealthMetadataClientGetBySiteSlotOptions contains the optional parameters for the ResourceHealthMetadataClient.GetBySiteSlot method.

type ResourceHealthMetadataClientGetBySiteSlotResponse

type ResourceHealthMetadataClientGetBySiteSlotResponse struct {
	// Used for getting ResourceHealthCheck settings.
	ResourceHealthMetadata
}

ResourceHealthMetadataClientGetBySiteSlotResponse contains the response from method ResourceHealthMetadataClient.GetBySiteSlot.

type ResourceHealthMetadataClientListByResourceGroupOptions

type ResourceHealthMetadataClientListByResourceGroupOptions struct {
}

ResourceHealthMetadataClientListByResourceGroupOptions contains the optional parameters for the ResourceHealthMetadataClient.NewListByResourceGroupPager method.

type ResourceHealthMetadataClientListByResourceGroupResponse

type ResourceHealthMetadataClientListByResourceGroupResponse struct {
	// Collection of resource health metadata.
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListByResourceGroupResponse contains the response from method ResourceHealthMetadataClient.NewListByResourceGroupPager.

type ResourceHealthMetadataClientListBySiteOptions

type ResourceHealthMetadataClientListBySiteOptions struct {
}

ResourceHealthMetadataClientListBySiteOptions contains the optional parameters for the ResourceHealthMetadataClient.NewListBySitePager method.

type ResourceHealthMetadataClientListBySiteResponse

type ResourceHealthMetadataClientListBySiteResponse struct {
	// Collection of resource health metadata.
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListBySiteResponse contains the response from method ResourceHealthMetadataClient.NewListBySitePager.

type ResourceHealthMetadataClientListBySiteSlotOptions

type ResourceHealthMetadataClientListBySiteSlotOptions struct {
}

ResourceHealthMetadataClientListBySiteSlotOptions contains the optional parameters for the ResourceHealthMetadataClient.NewListBySiteSlotPager method.

type ResourceHealthMetadataClientListBySiteSlotResponse

type ResourceHealthMetadataClientListBySiteSlotResponse struct {
	// Collection of resource health metadata.
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListBySiteSlotResponse contains the response from method ResourceHealthMetadataClient.NewListBySiteSlotPager.

type ResourceHealthMetadataClientListOptions

type ResourceHealthMetadataClientListOptions struct {
}

ResourceHealthMetadataClientListOptions contains the optional parameters for the ResourceHealthMetadataClient.NewListPager method.

type ResourceHealthMetadataClientListResponse

type ResourceHealthMetadataClientListResponse struct {
	// Collection of resource health metadata.
	ResourceHealthMetadataCollection
}

ResourceHealthMetadataClientListResponse contains the response from method ResourceHealthMetadataClient.NewListPager.

type ResourceHealthMetadataCollection

type ResourceHealthMetadataCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ResourceHealthMetadata

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ResourceHealthMetadataCollection - Collection of resource health metadata.

func (ResourceHealthMetadataCollection) MarshalJSON

func (r ResourceHealthMetadataCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceHealthMetadataCollection.

func (*ResourceHealthMetadataCollection) UnmarshalJSON

func (r *ResourceHealthMetadataCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceHealthMetadataCollection.

type ResourceHealthMetadataProperties

type ResourceHealthMetadataProperties struct {
	// The category that the resource matches in the RHC Policy File
	Category *string

	// Is there a health signal for the resource
	SignalAvailability *bool
}

ResourceHealthMetadataProperties - ResourceHealthMetadata resource specific properties

func (ResourceHealthMetadataProperties) MarshalJSON

func (r ResourceHealthMetadataProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceHealthMetadataProperties.

func (*ResourceHealthMetadataProperties) UnmarshalJSON

func (r *ResourceHealthMetadataProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceHealthMetadataProperties.

type ResourceMetricAvailability

type ResourceMetricAvailability struct {
	// READ-ONLY; Retention period for the current time grain.
	Retention *string

	// READ-ONLY; Time grain .
	TimeGrain *string
}

ResourceMetricAvailability - Metrics availability and retention.

func (ResourceMetricAvailability) MarshalJSON

func (r ResourceMetricAvailability) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceMetricAvailability.

func (*ResourceMetricAvailability) UnmarshalJSON

func (r *ResourceMetricAvailability) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceMetricAvailability.

type ResourceMetricDefinition

type ResourceMetricDefinition struct {
	// Kind of resource.
	Kind *string

	// ResourceMetricDefinition resource specific properties
	Properties *ResourceMetricDefinitionProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

ResourceMetricDefinition - Metadata for the metrics.

func (ResourceMetricDefinition) MarshalJSON

func (r ResourceMetricDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceMetricDefinition.

func (*ResourceMetricDefinition) UnmarshalJSON

func (r *ResourceMetricDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceMetricDefinition.

type ResourceMetricDefinitionCollection

type ResourceMetricDefinitionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ResourceMetricDefinition

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

ResourceMetricDefinitionCollection - Collection of metric definitions.

func (ResourceMetricDefinitionCollection) MarshalJSON

func (r ResourceMetricDefinitionCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceMetricDefinitionCollection.

func (*ResourceMetricDefinitionCollection) UnmarshalJSON

func (r *ResourceMetricDefinitionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceMetricDefinitionCollection.

type ResourceMetricDefinitionProperties

type ResourceMetricDefinitionProperties struct {
	// READ-ONLY; List of time grains supported for the metric together with retention period.
	MetricAvailabilities []*ResourceMetricAvailability

	// READ-ONLY; Primary aggregation type.
	PrimaryAggregationType *string

	// READ-ONLY; Resource metric definition properties.
	Properties map[string]*string

	// READ-ONLY; Resource URI.
	ResourceURI *string

	// READ-ONLY; Unit of the metric.
	Unit *string
}

ResourceMetricDefinitionProperties - ResourceMetricDefinition resource specific properties

func (ResourceMetricDefinitionProperties) MarshalJSON

func (r ResourceMetricDefinitionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceMetricDefinitionProperties.

func (*ResourceMetricDefinitionProperties) UnmarshalJSON

func (r *ResourceMetricDefinitionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.
	NameAvailable *bool

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

ResourceNameAvailability - Information regarding availability of a resource name.

func (ResourceNameAvailability) MarshalJSON

func (r ResourceNameAvailability) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceNameAvailability.

func (*ResourceNameAvailability) UnmarshalJSON

func (r *ResourceNameAvailability) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNameAvailability.

type ResourceNameAvailabilityRequest

type ResourceNameAvailabilityRequest struct {
	// REQUIRED; Resource name to verify.
	Name *string

	// REQUIRED; Resource type used for verification.
	Type *CheckNameResourceTypes

	// Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This
	// must be of the form
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}
	EnvironmentID *string

	// Is fully qualified domain name.
	IsFqdn *bool
}

ResourceNameAvailabilityRequest - Resource name availability request content.

func (ResourceNameAvailabilityRequest) MarshalJSON

func (r ResourceNameAvailabilityRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceNameAvailabilityRequest.

func (*ResourceNameAvailabilityRequest) UnmarshalJSON

func (r *ResourceNameAvailabilityRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceNameAvailabilityRequest.

type ResourceNotRenewableReason

type ResourceNotRenewableReason string
const (
	ResourceNotRenewableReasonExpirationNotInRenewalTimeRange          ResourceNotRenewableReason = "ExpirationNotInRenewalTimeRange"
	ResourceNotRenewableReasonRegistrationStatusNotSupportedForRenewal ResourceNotRenewableReason = "RegistrationStatusNotSupportedForRenewal"
	ResourceNotRenewableReasonSubscriptionNotActive                    ResourceNotRenewableReason = "SubscriptionNotActive"
)

func PossibleResourceNotRenewableReasonValues

func PossibleResourceNotRenewableReasonValues() []ResourceNotRenewableReason

PossibleResourceNotRenewableReasonValues returns the possible values for the ResourceNotRenewableReason const type.

type ResourceReference

type ResourceReference struct {
	// The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

ResourceReference - The resource reference.

func (ResourceReference) MarshalJSON

func (r ResourceReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceReference.

func (*ResourceReference) UnmarshalJSON

func (r *ResourceReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceReference.

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 Response

type Response struct {
	// Details on the location of the body content.
	BodyLink *ContentLink

	// A list of all the headers attached to the response.
	Headers any

	// The status code of the response.
	StatusCode *int32
}

Response - A response.

func (Response) MarshalJSON

func (r Response) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Response.

func (*Response) UnmarshalJSON

func (r *Response) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Response.

type ResponseMessageEnvelopeRemotePrivateEndpointConnection

type ResponseMessageEnvelopeRemotePrivateEndpointConnection struct {
	// Azure-AsyncOperation Error info.
	Error *ErrorEntity

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

	// MSI resource
	Identity *ManagedServiceIdentity

	// Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
	Location *string

	// Name of resource.
	Name *string

	// Azure resource manager plan.
	Plan *ArmPlan

	// Resource specific properties.
	Properties *RemotePrivateEndpointConnection

	// SKU description of the resource.
	SKU *SKUDescription

	// Azure-AsyncOperation Status info.
	Status *string

	// Tags associated with resource.
	Tags map[string]*string

	// Type of resource e.g "Microsoft.Web/sites".
	Type *string

	// Logical Availability Zones the service is hosted in
	Zones []*string
}

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.

func (*ResponseMessageEnvelopeRemotePrivateEndpointConnection) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type ResponseMessageEnvelopeRemotePrivateEndpointConnection.

type ResponseMetaData

type ResponseMetaData struct {
	// Source of the Data
	DataSource *DataSource
}

func (ResponseMetaData) MarshalJSON

func (r ResponseMetaData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResponseMetaData.

func (*ResponseMetaData) UnmarshalJSON

func (r *ResponseMetaData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResponseMetaData.

type RestoreRequest

type RestoreRequest struct {
	// Kind of resource.
	Kind *string

	// RestoreRequest resource specific properties
	Properties *RestoreRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

RestoreRequest - Description of a restore request.

func (RestoreRequest) MarshalJSON

func (r RestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestoreRequest.

func (*RestoreRequest) UnmarshalJSON

func (r *RestoreRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RestoreRequest.

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

	// REQUIRED; SAS URL to the container.
	StorageAccountURL *string

	// true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.
	AdjustConnectionStrings *bool

	// Specify app service plan that will own restored site.
	AppServicePlan *string

	// Name of a blob which contains the backup.
	BlobName *string

	// Collection of databases which should be restored. This list has to match the list of databases included in the backup.
	Databases []*DatabaseBackupSetting

	// App Service Environment name, if needed (only when restoring an app to an App Service Environment).
	HostingEnvironment *string

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

	// Ignore the databases and only restore the site content
	IgnoreDatabases *bool

	// Operation type.
	OperationType *BackupRestoreOperationType

	// Name of an app.
	SiteName *string
}

RestoreRequestProperties - RestoreRequest resource specific properties

func (RestoreRequestProperties) MarshalJSON

func (r RestoreRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestoreRequestProperties.

func (*RestoreRequestProperties) UnmarshalJSON

func (r *RestoreRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RestoreRequestProperties.

type RetryHistory

type RetryHistory struct {
	// Gets the client request Id.
	ClientRequestID *string

	// Gets the status code.
	Code *string

	// Gets the end time.
	EndTime *time.Time

	// Gets the error response.
	Error *ErrorResponse

	// Gets the service request Id.
	ServiceRequestID *string

	// Gets the start time.
	StartTime *time.Time
}

RetryHistory - The retry history.

func (RetryHistory) MarshalJSON

func (r RetryHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RetryHistory.

func (*RetryHistory) UnmarshalJSON

func (r *RetryHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RetryHistory.

type Revision

type Revision struct {
	// REQUIRED; Resource Location.
	Location *string

	// Kind of resource.
	Kind *string

	// Revision resource specific properties
	Properties *RevisionProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Revision - Container App Revision.

func (Revision) MarshalJSON

func (r Revision) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Revision.

func (*Revision) UnmarshalJSON

func (r *Revision) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Revision.

type RevisionCollection

type RevisionCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Revision

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

RevisionCollection - Container App Revisions collection ARM resource.

func (RevisionCollection) MarshalJSON

func (r RevisionCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RevisionCollection.

func (*RevisionCollection) UnmarshalJSON

func (r *RevisionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RevisionCollection.

type RevisionHealthState

type RevisionHealthState string

RevisionHealthState - Current health State of the revision

const (
	RevisionHealthStateHealthy   RevisionHealthState = "Healthy"
	RevisionHealthStateNone      RevisionHealthState = "None"
	RevisionHealthStateUnhealthy RevisionHealthState = "Unhealthy"
)

func PossibleRevisionHealthStateValues

func PossibleRevisionHealthStateValues() []RevisionHealthState

PossibleRevisionHealthStateValues returns the possible values for the RevisionHealthState const type.

type RevisionProperties

type RevisionProperties struct {
	// READ-ONLY; Boolean describing if the Revision is Active
	Active *bool

	// READ-ONLY; Timestamp describing when the revision was created by controller
	CreatedTime *time.Time

	// READ-ONLY; Fully qualified domain name of the revision
	Fqdn *string

	// READ-ONLY; Current health State of the revision
	HealthState *RevisionHealthState

	// READ-ONLY; Optional Field - Platform Error Message
	ProvisioningError *string

	// READ-ONLY; Current provisioning State of the revision
	ProvisioningState *RevisionProvisioningState

	// READ-ONLY; Number of pods currently running for this revision
	Replicas *int32

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

	// READ-ONLY; Traffic weight assigned to this revision
	TrafficWeight *int32
}

RevisionProperties - Revision resource specific properties

func (RevisionProperties) MarshalJSON

func (r RevisionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RevisionProperties.

func (*RevisionProperties) UnmarshalJSON

func (r *RevisionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RevisionProperties.

type RevisionProvisioningState

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

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 RunActionCorrelation

type RunActionCorrelation struct {
	// The action tracking identifier.
	ActionTrackingID *string

	// The client keywords.
	ClientKeywords []*string

	// The client tracking identifier.
	ClientTrackingID *string
}

RunActionCorrelation - The workflow run action correlation properties.

func (RunActionCorrelation) MarshalJSON

func (r RunActionCorrelation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RunActionCorrelation.

func (*RunActionCorrelation) UnmarshalJSON

func (r *RunActionCorrelation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RunActionCorrelation.

type RunCorrelation

type RunCorrelation struct {
	// The client keywords.
	ClientKeywords []*string

	// The client tracking identifier.
	ClientTrackingID *string
}

RunCorrelation - The correlation properties.

func (RunCorrelation) MarshalJSON

func (r RunCorrelation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RunCorrelation.

func (*RunCorrelation) UnmarshalJSON

func (r *RunCorrelation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RunCorrelation.

type SKUCapacity

type SKUCapacity struct {
	// Default number of workers for this App Service plan SKU.
	Default *int32

	// Maximum number of Elastic workers for this App Service plan SKU.
	ElasticMaximum *int32

	// Maximum number of workers for this App Service plan SKU.
	Maximum *int32

	// Minimum number of workers for this App Service plan SKU.
	Minimum *int32

	// Available scale configurations for an App Service plan.
	ScaleType *string
}

SKUCapacity - Description of the App Service plan scale options.

func (SKUCapacity) MarshalJSON

func (s SKUCapacity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SKUCapacity.

func (*SKUCapacity) UnmarshalJSON

func (s *SKUCapacity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SKUCapacity.

type SKUDescription

type SKUDescription struct {
	// Capabilities of the SKU, e.g., is traffic manager enabled?
	Capabilities []*Capability

	// Current number of instances assigned to the resource.
	Capacity *int32

	// Family code of the resource SKU.
	Family *string

	// Locations of the SKU.
	Locations []*string

	// Name of the resource SKU.
	Name *string

	// Min, max, and default scale values of the SKU.
	SKUCapacity *SKUCapacity

	// Size specifier of the resource SKU.
	Size *string

	// Service tier of the resource SKU.
	Tier *string
}

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.

func (*SKUDescription) UnmarshalJSON

func (s *SKUDescription) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SKUDescription.

type SKUInfo

type SKUInfo struct {
	// Min, max, and default scale values of the SKU.
	Capacity *SKUCapacity

	// Resource type that this SKU applies to.
	ResourceType *string

	// Name and tier of the SKU.
	SKU *SKUDescription
}

SKUInfo - SKU discovery information.

func (SKUInfo) MarshalJSON

func (s SKUInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SKUInfo.

func (*SKUInfo) UnmarshalJSON

func (s *SKUInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SKUInfo.

type SKUInfoCollection

type SKUInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SKUInfo

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SKUInfoCollection - Collection of SKU information.

func (SKUInfoCollection) MarshalJSON

func (s SKUInfoCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SKUInfoCollection.

func (*SKUInfoCollection) UnmarshalJSON

func (s *SKUInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SKUInfoCollection.

type SKUInfos

type SKUInfos struct {
	// Resource type that this SKU applies to.
	ResourceType *string

	// List of SKUs the subscription is able to use.
	SKUs []*GlobalCsmSKUDescription
}

SKUInfos - Collection of SKU information.

func (SKUInfos) MarshalJSON

func (s SKUInfos) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SKUInfos.

func (*SKUInfos) UnmarshalJSON

func (s *SKUInfos) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SKUInfos.

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"
	SSLStateIPBasedEnabled SSLState = "IpBasedEnabled"
	SSLStateSniEnabled     SSLState = "SniEnabled"
)

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

	// Question id of sample utterance (for stackoverflow questions titles).
	Qid *string

	// Text attribute of sample utterance.
	Text *string
}

SampleUtterance - Sample utterance.

func (SampleUtterance) MarshalJSON

func (s SampleUtterance) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SampleUtterance.

func (*SampleUtterance) UnmarshalJSON

func (s *SampleUtterance) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SampleUtterance.

type Scale

type Scale struct {
	// Optional. Maximum number of container replicas. Defaults to 10 if not set.
	MaxReplicas *int32

	// Optional. Minimum number of container replicas.
	MinReplicas *int32

	// Scaling rules.
	Rules []*ScaleRule
}

Scale - Container App scaling configurations.

func (Scale) MarshalJSON

func (s Scale) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Scale.

func (*Scale) UnmarshalJSON

func (s *Scale) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Scale.

type ScaleRule

type ScaleRule struct {
	// Azure Queue based scaling.
	AzureQueue *QueueScaleRule

	// Custom scale rule.
	Custom *CustomScaleRule

	// HTTP requests based scaling.
	HTTP *HTTPScaleRule

	// Scale Rule Name
	Name *string
}

ScaleRule - Container App container scaling rule.

func (ScaleRule) MarshalJSON

func (s ScaleRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ScaleRule.

func (*ScaleRule) UnmarshalJSON

func (s *ScaleRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ScaleRule.

type ScaleRuleAuth

type ScaleRuleAuth struct {
	// Name of the Container App secret from which to pull the auth params.
	SecretRef *string

	// Trigger Parameter that uses the secret
	TriggerParameter *string
}

ScaleRuleAuth - Auth Secrets for Container App Scale Rule

func (ScaleRuleAuth) MarshalJSON

func (s ScaleRuleAuth) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ScaleRuleAuth.

func (*ScaleRuleAuth) UnmarshalJSON

func (s *ScaleRuleAuth) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ScaleRuleAuth.

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

type Secret struct {
	// Secret Name.
	Name *string

	// Secret Value.
	Value *string
}

Secret - Container App Secret.

func (Secret) MarshalJSON

func (s Secret) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Secret.

func (*Secret) UnmarshalJSON

func (s *Secret) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Secret.

type SecretsCollection

type SecretsCollection struct {
	// REQUIRED; Collection of resources.
	Value []*ContainerAppSecret
}

SecretsCollection - Container App Secrets Collection ARM resource.

func (SecretsCollection) MarshalJSON

func (s SecretsCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecretsCollection.

func (*SecretsCollection) UnmarshalJSON

func (s *SecretsCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SecretsCollection.

type ServiceSpecification

type ServiceSpecification struct {
	LogSpecifications    []*LogSpecification
	MetricSpecifications []*MetricSpecification
}

ServiceSpecification - Resource metrics service provided by Microsoft.Insights resource provider.

func (ServiceSpecification) MarshalJSON

func (s ServiceSpecification) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceSpecification.

func (*ServiceSpecification) UnmarshalJSON

func (s *ServiceSpecification) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ServiceSpecification.

type Site

type Site struct {
	// REQUIRED; Resource Location.
	Location *string

	// Extended Location.
	ExtendedLocation *ExtendedLocation

	// Managed service identity.
	Identity *ManagedServiceIdentity

	// Kind of resource.
	Kind *string

	// Site resource specific properties
	Properties *SiteProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*Site) UnmarshalJSON

func (s *Site) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Site.

type SiteAuthSettings

type SiteAuthSettings struct {
	// Kind of resource.
	Kind *string

	// SiteAuthSettings resource specific properties
	Properties *SiteAuthSettingsProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SiteAuthSettings - Configuration settings for the Azure App Service Authentication / Authorization feature.

func (SiteAuthSettings) MarshalJSON

func (s SiteAuthSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteAuthSettings.

func (*SiteAuthSettings) UnmarshalJSON

func (s *SiteAuthSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteAuthSettings.

type SiteAuthSettingsProperties

type SiteAuthSettingsProperties struct {
	// Gets a JSON string containing the Azure AD Acl settings.
	AADClaimsAuthorization *string

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

	// Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID
	// value is always considered an allowed audience, regardless of this setting.
	AllowedAudiences []*string

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

	// The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
	AuthFilePath *string

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

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

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

	// The app setting name that contains the client secret of the relying party application.
	ClientSecretSettingName *string

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

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

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

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

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

	// The app setting name that contains the app secret used for Facebook Login.
	FacebookAppSecretSettingName *string

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

	// The Client Id of the GitHub app used for login. This setting is required for enabling Github login
	GitHubClientID *string

	// The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
	GitHubClientSecret *string

	// The app setting name that contains the client secret of the Github app used for GitHub Login.
	GitHubClientSecretSettingName *string

	// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
	GitHubOAuthScopes []*string

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

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

	// The app setting name that contains the client secret associated with the Google web application.
	GoogleClientSecretSettingName *string

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

	// "true" if the auth config settings should be read from a file, "false" otherwise
	IsAuthFromFile *string

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

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

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

	// The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
	MicrosoftAccountClientSecretSettingName *string

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

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

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

	// true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default
	// is false.
	TokenStoreEnabled *bool

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

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

	// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
	TwitterConsumerSecretSettingName *string

	// The action to take when an unauthenticated client attempts to access the app.
	UnauthenticatedClientAction *UnauthenticatedClientAction

	// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
	ValidateIssuer *bool
}

SiteAuthSettingsProperties - SiteAuthSettings resource specific properties

func (SiteAuthSettingsProperties) MarshalJSON

func (s SiteAuthSettingsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteAuthSettingsProperties.

func (*SiteAuthSettingsProperties) UnmarshalJSON

func (s *SiteAuthSettingsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteAuthSettingsProperties.

type SiteAuthSettingsV2

type SiteAuthSettingsV2 struct {
	// Kind of resource.
	Kind *string

	// SiteAuthSettingsV2 resource specific properties
	Properties *SiteAuthSettingsV2Properties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SiteAuthSettingsV2 - Configuration settings for the Azure App Service Authentication / Authorization V2 feature.

func (SiteAuthSettingsV2) MarshalJSON

func (s SiteAuthSettingsV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteAuthSettingsV2.

func (*SiteAuthSettingsV2) UnmarshalJSON

func (s *SiteAuthSettingsV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteAuthSettingsV2.

type SiteAuthSettingsV2Properties

type SiteAuthSettingsV2Properties struct {
	// The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
	GlobalValidation *GlobalValidation

	// The configuration settings of the HTTP requests for authentication and authorization requests made against App Service
	// Authentication/Authorization.
	HTTPSettings *HTTPSettings

	// The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
	IdentityProviders *IdentityProviders

	// The configuration settings of the login flow of users using App Service Authentication/Authorization.
	Login *Login

	// The configuration settings of the platform of App Service Authentication/Authorization.
	Platform *AuthPlatform
}

SiteAuthSettingsV2Properties - SiteAuthSettingsV2 resource specific properties

func (SiteAuthSettingsV2Properties) MarshalJSON

func (s SiteAuthSettingsV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteAuthSettingsV2Properties.

func (*SiteAuthSettingsV2Properties) UnmarshalJSON

func (s *SiteAuthSettingsV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteAuthSettingsV2Properties.

type SiteAvailabilityState

type SiteAvailabilityState string

SiteAvailabilityState - Management information availability state for the app.

const (
	SiteAvailabilityStateDisasterRecoveryMode SiteAvailabilityState = "DisasterRecoveryMode"
	SiteAvailabilityStateLimited              SiteAvailabilityState = "Limited"
	SiteAvailabilityStateNormal               SiteAvailabilityState = "Normal"
)

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

	// List of features enabled on app that prevent cloning.
	BlockingFeatures []*SiteCloneabilityCriterion

	// Name of app.
	Result *CloneAbilityResult

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

SiteCloneability - Represents whether or not an app is cloneable.

func (SiteCloneability) MarshalJSON

func (s SiteCloneability) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteCloneability.

func (*SiteCloneability) UnmarshalJSON

func (s *SiteCloneability) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteCloneability.

type SiteCloneabilityCriterion

type SiteCloneabilityCriterion struct {
	// Description of criterion.
	Description *string

	// Name of criterion.
	Name *string
}

SiteCloneabilityCriterion - An app cloneability criterion.

func (SiteCloneabilityCriterion) MarshalJSON

func (s SiteCloneabilityCriterion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteCloneabilityCriterion.

func (*SiteCloneabilityCriterion) UnmarshalJSON

func (s *SiteCloneabilityCriterion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteCloneabilityCriterion.

type SiteConfig

type SiteConfig struct {
	// Information about the formal API definition for the app.
	APIDefinition *APIDefinitionInfo

	// Azure API management settings linked to the app.
	APIManagementConfig *APIManagementConfig

	// Flag to use Managed Identity Creds for ACR pull
	AcrUseManagedIdentityCreds *bool

	// If using user managed identity, the user managed identity ClientId
	AcrUserManagedIdentityID *string

	// true if Always On is enabled; otherwise, false.
	AlwaysOn *bool

	// App command line to launch.
	AppCommandLine *string

	// Application settings.
	AppSettings []*NameValuePair

	// true if Auto Heal is enabled; otherwise, false.
	AutoHealEnabled *bool

	// Auto Heal rules.
	AutoHealRules *AutoHealRules

	// Auto-swap slot name.
	AutoSwapSlotName *string

	// List of Azure Storage Accounts.
	AzureStorageAccounts map[string]*AzureStorageInfoValue

	// Connection strings.
	ConnectionStrings []*ConnStringInfo

	// Cross-Origin Resource Sharing (CORS) settings.
	Cors *CorsSettings

	// Default documents.
	DefaultDocuments []*string

	// true if detailed error logging is enabled; otherwise, false.
	DetailedErrorLoggingEnabled *bool

	// Document root.
	DocumentRoot *string

	// Maximum number of workers that a site can scale out to. This setting only applies to apps in plans where ElasticScaleEnabled
	// is true
	ElasticWebAppScaleLimit *int32

	// This is work around for polymorphic types.
	Experiments *Experiments

	// State of FTP / FTPS service
	FtpsState *FtpsState

	// Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium
	// Plans
	FunctionAppScaleLimit *int32

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

	// true if HTTP logging is enabled; otherwise, false.
	HTTPLoggingEnabled *bool

	// Handler mappings.
	HandlerMappings []*HandlerMapping

	// Health check path
	HealthCheckPath *string

	// Http20Enabled: configures a web site to allow clients to connect over http2.0
	Http20Enabled *bool

	// IP security restrictions for main.
	IPSecurityRestrictions []*IPSecurityRestriction

	// Default action for main access restriction if no rules are matched.
	IPSecurityRestrictionsDefaultAction *DefaultAction

	// Java container.
	JavaContainer *string

	// Java container version.
	JavaContainerVersion *string

	// Java version.
	JavaVersion *string

	// Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string

	// Site limits.
	Limits *SiteLimits

	// Linux App Framework and version
	LinuxFxVersion *string

	// Site load balancing.
	LoadBalancing *SiteLoadBalancing

	// true to enable local MySQL; otherwise, false.
	LocalMySQLEnabled *bool

	// HTTP logs directory size limit.
	LogsDirectorySizeLimit *int32

	// Managed pipeline mode.
	ManagedPipelineMode *ManagedPipelineMode

	// Managed Service Identity Id
	ManagedServiceIdentityID *int32

	// Application metadata. This property cannot be retrieved, since it may contain secrets.
	Metadata []*NameValuePair

	// The minimum strength TLS cipher suite allowed for an application
	MinTLSCipherSuite *TLSCipherSuites

	// MinTlsVersion: configures the minimum version of TLS required for SSL requests
	MinTLSVersion *SupportedTLSVersions

	// Number of minimum instance count for a site This setting only applies to the Elastic Plans
	MinimumElasticInstanceCount *int32

	// .NET Framework version.
	NetFrameworkVersion *string

	// Version of Node.js.
	NodeVersion *string

	// Number of workers.
	NumberOfWorkers *int32

	// Version of PHP.
	PhpVersion *string

	// Version of PowerShell.
	PowerShellVersion *string

	// Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans
	PreWarmedInstanceCount *int32

	// Property to allow or block all public traffic.
	PublicNetworkAccess *string

	// Publishing user name.
	PublishingUsername *string

	// Push endpoint settings.
	Push *PushSettings

	// Version of Python.
	PythonVersion *string

	// true if remote debugging is enabled; otherwise, false.
	RemoteDebuggingEnabled *bool

	// Remote debugging version.
	RemoteDebuggingVersion *string

	// true if request tracing is enabled; otherwise, false.
	RequestTracingEnabled *bool

	// Request tracing expiration time.
	RequestTracingExpirationTime *time.Time

	// IP security restrictions for scm.
	ScmIPSecurityRestrictions []*IPSecurityRestriction

	// Default action for scm access restriction if no rules are matched.
	ScmIPSecurityRestrictionsDefaultAction *DefaultAction

	// IP security restrictions for scm to use main.
	ScmIPSecurityRestrictionsUseMain *bool

	// ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site
	ScmMinTLSVersion *SupportedTLSVersions

	// SCM type.
	ScmType *ScmType

	// Tracing options.
	TracingOptions *string

	// true to use 32-bit worker process; otherwise, false.
	Use32BitWorkerProcess *bool

	// Virtual applications.
	VirtualApplications []*VirtualApplication

	// Virtual Network name.
	VnetName *string

	// The number of private ports assigned to this app. These will be assigned dynamically on runtime.
	VnetPrivatePortsCount *int32

	// Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined
	// Routes applied.
	VnetRouteAllEnabled *bool

	// true if WebSocket is enabled; otherwise, false.
	WebSocketsEnabled *bool

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

	// Xenon App Framework and version
	WindowsFxVersion *string

	// Explicit Managed Service Identity Id
	XManagedServiceIdentityID *int32

	// READ-ONLY; Site MachineKey.
	MachineKey *SiteMachineKey
}

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

	// READ-ONLY; LinuxFxVersion configuration setting.
	LinuxFxVersion *string

	// READ-ONLY; PowerShellVersion configuration setting.
	PowerShellVersion *string

	// READ-ONLY; true if use32BitWorkerProcess should be set to true for the stack; otherwise, false.
	Use32BitWorkerProcess *bool
}

SiteConfigPropertiesDictionary - Site config properties dictionary.

func (SiteConfigPropertiesDictionary) MarshalJSON

func (s SiteConfigPropertiesDictionary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigPropertiesDictionary.

func (*SiteConfigPropertiesDictionary) UnmarshalJSON

func (s *SiteConfigPropertiesDictionary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfigPropertiesDictionary.

type SiteConfigResource

type SiteConfigResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *SiteConfig

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SiteConfigResource - Web app configuration ARM resource.

func (SiteConfigResource) MarshalJSON

func (s SiteConfigResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigResource.

func (*SiteConfigResource) UnmarshalJSON

func (s *SiteConfigResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfigResource.

type SiteConfigResourceCollection

type SiteConfigResourceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SiteConfigResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SiteConfigResourceCollection - Collection of site configurations.

func (SiteConfigResourceCollection) MarshalJSON

func (s SiteConfigResourceCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigResourceCollection.

func (*SiteConfigResourceCollection) UnmarshalJSON

func (s *SiteConfigResourceCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfigResourceCollection.

type SiteConfigurationSnapshotInfo

type SiteConfigurationSnapshotInfo struct {
	// Kind of resource.
	Kind *string

	// SiteConfigurationSnapshotInfo resource specific properties
	Properties *SiteConfigurationSnapshotInfoProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SiteConfigurationSnapshotInfo - A snapshot of a web app configuration.

func (SiteConfigurationSnapshotInfo) MarshalJSON

func (s SiteConfigurationSnapshotInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigurationSnapshotInfo.

func (*SiteConfigurationSnapshotInfo) UnmarshalJSON

func (s *SiteConfigurationSnapshotInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfigurationSnapshotInfo.

type SiteConfigurationSnapshotInfoCollection

type SiteConfigurationSnapshotInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SiteConfigurationSnapshotInfo

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SiteConfigurationSnapshotInfoCollection - Collection of metadata for the app configuration snapshots that can be restored.

func (SiteConfigurationSnapshotInfoCollection) MarshalJSON

func (s SiteConfigurationSnapshotInfoCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteConfigurationSnapshotInfoCollection.

func (*SiteConfigurationSnapshotInfoCollection) UnmarshalJSON

func (s *SiteConfigurationSnapshotInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteConfigurationSnapshotInfoCollection.

type SiteConfigurationSnapshotInfoProperties

type SiteConfigurationSnapshotInfoProperties struct {
	// READ-ONLY; The id of the snapshot
	SnapshotID *int32

	// READ-ONLY; The time the snapshot was taken.
	Time *time.Time
}

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

	// SiteExtensionInfo resource specific properties
	Properties *SiteExtensionInfoProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SiteExtensionInfo - Site Extension Information.

func (SiteExtensionInfo) MarshalJSON

func (s SiteExtensionInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteExtensionInfo.

func (*SiteExtensionInfo) UnmarshalJSON

func (s *SiteExtensionInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteExtensionInfo.

type SiteExtensionInfoCollection

type SiteExtensionInfoCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SiteExtensionInfo

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SiteExtensionInfoCollection - Collection of Kudu site extension information elements.

func (SiteExtensionInfoCollection) MarshalJSON

func (s SiteExtensionInfoCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteExtensionInfoCollection.

func (*SiteExtensionInfoCollection) UnmarshalJSON

func (s *SiteExtensionInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteExtensionInfoCollection.

type SiteExtensionInfoProperties

type SiteExtensionInfoProperties struct {
	// List of authors.
	Authors []*string

	// Site Extension comment.
	Comment *string

	// Detailed description.
	Description *string

	// Count of downloads.
	DownloadCount *int32

	// Site extension ID.
	ExtensionID *string

	// Site extension type.
	ExtensionType *SiteExtensionType

	// Extension URL.
	ExtensionURL *string

	// Feed URL.
	FeedURL *string

	// Icon URL.
	IconURL *string

	// Installed timestamp.
	InstalledDateTime *time.Time

	// Installer command line parameters.
	InstallerCommandLineParams *string

	// License URL.
	LicenseURL *string

	// true if the local version is the latest version; false otherwise.
	LocalIsLatestVersion *bool

	// Local path.
	LocalPath *string

	// Project URL.
	ProjectURL *string

	// Provisioning state.
	ProvisioningState *string

	// Published timestamp.
	PublishedDateTime *time.Time

	// Summary description.
	Summary *string
	Title   *string

	// Version information.
	Version *string
}

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

	// Maximum allowed memory usage in MB.
	MaxMemoryInMb *int64

	// Maximum allowed CPU usage percentage.
	MaxPercentageCPU *float64
}

SiteLimits - Metric limits set on an app.

func (SiteLimits) MarshalJSON

func (s SiteLimits) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteLimits.

func (*SiteLimits) UnmarshalJSON

func (s *SiteLimits) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteLimits.

type SiteLoadBalancing

type SiteLoadBalancing string

SiteLoadBalancing - Site load balancing.

const (
	SiteLoadBalancingLeastRequests        SiteLoadBalancing = "LeastRequests"
	SiteLoadBalancingLeastResponseTime    SiteLoadBalancing = "LeastResponseTime"
	SiteLoadBalancingPerSiteRoundRobin    SiteLoadBalancing = "PerSiteRoundRobin"
	SiteLoadBalancingRequestHash          SiteLoadBalancing = "RequestHash"
	SiteLoadBalancingWeightedRoundRobin   SiteLoadBalancing = "WeightedRoundRobin"
	SiteLoadBalancingWeightedTotalTraffic SiteLoadBalancing = "WeightedTotalTraffic"
)

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

	// SiteLogsConfig resource specific properties
	Properties *SiteLogsConfigProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SiteLogsConfig - Configuration of App Service site logs.

func (SiteLogsConfig) MarshalJSON

func (s SiteLogsConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteLogsConfig.

func (*SiteLogsConfig) UnmarshalJSON

func (s *SiteLogsConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteLogsConfig.

type SiteLogsConfigProperties

type SiteLogsConfigProperties struct {
	// Application logs configuration.
	ApplicationLogs *ApplicationLogsConfig

	// Detailed error messages configuration.
	DetailedErrorMessages *EnabledConfig

	// Failed requests tracing configuration.
	FailedRequestsTracing *EnabledConfig

	// HTTP logs configuration.
	HTTPLogs *HTTPLogsConfig
}

SiteLogsConfigProperties - SiteLogsConfig resource specific properties

func (SiteLogsConfigProperties) MarshalJSON

func (s SiteLogsConfigProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteLogsConfigProperties.

func (*SiteLogsConfigProperties) UnmarshalJSON

func (s *SiteLogsConfigProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteLogsConfigProperties.

type SiteMachineKey

type SiteMachineKey struct {
	// Algorithm used for decryption.
	Decryption *string

	// Decryption key.
	DecryptionKey *string

	// MachineKey validation.
	Validation *string

	// Validation key.
	ValidationKey *string
}

SiteMachineKey - MachineKey of an app.

func (SiteMachineKey) MarshalJSON

func (s SiteMachineKey) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteMachineKey.

func (*SiteMachineKey) UnmarshalJSON

func (s *SiteMachineKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteMachineKey.

type SitePatchResource

type SitePatchResource struct {
	// Managed service identity.
	Identity *ManagedServiceIdentity

	// Kind of resource.
	Kind *string

	// SitePatchResource resource specific properties
	Properties *SitePatchResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SitePatchResource - ARM resource for a site.

func (SitePatchResource) MarshalJSON

func (s SitePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SitePatchResource.

func (*SitePatchResource) UnmarshalJSON

func (s *SitePatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.
	ClientCertEnabled *bool

	// client certificate authentication comma-separated exclusion paths
	ClientCertExclusionPaths *string

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

	// If specified during app creation, the app is cloned from a source app.
	CloningInfo *CloningInfo

	// Size of the function container.
	ContainerSize *int32

	// Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.
	CustomDomainVerificationID *string

	// Maximum allowed daily memory-time quota (applicable on dynamic apps only).
	DailyMemoryTimeQuota *int32

	// true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).
	Enabled *bool

	// HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
	HTTPSOnly *bool

	// Hostname SSL states are used to manage the SSL bindings for app's hostnames.
	HostNameSSLStates []*HostNameSSLState

	// true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management
	// process.
	HostNamesDisabled *bool

	// App Service Environment to use for the app.
	HostingEnvironmentProfile *HostingEnvironmentProfile

	// Hyper-V sandbox.
	HyperV *bool

	// Obsolete: Hyper-V sandbox.
	IsXenon *bool

	// Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string

	// Site redundancy mode
	RedundancyMode *RedundancyMode

	// true if reserved; otherwise, false.
	Reserved *bool

	// true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.
	ScmSiteAlsoStopped *bool

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

	// Configuration of the app.
	SiteConfig *SiteConfig

	// Checks if Customer provided storage account is required
	StorageAccountRequired *bool

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

	// READ-ONLY; Management information availability state for the app.
	AvailabilityState *SiteAvailabilityState

	// READ-ONLY; Default hostname of the app. Read-only.
	DefaultHostName *string

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

	// READ-ONLY; Hostnames associated with the app.
	HostNames []*string

	// READ-ONLY; Specifies an operation id if this site has a pending operation.
	InProgressOperationID *string

	// READ-ONLY; true if the app is a default container; otherwise, false.
	IsDefaultContainer *bool

	// READ-ONLY; Last time the app was modified, in UTC. Read-only.
	LastModifiedTimeUTC *time.Time

	// READ-ONLY; Maximum number of workers. This only applies to Functions container.
	MaxNumberOfWorkers *int32

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

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

	// READ-ONLY; Name of the repository site.
	RepositorySiteName *string

	// READ-ONLY; Name of the resource group the app belongs to. Read-only.
	ResourceGroup *string

	// READ-ONLY; Status of the last deployment slot swap operation.
	SlotSwapStatus *SlotSwapStatus

	// READ-ONLY; Current state of the app.
	State *string

	// READ-ONLY; App suspended till in case memory-time quota is exceeded.
	SuspendedTill *time.Time

	// READ-ONLY; Specifies which deployment slot this app will swap into. Read-only.
	TargetSwapSlot *string

	// READ-ONLY; Azure Traffic Manager hostnames associated with the app. Read-only.
	TrafficManagerHostNames []*string

	// READ-ONLY; State indicating whether the app has exceeded its quota usage. Read-only.
	UsageState *UsageState
}

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

	// SitePhpErrorLogFlag resource specific properties
	Properties *SitePhpErrorLogFlagProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SitePhpErrorLogFlag - Used for getting PHP error logging flag.

func (SitePhpErrorLogFlag) MarshalJSON

func (s SitePhpErrorLogFlag) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SitePhpErrorLogFlag.

func (*SitePhpErrorLogFlag) UnmarshalJSON

func (s *SitePhpErrorLogFlag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SitePhpErrorLogFlag.

type SitePhpErrorLogFlagProperties

type SitePhpErrorLogFlagProperties struct {
	// Local log_errors setting.
	LocalLogErrors *string

	// Local logerrorsmax_len setting.
	LocalLogErrorsMaxLength *string

	// Master log_errors setting.
	MasterLogErrors *string

	// Master logerrorsmax_len setting.
	MasterLogErrorsMaxLength *string
}

SitePhpErrorLogFlagProperties - SitePhpErrorLogFlag resource specific properties

func (SitePhpErrorLogFlagProperties) MarshalJSON

func (s SitePhpErrorLogFlagProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SitePhpErrorLogFlagProperties.

func (*SitePhpErrorLogFlagProperties) UnmarshalJSON

func (s *SitePhpErrorLogFlagProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SitePhpErrorLogFlagProperties.

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

	// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.
	ClientCertEnabled *bool

	// client certificate authentication comma-separated exclusion paths
	ClientCertExclusionPaths *string

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

	// If specified during app creation, the app is cloned from a source app.
	CloningInfo *CloningInfo

	// Size of the function container.
	ContainerSize *int32

	// Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.
	CustomDomainVerificationID *string

	// Maximum allowed daily memory-time quota (applicable on dynamic apps only).
	DailyMemoryTimeQuota *int32

	// Dapr configuration of the app.
	DaprConfig *DaprConfig

	// true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).
	Enabled *bool

	// HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
	HTTPSOnly *bool

	// Hostname SSL states are used to manage the SSL bindings for app's hostnames.
	HostNameSSLStates []*HostNameSSLState

	// true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management
	// process.
	HostNamesDisabled *bool

	// App Service Environment to use for the app.
	HostingEnvironmentProfile *HostingEnvironmentProfile

	// Hyper-V sandbox.
	HyperV *bool

	// Obsolete: Hyper-V sandbox.
	IsXenon *bool

	// Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string

	// Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the
	// form
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}
	ManagedEnvironmentID *string

	// Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.
	PublicNetworkAccess *string

	// Site redundancy mode
	RedundancyMode *RedundancyMode

	// true if reserved; otherwise, false.
	Reserved *bool

	// Function app resource requirements.
	ResourceConfig *ResourceConfig

	// true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.
	ScmSiteAlsoStopped *bool

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

	// Configuration of the app.
	SiteConfig *SiteConfig

	// Checks if Customer provided storage account is required
	StorageAccountRequired *bool

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

	// To enable accessing content over virtual network
	VnetContentShareEnabled *bool

	// To enable pulling image over Virtual Network
	VnetImagePullEnabled *bool

	// Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined
	// Routes applied.
	VnetRouteAllEnabled *bool

	// Workload profile name for function app to execute on.
	WorkloadProfileName *string

	// READ-ONLY; Management information availability state for the app.
	AvailabilityState *SiteAvailabilityState

	// READ-ONLY; Default hostname of the app. Read-only.
	DefaultHostName *string

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

	// READ-ONLY; Hostnames associated with the app.
	HostNames []*string

	// READ-ONLY; Specifies an operation id if this site has a pending operation.
	InProgressOperationID *string

	// READ-ONLY; true if the app is a default container; otherwise, false.
	IsDefaultContainer *bool

	// READ-ONLY; Last time the app was modified, in UTC. Read-only.
	LastModifiedTimeUTC *time.Time

	// READ-ONLY; Maximum number of workers. This only applies to Functions container.
	MaxNumberOfWorkers *int32

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

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

	// READ-ONLY; Name of the repository site.
	RepositorySiteName *string

	// READ-ONLY; Name of the resource group the app belongs to. Read-only.
	ResourceGroup *string

	// READ-ONLY; Status of the last deployment slot swap operation.
	SlotSwapStatus *SlotSwapStatus

	// READ-ONLY; Current state of the app.
	State *string

	// READ-ONLY; App suspended till in case memory-time quota is exceeded.
	SuspendedTill *time.Time

	// READ-ONLY; Specifies which deployment slot this app will swap into. Read-only.
	TargetSwapSlot *string

	// READ-ONLY; Azure Traffic Manager hostnames associated with the app. Read-only.
	TrafficManagerHostNames []*string

	// READ-ONLY; State indicating whether the app has exceeded its quota usage. Read-only.
	UsageState *UsageState
}

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
}

SiteSeal - Site seal

func (SiteSeal) MarshalJSON

func (s SiteSeal) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteSeal.

func (*SiteSeal) UnmarshalJSON

func (s *SiteSeal) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteSeal.

type SiteSealRequest

type SiteSealRequest struct {
	// If true use the light color theme for site seal; otherwise, use the default color theme.
	LightTheme *bool

	// Locale of site seal.
	Locale *string
}

SiteSealRequest - Site seal request.

func (SiteSealRequest) MarshalJSON

func (s SiteSealRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteSealRequest.

func (*SiteSealRequest) UnmarshalJSON

func (s *SiteSealRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteSealRequest.

type SiteSourceControl

type SiteSourceControl struct {
	// Kind of resource.
	Kind *string

	// SiteSourceControl resource specific properties
	Properties *SiteSourceControlProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*SiteSourceControl) UnmarshalJSON

func (s *SiteSourceControl) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteSourceControl.

type SiteSourceControlProperties

type SiteSourceControlProperties struct {
	// Name of branch to use for deployment.
	Branch *string

	// true to enable deployment rollback; otherwise, false.
	DeploymentRollbackEnabled *bool

	// If GitHub Action is selected, than the associated configuration.
	GitHubActionConfiguration *GitHubActionConfiguration

	// true if this is deployed via GitHub action.
	IsGitHubAction *bool

	// true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos
	// like GitHub).
	IsManualIntegration *bool

	// true for a Mercurial repository; false for a Git repository.
	IsMercurial *bool

	// Repository or source control URL.
	RepoURL *string
}

SiteSourceControlProperties - SiteSourceControl resource specific properties

func (SiteSourceControlProperties) MarshalJSON

func (s SiteSourceControlProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SiteSourceControlProperties.

func (*SiteSourceControlProperties) UnmarshalJSON

func (s *SiteSourceControlProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SiteSourceControlProperties.

type SlotConfigNames

type SlotConfigNames struct {
	// List of application settings names.
	AppSettingNames []*string

	// List of external Azure storage account identifiers.
	AzureStorageConfigNames []*string

	// List of connection string names.
	ConnectionStringNames []*string
}

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.

func (*SlotConfigNames) UnmarshalJSON

func (s *SlotConfigNames) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlotConfigNames.

type SlotConfigNamesResource

type SlotConfigNamesResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *SlotConfigNames

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SlotConfigNamesResource - Slot Config names azure resource.

func (SlotConfigNamesResource) MarshalJSON

func (s SlotConfigNamesResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlotConfigNamesResource.

func (*SlotConfigNamesResource) UnmarshalJSON

func (s *SlotConfigNamesResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlotConfigNamesResource.

type SlotDifference

type SlotDifference struct {
	// Kind of resource.
	Kind *string

	// SlotDifference resource specific properties
	Properties *SlotDifferenceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SlotDifference - A setting difference between two deployment slots of an app.

func (SlotDifference) MarshalJSON

func (s SlotDifference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlotDifference.

func (*SlotDifference) UnmarshalJSON

func (s *SlotDifference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlotDifference.

type SlotDifferenceCollection

type SlotDifferenceCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SlotDifference

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SlotDifferenceCollection - Collection of slot differences.

func (SlotDifferenceCollection) MarshalJSON

func (s SlotDifferenceCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlotDifferenceCollection.

func (*SlotDifferenceCollection) UnmarshalJSON

func (s *SlotDifferenceCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlotDifferenceCollection.

type SlotDifferenceProperties

type SlotDifferenceProperties struct {
	// READ-ONLY; Description of the setting difference.
	Description *string

	// READ-ONLY; Rule that describes how to process the setting difference during a slot swap.
	DiffRule *string

	// READ-ONLY; Level of the difference: Information, Warning or Error.
	Level *string

	// READ-ONLY; Name of the setting.
	SettingName *string

	// READ-ONLY; The type of the setting: General, AppSetting or ConnectionString.
	SettingType *string

	// READ-ONLY; Value of the setting in the current slot.
	ValueInCurrentSlot *string

	// READ-ONLY; Value of the setting in the target slot.
	ValueInTargetSlot *string
}

SlotDifferenceProperties - SlotDifference resource specific properties

func (SlotDifferenceProperties) MarshalJSON

func (s SlotDifferenceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlotDifferenceProperties.

func (*SlotDifferenceProperties) UnmarshalJSON

func (s *SlotDifferenceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlotDifferenceProperties.

type SlotSwapStatus

type SlotSwapStatus struct {
	// READ-ONLY; The destination slot of the last swap operation.
	DestinationSlotName *string

	// READ-ONLY; The source slot of the last swap operation.
	SourceSlotName *string

	// READ-ONLY; The time the last successful slot swap completed.
	TimestampUTC *time.Time
}

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

	// Request Path.
	Path *string

	// Time interval.
	TimeInterval *string

	// Time taken.
	TimeTaken *string
}

SlowRequestsBasedTrigger - Trigger based on request execution time.

func (SlowRequestsBasedTrigger) MarshalJSON

func (s SlowRequestsBasedTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SlowRequestsBasedTrigger.

func (*SlowRequestsBasedTrigger) UnmarshalJSON

func (s *SlowRequestsBasedTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SlowRequestsBasedTrigger.

type Snapshot

type Snapshot struct {
	// Kind of resource.
	Kind *string

	// Snapshot resource specific properties
	Properties *SnapshotProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Snapshot - A snapshot of an app.

func (Snapshot) MarshalJSON

func (s Snapshot) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Snapshot.

func (*Snapshot) UnmarshalJSON

func (s *Snapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Snapshot.

type SnapshotCollection

type SnapshotCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Snapshot

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SnapshotCollection - Collection of snapshots which can be used to revert an app to a previous time.

func (SnapshotCollection) MarshalJSON

func (s SnapshotCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SnapshotCollection.

func (*SnapshotCollection) UnmarshalJSON

func (s *SnapshotCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SnapshotCollection.

type SnapshotProperties

type SnapshotProperties struct {
	// READ-ONLY; The time the snapshot was taken.
	Time *string
}

SnapshotProperties - Snapshot resource specific properties

func (SnapshotProperties) MarshalJSON

func (s SnapshotProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SnapshotProperties.

func (*SnapshotProperties) UnmarshalJSON

func (s *SnapshotProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SnapshotProperties.

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

	// Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS
	Location *string
}

SnapshotRecoverySource - Specifies the web app that snapshot contents will be retrieved from.

func (SnapshotRecoverySource) MarshalJSON

func (s SnapshotRecoverySource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SnapshotRecoverySource.

func (*SnapshotRecoverySource) UnmarshalJSON

func (s *SnapshotRecoverySource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SnapshotRecoverySource.

type SnapshotRestoreRequest

type SnapshotRestoreRequest struct {
	// Kind of resource.
	Kind *string

	// SnapshotRestoreRequest resource specific properties
	Properties *SnapshotRestoreRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SnapshotRestoreRequest - Details about app recovery operation.

func (SnapshotRestoreRequest) MarshalJSON

func (s SnapshotRestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SnapshotRestoreRequest.

func (*SnapshotRestoreRequest) UnmarshalJSON

func (s *SnapshotRestoreRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SnapshotRestoreRequest.

type SnapshotRestoreRequestProperties

type SnapshotRestoreRequestProperties struct {
	// REQUIRED; If true the restore operation can overwrite source app; otherwise, false.
	Overwrite *bool

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

	// If true, site configuration, in addition to content, will be reverted.
	RecoverConfiguration *bool

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

	// Point in time in which the app restore should be done, formatted as a DateTime string.
	SnapshotTime *string

	// If true, the snapshot is retrieved from DRSecondary endpoint.
	UseDRSecondary *bool
}

SnapshotRestoreRequestProperties - SnapshotRestoreRequest resource specific properties

func (SnapshotRestoreRequestProperties) MarshalJSON

func (s SnapshotRestoreRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SnapshotRestoreRequestProperties.

func (*SnapshotRestoreRequestProperties) UnmarshalJSON

func (s *SnapshotRestoreRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SnapshotRestoreRequestProperties.

type Solution

type Solution struct {
	// Solution Data.
	Data [][]*NameValuePair

	// Description of the solution
	Description *string

	// Display Name of the solution
	DisplayName *string

	// Solution Id.
	ID *float64

	// Solution Metadata.
	Metadata [][]*NameValuePair

	// Order of the solution.
	Order *float64

	// Type of Solution
	Type *SolutionType
}

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.

func (*Solution) UnmarshalJSON

func (s *Solution) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Solution.

type SolutionType

type SolutionType string

SolutionType - Type of Solution

const (
	SolutionTypeBestPractices     SolutionType = "BestPractices"
	SolutionTypeDeepInvestigation SolutionType = "DeepInvestigation"
	SolutionTypeQuickSolution     SolutionType = "QuickSolution"
)

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

	// SourceControl resource specific properties
	Properties *SourceControlProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

SourceControl - The source control OAuth token.

func (SourceControl) MarshalJSON

func (s SourceControl) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SourceControl.

func (*SourceControl) UnmarshalJSON

func (s *SourceControl) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SourceControl.

type SourceControlCollection

type SourceControlCollection struct {
	// REQUIRED; Collection of resources.
	Value []*SourceControl

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

SourceControlCollection - Collection of source controls.

func (SourceControlCollection) MarshalJSON

func (s SourceControlCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SourceControlCollection.

func (*SourceControlCollection) UnmarshalJSON

func (s *SourceControlCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SourceControlCollection.

type SourceControlProperties

type SourceControlProperties struct {
	// OAuth token expiration.
	ExpirationTime *time.Time

	// OAuth refresh token.
	RefreshToken *string

	// OAuth access token.
	Token *string

	// OAuth access token secret.
	TokenSecret *string
}

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]any

	// true if this supports Application Insights; otherwise, false.
	ApplicationInsights *bool

	// Application stack major version (display only).
	DisplayVersion *string

	// true if this is the default major version; otherwise, false.
	IsDefault *bool

	// true if this stack has been deprecated, otherwise false.
	IsDeprecated *bool

	// true if this stack should be hidden for new customers on portal, otherwise false.
	IsHidden *bool

	// true if this stack is in Preview, otherwise false.
	IsPreview *bool

	// Minor versions associated with the major version.
	MinorVersions []*StackMinorVersion

	// Application stack major version (runtime only).
	RuntimeVersion *string

	// Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0
	SiteConfigPropertiesDictionary map[string]any
}

StackMajorVersion - Application stack major version.

func (StackMajorVersion) MarshalJSON

func (s StackMajorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StackMajorVersion.

func (*StackMajorVersion) UnmarshalJSON

func (s *StackMajorVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StackMajorVersion.

type StackMinorVersion

type StackMinorVersion struct {
	// Application stack minor version (display only).
	DisplayVersion *string

	// true if this is the default minor version; otherwise, false.
	IsDefault *bool

	// true if this supports Remote Debugging, otherwise false.
	IsRemoteDebuggingEnabled *bool

	// Application stack minor version (runtime only).
	RuntimeVersion *string
}

StackMinorVersion - Application stack minor version.

func (StackMinorVersion) MarshalJSON

func (s StackMinorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StackMinorVersion.

func (*StackMinorVersion) UnmarshalJSON

func (s *StackMinorVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StackMinorVersion.

type StackPreferredOs

type StackPreferredOs string

StackPreferredOs - Function App stack preferred OS.

const (
	StackPreferredOsLinux   StackPreferredOs = "Linux"
	StackPreferredOsWindows StackPreferredOs = "Windows"
)

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 (
	StagingEnvironmentPolicyDisabled StagingEnvironmentPolicy = "Disabled"
	StagingEnvironmentPolicyEnabled  StagingEnvironmentPolicy = "Enabled"
)

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

	// Shared/dedicated workers.
	ComputeMode *ComputeModeOptions

	// If true, it includes basic apps. Basic apps are not used for capacity allocation.
	ExcludeFromCapacityAllocation *bool

	// true if capacity is applicable for all apps; otherwise, false.
	IsApplicableForAllComputeModes *bool

	// Is this a linux stamp capacity
	IsLinux *bool

	// Name of the stamp.
	Name *string

	// Shared or Dedicated.
	SiteMode *string

	// Total capacity (# of machines, bytes of storage etc…).
	TotalCapacity *int64

	// Name of the unit.
	Unit *string

	// Size of the machines.
	WorkerSize *WorkerSizeOptions

	// Size ID of machines: 0 - Small 1 - Medium 2 - Large
	WorkerSizeID *int32
}

StampCapacity - Stamp capacity information.

func (StampCapacity) MarshalJSON

func (s StampCapacity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StampCapacity.

func (*StampCapacity) UnmarshalJSON

func (s *StampCapacity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StampCapacity.

type StampCapacityCollection

type StampCapacityCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StampCapacity

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StampCapacityCollection - Collection of stamp capacities.

func (StampCapacityCollection) MarshalJSON

func (s StampCapacityCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StampCapacityCollection.

func (*StampCapacityCollection) UnmarshalJSON

func (s *StampCapacityCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StampCapacityCollection.

type StaticSite

type StaticSite struct {
	// false if config file is locked for this static web app; otherwise, true.
	AllowConfigFileUpdates *bool

	// The target branch in the repository.
	Branch *string

	// Build properties to configure on the repository.
	BuildProperties *StaticSiteBuildProperties

	// State indicating the status of the enterprise grade CDN serving traffic to the static web app.
	EnterpriseGradeCdnStatus *EnterpriseGradeCdnStatus

	// The provider that submitted the last deployment to the primary environment of the static site.
	Provider *string

	// State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled'
	// or an empty string.
	PublicNetworkAccess *string

	// A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.
	RepositoryToken *string

	// URL for the repository of the static site.
	RepositoryURL *string

	// State indicating whether staging environments are allowed or not allowed for a static web app.
	StagingEnvironmentPolicy *StagingEnvironmentPolicy

	// Template options for generating a new repository.
	TemplateProperties *StaticSiteTemplateOptions

	// READ-ONLY; The content distribution endpoint for the static site.
	ContentDistributionEndpoint *string

	// READ-ONLY; The custom domains associated with this static site.
	CustomDomains []*string

	// READ-ONLY; Database connections for the static site
	DatabaseConnections []*DatabaseConnectionOverview

	// READ-ONLY; The default autogenerated hostname for the static site.
	DefaultHostname *string

	// READ-ONLY; Identity to use for Key Vault Reference authentication.
	KeyVaultReferenceIdentity *string

	// READ-ONLY; Backends linked to the static side
	LinkedBackends []*StaticSiteLinkedBackend

	// READ-ONLY; Private endpoint connections
	PrivateEndpointConnections []*ResponseMessageEnvelopeRemotePrivateEndpointConnection

	// READ-ONLY; User provided function apps registered with the static site
	UserProvidedFunctionApps []*StaticSiteUserProvidedFunctionApp
}

StaticSite - A static site.

func (StaticSite) MarshalJSON

func (s StaticSite) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSite.

func (*StaticSite) UnmarshalJSON

func (s *StaticSite) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSite.

type StaticSiteARMResource

type StaticSiteARMResource struct {
	// REQUIRED; Resource Location.
	Location *string

	// Managed service identity.
	Identity *ManagedServiceIdentity

	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *StaticSite

	// Description of a SKU for a scalable resource.
	SKU *SKUDescription

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteARMResource - Static Site ARM resource.

func (StaticSiteARMResource) MarshalJSON

func (s StaticSiteARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteARMResource.

func (*StaticSiteARMResource) UnmarshalJSON

func (s *StaticSiteARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteARMResource.

type StaticSiteBasicAuthPropertiesARMResource added in v2.1.0

type StaticSiteBasicAuthPropertiesARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteBasicAuthPropertiesARMResource resource specific properties
	Properties *StaticSiteBasicAuthPropertiesARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteBasicAuthPropertiesARMResource - Static site basic auth properties ARM resource.

func (StaticSiteBasicAuthPropertiesARMResource) MarshalJSON added in v2.1.0

MarshalJSON implements the json.Marshaller interface for type StaticSiteBasicAuthPropertiesARMResource.

func (*StaticSiteBasicAuthPropertiesARMResource) UnmarshalJSON added in v2.1.0

func (s *StaticSiteBasicAuthPropertiesARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBasicAuthPropertiesARMResource.

type StaticSiteBasicAuthPropertiesARMResourceProperties added in v2.1.0

type StaticSiteBasicAuthPropertiesARMResourceProperties struct {
	// REQUIRED; State indicating if basic auth is enabled and for what environments it is active.
	ApplicableEnvironmentsMode *string

	// The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments.
	Environments []*string

	// The password for basic auth.
	Password *string

	// Url to the secret in Key Vault.
	SecretURL *string

	// READ-ONLY; State indicating if basic auth has a secret and what type it is.
	SecretState *string
}

StaticSiteBasicAuthPropertiesARMResourceProperties - StaticSiteBasicAuthPropertiesARMResource resource specific properties

func (StaticSiteBasicAuthPropertiesARMResourceProperties) MarshalJSON added in v2.1.0

MarshalJSON implements the json.Marshaller interface for type StaticSiteBasicAuthPropertiesARMResourceProperties.

func (*StaticSiteBasicAuthPropertiesARMResourceProperties) UnmarshalJSON added in v2.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBasicAuthPropertiesARMResourceProperties.

type StaticSiteBasicAuthPropertiesCollection added in v2.1.0

type StaticSiteBasicAuthPropertiesCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteBasicAuthPropertiesARMResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteBasicAuthPropertiesCollection - Collection of static site basic auth.

func (StaticSiteBasicAuthPropertiesCollection) MarshalJSON added in v2.1.0

func (s StaticSiteBasicAuthPropertiesCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteBasicAuthPropertiesCollection.

func (*StaticSiteBasicAuthPropertiesCollection) UnmarshalJSON added in v2.1.0

func (s *StaticSiteBasicAuthPropertiesCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBasicAuthPropertiesCollection.

type StaticSiteBuildARMResource

type StaticSiteBuildARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteBuildARMResource resource specific properties
	Properties *StaticSiteBuildARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteBuildARMResource - Static Site Build ARM resource.

func (StaticSiteBuildARMResource) MarshalJSON

func (s StaticSiteBuildARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteBuildARMResource.

func (*StaticSiteBuildARMResource) UnmarshalJSON

func (s *StaticSiteBuildARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBuildARMResource.

type StaticSiteBuildARMResourceProperties

type StaticSiteBuildARMResourceProperties struct {
	// READ-ONLY; An identifier for the static site build.
	BuildID *string

	// READ-ONLY; When this build was created.
	CreatedTimeUTC *time.Time

	// READ-ONLY; Database connections for the static site build
	DatabaseConnections []*DatabaseConnectionOverview

	// READ-ONLY; The hostname for a static site build.
	Hostname *string

	// READ-ONLY; When this build was updated.
	LastUpdatedOn *time.Time

	// READ-ONLY; Backends linked to the static side build
	LinkedBackends []*StaticSiteLinkedBackend

	// READ-ONLY; The title of a pull request that a static site build is related to.
	PullRequestTitle *string

	// READ-ONLY; The source branch.
	SourceBranch *string

	// READ-ONLY; The status of the static site build.
	Status *BuildStatus

	// READ-ONLY; User provided function apps registered with the static site build
	UserProvidedFunctionApps []*StaticSiteUserProvidedFunctionApp
}

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

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteBuildCollection - Collection of static site builds.

func (StaticSiteBuildCollection) MarshalJSON

func (s StaticSiteBuildCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteBuildCollection.

func (*StaticSiteBuildCollection) UnmarshalJSON

func (s *StaticSiteBuildCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBuildCollection.

type StaticSiteBuildProperties

type StaticSiteBuildProperties struct {
	// A custom command to run during deployment of the Azure Functions API application.
	APIBuildCommand *string

	// The path to the api code within the repository.
	APILocation *string

	// Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
	AppArtifactLocation *string

	// A custom command to run during deployment of the static content application.
	AppBuildCommand *string

	// The path to the app code within the repository.
	AppLocation *string

	// Github Action secret name override.
	GithubActionSecretNameOverride *string

	// The output path of the app after building.
	OutputLocation *string

	// Skip Github Action workflow generation.
	SkipGithubActionWorkflowGeneration *bool
}

StaticSiteBuildProperties - Build properties for the static site.

func (StaticSiteBuildProperties) MarshalJSON

func (s StaticSiteBuildProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteBuildProperties.

func (*StaticSiteBuildProperties) UnmarshalJSON

func (s *StaticSiteBuildProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteBuildProperties.

type StaticSiteCollection

type StaticSiteCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteARMResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteCollection - Collection of static sites.

func (StaticSiteCollection) MarshalJSON

func (s StaticSiteCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteCollection.

func (*StaticSiteCollection) UnmarshalJSON

func (s *StaticSiteCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteCollection.

type StaticSiteCustomDomainOverviewARMResource

type StaticSiteCustomDomainOverviewARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteCustomDomainOverviewARMResource resource specific properties
	Properties *StaticSiteCustomDomainOverviewARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteCustomDomainOverviewARMResource - Static Site Custom Domain Overview ARM resource.

func (StaticSiteCustomDomainOverviewARMResource) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteCustomDomainOverviewARMResource.

func (*StaticSiteCustomDomainOverviewARMResource) UnmarshalJSON

func (s *StaticSiteCustomDomainOverviewARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteCustomDomainOverviewARMResource.

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

	// READ-ONLY; The domain name for the static site custom domain.
	DomainName *string

	// READ-ONLY
	ErrorMessage *string

	// READ-ONLY; The status of the custom domain
	Status *CustomDomainStatus

	// READ-ONLY; The TXT record validation token
	ValidationToken *string
}

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

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteCustomDomainOverviewCollection - Collection of static site custom domains.

func (StaticSiteCustomDomainOverviewCollection) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteCustomDomainOverviewCollection.

func (*StaticSiteCustomDomainOverviewCollection) UnmarshalJSON

func (s *StaticSiteCustomDomainOverviewCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteCustomDomainOverviewCollection.

type StaticSiteCustomDomainRequestPropertiesARMResource

type StaticSiteCustomDomainRequestPropertiesARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties
	Properties *StaticSiteCustomDomainRequestPropertiesARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteCustomDomainRequestPropertiesARMResource - Static Site Custom Domain Request Properties ARM resource.

func (StaticSiteCustomDomainRequestPropertiesARMResource) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteCustomDomainRequestPropertiesARMResource.

func (*StaticSiteCustomDomainRequestPropertiesARMResource) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteCustomDomainRequestPropertiesARMResource.

type StaticSiteCustomDomainRequestPropertiesARMResourceProperties

type StaticSiteCustomDomainRequestPropertiesARMResourceProperties struct {
	// Validation method for adding a custom domain
	ValidationMethod *string
}

StaticSiteCustomDomainRequestPropertiesARMResourceProperties - StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties

func (StaticSiteCustomDomainRequestPropertiesARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteCustomDomainRequestPropertiesARMResourceProperties.

func (*StaticSiteCustomDomainRequestPropertiesARMResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteCustomDomainRequestPropertiesARMResourceProperties.

type StaticSiteDatabaseConnectionConfigurationFileOverview added in v2.1.0

type StaticSiteDatabaseConnectionConfigurationFileOverview struct {
	// READ-ONLY; The Base64 encoding of the file contents.
	Contents *string

	// READ-ONLY; The name of the configuration file.
	FileName *string

	// READ-ONLY; The type of configuration file.
	Type *string
}

StaticSiteDatabaseConnectionConfigurationFileOverview - A database connection configuration file

func (StaticSiteDatabaseConnectionConfigurationFileOverview) MarshalJSON added in v2.1.0

MarshalJSON implements the json.Marshaller interface for type StaticSiteDatabaseConnectionConfigurationFileOverview.

func (*StaticSiteDatabaseConnectionConfigurationFileOverview) UnmarshalJSON added in v2.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteDatabaseConnectionConfigurationFileOverview.

type StaticSiteFunctionOverviewARMResource

type StaticSiteFunctionOverviewARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteFunctionOverviewARMResource resource specific properties
	Properties *StaticSiteFunctionOverviewARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteFunctionOverviewARMResource - Static Site Function Overview ARM resource.

func (StaticSiteFunctionOverviewARMResource) MarshalJSON

func (s StaticSiteFunctionOverviewARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteFunctionOverviewARMResource.

func (*StaticSiteFunctionOverviewARMResource) UnmarshalJSON

func (s *StaticSiteFunctionOverviewARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteFunctionOverviewARMResource.

type StaticSiteFunctionOverviewARMResourceProperties

type StaticSiteFunctionOverviewARMResourceProperties struct {
	// READ-ONLY; The name for the function
	FunctionName *string

	// READ-ONLY; The trigger type of the function
	TriggerType *TriggerTypes
}

StaticSiteFunctionOverviewARMResourceProperties - StaticSiteFunctionOverviewARMResource resource specific properties

func (StaticSiteFunctionOverviewARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteFunctionOverviewARMResourceProperties.

func (*StaticSiteFunctionOverviewARMResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteFunctionOverviewARMResourceProperties.

type StaticSiteFunctionOverviewCollection

type StaticSiteFunctionOverviewCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteFunctionOverviewARMResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteFunctionOverviewCollection - Collection of static site functions.

func (StaticSiteFunctionOverviewCollection) MarshalJSON

func (s StaticSiteFunctionOverviewCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteFunctionOverviewCollection.

func (*StaticSiteFunctionOverviewCollection) UnmarshalJSON

func (s *StaticSiteFunctionOverviewCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteFunctionOverviewCollection.

type StaticSiteLinkedBackend

type StaticSiteLinkedBackend struct {
	// The resource id of the backend linked to the static site
	BackendResourceID *string

	// The region of the backend linked to the static site
	Region *string

	// READ-ONLY; The date and time on which the backend was linked to the static site.
	CreatedOn *time.Time

	// READ-ONLY; The provisioning state of the linking process.
	ProvisioningState *string
}

StaticSiteLinkedBackend - Static Site Linked Backend ARM resource.

func (StaticSiteLinkedBackend) MarshalJSON

func (s StaticSiteLinkedBackend) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteLinkedBackend.

func (*StaticSiteLinkedBackend) UnmarshalJSON

func (s *StaticSiteLinkedBackend) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteLinkedBackend.

type StaticSiteLinkedBackendARMResource

type StaticSiteLinkedBackendARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteLinkedBackendARMResource resource specific properties
	Properties *StaticSiteLinkedBackendARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteLinkedBackendARMResource - Static Site Linked Backend ARM resource.

func (StaticSiteLinkedBackendARMResource) MarshalJSON

func (s StaticSiteLinkedBackendARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteLinkedBackendARMResource.

func (*StaticSiteLinkedBackendARMResource) UnmarshalJSON

func (s *StaticSiteLinkedBackendARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteLinkedBackendARMResource.

type StaticSiteLinkedBackendARMResourceProperties

type StaticSiteLinkedBackendARMResourceProperties struct {
	// The resource id of the backend linked to the static site
	BackendResourceID *string

	// The region of the backend linked to the static site
	Region *string

	// READ-ONLY; The date and time on which the backend was linked to the static site.
	CreatedOn *time.Time

	// READ-ONLY; The provisioning state of the linking process.
	ProvisioningState *string
}

StaticSiteLinkedBackendARMResourceProperties - StaticSiteLinkedBackendARMResource resource specific properties

func (StaticSiteLinkedBackendARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteLinkedBackendARMResourceProperties.

func (*StaticSiteLinkedBackendARMResourceProperties) UnmarshalJSON

func (s *StaticSiteLinkedBackendARMResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteLinkedBackendARMResourceProperties.

type StaticSiteLinkedBackendsCollection

type StaticSiteLinkedBackendsCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteLinkedBackendARMResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteLinkedBackendsCollection - Collection of static site linked backends.

func (StaticSiteLinkedBackendsCollection) MarshalJSON

func (s StaticSiteLinkedBackendsCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteLinkedBackendsCollection.

func (*StaticSiteLinkedBackendsCollection) UnmarshalJSON

func (s *StaticSiteLinkedBackendsCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteLinkedBackendsCollection.

type StaticSitePatchResource

type StaticSitePatchResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *StaticSite

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*StaticSitePatchResource) UnmarshalJSON

func (s *StaticSitePatchResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitePatchResource.

type StaticSiteResetPropertiesARMResource

type StaticSiteResetPropertiesARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteResetPropertiesARMResource resource specific properties
	Properties *StaticSiteResetPropertiesARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteResetPropertiesARMResource - Static Site Reset Properties ARM resource.

func (StaticSiteResetPropertiesARMResource) MarshalJSON

func (s StaticSiteResetPropertiesARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteResetPropertiesARMResource.

func (*StaticSiteResetPropertiesARMResource) UnmarshalJSON

func (s *StaticSiteResetPropertiesARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteResetPropertiesARMResource.

type StaticSiteResetPropertiesARMResourceProperties

type StaticSiteResetPropertiesARMResourceProperties struct {
	// The token which proves admin privileges to the repository.
	RepositoryToken *string

	// Determines whether the repository should be updated with the new properties.
	ShouldUpdateRepository *bool
}

StaticSiteResetPropertiesARMResourceProperties - StaticSiteResetPropertiesARMResource resource specific properties

func (StaticSiteResetPropertiesARMResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteResetPropertiesARMResourceProperties.

func (*StaticSiteResetPropertiesARMResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteResetPropertiesARMResourceProperties.

type StaticSiteTemplateOptions

type StaticSiteTemplateOptions struct {
	// Description of the newly generated repository.
	Description *string

	// Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).
	IsPrivate *bool

	// Owner of the newly generated repository.
	Owner *string

	// Name of the newly generated repository.
	RepositoryName *string

	// URL of the template repository. The newly generated repository will be based on this one.
	TemplateRepositoryURL *string
}

StaticSiteTemplateOptions - Template Options for the static site.

func (StaticSiteTemplateOptions) MarshalJSON

func (s StaticSiteTemplateOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteTemplateOptions.

func (*StaticSiteTemplateOptions) UnmarshalJSON

func (s *StaticSiteTemplateOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteTemplateOptions.

type StaticSiteUserARMResource

type StaticSiteUserARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteUserARMResource resource specific properties
	Properties *StaticSiteUserARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteUserARMResource - Static Site User ARM resource.

func (StaticSiteUserARMResource) MarshalJSON

func (s StaticSiteUserARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserARMResource.

func (*StaticSiteUserARMResource) UnmarshalJSON

func (s *StaticSiteUserARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserARMResource.

type StaticSiteUserARMResourceProperties

type StaticSiteUserARMResourceProperties struct {
	// The roles for the static site user, in free-form string format
	Roles *string

	// READ-ONLY; The display name for the static site user.
	DisplayName *string

	// READ-ONLY; The identity provider for the static site user.
	Provider *string

	// READ-ONLY; The user id for the static site user.
	UserID *string
}

StaticSiteUserARMResourceProperties - StaticSiteUserARMResource resource specific properties

func (StaticSiteUserARMResourceProperties) MarshalJSON

func (s StaticSiteUserARMResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserARMResourceProperties.

func (*StaticSiteUserARMResourceProperties) UnmarshalJSON

func (s *StaticSiteUserARMResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserARMResourceProperties.

type StaticSiteUserCollection

type StaticSiteUserCollection struct {
	// REQUIRED; Collection of resources.
	Value []*StaticSiteUserARMResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteUserCollection - Collection of static site custom users.

func (StaticSiteUserCollection) MarshalJSON

func (s StaticSiteUserCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserCollection.

func (*StaticSiteUserCollection) UnmarshalJSON

func (s *StaticSiteUserCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserCollection.

type StaticSiteUserInvitationRequestResource

type StaticSiteUserInvitationRequestResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteUserInvitationRequestResource resource specific properties
	Properties *StaticSiteUserInvitationRequestResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteUserInvitationRequestResource - Static sites user roles invitation resource.

func (StaticSiteUserInvitationRequestResource) MarshalJSON

func (s StaticSiteUserInvitationRequestResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserInvitationRequestResource.

func (*StaticSiteUserInvitationRequestResource) UnmarshalJSON

func (s *StaticSiteUserInvitationRequestResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserInvitationRequestResource.

type StaticSiteUserInvitationRequestResourceProperties

type StaticSiteUserInvitationRequestResourceProperties struct {
	// The domain name for the static site custom domain.
	Domain *string

	// The number of hours the sas token stays valid
	NumHoursToExpiration *int32

	// The identity provider for the static site user.
	Provider *string

	// The roles for the static site user, in free-form string format
	Roles *string

	// The user id for the static site user.
	UserDetails *string
}

StaticSiteUserInvitationRequestResourceProperties - StaticSiteUserInvitationRequestResource resource specific properties

func (StaticSiteUserInvitationRequestResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserInvitationRequestResourceProperties.

func (*StaticSiteUserInvitationRequestResourceProperties) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserInvitationRequestResourceProperties.

type StaticSiteUserInvitationResponseResource

type StaticSiteUserInvitationResponseResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteUserInvitationResponseResource resource specific properties
	Properties *StaticSiteUserInvitationResponseResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteUserInvitationResponseResource - Static sites user roles invitation link resource.

func (StaticSiteUserInvitationResponseResource) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserInvitationResponseResource.

func (*StaticSiteUserInvitationResponseResource) UnmarshalJSON

func (s *StaticSiteUserInvitationResponseResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserInvitationResponseResource.

type StaticSiteUserInvitationResponseResourceProperties

type StaticSiteUserInvitationResponseResourceProperties struct {
	// READ-ONLY; The expiration time of the invitation
	ExpiresOn *time.Time

	// READ-ONLY; The url for the invitation link
	InvitationURL *string
}

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

	// StaticSiteUserProvidedFunctionApp resource specific properties
	Properties *StaticSiteUserProvidedFunctionAppProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteUserProvidedFunctionApp - A static site user provided function.

func (StaticSiteUserProvidedFunctionApp) MarshalJSON

func (s StaticSiteUserProvidedFunctionApp) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserProvidedFunctionApp.

func (*StaticSiteUserProvidedFunctionApp) UnmarshalJSON

func (s *StaticSiteUserProvidedFunctionApp) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserProvidedFunctionApp.

type StaticSiteUserProvidedFunctionAppARMResource

type StaticSiteUserProvidedFunctionAppARMResource struct {
	// Kind of resource.
	Kind *string

	// StaticSiteUserProvidedFunctionAppARMResource resource specific properties
	Properties *StaticSiteUserProvidedFunctionAppARMResourceProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteUserProvidedFunctionAppARMResource - Static Site User Provided Function App ARM resource.

func (StaticSiteUserProvidedFunctionAppARMResource) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserProvidedFunctionAppARMResource.

func (*StaticSiteUserProvidedFunctionAppARMResource) UnmarshalJSON

func (s *StaticSiteUserProvidedFunctionAppARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserProvidedFunctionAppARMResource.

type StaticSiteUserProvidedFunctionAppARMResourceProperties

type StaticSiteUserProvidedFunctionAppARMResourceProperties struct {
	// The region of the function app registered with the static site
	FunctionAppRegion *string

	// The resource id of the function app registered with the static site
	FunctionAppResourceID *string

	// READ-ONLY; The date and time on which the function app was registered with the static site.
	CreatedOn *time.Time
}

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

	// The resource id of the function app registered with the static site
	FunctionAppResourceID *string

	// READ-ONLY; The date and time on which the function app was registered with the static site.
	CreatedOn *time.Time
}

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

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

StaticSiteUserProvidedFunctionAppsCollection - Collection of static site user provided function apps.

func (StaticSiteUserProvidedFunctionAppsCollection) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSiteUserProvidedFunctionAppsCollection.

func (*StaticSiteUserProvidedFunctionAppsCollection) UnmarshalJSON

func (s *StaticSiteUserProvidedFunctionAppsCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteUserProvidedFunctionAppsCollection.

type StaticSiteZipDeployment

type StaticSiteZipDeployment struct {
	// URL for the zipped api content
	APIZipURL *string

	// URL for the zipped app content
	AppZipURL *string

	// A title to label the deployment
	DeploymentTitle *string

	// The language of the api content, if it exists
	FunctionLanguage *string

	// The provider submitting this deployment
	Provider *string
}

StaticSiteZipDeployment - A static site zip deployment.

func (StaticSiteZipDeployment) MarshalJSON

func (s StaticSiteZipDeployment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteZipDeployment.

func (*StaticSiteZipDeployment) UnmarshalJSON

func (s *StaticSiteZipDeployment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteZipDeployment.

type StaticSiteZipDeploymentARMResource

type StaticSiteZipDeploymentARMResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *StaticSiteZipDeployment

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSiteZipDeploymentARMResource - Static site zip deployment ARM resource.

func (StaticSiteZipDeploymentARMResource) MarshalJSON

func (s StaticSiteZipDeploymentARMResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSiteZipDeploymentARMResource.

func (*StaticSiteZipDeploymentARMResource) UnmarshalJSON

func (s *StaticSiteZipDeploymentARMResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSiteZipDeploymentARMResource.

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 - Description for Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ApproveRejectSitePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by admin."),
// 			ActionsRequired: to.Ptr(""),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
Output:

func (*StaticSitesClient) BeginCreateOrUpdateStaticSite

BeginCreateOrUpdateStaticSite - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteARMResource = armappservice.StaticSiteARMResource{
// 	Name: to.Ptr("testStaticSite0"),
// 	Type: to.Ptr("Microsoft.Web/staticSites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0"),
// 	Location: to.Ptr("West US 2"),
// 	Properties: &armappservice.StaticSite{
// 		AllowConfigFileUpdates: to.Ptr(true),
// 		Branch: to.Ptr("demo"),
// 		ContentDistributionEndpoint: to.Ptr(""),
// 		CustomDomains: []*string{
// 		},
// 		DefaultHostname: to.Ptr("happy-sea-15afae3e.azurestaticwebsites.net"),
// 		KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 		LinkedBackends: []*armappservice.StaticSiteLinkedBackend{
// 		},
// 		PrivateEndpointConnections: []*armappservice.ResponseMessageEnvelopeRemotePrivateEndpointConnection{
// 		},
// 		RepositoryURL: to.Ptr("https://github.com/username/RepoName"),
// 		StagingEnvironmentPolicy: to.Ptr(armappservice.StagingEnvironmentPolicyEnabled),
// 	},
// 	SKU: &armappservice.SKUDescription{
// 		Name: to.Ptr("Basic"),
// 		Tier: to.Ptr("Basic"),
// 	},
// }
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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteCustomDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteCustomDomainOverviewARMResource = armappservice.StaticSiteCustomDomainOverviewARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net"),
// 	Properties: &armappservice.StaticSiteCustomDomainOverviewARMResourceProperties{
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		DomainName: to.Ptr("custom.domain.net"),
// 	},
// }
Output:

func (*StaticSitesClient) BeginCreateZipDeploymentForStaticSite

func (client *StaticSitesClient) BeginCreateZipDeploymentForStaticSite(ctx context.Context, resourceGroupName string, name string, staticSiteZipDeploymentEnvelope StaticSiteZipDeploymentARMResource, options *StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions) (*runtime.Poller[StaticSitesClientCreateZipDeploymentForStaticSiteResponse], error)

BeginCreateZipDeploymentForStaticSite - Description for Deploys zipped content to a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/StaticSiteZipDeploy.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/StaticSiteBuildZipDeploy.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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 - Description for Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteSitePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Interface = map[string]any{
// }
Output:

func (*StaticSitesClient) BeginDeleteStaticSite

BeginDeleteStaticSite - Description for Deletes a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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 - Description for Deletes a static site build. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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 - Description for Deletes a custom domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteStaticSiteCustomDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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 - Description for Detaches a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DetachStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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) BeginLinkBackend

func (client *StaticSitesClient) BeginLinkBackend(ctx context.Context, resourceGroupName string, name string, linkedBackendName string, staticSiteLinkedBackendEnvelope StaticSiteLinkedBackendARMResource, options *StaticSitesClientBeginLinkBackendOptions) (*runtime.Poller[StaticSitesClientLinkBackendResponse], error)

BeginLinkBackend - Link backend to a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • linkedBackendName - Name of the backend to link to the static site
  • staticSiteLinkedBackendEnvelope - A JSON representation of the linked backend request properties
  • options - StaticSitesClientBeginLinkBackendOptions contains the optional parameters for the StaticSitesClient.BeginLinkBackend method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/LinkBackendToStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().BeginLinkBackend(ctx, "rg", "testStaticSite0", "testBackend", armappservice.StaticSiteLinkedBackendARMResource{
	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
		Region:            to.Ptr("West US 2"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteLinkedBackendARMResource = armappservice.StaticSiteLinkedBackendARMResource{
// 	Name: to.Ptr("testBackend"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/linkedBackends"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend"),
// 	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
// 		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-12-24T17:33:11.641Z"); return t}()),
// 		ProvisioningState: to.Ptr("Succeeded"),
// 		Region: to.Ptr("West US 2"),
// 	},
// }
Output:

func (*StaticSitesClient) BeginLinkBackendToBuild

func (client *StaticSitesClient) BeginLinkBackendToBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, linkedBackendName string, staticSiteLinkedBackendEnvelope StaticSiteLinkedBackendARMResource, options *StaticSitesClientBeginLinkBackendToBuildOptions) (*runtime.Poller[StaticSitesClientLinkBackendToBuildResponse], error)

BeginLinkBackendToBuild - Link backend to a static site build If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier
  • linkedBackendName - Name of the backend to link to the static site
  • staticSiteLinkedBackendEnvelope - A JSON representation of the linked backend request properties
  • options - StaticSitesClientBeginLinkBackendToBuildOptions contains the optional parameters for the StaticSitesClient.BeginLinkBackendToBuild method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/LinkBackendToStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().BeginLinkBackendToBuild(ctx, "rg", "testStaticSite0", "default", "testBackend", armappservice.StaticSiteLinkedBackendARMResource{
	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
		Region:            to.Ptr("West US 2"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteLinkedBackendARMResource = armappservice.StaticSiteLinkedBackendARMResource{
// 	Name: to.Ptr("testBackend"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/linkedBackends"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend"),
// 	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
// 		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-12-24T17:33:11.641Z"); return t}()),
// 		ProvisioningState: to.Ptr("Succeeded"),
// 		Region: to.Ptr("West US 2"),
// 	},
// }
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 - Description for Register a user provided function app with a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteUserProvidedFunctionAppARMResource = armappservice.StaticSiteUserProvidedFunctionAppARMResource{
// 	Name: to.Ptr("testFunctionApp"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/userProvidedFunctionApps"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp"),
// 	Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		FunctionAppRegion: to.Ptr("West US 2"),
// 		FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
// 	},
// }
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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteUserProvidedFunctionAppARMResource = armappservice.StaticSiteUserProvidedFunctionAppARMResource{
// 	Name: to.Ptr("testFunctionApp"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/userProvidedFunctionApps"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp"),
// 	Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		FunctionAppRegion: to.Ptr("West US 2"),
// 		FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
// 	},
// }
Output:

func (*StaticSitesClient) BeginValidateBackend

func (client *StaticSitesClient) BeginValidateBackend(ctx context.Context, resourceGroupName string, name string, linkedBackendName string, staticSiteLinkedBackendEnvelope StaticSiteLinkedBackendARMResource, options *StaticSitesClientBeginValidateBackendOptions) (*runtime.Poller[StaticSitesClientValidateBackendResponse], error)

BeginValidateBackend - Validates that a backend can be linked to a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • linkedBackendName - Name of the linked backend that should be retrieved
  • staticSiteLinkedBackendEnvelope - A JSON representation of the linked backend request properties
  • options - StaticSitesClientBeginValidateBackendOptions contains the optional parameters for the StaticSitesClient.BeginValidateBackend method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ValidateLinkedBackendForStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().BeginValidateBackend(ctx, "rg", "testStaticSite0", "testBackend", armappservice.StaticSiteLinkedBackendARMResource{
	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
		Region:            to.Ptr("West US 2"),
	},
}, 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) BeginValidateBackendForBuild

func (client *StaticSitesClient) BeginValidateBackendForBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, linkedBackendName string, staticSiteLinkedBackendEnvelope StaticSiteLinkedBackendARMResource, options *StaticSitesClientBeginValidateBackendForBuildOptions) (*runtime.Poller[StaticSitesClientValidateBackendForBuildResponse], error)

BeginValidateBackendForBuild - Validates that a backend can be linked to a static site build If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier
  • linkedBackendName - Name of the linked backend that should be retrieved
  • staticSiteLinkedBackendEnvelope - A JSON representation of the linked backend request properties
  • options - StaticSitesClientBeginValidateBackendForBuildOptions contains the optional parameters for the StaticSitesClient.BeginValidateBackendForBuild method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ValidateLinkedBackendForStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().BeginValidateBackendForBuild(ctx, "rg", "testStaticSite0", "default", "testBackend", armappservice.StaticSiteLinkedBackendARMResource{
	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
		Region:            to.Ptr("West US 2"),
	},
}, 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) BeginValidateCustomDomainCanBeAddedToStaticSite

func (client *StaticSitesClient) BeginValidateCustomDomainCanBeAddedToStaticSite(ctx context.Context, resourceGroupName string, name string, domainName string, staticSiteCustomDomainRequestPropertiesEnvelope StaticSiteCustomDomainRequestPropertiesARMResource, options *StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions) (*runtime.Poller[StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse], error)

BeginValidateCustomDomainCanBeAddedToStaticSite - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ValidateStaticSiteCustomDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewStaticSitesClient().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) CreateOrUpdateBasicAuth added in v2.1.0

CreateOrUpdateBasicAuth - Description for Adds or updates basic auth for a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site.
  • basicAuthName - name of the basic auth entry.
  • basicAuthEnvelope - A JSON representation of the basic auth properties.
  • options - StaticSitesClientCreateOrUpdateBasicAuthOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateBasicAuth method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteBasicAuth.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().CreateOrUpdateBasicAuth(ctx, "rg", "testStaticSite0", armappservice.BasicAuthNameDefault, armappservice.StaticSiteBasicAuthPropertiesARMResource{
	Properties: &armappservice.StaticSiteBasicAuthPropertiesARMResourceProperties{
		ApplicableEnvironmentsMode: to.Ptr("AllEnvironments"),
		Password:                   to.Ptr("**********************"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteBasicAuthPropertiesARMResource = armappservice.StaticSiteBasicAuthPropertiesARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default"),
// 	Properties: &armappservice.StaticSiteBasicAuthPropertiesARMResourceProperties{
// 		ApplicableEnvironmentsMode: to.Ptr("AllEnvironments"),
// 		SecretState: to.Ptr("Password"),
// 	},
// }
Output:

func (*StaticSitesClient) CreateOrUpdateBuildDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) CreateOrUpdateBuildDatabaseConnection(ctx context.Context, resourceGroupName string, name string, environmentName string, databaseConnectionName string, databaseConnectionRequestEnvelope DatabaseConnection, options *StaticSitesClientCreateOrUpdateBuildDatabaseConnectionOptions) (StaticSitesClientCreateOrUpdateBuildDatabaseConnectionResponse, error)

CreateOrUpdateBuildDatabaseConnection - Description for Create or update a database connection for a static site build If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • databaseConnectionName - Name of the database connection.
  • databaseConnectionRequestEnvelope - A JSON representation of the database connection request properties
  • options - StaticSitesClientCreateOrUpdateBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateBuildDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().CreateOrUpdateBuildDatabaseConnection(ctx, "rg", "testStaticSite0", "default", "default", armappservice.DatabaseConnection{
	Properties: &armappservice.DatabaseConnectionProperties{
		ConnectionIdentity: to.Ptr("SystemAssigned"),
		ConnectionString:   to.Ptr("AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;"),
		Region:             to.Ptr("West US 2"),
		ResourceID:         to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) CreateOrUpdateDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) CreateOrUpdateDatabaseConnection(ctx context.Context, resourceGroupName string, name string, databaseConnectionName string, databaseConnectionRequestEnvelope DatabaseConnection, options *StaticSitesClientCreateOrUpdateDatabaseConnectionOptions) (StaticSitesClientCreateOrUpdateDatabaseConnectionResponse, error)

CreateOrUpdateDatabaseConnection - Description for Create or update a database connection for a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • databaseConnectionName - Name of the database connection.
  • databaseConnectionRequestEnvelope - A JSON representation of the database connection request properties
  • options - StaticSitesClientCreateOrUpdateDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().CreateOrUpdateDatabaseConnection(ctx, "rg", "testStaticSite0", "default", armappservice.DatabaseConnection{
	Properties: &armappservice.DatabaseConnectionProperties{
		ConnectionIdentity: to.Ptr("SystemAssigned"),
		ConnectionString:   to.Ptr("AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;"),
		Region:             to.Ptr("West US 2"),
		ResourceID:         to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteAppSettings

CreateOrUpdateStaticSiteAppSettings - Description for Creates or updates the app settings of a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appSettings"),
// 	Properties: map[string]*string{
// 		"setting1": to.Ptr("someval"),
// 		"setting2": to.Ptr("someval2"),
// 	},
// }
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettings

func (client *StaticSitesClient) CreateOrUpdateStaticSiteBuildAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, appSettings StringDictionary, options *StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions) (StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse, error)

CreateOrUpdateStaticSiteBuildAppSettings - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings"),
// 	Properties: map[string]*string{
// 		"setting1": to.Ptr("someval"),
// 		"setting2": to.Ptr("someval2"),
// 	},
// }
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings

func (client *StaticSitesClient) CreateOrUpdateStaticSiteBuildFunctionAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, appSettings StringDictionary, options *StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions) (StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse, error)

CreateOrUpdateStaticSiteBuildFunctionAppSettings - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings"),
// 	Properties: map[string]*string{
// 		"setting1": to.Ptr("someval"),
// 		"setting2": to.Ptr("someval2"),
// 	},
// }
Output:

func (*StaticSitesClient) CreateOrUpdateStaticSiteFunctionAppSettings

CreateOrUpdateStaticSiteFunctionAppSettings - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appSettings"),
// 	Properties: map[string]*string{
// 		"setting1": to.Ptr("someval"),
// 		"setting2": to.Ptr("someval2"),
// 	},
// }
Output:

func (client *StaticSitesClient) CreateUserRolesInvitationLink(ctx context.Context, resourceGroupName string, name string, staticSiteUserRolesInvitationEnvelope StaticSiteUserInvitationRequestResource, options *StaticSitesClientCreateUserRolesInvitationLinkOptions) (StaticSitesClientCreateUserRolesInvitationLinkResponse, error)

CreateUserRolesInvitationLink - Description for Creates an invitation link for a user with the role If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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) DeleteBuildDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) DeleteBuildDatabaseConnection(ctx context.Context, resourceGroupName string, name string, environmentName string, databaseConnectionName string, options *StaticSitesClientDeleteBuildDatabaseConnectionOptions) (StaticSitesClientDeleteBuildDatabaseConnectionResponse, error)

DeleteBuildDatabaseConnection - Delete a database connection for a static site build If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • databaseConnectionName - Name of the database connection.
  • options - StaticSitesClientDeleteBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.DeleteBuildDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteStaticSiteBuildDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().DeleteBuildDatabaseConnection(ctx, "rg", "testStaticSite0", "default", "default", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*StaticSitesClient) DeleteDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) DeleteDatabaseConnection(ctx context.Context, resourceGroupName string, name string, databaseConnectionName string, options *StaticSitesClientDeleteDatabaseConnectionOptions) (StaticSitesClientDeleteDatabaseConnectionResponse, error)

DeleteDatabaseConnection - Delete a database connection for a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • databaseConnectionName - Name of the database connection.
  • options - StaticSitesClientDeleteDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.DeleteDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteStaticSiteDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().DeleteDatabaseConnection(ctx, "rg", "testStaticSite0", "default", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*StaticSitesClient) DeleteStaticSiteUser

func (client *StaticSitesClient) DeleteStaticSiteUser(ctx context.Context, resourceGroupName string, name string, authprovider string, userid string, options *StaticSitesClientDeleteStaticSiteUserOptions) (StaticSitesClientDeleteStaticSiteUserResponse, error)

DeleteStaticSiteUser - Description for Deletes the user entry from the static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteStaticSiteUser.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().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 - Description for Detach the user provided function app from the static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().DetachUserProvidedFunctionAppFromStaticSiteBuild(ctx, "rg", "testStaticSite0", "12", "testFunctionApp", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*StaticSitesClient) GetBasicAuth added in v2.1.0

func (client *StaticSitesClient) GetBasicAuth(ctx context.Context, resourceGroupName string, name string, basicAuthName BasicAuthName, options *StaticSitesClientGetBasicAuthOptions) (StaticSitesClientGetBasicAuthResponse, error)

GetBasicAuth - Description for Gets the basic auth properties for a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site.
  • basicAuthName - name of the basic auth entry.
  • options - StaticSitesClientGetBasicAuthOptions contains the optional parameters for the StaticSitesClient.GetBasicAuth method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBasicAuth.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetBasicAuth(ctx, "rg", "testStaticSite0", armappservice.BasicAuthNameDefault, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteBasicAuthPropertiesARMResource = armappservice.StaticSiteBasicAuthPropertiesARMResource{
// 	Name: to.Ptr("default"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default"),
// 	Properties: &armappservice.StaticSiteBasicAuthPropertiesARMResourceProperties{
// 		ApplicableEnvironmentsMode: to.Ptr("AllEnvironments"),
// 		SecretState: to.Ptr("Password"),
// 	},
// }
Output:

func (*StaticSitesClient) GetBuildDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) GetBuildDatabaseConnection(ctx context.Context, resourceGroupName string, name string, environmentName string, databaseConnectionName string, options *StaticSitesClientGetBuildDatabaseConnectionOptions) (StaticSitesClientGetBuildDatabaseConnectionResponse, error)

GetBuildDatabaseConnection - Returns overview of a database connection for a static site build by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • databaseConnectionName - Name of the database connection.
  • options - StaticSitesClientGetBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.GetBuildDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBuildDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetBuildDatabaseConnection(ctx, "rg", "testStaticSite0", "default", "default", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) GetBuildDatabaseConnectionWithDetails added in v2.1.0

func (client *StaticSitesClient) GetBuildDatabaseConnectionWithDetails(ctx context.Context, resourceGroupName string, name string, environmentName string, databaseConnectionName string, options *StaticSitesClientGetBuildDatabaseConnectionWithDetailsOptions) (StaticSitesClientGetBuildDatabaseConnectionWithDetailsResponse, error)

GetBuildDatabaseConnectionWithDetails - Returns details of a database connection for a static site build by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • databaseConnectionName - Name of the database connection.
  • options - StaticSitesClientGetBuildDatabaseConnectionWithDetailsOptions contains the optional parameters for the StaticSitesClient.GetBuildDatabaseConnectionWithDetails method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetBuildDatabaseConnectionWithDetails(ctx, "rg", "testStaticSite0", "default", "default", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConfigurationFiles: []*armappservice.StaticSiteDatabaseConnectionConfigurationFileOverview{
// 			{
// 				Type: to.Ptr("configuration"),
// 				Contents: to.Ptr("base64encodeddatabaseconfiguration"),
// 				FileName: to.Ptr("staticwebapp.database.config.json"),
// 			},
// 			{
// 				Type: to.Ptr("graphqlschema"),
// 				Contents: to.Ptr("base64encodeddatabasegraphqlschema"),
// 				FileName: to.Ptr("staticwebapp.database.schema.gql"),
// 		}},
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		ConnectionString: to.Ptr("AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) GetDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) GetDatabaseConnection(ctx context.Context, resourceGroupName string, name string, databaseConnectionName string, options *StaticSitesClientGetDatabaseConnectionOptions) (StaticSitesClientGetDatabaseConnectionResponse, error)

GetDatabaseConnection - Returns overview of a database connection for a static site by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • databaseConnectionName - Name of the database connection.
  • options - StaticSitesClientGetDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.GetDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetDatabaseConnection(ctx, "rg", "testStaticSite0", "default", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) GetDatabaseConnectionWithDetails added in v2.1.0

func (client *StaticSitesClient) GetDatabaseConnectionWithDetails(ctx context.Context, resourceGroupName string, name string, databaseConnectionName string, options *StaticSitesClientGetDatabaseConnectionWithDetailsOptions) (StaticSitesClientGetDatabaseConnectionWithDetailsResponse, error)

GetDatabaseConnectionWithDetails - Returns details of a database connection for a static site by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • databaseConnectionName - Name of the database connection.
  • options - StaticSitesClientGetDatabaseConnectionWithDetailsOptions contains the optional parameters for the StaticSitesClient.GetDatabaseConnectionWithDetails method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetDatabaseConnectionWithDetails(ctx, "rg", "testStaticSite0", "default", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConfigurationFiles: []*armappservice.StaticSiteDatabaseConnectionConfigurationFileOverview{
// 			{
// 				Type: to.Ptr("configuration"),
// 				Contents: to.Ptr("base64encodeddatabaseconfiguration"),
// 				FileName: to.Ptr("staticwebapp.database.config.json"),
// 			},
// 			{
// 				Type: to.Ptr("graphqlschema"),
// 				Contents: to.Ptr("base64encodeddatabasegraphqlschema"),
// 				FileName: to.Ptr("staticwebapp.database.schema.gql"),
// 		}},
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		ConnectionString: to.Ptr("AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) GetLinkedBackend

func (client *StaticSitesClient) GetLinkedBackend(ctx context.Context, resourceGroupName string, name string, linkedBackendName string, options *StaticSitesClientGetLinkedBackendOptions) (StaticSitesClientGetLinkedBackendResponse, error)

GetLinkedBackend - Returns the details of a linked backend linked to a static site by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • linkedBackendName - Name of the linked backend that should be retrieved
  • options - StaticSitesClientGetLinkedBackendOptions contains the optional parameters for the StaticSitesClient.GetLinkedBackend method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetLinkedBackendForStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetLinkedBackend(ctx, "rg", "testStaticSite0", "testBackend", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteLinkedBackendARMResource = armappservice.StaticSiteLinkedBackendARMResource{
// 	Name: to.Ptr("testBackend"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/linkedBackends"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend"),
// 	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
// 		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-12-24T17:33:11.641Z"); return t}()),
// 		ProvisioningState: to.Ptr("Succeeded"),
// 		Region: to.Ptr("West US 2"),
// 	},
// }
Output:

func (*StaticSitesClient) GetLinkedBackendForBuild

func (client *StaticSitesClient) GetLinkedBackendForBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, linkedBackendName string, options *StaticSitesClientGetLinkedBackendForBuildOptions) (StaticSitesClientGetLinkedBackendForBuildResponse, error)

GetLinkedBackendForBuild - Returns the details of a linked backend linked to a static site build by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier
  • linkedBackendName - Name of the linked backend that should be retrieved
  • options - StaticSitesClientGetLinkedBackendForBuildOptions contains the optional parameters for the StaticSitesClient.GetLinkedBackendForBuild method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetLinkedBackendForStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetLinkedBackendForBuild(ctx, "rg", "testStaticSite0", "default", "testBackend", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteLinkedBackendARMResource = armappservice.StaticSiteLinkedBackendARMResource{
// 	Name: to.Ptr("testBackend"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/linkedBackends"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend"),
// 	Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
// 		BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend"),
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-12-24T17:33:11.641Z"); return t}()),
// 		ProvisioningState: to.Ptr("Succeeded"),
// 		Region: to.Ptr("West US 2"),
// 	},
// }
Output:

func (*StaticSitesClient) GetPrivateEndpointConnection

func (client *StaticSitesClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *StaticSitesClientGetPrivateEndpointConnectionOptions) (StaticSitesClientGetPrivateEndpointConnectionResponse, error)

GetPrivateEndpointConnection - Description for Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetPrivateEndpointConnection(ctx, "rg", "testSite", "connection", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by admin."),
// 			ActionsRequired: to.Ptr(""),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
Output:

func (*StaticSitesClient) GetPrivateLinkResources

GetPrivateLinkResources - Description for Gets the private link resources If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateLinkResources.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetPrivateLinkResources(ctx, "rg", "testSite", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.PrivateLinkResourcesWrapper = armappservice.PrivateLinkResourcesWrapper{
// 	Value: []*armappservice.PrivateLinkResource{
// 		{
// 			Name: to.Ptr("site"),
// 			Type: to.Ptr("Microsoft.Web/sites/privateLinkResources"),
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site"),
// 			Properties: &armappservice.PrivateLinkResourceProperties{
// 				GroupID: to.Ptr("sites"),
// 				RequiredMembers: []*string{
// 					to.Ptr("sites")},
// 					RequiredZoneNames: []*string{
// 						to.Ptr("privatelink.testsite.azurewebsites.net")},
// 					},
// 			}},
// 		}
Output:

func (*StaticSitesClient) GetStaticSite

GetStaticSite - Description for Gets the details of a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetStaticSite(ctx, "rg", "testStaticSite0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteARMResource = armappservice.StaticSiteARMResource{
// 	Name: to.Ptr("testStaticSite0"),
// 	Type: to.Ptr("Microsoft.Web/staticSites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0"),
// 	Location: to.Ptr("West US 2"),
// 	Properties: &armappservice.StaticSite{
// 		AllowConfigFileUpdates: to.Ptr(true),
// 		Branch: to.Ptr("demo"),
// 		ContentDistributionEndpoint: to.Ptr(""),
// 		CustomDomains: []*string{
// 		},
// 		DefaultHostname: to.Ptr("happy-sea-15afae3e.azurestaticwebsites.net"),
// 		KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 		LinkedBackends: []*armappservice.StaticSiteLinkedBackend{
// 			{
// 				BackendResourceID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0"),
// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-26T20:57:24.805Z"); return t}()),
// 				ProvisioningState: to.Ptr("Succeeded"),
// 		}},
// 		PrivateEndpointConnections: []*armappservice.ResponseMessageEnvelopeRemotePrivateEndpointConnection{
// 		},
// 		RepositoryURL: to.Ptr("https://github.com/username/repo"),
// 		StagingEnvironmentPolicy: to.Ptr(armappservice.StagingEnvironmentPolicyEnabled),
// 	},
// 	SKU: &armappservice.SKUDescription{
// 		Name: to.Ptr("Basic"),
// 		Tier: to.Ptr("Basic"),
// 	},
// }
Output:

func (*StaticSitesClient) GetStaticSiteBuild

func (client *StaticSitesClient) GetStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetStaticSiteBuildOptions) (StaticSitesClientGetStaticSiteBuildResponse, error)

GetStaticSiteBuild - Description for Gets the details of a static site build. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetStaticSiteBuild(ctx, "rg", "testStaticSite0", "12", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteBuildARMResource = armappservice.StaticSiteBuildARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12"),
// 	Properties: &armappservice.StaticSiteBuildARMResourceProperties{
// 		BuildID: to.Ptr("12"),
// 		CreatedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		Hostname: to.Ptr("happy-sea-15afae3e-12.westus2.azurestaticwebsites.net"),
// 		LastUpdatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		LinkedBackends: []*armappservice.StaticSiteLinkedBackend{
// 			{
// 				BackendResourceID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0"),
// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-26T20:57:24.805Z"); return t}()),
// 				ProvisioningState: to.Ptr("Succeeded"),
// 		}},
// 		PullRequestTitle: to.Ptr("Update README.md"),
// 		SourceBranch: to.Ptr("pr-branch"),
// 		Status: to.Ptr(armappservice.BuildStatusUploading),
// 	},
// }
Output:

func (*StaticSitesClient) GetStaticSiteCustomDomain

func (client *StaticSitesClient) GetStaticSiteCustomDomain(ctx context.Context, resourceGroupName string, name string, domainName string, options *StaticSitesClientGetStaticSiteCustomDomainOptions) (StaticSitesClientGetStaticSiteCustomDomainResponse, error)

GetStaticSiteCustomDomain - Description for Gets an existing custom domain for a particular static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteCustomDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetStaticSiteCustomDomain(ctx, "rg", "testStaticSite0", "custom.domain.net", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteCustomDomainOverviewARMResource = armappservice.StaticSiteCustomDomainOverviewARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net"),
// 	Properties: &armappservice.StaticSiteCustomDomainOverviewARMResourceProperties{
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		DomainName: to.Ptr("custom.domain.net"),
// 	},
// }
Output:

func (*StaticSitesClient) GetUserProvidedFunctionAppForStaticSite

func (client *StaticSitesClient) GetUserProvidedFunctionAppForStaticSite(ctx context.Context, resourceGroupName string, name string, functionAppName string, options *StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions) (StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse, error)

GetUserProvidedFunctionAppForStaticSite - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetUserProvidedFunctionAppForStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetUserProvidedFunctionAppForStaticSite(ctx, "rg", "testStaticSite0", "testFunctionApp", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteUserProvidedFunctionAppARMResource = armappservice.StaticSiteUserProvidedFunctionAppARMResource{
// 	Name: to.Ptr("testFunctionApp"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/userProvidedFunctionApps"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp"),
// 	Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		FunctionAppRegion: to.Ptr("West US 2"),
// 		FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
// 	},
// }
Output:

func (*StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuild

func (client *StaticSitesClient) GetUserProvidedFunctionAppForStaticSiteBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, functionAppName string, options *StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions) (StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse, error)

GetUserProvidedFunctionAppForStaticSiteBuild - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().GetUserProvidedFunctionAppForStaticSiteBuild(ctx, "rg", "testStaticSite0", "default", "testFunctionApp", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteUserProvidedFunctionAppARMResource = armappservice.StaticSiteUserProvidedFunctionAppARMResource{
// 	Name: to.Ptr("testFunctionApp"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/userProvidedFunctionApps"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp"),
// 	Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
// 		CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 		FunctionAppRegion: to.Ptr("West US 2"),
// 		FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
// 	},
// }
Output:

func (*StaticSitesClient) ListStaticSiteAppSettings

ListStaticSiteAppSettings - Description for Gets the application settings of a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().ListStaticSiteAppSettings(ctx, "rg", "testStaticSite0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/appSettings"),
// 	Properties: map[string]*string{
// 		"setting0": to.Ptr("someVal"),
// 	},
// }
Output:

func (*StaticSitesClient) ListStaticSiteBuildAppSettings

func (client *StaticSitesClient) ListStaticSiteBuildAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientListStaticSiteBuildAppSettingsOptions) (StaticSitesClientListStaticSiteBuildAppSettingsResponse, error)

ListStaticSiteBuildAppSettings - Description for Gets the application settings of a static site build. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteBuildAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().ListStaticSiteBuildAppSettings(ctx, "rg", "testStaticSite0", "12", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings"),
// 	Properties: map[string]*string{
// 		"setting0": to.Ptr("someVal"),
// 	},
// }
Output:

func (*StaticSitesClient) ListStaticSiteBuildFunctionAppSettings

func (client *StaticSitesClient) ListStaticSiteBuildFunctionAppSettings(ctx context.Context, resourceGroupName string, name string, environmentName string, options *StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions) (StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse, error)

ListStaticSiteBuildFunctionAppSettings - Description for Gets the application settings of a static site build. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteBuildFunctionAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().ListStaticSiteBuildFunctionAppSettings(ctx, "rg", "testStaticSite0", "12", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings"),
// 	Properties: map[string]*string{
// 		"setting0": to.Ptr("someVal"),
// 	},
// }
Output:

func (*StaticSitesClient) ListStaticSiteConfiguredRoles

ListStaticSiteConfiguredRoles - Description for Lists the roles configured for the static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteConfiguredRoles.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().ListStaticSiteConfiguredRoles(ctx, "rg", "testStaticSite0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringList = armappservice.StringList{
// 	Properties: []*string{
// 		to.Ptr("authenticated"),
// 		to.Ptr("anonymous"),
// 		to.Ptr("customRole1")},
// 	}
Output:

func (*StaticSitesClient) ListStaticSiteFunctionAppSettings

ListStaticSiteFunctionAppSettings - Description for Gets the application settings of a static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteFunctionAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().ListStaticSiteFunctionAppSettings(ctx, "rg", "testStaticSite0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appsettings"),
// 	Properties: map[string]*string{
// 		"setting0": to.Ptr("someVal"),
// 	},
// }
Output:

func (*StaticSitesClient) ListStaticSiteSecrets

ListStaticSiteSecrets - Description for Lists the secrets for an existing static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteSecrets.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().ListStaticSiteSecrets(ctx, "rg", "testStaticSite0", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	Properties: map[string]*string{
// 		"dnsOwnershipKey": to.Ptr("ownershipKey123123"),
// 	},
// }
Output:

func (*StaticSitesClient) NewGetBuildDatabaseConnectionsPager added in v2.1.0

func (client *StaticSitesClient) NewGetBuildDatabaseConnectionsPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetBuildDatabaseConnectionsOptions) *runtime.Pager[StaticSitesClientGetBuildDatabaseConnectionsResponse]

NewGetBuildDatabaseConnectionsPager - Returns overviews of database connections for a static site build

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • options - StaticSitesClientGetBuildDatabaseConnectionsOptions contains the optional parameters for the StaticSitesClient.NewGetBuildDatabaseConnectionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBuildDatabaseConnections.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetBuildDatabaseConnectionsPager("rg", "testStaticSite0", "default", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DatabaseConnectionCollection = armappservice.DatabaseConnectionCollection{
	// 	Value: []*armappservice.DatabaseConnection{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/builds/databaseConnections"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default"),
	// 			Properties: &armappservice.DatabaseConnectionProperties{
	// 				ConnectionIdentity: to.Ptr("SystemAssigned"),
	// 				Region: to.Ptr("West US 2"),
	// 				ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetBuildDatabaseConnectionsWithDetailsPager added in v2.1.0

func (client *StaticSitesClient) NewGetBuildDatabaseConnectionsWithDetailsPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetBuildDatabaseConnectionsWithDetailsOptions) *runtime.Pager[StaticSitesClientGetBuildDatabaseConnectionsWithDetailsResponse]

NewGetBuildDatabaseConnectionsWithDetailsPager - Returns details of database connections for a static site build

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • options - StaticSitesClientGetBuildDatabaseConnectionsWithDetailsOptions contains the optional parameters for the StaticSitesClient.NewGetBuildDatabaseConnectionsWithDetailsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetBuildDatabaseConnectionsWithDetailsPager("rg", "testStaticSite0", "default", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DatabaseConnectionCollection = armappservice.DatabaseConnectionCollection{
	// 	Value: []*armappservice.DatabaseConnection{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/builds/databaseConnections"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default"),
	// 			Properties: &armappservice.DatabaseConnectionProperties{
	// 				ConfigurationFiles: []*armappservice.StaticSiteDatabaseConnectionConfigurationFileOverview{
	// 					{
	// 						Type: to.Ptr("configuration"),
	// 						Contents: to.Ptr("base64encodeddatabaseconfiguration"),
	// 						FileName: to.Ptr("staticwebapp.database.config.json"),
	// 					},
	// 					{
	// 						Type: to.Ptr("graphqlschema"),
	// 						Contents: to.Ptr("base64encodeddatabasegraphqlschema"),
	// 						FileName: to.Ptr("staticwebapp.database.schema.gql"),
	// 				}},
	// 				ConnectionIdentity: to.Ptr("SystemAssigned"),
	// 				ConnectionString: to.Ptr("AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;"),
	// 				Region: to.Ptr("West US 2"),
	// 				ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetDatabaseConnectionsPager added in v2.1.0

func (client *StaticSitesClient) NewGetDatabaseConnectionsPager(resourceGroupName string, name string, options *StaticSitesClientGetDatabaseConnectionsOptions) *runtime.Pager[StaticSitesClientGetDatabaseConnectionsResponse]

NewGetDatabaseConnectionsPager - Returns overviews of database connections for a static site

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • options - StaticSitesClientGetDatabaseConnectionsOptions contains the optional parameters for the StaticSitesClient.NewGetDatabaseConnectionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteDatabaseConnections.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetDatabaseConnectionsPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DatabaseConnectionCollection = armappservice.DatabaseConnectionCollection{
	// 	Value: []*armappservice.DatabaseConnection{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/databaseConnections"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default"),
	// 			Properties: &armappservice.DatabaseConnectionProperties{
	// 				ConnectionIdentity: to.Ptr("SystemAssigned"),
	// 				Region: to.Ptr("West US 2"),
	// 				ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetDatabaseConnectionsWithDetailsPager added in v2.1.0

NewGetDatabaseConnectionsWithDetailsPager - Returns details of database connections for a static site

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • options - StaticSitesClientGetDatabaseConnectionsWithDetailsOptions contains the optional parameters for the StaticSitesClient.NewGetDatabaseConnectionsWithDetailsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetDatabaseConnectionsWithDetailsPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.DatabaseConnectionCollection = armappservice.DatabaseConnectionCollection{
	// 	Value: []*armappservice.DatabaseConnection{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/databaseConnections"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default"),
	// 			Properties: &armappservice.DatabaseConnectionProperties{
	// 				ConfigurationFiles: []*armappservice.StaticSiteDatabaseConnectionConfigurationFileOverview{
	// 					{
	// 						Type: to.Ptr("configuration"),
	// 						Contents: to.Ptr("base64encodeddatabaseconfiguration"),
	// 						FileName: to.Ptr("staticwebapp.database.config.json"),
	// 					},
	// 					{
	// 						Type: to.Ptr("graphqlschema"),
	// 						Contents: to.Ptr("base64encodeddatabasegraphqlschema"),
	// 						FileName: to.Ptr("staticwebapp.database.schema.gql"),
	// 				}},
	// 				ConnectionIdentity: to.Ptr("SystemAssigned"),
	// 				ConnectionString: to.Ptr("AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;"),
	// 				Region: to.Ptr("West US 2"),
	// 				ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetLinkedBackendsForBuildPager

func (client *StaticSitesClient) NewGetLinkedBackendsForBuildPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetLinkedBackendsForBuildOptions) *runtime.Pager[StaticSitesClientGetLinkedBackendsForBuildResponse]

NewGetLinkedBackendsForBuildPager - Returns details of all backends linked to a static site build

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier
  • options - StaticSitesClientGetLinkedBackendsForBuildOptions contains the optional parameters for the StaticSitesClient.NewGetLinkedBackendsForBuildPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetLinkedBackendsForStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetLinkedBackendsForBuildPager("rg", "testStaticSite0", "default", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteLinkedBackendsCollection = armappservice.StaticSiteLinkedBackendsCollection{
	// 	Value: []*armappservice.StaticSiteLinkedBackendARMResource{
	// 		{
	// 			Name: to.Ptr("testBackend"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/builds/linkedBackends"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend"),
	// 			Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
	// 				BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend"),
	// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				ProvisioningState: to.Ptr("Succeeded"),
	// 				Region: to.Ptr("West US 2"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetLinkedBackendsPager

func (client *StaticSitesClient) NewGetLinkedBackendsPager(resourceGroupName string, name string, options *StaticSitesClientGetLinkedBackendsOptions) *runtime.Pager[StaticSitesClientGetLinkedBackendsResponse]

NewGetLinkedBackendsPager - Returns details of all backends linked to a static site

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • options - StaticSitesClientGetLinkedBackendsOptions contains the optional parameters for the StaticSitesClient.NewGetLinkedBackendsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetLinkedBackendsForStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetLinkedBackendsPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteLinkedBackendsCollection = armappservice.StaticSiteLinkedBackendsCollection{
	// 	Value: []*armappservice.StaticSiteLinkedBackendARMResource{
	// 		{
	// 			Name: to.Ptr("testBackend"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/builds/linkedBackends"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend"),
	// 			Properties: &armappservice.StaticSiteLinkedBackendARMResourceProperties{
	// 				BackendResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend"),
	// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				ProvisioningState: to.Ptr("Succeeded"),
	// 				Region: to.Ptr("West US 2"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetPrivateEndpointConnectionListPager

NewGetPrivateEndpointConnectionListPager - Description for Gets the list of private endpoint connections associated with a static site

Generated from API version 2023-01-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.NewGetPrivateEndpointConnectionListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateEndpointConnectionList.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetPrivateEndpointConnectionListPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PrivateEndpointConnectionCollection = armappservice.PrivateEndpointConnectionCollection{
	// 	Value: []*armappservice.RemotePrivateEndpointConnectionARMResource{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection"),
	// 			Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
	// 				PrivateEndpoint: &armappservice.ArmIDWrapper{
	// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
	// 				},
	// 				PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
	// 					Description: to.Ptr("Approved by admin."),
	// 					ActionsRequired: to.Ptr(""),
	// 					Status: to.Ptr("Approved"),
	// 				},
	// 				ProvisioningState: to.Ptr("Succeeded"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetStaticSiteBuildsPager

func (client *StaticSitesClient) NewGetStaticSiteBuildsPager(resourceGroupName string, name string, options *StaticSitesClientGetStaticSiteBuildsOptions) *runtime.Pager[StaticSitesClientGetStaticSiteBuildsResponse]

NewGetStaticSiteBuildsPager - Description for Gets all static site builds for a particular static site.

Generated from API version 2023-01-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.NewGetStaticSiteBuildsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteBuilds.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetStaticSiteBuildsPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteBuildCollection = armappservice.StaticSiteBuildCollection{
	// 	Value: []*armappservice.StaticSiteBuildARMResource{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default"),
	// 			Properties: &armappservice.StaticSiteBuildARMResourceProperties{
	// 				BuildID: to.Ptr("default"),
	// 				CreatedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				Hostname: to.Ptr("happy-sea-15afae3e.azurestaticwebsites.net"),
	// 				LastUpdatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				LinkedBackends: []*armappservice.StaticSiteLinkedBackend{
	// 				},
	// 				SourceBranch: to.Ptr("demo"),
	// 				Status: to.Ptr(armappservice.BuildStatusReady),
	// 			},
	// 		},
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12"),
	// 			Properties: &armappservice.StaticSiteBuildARMResourceProperties{
	// 				BuildID: to.Ptr("12"),
	// 				CreatedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				Hostname: to.Ptr("happy-sea-15afae3e-12.westus2.azurestaticwebsites.net"),
	// 				LastUpdatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				LinkedBackends: []*armappservice.StaticSiteLinkedBackend{
	// 					{
	// 						BackendResourceID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0"),
	// 						CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-26T20:57:24.805Z"); return t}()),
	// 						ProvisioningState: to.Ptr("Succeeded"),
	// 				}},
	// 				PullRequestTitle: to.Ptr("Update README.md"),
	// 				SourceBranch: to.Ptr("demo-patch2"),
	// 				Status: to.Ptr(armappservice.BuildStatusReady),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetStaticSitesByResourceGroupPager

NewGetStaticSitesByResourceGroupPager - Description for Gets all static sites in the specified resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - StaticSitesClientGetStaticSitesByResourceGroupOptions contains the optional parameters for the StaticSitesClient.NewGetStaticSitesByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSites.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetStaticSitesByResourceGroupPager("rg", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteCollection = armappservice.StaticSiteCollection{
	// 	Value: []*armappservice.StaticSiteARMResource{
	// 		{
	// 			Name: to.Ptr("testStaticSite0"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0"),
	// 			Location: to.Ptr("West US 2"),
	// 			Properties: &armappservice.StaticSite{
	// 				AllowConfigFileUpdates: to.Ptr(true),
	// 				Branch: to.Ptr("demo"),
	// 				ContentDistributionEndpoint: to.Ptr(""),
	// 				CustomDomains: []*string{
	// 				},
	// 				DefaultHostname: to.Ptr("happy-sea-15afae3e.azurestaticwebsites.net"),
	// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 				LinkedBackends: []*armappservice.StaticSiteLinkedBackend{
	// 				},
	// 				PrivateEndpointConnections: []*armappservice.ResponseMessageEnvelopeRemotePrivateEndpointConnection{
	// 				},
	// 				RepositoryURL: to.Ptr("https://github.com/username/repo"),
	// 				StagingEnvironmentPolicy: to.Ptr(armappservice.StagingEnvironmentPolicyEnabled),
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("Standard"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetUserProvidedFunctionAppsForStaticSiteBuildPager

func (client *StaticSitesClient) NewGetUserProvidedFunctionAppsForStaticSiteBuildPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions) *runtime.Pager[StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse]

NewGetUserProvidedFunctionAppsForStaticSiteBuildPager - Description for Gets the details of the user provided function apps registered with a static site build

Generated from API version 2023-01-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.NewGetUserProvidedFunctionAppsForStaticSiteBuildPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetUserProvidedFunctionAppsForStaticSiteBuildPager("rg", "testStaticSite0", "default", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteUserProvidedFunctionAppsCollection = armappservice.StaticSiteUserProvidedFunctionAppsCollection{
	// 	Value: []*armappservice.StaticSiteUserProvidedFunctionAppARMResource{
	// 		{
	// 			Name: to.Ptr("testFunctionApp"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/builds/userProvidedFunctionApps"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp"),
	// 			Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
	// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				FunctionAppRegion: to.Ptr("West US 2"),
	// 				FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewGetUserProvidedFunctionAppsForStaticSitePager

NewGetUserProvidedFunctionAppsForStaticSitePager - Description for Gets the details of the user provided function apps registered with a static site

Generated from API version 2023-01-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.NewGetUserProvidedFunctionAppsForStaticSitePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetUserProvidedFunctionAppsForStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewGetUserProvidedFunctionAppsForStaticSitePager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteUserProvidedFunctionAppsCollection = armappservice.StaticSiteUserProvidedFunctionAppsCollection{
	// 	Value: []*armappservice.StaticSiteUserProvidedFunctionAppARMResource{
	// 		{
	// 			Name: to.Ptr("testFunctionApp"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites/builds/userProvidedFunctionApps"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp"),
	// 			Properties: &armappservice.StaticSiteUserProvidedFunctionAppARMResourceProperties{
	// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				FunctionAppRegion: to.Ptr("West US 2"),
	// 				FunctionAppResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewListBasicAuthPager added in v2.1.0

func (client *StaticSitesClient) NewListBasicAuthPager(resourceGroupName string, name string, options *StaticSitesClientListBasicAuthOptions) *runtime.Pager[StaticSitesClientListBasicAuthResponse]

NewListBasicAuthPager - Description for Gets the basic auth properties for a static site as a collection.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site.
  • options - StaticSitesClientListBasicAuthOptions contains the optional parameters for the StaticSitesClient.NewListBasicAuthPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteBasicAuth.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewListBasicAuthPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteBasicAuthPropertiesCollection = armappservice.StaticSiteBasicAuthPropertiesCollection{
	// 	Value: []*armappservice.StaticSiteBasicAuthPropertiesARMResource{
	// 		{
	// 			Name: to.Ptr("default"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default"),
	// 			Properties: &armappservice.StaticSiteBasicAuthPropertiesARMResourceProperties{
	// 				ApplicableEnvironmentsMode: to.Ptr("AllEnvironments"),
	// 				SecretState: to.Ptr("Password"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewListPager

NewListPager - Description for Get all Static Sites for a subscription.

Generated from API version 2023-01-01

  • options - StaticSitesClientListOptions contains the optional parameters for the StaticSitesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetAllStaticSites.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteCollection = armappservice.StaticSiteCollection{
	// 	Value: []*armappservice.StaticSiteARMResource{
	// 		{
	// 			Name: to.Ptr("testStaticSite0"),
	// 			Type: to.Ptr("Microsoft.Web/staticSites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0"),
	// 			Location: to.Ptr("West US 2"),
	// 			Properties: &armappservice.StaticSite{
	// 				AllowConfigFileUpdates: to.Ptr(true),
	// 				Branch: to.Ptr("demo"),
	// 				ContentDistributionEndpoint: to.Ptr(""),
	// 				CustomDomains: []*string{
	// 				},
	// 				DefaultHostname: to.Ptr("happy-sea-15afae3e.azurestaticwebsites.net"),
	// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 				PrivateEndpointConnections: []*armappservice.ResponseMessageEnvelopeRemotePrivateEndpointConnection{
	// 				},
	// 				RepositoryURL: to.Ptr("https://github.com/username/repo"),
	// 				StagingEnvironmentPolicy: to.Ptr(armappservice.StagingEnvironmentPolicyEnabled),
	// 				UserProvidedFunctionApps: []*armappservice.StaticSiteUserProvidedFunctionApp{
	// 				},
	// 			},
	// 			SKU: &armappservice.SKUDescription{
	// 				Name: to.Ptr("Standard"),
	// 				Tier: to.Ptr("Standard"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewListStaticSiteBuildFunctionsPager

func (client *StaticSitesClient) NewListStaticSiteBuildFunctionsPager(resourceGroupName string, name string, environmentName string, options *StaticSitesClientListStaticSiteBuildFunctionsOptions) *runtime.Pager[StaticSitesClientListStaticSiteBuildFunctionsResponse]

NewListStaticSiteBuildFunctionsPager - Description for Gets the functions of a particular static site build.

Generated from API version 2023-01-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.NewListStaticSiteBuildFunctionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteBuildFunctions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewListStaticSiteBuildFunctionsPager("rg", "testStaticSite0", "default", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteFunctionOverviewCollection = armappservice.StaticSiteFunctionOverviewCollection{
	// 	Value: []*armappservice.StaticSiteFunctionOverviewARMResource{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/functions/GetList"),
	// 			Properties: &armappservice.StaticSiteFunctionOverviewARMResourceProperties{
	// 				FunctionName: to.Ptr("GetList"),
	// 				TriggerType: to.Ptr(armappservice.TriggerTypesHTTPTrigger),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewListStaticSiteCustomDomainsPager

func (client *StaticSitesClient) NewListStaticSiteCustomDomainsPager(resourceGroupName string, name string, options *StaticSitesClientListStaticSiteCustomDomainsOptions) *runtime.Pager[StaticSitesClientListStaticSiteCustomDomainsResponse]

NewListStaticSiteCustomDomainsPager - Description for Gets all static site custom domains for a particular static site.

Generated from API version 2023-01-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.NewListStaticSiteCustomDomainsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetStaticSiteCustomDomains.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewListStaticSiteCustomDomainsPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteCustomDomainOverviewCollection = armappservice.StaticSiteCustomDomainOverviewCollection{
	// 	Value: []*armappservice.StaticSiteCustomDomainOverviewARMResource{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net"),
	// 			Properties: &armappservice.StaticSiteCustomDomainOverviewARMResourceProperties{
	// 				CreatedOn: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 				DomainName: to.Ptr("custom.domain.net"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewListStaticSiteFunctionsPager

func (client *StaticSitesClient) NewListStaticSiteFunctionsPager(resourceGroupName string, name string, options *StaticSitesClientListStaticSiteFunctionsOptions) *runtime.Pager[StaticSitesClientListStaticSiteFunctionsResponse]

NewListStaticSiteFunctionsPager - Description for Gets the functions of a static site.

Generated from API version 2023-01-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.NewListStaticSiteFunctionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteFunctions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewListStaticSiteFunctionsPager("rg", "testStaticSite0", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteFunctionOverviewCollection = armappservice.StaticSiteFunctionOverviewCollection{
	// 	Value: []*armappservice.StaticSiteFunctionOverviewARMResource{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/functions/GetList"),
	// 			Properties: &armappservice.StaticSiteFunctionOverviewARMResourceProperties{
	// 				FunctionName: to.Ptr("GetList"),
	// 				TriggerType: to.Ptr(armappservice.TriggerTypesHTTPTrigger),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) NewListStaticSiteUsersPager

func (client *StaticSitesClient) NewListStaticSiteUsersPager(resourceGroupName string, name string, authprovider string, options *StaticSitesClientListStaticSiteUsersOptions) *runtime.Pager[StaticSitesClientListStaticSiteUsersResponse]

NewListStaticSiteUsersPager - Description for Gets the list of users of a static site.

Generated from API version 2023-01-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.NewListStaticSiteUsersPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListStaticSiteUsers.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewStaticSitesClient().NewListStaticSiteUsersPager("rg", "testStaticSite0", "all", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.StaticSiteUserCollection = armappservice.StaticSiteUserCollection{
	// 	Value: []*armappservice.StaticSiteUserARMResource{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/authproviders/all/users/1234"),
	// 			Properties: &armappservice.StaticSiteUserARMResourceProperties{
	// 				DisplayName: to.Ptr("username"),
	// 				Provider: to.Ptr("aad"),
	// 				Roles: to.Ptr("admin,anonymous,authenticated"),
	// 				UserID: to.Ptr("1234"),
	// 			},
	// 	}},
	// }
}
Output:

func (*StaticSitesClient) PreviewWorkflow

func (client *StaticSitesClient) PreviewWorkflow(ctx context.Context, location string, staticSitesWorkflowPreviewRequest StaticSitesWorkflowPreviewRequest, options *StaticSitesClientPreviewWorkflowOptions) (StaticSitesClientPreviewWorkflowResponse, error)

PreviewWorkflow - Description for Generates a preview workflow file for the static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GenerateStaticSiteWorkflowPreview.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSitesWorkflowPreview = armappservice.StaticSitesWorkflowPreview{
// 	Properties: &armappservice.StaticSitesWorkflowPreviewProperties{
// 		Path: to.Ptr(".github/workflows/azure-static-web-apps-<generated_hostname>.yml"),
// 		Contents: to.Ptr("base64encodedworkflowcontentspreview"),
// 	},
// }
Output:

func (*StaticSitesClient) ResetStaticSiteAPIKey

ResetStaticSiteAPIKey - Description for Resets the api key for an existing static site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ResetStaticSiteApiKey.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().ResetStaticSiteAPIKey(ctx, "rg", "testStaticSite0", armappservice.StaticSiteResetPropertiesARMResource{
	Properties: &armappservice.StaticSiteResetPropertiesARMResourceProperties{
		RepositoryToken:        to.Ptr("repoToken123"),
		ShouldUpdateRepository: to.Ptr(true),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*StaticSitesClient) UnlinkBackend

func (client *StaticSitesClient) UnlinkBackend(ctx context.Context, resourceGroupName string, name string, linkedBackendName string, options *StaticSitesClientUnlinkBackendOptions) (StaticSitesClientUnlinkBackendResponse, error)

UnlinkBackend - Unlink a backend from a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • linkedBackendName - Name of the backend linked to the static site
  • options - StaticSitesClientUnlinkBackendOptions contains the optional parameters for the StaticSitesClient.UnlinkBackend method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UnlinkBackendFromStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().UnlinkBackend(ctx, "rg", "testStaticSite0", "testBackend", &armappservice.StaticSitesClientUnlinkBackendOptions{IsCleaningAuthConfig: nil})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*StaticSitesClient) UnlinkBackendFromBuild

func (client *StaticSitesClient) UnlinkBackendFromBuild(ctx context.Context, resourceGroupName string, name string, environmentName string, linkedBackendName string, options *StaticSitesClientUnlinkBackendFromBuildOptions) (StaticSitesClientUnlinkBackendFromBuildResponse, error)

UnlinkBackendFromBuild - Unlink a backend from a static site build If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier
  • linkedBackendName - Name of the backend linked to the static site
  • options - StaticSitesClientUnlinkBackendFromBuildOptions contains the optional parameters for the StaticSitesClient.UnlinkBackendFromBuild method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UnlinkBackendFromStaticSiteBuild.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewStaticSitesClient().UnlinkBackendFromBuild(ctx, "rg", "testStaticSite0", "12", "testBackend", &armappservice.StaticSitesClientUnlinkBackendFromBuildOptions{IsCleaningAuthConfig: nil})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*StaticSitesClient) UpdateBuildDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) UpdateBuildDatabaseConnection(ctx context.Context, resourceGroupName string, name string, environmentName string, databaseConnectionName string, databaseConnectionRequestEnvelope DatabaseConnectionPatchRequest, options *StaticSitesClientUpdateBuildDatabaseConnectionOptions) (StaticSitesClientUpdateBuildDatabaseConnectionResponse, error)

UpdateBuildDatabaseConnection - Description for Create or update a database connection for a static site build If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • environmentName - The stage site identifier.
  • databaseConnectionName - Name of the database connection.
  • databaseConnectionRequestEnvelope - A JSON representation of the database connection request properties
  • options - StaticSitesClientUpdateBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.UpdateBuildDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PatchStaticSiteBuildDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().UpdateBuildDatabaseConnection(ctx, "rg", "testStaticSite0", "default", "default", armappservice.DatabaseConnectionPatchRequest{
	Properties: &armappservice.DatabaseConnectionPatchRequestProperties{},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/builds/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) UpdateDatabaseConnection added in v2.1.0

func (client *StaticSitesClient) UpdateDatabaseConnection(ctx context.Context, resourceGroupName string, name string, databaseConnectionName string, databaseConnectionRequestEnvelope DatabaseConnectionPatchRequest, options *StaticSitesClientUpdateDatabaseConnectionOptions) (StaticSitesClientUpdateDatabaseConnectionResponse, error)

UpdateDatabaseConnection - Description for Create or update a database connection for a static site If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the static site
  • databaseConnectionName - Name of the database connection.
  • databaseConnectionRequestEnvelope - A JSON representation of the database connection request properties
  • options - StaticSitesClientUpdateDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.UpdateDatabaseConnection method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PatchStaticSiteDatabaseConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().UpdateDatabaseConnection(ctx, "rg", "testStaticSite0", "default", armappservice.DatabaseConnectionPatchRequest{
	Properties: &armappservice.DatabaseConnectionPatchRequestProperties{},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.DatabaseConnection = armappservice.DatabaseConnection{
// 	Name: to.Ptr("default"),
// 	Type: to.Ptr("Microsoft.Web/staticSites/databaseConnections"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default"),
// 	Properties: &armappservice.DatabaseConnectionProperties{
// 		ConnectionIdentity: to.Ptr("SystemAssigned"),
// 		Region: to.Ptr("West US 2"),
// 		ResourceID: to.Ptr("/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName"),
// 	},
// }
Output:

func (*StaticSitesClient) UpdateStaticSite

func (client *StaticSitesClient) UpdateStaticSite(ctx context.Context, resourceGroupName string, name string, staticSiteEnvelope StaticSitePatchResource, options *StaticSitesClientUpdateStaticSiteOptions) (StaticSitesClientUpdateStaticSiteResponse, error)

UpdateStaticSite - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PatchStaticSite.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().UpdateStaticSite(ctx, "rg", "testStaticSite0", armappservice.StaticSitePatchResource{
	Properties: &armappservice.StaticSite{},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteARMResource = armappservice.StaticSiteARMResource{
// 	Name: to.Ptr("testStaticSite0"),
// 	Type: to.Ptr("Microsoft.Web/staticSites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0"),
// 	Location: to.Ptr("West US 2"),
// 	Properties: &armappservice.StaticSite{
// 		AllowConfigFileUpdates: to.Ptr(true),
// 		Branch: to.Ptr("demo"),
// 		ContentDistributionEndpoint: to.Ptr(""),
// 		CustomDomains: []*string{
// 		},
// 		DefaultHostname: to.Ptr("happy-sea-15afae3e.azurestaticwebsites.net"),
// 		KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 		PrivateEndpointConnections: []*armappservice.ResponseMessageEnvelopeRemotePrivateEndpointConnection{
// 		},
// 		RepositoryURL: to.Ptr("https://github.com/username/RepoName"),
// 		StagingEnvironmentPolicy: to.Ptr(armappservice.StagingEnvironmentPolicyEnabled),
// 		UserProvidedFunctionApps: []*armappservice.StaticSiteUserProvidedFunctionApp{
// 		},
// 	},
// 	SKU: &armappservice.SKUDescription{
// 		Name: to.Ptr("Basic"),
// 		Tier: to.Ptr("Basic"),
// 	},
// }
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 - Description for Updates a user entry with the listed roles If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateStaticSiteUser.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewStaticSitesClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StaticSiteUserARMResource = armappservice.StaticSiteUserARMResource{
// 	Properties: &armappservice.StaticSiteUserARMResourceProperties{
// 		DisplayName: to.Ptr("username"),
// 		Provider: to.Ptr("aad"),
// 		Roles: to.Ptr("contributor,anonymous,authenticated"),
// 		UserID: to.Ptr("1234"),
// 	},
// }
Output:

type StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse

type StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

StaticSitesClientApproveOrRejectPrivateEndpointConnectionResponse contains the response from method StaticSitesClient.BeginApproveOrRejectPrivateEndpointConnection.

type StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions

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

StaticSitesClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.BeginApproveOrRejectPrivateEndpointConnection method.

type StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions

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

StaticSitesClientBeginCreateOrUpdateStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.BeginCreateOrUpdateStaticSiteCustomDomain method.

type StaticSitesClientBeginCreateOrUpdateStaticSiteOptions

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

StaticSitesClientBeginCreateOrUpdateStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginCreateOrUpdateStaticSite method.

type StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions

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

StaticSitesClientBeginCreateZipDeploymentForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginCreateZipDeploymentForStaticSiteBuild method.

type StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions

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

StaticSitesClientBeginCreateZipDeploymentForStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginCreateZipDeploymentForStaticSite method.

type StaticSitesClientBeginDeletePrivateEndpointConnectionOptions

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

StaticSitesClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.BeginDeletePrivateEndpointConnection method.

type StaticSitesClientBeginDeleteStaticSiteBuildOptions

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

StaticSitesClientBeginDeleteStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSiteBuild method.

type StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions

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

StaticSitesClientBeginDeleteStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSiteCustomDomain method.

type StaticSitesClientBeginDeleteStaticSiteOptions

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

StaticSitesClientBeginDeleteStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginDeleteStaticSite method.

type StaticSitesClientBeginDetachStaticSiteOptions

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

StaticSitesClientBeginDetachStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginDetachStaticSite method.

type StaticSitesClientBeginLinkBackendOptions

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

StaticSitesClientBeginLinkBackendOptions contains the optional parameters for the StaticSitesClient.BeginLinkBackend method.

type StaticSitesClientBeginLinkBackendToBuildOptions

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

StaticSitesClientBeginLinkBackendToBuildOptions contains the optional parameters for the StaticSitesClient.BeginLinkBackendToBuild method.

type StaticSitesClientBeginRegisterUserProvidedFunctionAppWithStaticSiteBuildOptions

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

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 StaticSitesClientBeginValidateBackendForBuildOptions

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

StaticSitesClientBeginValidateBackendForBuildOptions contains the optional parameters for the StaticSitesClient.BeginValidateBackendForBuild method.

type StaticSitesClientBeginValidateBackendOptions

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

StaticSitesClientBeginValidateBackendOptions contains the optional parameters for the StaticSitesClient.BeginValidateBackend method.

type StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions

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

StaticSitesClientBeginValidateCustomDomainCanBeAddedToStaticSiteOptions contains the optional parameters for the StaticSitesClient.BeginValidateCustomDomainCanBeAddedToStaticSite method.

type StaticSitesClientCreateOrUpdateBasicAuthOptions added in v2.1.0

type StaticSitesClientCreateOrUpdateBasicAuthOptions struct {
}

StaticSitesClientCreateOrUpdateBasicAuthOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateBasicAuth method.

type StaticSitesClientCreateOrUpdateBasicAuthResponse added in v2.1.0

type StaticSitesClientCreateOrUpdateBasicAuthResponse struct {
	// Static site basic auth properties ARM resource.
	StaticSiteBasicAuthPropertiesARMResource
}

StaticSitesClientCreateOrUpdateBasicAuthResponse contains the response from method StaticSitesClient.CreateOrUpdateBasicAuth.

type StaticSitesClientCreateOrUpdateBuildDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientCreateOrUpdateBuildDatabaseConnectionOptions struct {
}

StaticSitesClientCreateOrUpdateBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateBuildDatabaseConnection method.

type StaticSitesClientCreateOrUpdateBuildDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientCreateOrUpdateBuildDatabaseConnectionResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientCreateOrUpdateBuildDatabaseConnectionResponse contains the response from method StaticSitesClient.CreateOrUpdateBuildDatabaseConnection.

type StaticSitesClientCreateOrUpdateDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientCreateOrUpdateDatabaseConnectionOptions struct {
}

StaticSitesClientCreateOrUpdateDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateDatabaseConnection method.

type StaticSitesClientCreateOrUpdateDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientCreateOrUpdateDatabaseConnectionResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientCreateOrUpdateDatabaseConnectionResponse contains the response from method StaticSitesClient.CreateOrUpdateDatabaseConnection.

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsResponse

type StaticSitesClientCreateOrUpdateStaticSiteAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteBuildAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse

type StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteBuildAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteBuildAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteBuildFunctionAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse

type StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteBuildFunctionAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse

type StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse struct {
	// Static Site Custom Domain Overview ARM resource.
	StaticSiteCustomDomainOverviewARMResource
}

StaticSitesClientCreateOrUpdateStaticSiteCustomDomainResponse contains the response from method StaticSitesClient.BeginCreateOrUpdateStaticSiteCustomDomain.

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions struct {
}

StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.CreateOrUpdateStaticSiteFunctionAppSettings method.

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsResponse

type StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientCreateOrUpdateStaticSiteFunctionAppSettingsResponse contains the response from method StaticSitesClient.CreateOrUpdateStaticSiteFunctionAppSettings.

type StaticSitesClientCreateOrUpdateStaticSiteResponse

type StaticSitesClientCreateOrUpdateStaticSiteResponse struct {
	// Static Site ARM resource.
	StaticSiteARMResource
}

StaticSitesClientCreateOrUpdateStaticSiteResponse contains the response from method StaticSitesClient.BeginCreateOrUpdateStaticSite.

type StaticSitesClientCreateUserRolesInvitationLinkOptions

type StaticSitesClientCreateUserRolesInvitationLinkOptions struct {
}

StaticSitesClientCreateUserRolesInvitationLinkOptions contains the optional parameters for the StaticSitesClient.CreateUserRolesInvitationLink method.

type StaticSitesClientCreateUserRolesInvitationLinkResponse

type StaticSitesClientCreateUserRolesInvitationLinkResponse struct {
	// Static sites user roles invitation link resource.
	StaticSiteUserInvitationResponseResource
}

StaticSitesClientCreateUserRolesInvitationLinkResponse contains the response from method StaticSitesClient.CreateUserRolesInvitationLink.

type StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse

type StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse struct {
}

StaticSitesClientCreateZipDeploymentForStaticSiteBuildResponse contains the response from method StaticSitesClient.BeginCreateZipDeploymentForStaticSiteBuild.

type StaticSitesClientCreateZipDeploymentForStaticSiteResponse

type StaticSitesClientCreateZipDeploymentForStaticSiteResponse struct {
}

StaticSitesClientCreateZipDeploymentForStaticSiteResponse contains the response from method StaticSitesClient.BeginCreateZipDeploymentForStaticSite.

type StaticSitesClientDeleteBuildDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientDeleteBuildDatabaseConnectionOptions struct {
}

StaticSitesClientDeleteBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.DeleteBuildDatabaseConnection method.

type StaticSitesClientDeleteBuildDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientDeleteBuildDatabaseConnectionResponse struct {
}

StaticSitesClientDeleteBuildDatabaseConnectionResponse contains the response from method StaticSitesClient.DeleteBuildDatabaseConnection.

type StaticSitesClientDeleteDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientDeleteDatabaseConnectionOptions struct {
}

StaticSitesClientDeleteDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.DeleteDatabaseConnection method.

type StaticSitesClientDeleteDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientDeleteDatabaseConnectionResponse struct {
}

StaticSitesClientDeleteDatabaseConnectionResponse contains the response from method StaticSitesClient.DeleteDatabaseConnection.

type StaticSitesClientDeletePrivateEndpointConnectionResponse

type StaticSitesClientDeletePrivateEndpointConnectionResponse struct {
	// Anything
	Interface any
}

StaticSitesClientDeletePrivateEndpointConnectionResponse contains the response from method StaticSitesClient.BeginDeletePrivateEndpointConnection.

func (*StaticSitesClientDeletePrivateEndpointConnectionResponse) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitesClientDeletePrivateEndpointConnectionResponse.

type StaticSitesClientDeleteStaticSiteBuildResponse

type StaticSitesClientDeleteStaticSiteBuildResponse struct {
}

StaticSitesClientDeleteStaticSiteBuildResponse contains the response from method StaticSitesClient.BeginDeleteStaticSiteBuild.

type StaticSitesClientDeleteStaticSiteCustomDomainResponse

type StaticSitesClientDeleteStaticSiteCustomDomainResponse struct {
}

StaticSitesClientDeleteStaticSiteCustomDomainResponse contains the response from method StaticSitesClient.BeginDeleteStaticSiteCustomDomain.

type StaticSitesClientDeleteStaticSiteResponse

type StaticSitesClientDeleteStaticSiteResponse struct {
}

StaticSitesClientDeleteStaticSiteResponse contains the response from method StaticSitesClient.BeginDeleteStaticSite.

type StaticSitesClientDeleteStaticSiteUserOptions

type StaticSitesClientDeleteStaticSiteUserOptions struct {
}

StaticSitesClientDeleteStaticSiteUserOptions contains the optional parameters for the StaticSitesClient.DeleteStaticSiteUser method.

type StaticSitesClientDeleteStaticSiteUserResponse

type StaticSitesClientDeleteStaticSiteUserResponse struct {
}

StaticSitesClientDeleteStaticSiteUserResponse contains the response from method StaticSitesClient.DeleteStaticSiteUser.

type StaticSitesClientDetachStaticSiteResponse

type StaticSitesClientDetachStaticSiteResponse struct {
}

StaticSitesClientDetachStaticSiteResponse contains the response from method StaticSitesClient.BeginDetachStaticSite.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSiteBuild method.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteBuildResponse contains the response from method StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSiteBuild.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteOptions contains the optional parameters for the StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSite method.

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse

type StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse struct {
}

StaticSitesClientDetachUserProvidedFunctionAppFromStaticSiteResponse contains the response from method StaticSitesClient.DetachUserProvidedFunctionAppFromStaticSite.

type StaticSitesClientGetBasicAuthOptions added in v2.1.0

type StaticSitesClientGetBasicAuthOptions struct {
}

StaticSitesClientGetBasicAuthOptions contains the optional parameters for the StaticSitesClient.GetBasicAuth method.

type StaticSitesClientGetBasicAuthResponse added in v2.1.0

type StaticSitesClientGetBasicAuthResponse struct {
	// Static site basic auth properties ARM resource.
	StaticSiteBasicAuthPropertiesARMResource
}

StaticSitesClientGetBasicAuthResponse contains the response from method StaticSitesClient.GetBasicAuth.

type StaticSitesClientGetBuildDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionOptions struct {
}

StaticSitesClientGetBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.GetBuildDatabaseConnection method.

type StaticSitesClientGetBuildDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientGetBuildDatabaseConnectionResponse contains the response from method StaticSitesClient.GetBuildDatabaseConnection.

type StaticSitesClientGetBuildDatabaseConnectionWithDetailsOptions added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionWithDetailsOptions struct {
}

StaticSitesClientGetBuildDatabaseConnectionWithDetailsOptions contains the optional parameters for the StaticSitesClient.GetBuildDatabaseConnectionWithDetails method.

type StaticSitesClientGetBuildDatabaseConnectionWithDetailsResponse added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionWithDetailsResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientGetBuildDatabaseConnectionWithDetailsResponse contains the response from method StaticSitesClient.GetBuildDatabaseConnectionWithDetails.

type StaticSitesClientGetBuildDatabaseConnectionsOptions added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionsOptions struct {
}

StaticSitesClientGetBuildDatabaseConnectionsOptions contains the optional parameters for the StaticSitesClient.NewGetBuildDatabaseConnectionsPager method.

type StaticSitesClientGetBuildDatabaseConnectionsResponse added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionsResponse struct {
	// Collection of static site database connections.
	DatabaseConnectionCollection
}

StaticSitesClientGetBuildDatabaseConnectionsResponse contains the response from method StaticSitesClient.NewGetBuildDatabaseConnectionsPager.

type StaticSitesClientGetBuildDatabaseConnectionsWithDetailsOptions added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionsWithDetailsOptions struct {
}

StaticSitesClientGetBuildDatabaseConnectionsWithDetailsOptions contains the optional parameters for the StaticSitesClient.NewGetBuildDatabaseConnectionsWithDetailsPager method.

type StaticSitesClientGetBuildDatabaseConnectionsWithDetailsResponse added in v2.1.0

type StaticSitesClientGetBuildDatabaseConnectionsWithDetailsResponse struct {
	// Collection of static site database connections.
	DatabaseConnectionCollection
}

StaticSitesClientGetBuildDatabaseConnectionsWithDetailsResponse contains the response from method StaticSitesClient.NewGetBuildDatabaseConnectionsWithDetailsPager.

type StaticSitesClientGetDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientGetDatabaseConnectionOptions struct {
}

StaticSitesClientGetDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.GetDatabaseConnection method.

type StaticSitesClientGetDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientGetDatabaseConnectionResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientGetDatabaseConnectionResponse contains the response from method StaticSitesClient.GetDatabaseConnection.

type StaticSitesClientGetDatabaseConnectionWithDetailsOptions added in v2.1.0

type StaticSitesClientGetDatabaseConnectionWithDetailsOptions struct {
}

StaticSitesClientGetDatabaseConnectionWithDetailsOptions contains the optional parameters for the StaticSitesClient.GetDatabaseConnectionWithDetails method.

type StaticSitesClientGetDatabaseConnectionWithDetailsResponse added in v2.1.0

type StaticSitesClientGetDatabaseConnectionWithDetailsResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientGetDatabaseConnectionWithDetailsResponse contains the response from method StaticSitesClient.GetDatabaseConnectionWithDetails.

type StaticSitesClientGetDatabaseConnectionsOptions added in v2.1.0

type StaticSitesClientGetDatabaseConnectionsOptions struct {
}

StaticSitesClientGetDatabaseConnectionsOptions contains the optional parameters for the StaticSitesClient.NewGetDatabaseConnectionsPager method.

type StaticSitesClientGetDatabaseConnectionsResponse added in v2.1.0

type StaticSitesClientGetDatabaseConnectionsResponse struct {
	// Collection of static site database connections.
	DatabaseConnectionCollection
}

StaticSitesClientGetDatabaseConnectionsResponse contains the response from method StaticSitesClient.NewGetDatabaseConnectionsPager.

type StaticSitesClientGetDatabaseConnectionsWithDetailsOptions added in v2.1.0

type StaticSitesClientGetDatabaseConnectionsWithDetailsOptions struct {
}

StaticSitesClientGetDatabaseConnectionsWithDetailsOptions contains the optional parameters for the StaticSitesClient.NewGetDatabaseConnectionsWithDetailsPager method.

type StaticSitesClientGetDatabaseConnectionsWithDetailsResponse added in v2.1.0

type StaticSitesClientGetDatabaseConnectionsWithDetailsResponse struct {
	// Collection of static site database connections.
	DatabaseConnectionCollection
}

StaticSitesClientGetDatabaseConnectionsWithDetailsResponse contains the response from method StaticSitesClient.NewGetDatabaseConnectionsWithDetailsPager.

type StaticSitesClientGetLinkedBackendForBuildOptions

type StaticSitesClientGetLinkedBackendForBuildOptions struct {
}

StaticSitesClientGetLinkedBackendForBuildOptions contains the optional parameters for the StaticSitesClient.GetLinkedBackendForBuild method.

type StaticSitesClientGetLinkedBackendForBuildResponse

type StaticSitesClientGetLinkedBackendForBuildResponse struct {
	// Static Site Linked Backend ARM resource.
	StaticSiteLinkedBackendARMResource
}

StaticSitesClientGetLinkedBackendForBuildResponse contains the response from method StaticSitesClient.GetLinkedBackendForBuild.

type StaticSitesClientGetLinkedBackendOptions

type StaticSitesClientGetLinkedBackendOptions struct {
}

StaticSitesClientGetLinkedBackendOptions contains the optional parameters for the StaticSitesClient.GetLinkedBackend method.

type StaticSitesClientGetLinkedBackendResponse

type StaticSitesClientGetLinkedBackendResponse struct {
	// Static Site Linked Backend ARM resource.
	StaticSiteLinkedBackendARMResource
}

StaticSitesClientGetLinkedBackendResponse contains the response from method StaticSitesClient.GetLinkedBackend.

type StaticSitesClientGetLinkedBackendsForBuildOptions

type StaticSitesClientGetLinkedBackendsForBuildOptions struct {
}

StaticSitesClientGetLinkedBackendsForBuildOptions contains the optional parameters for the StaticSitesClient.NewGetLinkedBackendsForBuildPager method.

type StaticSitesClientGetLinkedBackendsForBuildResponse

type StaticSitesClientGetLinkedBackendsForBuildResponse struct {
	// Collection of static site linked backends.
	StaticSiteLinkedBackendsCollection
}

StaticSitesClientGetLinkedBackendsForBuildResponse contains the response from method StaticSitesClient.NewGetLinkedBackendsForBuildPager.

type StaticSitesClientGetLinkedBackendsOptions

type StaticSitesClientGetLinkedBackendsOptions struct {
}

StaticSitesClientGetLinkedBackendsOptions contains the optional parameters for the StaticSitesClient.NewGetLinkedBackendsPager method.

type StaticSitesClientGetLinkedBackendsResponse

type StaticSitesClientGetLinkedBackendsResponse struct {
	// Collection of static site linked backends.
	StaticSiteLinkedBackendsCollection
}

StaticSitesClientGetLinkedBackendsResponse contains the response from method StaticSitesClient.NewGetLinkedBackendsPager.

type StaticSitesClientGetPrivateEndpointConnectionListOptions

type StaticSitesClientGetPrivateEndpointConnectionListOptions struct {
}

StaticSitesClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the StaticSitesClient.NewGetPrivateEndpointConnectionListPager method.

type StaticSitesClientGetPrivateEndpointConnectionListResponse

type StaticSitesClientGetPrivateEndpointConnectionListResponse struct {
	PrivateEndpointConnectionCollection
}

StaticSitesClientGetPrivateEndpointConnectionListResponse contains the response from method StaticSitesClient.NewGetPrivateEndpointConnectionListPager.

type StaticSitesClientGetPrivateEndpointConnectionOptions

type StaticSitesClientGetPrivateEndpointConnectionOptions struct {
}

StaticSitesClientGetPrivateEndpointConnectionOptions contains the optional parameters for the StaticSitesClient.GetPrivateEndpointConnection method.

type StaticSitesClientGetPrivateEndpointConnectionResponse

type StaticSitesClientGetPrivateEndpointConnectionResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

StaticSitesClientGetPrivateEndpointConnectionResponse contains the response from method StaticSitesClient.GetPrivateEndpointConnection.

type StaticSitesClientGetPrivateLinkResourcesOptions

type StaticSitesClientGetPrivateLinkResourcesOptions struct {
}

StaticSitesClientGetPrivateLinkResourcesOptions contains the optional parameters for the StaticSitesClient.GetPrivateLinkResources method.

type StaticSitesClientGetPrivateLinkResourcesResponse

type StaticSitesClientGetPrivateLinkResourcesResponse struct {
	// Wrapper for a collection of private link resources
	PrivateLinkResourcesWrapper
}

StaticSitesClientGetPrivateLinkResourcesResponse contains the response from method StaticSitesClient.GetPrivateLinkResources.

type StaticSitesClientGetStaticSiteBuildOptions

type StaticSitesClientGetStaticSiteBuildOptions struct {
}

StaticSitesClientGetStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteBuild method.

type StaticSitesClientGetStaticSiteBuildResponse

type StaticSitesClientGetStaticSiteBuildResponse struct {
	// Static Site Build ARM resource.
	StaticSiteBuildARMResource
}

StaticSitesClientGetStaticSiteBuildResponse contains the response from method StaticSitesClient.GetStaticSiteBuild.

type StaticSitesClientGetStaticSiteBuildsOptions

type StaticSitesClientGetStaticSiteBuildsOptions struct {
}

StaticSitesClientGetStaticSiteBuildsOptions contains the optional parameters for the StaticSitesClient.NewGetStaticSiteBuildsPager method.

type StaticSitesClientGetStaticSiteBuildsResponse

type StaticSitesClientGetStaticSiteBuildsResponse struct {
	// Collection of static site builds.
	StaticSiteBuildCollection
}

StaticSitesClientGetStaticSiteBuildsResponse contains the response from method StaticSitesClient.NewGetStaticSiteBuildsPager.

type StaticSitesClientGetStaticSiteCustomDomainOptions

type StaticSitesClientGetStaticSiteCustomDomainOptions struct {
}

StaticSitesClientGetStaticSiteCustomDomainOptions contains the optional parameters for the StaticSitesClient.GetStaticSiteCustomDomain method.

type StaticSitesClientGetStaticSiteCustomDomainResponse

type StaticSitesClientGetStaticSiteCustomDomainResponse struct {
	// Static Site Custom Domain Overview ARM resource.
	StaticSiteCustomDomainOverviewARMResource
}

StaticSitesClientGetStaticSiteCustomDomainResponse contains the response from method StaticSitesClient.GetStaticSiteCustomDomain.

type StaticSitesClientGetStaticSiteOptions

type StaticSitesClientGetStaticSiteOptions struct {
}

StaticSitesClientGetStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetStaticSite method.

type StaticSitesClientGetStaticSiteResponse

type StaticSitesClientGetStaticSiteResponse struct {
	// Static Site ARM resource.
	StaticSiteARMResource
}

StaticSitesClientGetStaticSiteResponse contains the response from method StaticSitesClient.GetStaticSite.

type StaticSitesClientGetStaticSitesByResourceGroupOptions

type StaticSitesClientGetStaticSitesByResourceGroupOptions struct {
}

StaticSitesClientGetStaticSitesByResourceGroupOptions contains the optional parameters for the StaticSitesClient.NewGetStaticSitesByResourceGroupPager method.

type StaticSitesClientGetStaticSitesByResourceGroupResponse

type StaticSitesClientGetStaticSitesByResourceGroupResponse struct {
	// Collection of static sites.
	StaticSiteCollection
}

StaticSitesClientGetStaticSitesByResourceGroupResponse contains the response from method StaticSitesClient.NewGetStaticSitesByResourceGroupPager.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppForStaticSiteBuild method.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse struct {
	// Static Site User Provided Function App ARM resource.
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteBuildResponse contains the response from method StaticSitesClient.GetUserProvidedFunctionAppForStaticSiteBuild.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteOptions contains the optional parameters for the StaticSitesClient.GetUserProvidedFunctionAppForStaticSite method.

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse

type StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse struct {
	// Static Site User Provided Function App ARM resource.
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientGetUserProvidedFunctionAppForStaticSiteResponse contains the response from method StaticSitesClient.GetUserProvidedFunctionAppForStaticSite.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildOptions contains the optional parameters for the StaticSitesClient.NewGetUserProvidedFunctionAppsForStaticSiteBuildPager method.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse struct {
	// Collection of static site user provided function apps.
	StaticSiteUserProvidedFunctionAppsCollection
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteBuildResponse contains the response from method StaticSitesClient.NewGetUserProvidedFunctionAppsForStaticSiteBuildPager.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions struct {
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteOptions contains the optional parameters for the StaticSitesClient.NewGetUserProvidedFunctionAppsForStaticSitePager method.

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteResponse

type StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteResponse struct {
	// Collection of static site user provided function apps.
	StaticSiteUserProvidedFunctionAppsCollection
}

StaticSitesClientGetUserProvidedFunctionAppsForStaticSiteResponse contains the response from method StaticSitesClient.NewGetUserProvidedFunctionAppsForStaticSitePager.

type StaticSitesClientLinkBackendResponse

type StaticSitesClientLinkBackendResponse struct {
	// Static Site Linked Backend ARM resource.
	StaticSiteLinkedBackendARMResource
}

StaticSitesClientLinkBackendResponse contains the response from method StaticSitesClient.BeginLinkBackend.

type StaticSitesClientLinkBackendToBuildResponse

type StaticSitesClientLinkBackendToBuildResponse struct {
	// Static Site Linked Backend ARM resource.
	StaticSiteLinkedBackendARMResource
}

StaticSitesClientLinkBackendToBuildResponse contains the response from method StaticSitesClient.BeginLinkBackendToBuild.

type StaticSitesClientListBasicAuthOptions added in v2.1.0

type StaticSitesClientListBasicAuthOptions struct {
}

StaticSitesClientListBasicAuthOptions contains the optional parameters for the StaticSitesClient.NewListBasicAuthPager method.

type StaticSitesClientListBasicAuthResponse added in v2.1.0

type StaticSitesClientListBasicAuthResponse struct {
	// Collection of static site basic auth.
	StaticSiteBasicAuthPropertiesCollection
}

StaticSitesClientListBasicAuthResponse contains the response from method StaticSitesClient.NewListBasicAuthPager.

type StaticSitesClientListOptions

type StaticSitesClientListOptions struct {
}

StaticSitesClientListOptions contains the optional parameters for the StaticSitesClient.NewListPager method.

type StaticSitesClientListResponse

type StaticSitesClientListResponse struct {
	// Collection of static sites.
	StaticSiteCollection
}

StaticSitesClientListResponse contains the response from method StaticSitesClient.NewListPager.

type StaticSitesClientListStaticSiteAppSettingsOptions

type StaticSitesClientListStaticSiteAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteAppSettings method.

type StaticSitesClientListStaticSiteAppSettingsResponse

type StaticSitesClientListStaticSiteAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientListStaticSiteAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteAppSettings.

type StaticSitesClientListStaticSiteBuildAppSettingsOptions

type StaticSitesClientListStaticSiteBuildAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteBuildAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildAppSettings method.

type StaticSitesClientListStaticSiteBuildAppSettingsResponse

type StaticSitesClientListStaticSiteBuildAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientListStaticSiteBuildAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteBuildAppSettings.

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteBuildFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteBuildFunctionAppSettings method.

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse

type StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientListStaticSiteBuildFunctionAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteBuildFunctionAppSettings.

type StaticSitesClientListStaticSiteBuildFunctionsOptions

type StaticSitesClientListStaticSiteBuildFunctionsOptions struct {
}

StaticSitesClientListStaticSiteBuildFunctionsOptions contains the optional parameters for the StaticSitesClient.NewListStaticSiteBuildFunctionsPager method.

type StaticSitesClientListStaticSiteBuildFunctionsResponse

type StaticSitesClientListStaticSiteBuildFunctionsResponse struct {
	// Collection of static site functions.
	StaticSiteFunctionOverviewCollection
}

StaticSitesClientListStaticSiteBuildFunctionsResponse contains the response from method StaticSitesClient.NewListStaticSiteBuildFunctionsPager.

type StaticSitesClientListStaticSiteConfiguredRolesOptions

type StaticSitesClientListStaticSiteConfiguredRolesOptions struct {
}

StaticSitesClientListStaticSiteConfiguredRolesOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteConfiguredRoles method.

type StaticSitesClientListStaticSiteConfiguredRolesResponse

type StaticSitesClientListStaticSiteConfiguredRolesResponse struct {
	// String list resource.
	StringList
}

StaticSitesClientListStaticSiteConfiguredRolesResponse contains the response from method StaticSitesClient.ListStaticSiteConfiguredRoles.

type StaticSitesClientListStaticSiteCustomDomainsOptions

type StaticSitesClientListStaticSiteCustomDomainsOptions struct {
}

StaticSitesClientListStaticSiteCustomDomainsOptions contains the optional parameters for the StaticSitesClient.NewListStaticSiteCustomDomainsPager method.

type StaticSitesClientListStaticSiteCustomDomainsResponse

type StaticSitesClientListStaticSiteCustomDomainsResponse struct {
	// Collection of static site custom domains.
	StaticSiteCustomDomainOverviewCollection
}

StaticSitesClientListStaticSiteCustomDomainsResponse contains the response from method StaticSitesClient.NewListStaticSiteCustomDomainsPager.

type StaticSitesClientListStaticSiteFunctionAppSettingsOptions

type StaticSitesClientListStaticSiteFunctionAppSettingsOptions struct {
}

StaticSitesClientListStaticSiteFunctionAppSettingsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteFunctionAppSettings method.

type StaticSitesClientListStaticSiteFunctionAppSettingsResponse

type StaticSitesClientListStaticSiteFunctionAppSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientListStaticSiteFunctionAppSettingsResponse contains the response from method StaticSitesClient.ListStaticSiteFunctionAppSettings.

type StaticSitesClientListStaticSiteFunctionsOptions

type StaticSitesClientListStaticSiteFunctionsOptions struct {
}

StaticSitesClientListStaticSiteFunctionsOptions contains the optional parameters for the StaticSitesClient.NewListStaticSiteFunctionsPager method.

type StaticSitesClientListStaticSiteFunctionsResponse

type StaticSitesClientListStaticSiteFunctionsResponse struct {
	// Collection of static site functions.
	StaticSiteFunctionOverviewCollection
}

StaticSitesClientListStaticSiteFunctionsResponse contains the response from method StaticSitesClient.NewListStaticSiteFunctionsPager.

type StaticSitesClientListStaticSiteSecretsOptions

type StaticSitesClientListStaticSiteSecretsOptions struct {
}

StaticSitesClientListStaticSiteSecretsOptions contains the optional parameters for the StaticSitesClient.ListStaticSiteSecrets method.

type StaticSitesClientListStaticSiteSecretsResponse

type StaticSitesClientListStaticSiteSecretsResponse struct {
	// String dictionary resource.
	StringDictionary
}

StaticSitesClientListStaticSiteSecretsResponse contains the response from method StaticSitesClient.ListStaticSiteSecrets.

type StaticSitesClientListStaticSiteUsersOptions

type StaticSitesClientListStaticSiteUsersOptions struct {
}

StaticSitesClientListStaticSiteUsersOptions contains the optional parameters for the StaticSitesClient.NewListStaticSiteUsersPager method.

type StaticSitesClientListStaticSiteUsersResponse

type StaticSitesClientListStaticSiteUsersResponse struct {
	// Collection of static site custom users.
	StaticSiteUserCollection
}

StaticSitesClientListStaticSiteUsersResponse contains the response from method StaticSitesClient.NewListStaticSiteUsersPager.

type StaticSitesClientPreviewWorkflowOptions

type StaticSitesClientPreviewWorkflowOptions struct {
}

StaticSitesClientPreviewWorkflowOptions contains the optional parameters for the StaticSitesClient.PreviewWorkflow method.

type StaticSitesClientPreviewWorkflowResponse

type StaticSitesClientPreviewWorkflowResponse struct {
	// Preview for the Static Site Workflow to be generated
	StaticSitesWorkflowPreview
}

StaticSitesClientPreviewWorkflowResponse contains the response from method StaticSitesClient.PreviewWorkflow.

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse struct {
	// Static Site User Provided Function App ARM resource.
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse contains the response from method StaticSitesClient.BeginRegisterUserProvidedFunctionAppWithStaticSiteBuild.

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse

type StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse struct {
	// Static Site User Provided Function App ARM resource.
	StaticSiteUserProvidedFunctionAppARMResource
}

StaticSitesClientRegisterUserProvidedFunctionAppWithStaticSiteResponse contains the response from method StaticSitesClient.BeginRegisterUserProvidedFunctionAppWithStaticSite.

type StaticSitesClientResetStaticSiteAPIKeyOptions

type StaticSitesClientResetStaticSiteAPIKeyOptions struct {
}

StaticSitesClientResetStaticSiteAPIKeyOptions contains the optional parameters for the StaticSitesClient.ResetStaticSiteAPIKey method.

type StaticSitesClientResetStaticSiteAPIKeyResponse

type StaticSitesClientResetStaticSiteAPIKeyResponse struct {
}

StaticSitesClientResetStaticSiteAPIKeyResponse contains the response from method StaticSitesClient.ResetStaticSiteAPIKey.

type StaticSitesClientUnlinkBackendFromBuildOptions

type StaticSitesClientUnlinkBackendFromBuildOptions struct {
	// Decides if auth will be removed from backend configuration
	IsCleaningAuthConfig *bool
}

StaticSitesClientUnlinkBackendFromBuildOptions contains the optional parameters for the StaticSitesClient.UnlinkBackendFromBuild method.

type StaticSitesClientUnlinkBackendFromBuildResponse

type StaticSitesClientUnlinkBackendFromBuildResponse struct {
}

StaticSitesClientUnlinkBackendFromBuildResponse contains the response from method StaticSitesClient.UnlinkBackendFromBuild.

type StaticSitesClientUnlinkBackendOptions

type StaticSitesClientUnlinkBackendOptions struct {
	// Decides if Easy Auth configuration will be removed from backend configuration
	IsCleaningAuthConfig *bool
}

StaticSitesClientUnlinkBackendOptions contains the optional parameters for the StaticSitesClient.UnlinkBackend method.

type StaticSitesClientUnlinkBackendResponse

type StaticSitesClientUnlinkBackendResponse struct {
}

StaticSitesClientUnlinkBackendResponse contains the response from method StaticSitesClient.UnlinkBackend.

type StaticSitesClientUpdateBuildDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientUpdateBuildDatabaseConnectionOptions struct {
}

StaticSitesClientUpdateBuildDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.UpdateBuildDatabaseConnection method.

type StaticSitesClientUpdateBuildDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientUpdateBuildDatabaseConnectionResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientUpdateBuildDatabaseConnectionResponse contains the response from method StaticSitesClient.UpdateBuildDatabaseConnection.

type StaticSitesClientUpdateDatabaseConnectionOptions added in v2.1.0

type StaticSitesClientUpdateDatabaseConnectionOptions struct {
}

StaticSitesClientUpdateDatabaseConnectionOptions contains the optional parameters for the StaticSitesClient.UpdateDatabaseConnection method.

type StaticSitesClientUpdateDatabaseConnectionResponse added in v2.1.0

type StaticSitesClientUpdateDatabaseConnectionResponse struct {
	// Static Site Database Connection resource.
	DatabaseConnection
}

StaticSitesClientUpdateDatabaseConnectionResponse contains the response from method StaticSitesClient.UpdateDatabaseConnection.

type StaticSitesClientUpdateStaticSiteOptions

type StaticSitesClientUpdateStaticSiteOptions struct {
}

StaticSitesClientUpdateStaticSiteOptions contains the optional parameters for the StaticSitesClient.UpdateStaticSite method.

type StaticSitesClientUpdateStaticSiteResponse

type StaticSitesClientUpdateStaticSiteResponse struct {
	// Static Site ARM resource.
	StaticSiteARMResource
}

StaticSitesClientUpdateStaticSiteResponse contains the response from method StaticSitesClient.UpdateStaticSite.

type StaticSitesClientUpdateStaticSiteUserOptions

type StaticSitesClientUpdateStaticSiteUserOptions struct {
}

StaticSitesClientUpdateStaticSiteUserOptions contains the optional parameters for the StaticSitesClient.UpdateStaticSiteUser method.

type StaticSitesClientUpdateStaticSiteUserResponse

type StaticSitesClientUpdateStaticSiteUserResponse struct {
	// Static Site User ARM resource.
	StaticSiteUserARMResource
}

StaticSitesClientUpdateStaticSiteUserResponse contains the response from method StaticSitesClient.UpdateStaticSiteUser.

type StaticSitesClientValidateBackendForBuildResponse

type StaticSitesClientValidateBackendForBuildResponse struct {
}

StaticSitesClientValidateBackendForBuildResponse contains the response from method StaticSitesClient.BeginValidateBackendForBuild.

type StaticSitesClientValidateBackendResponse

type StaticSitesClientValidateBackendResponse struct {
}

StaticSitesClientValidateBackendResponse contains the response from method StaticSitesClient.BeginValidateBackend.

type StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse

type StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse struct {
}

StaticSitesClientValidateCustomDomainCanBeAddedToStaticSiteResponse contains the response from method StaticSitesClient.BeginValidateCustomDomainCanBeAddedToStaticSite.

type StaticSitesWorkflowPreview

type StaticSitesWorkflowPreview struct {
	// Kind of resource.
	Kind *string

	// StaticSitesWorkflowPreview resource specific properties
	Properties *StaticSitesWorkflowPreviewProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSitesWorkflowPreview - Preview for the Static Site Workflow to be generated

func (StaticSitesWorkflowPreview) MarshalJSON

func (s StaticSitesWorkflowPreview) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSitesWorkflowPreview.

func (*StaticSitesWorkflowPreview) UnmarshalJSON

func (s *StaticSitesWorkflowPreview) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitesWorkflowPreview.

type StaticSitesWorkflowPreviewProperties

type StaticSitesWorkflowPreviewProperties struct {
	// READ-ONLY; The contents for the workflow file to be generated
	Contents *string

	// READ-ONLY; The path for the workflow file to be generated
	Path *string
}

StaticSitesWorkflowPreviewProperties - StaticSitesWorkflowPreview resource specific properties

func (StaticSitesWorkflowPreviewProperties) MarshalJSON

func (s StaticSitesWorkflowPreviewProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSitesWorkflowPreviewProperties.

func (*StaticSitesWorkflowPreviewProperties) UnmarshalJSON

func (s *StaticSitesWorkflowPreviewProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitesWorkflowPreviewProperties.

type StaticSitesWorkflowPreviewRequest

type StaticSitesWorkflowPreviewRequest struct {
	// Kind of resource.
	Kind *string

	// StaticSitesWorkflowPreviewRequest resource specific properties
	Properties *StaticSitesWorkflowPreviewRequestProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StaticSitesWorkflowPreviewRequest - Request entity for previewing the Static Site workflow

func (StaticSitesWorkflowPreviewRequest) MarshalJSON

func (s StaticSitesWorkflowPreviewRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticSitesWorkflowPreviewRequest.

func (*StaticSitesWorkflowPreviewRequest) UnmarshalJSON

func (s *StaticSitesWorkflowPreviewRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitesWorkflowPreviewRequest.

type StaticSitesWorkflowPreviewRequestProperties

type StaticSitesWorkflowPreviewRequestProperties struct {
	// The target branch in the repository.
	Branch *string

	// Build properties to configure on the repository.
	BuildProperties *StaticSiteBuildProperties

	// URL for the repository of the static site.
	RepositoryURL *string
}

StaticSitesWorkflowPreviewRequestProperties - StaticSitesWorkflowPreviewRequest resource specific properties

func (StaticSitesWorkflowPreviewRequestProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type StaticSitesWorkflowPreviewRequestProperties.

func (*StaticSitesWorkflowPreviewRequestProperties) UnmarshalJSON

func (s *StaticSitesWorkflowPreviewRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StaticSitesWorkflowPreviewRequestProperties.

type Status

type Status struct {
	// Descriptive message.
	Message *string

	// Level of the most severe insight generated by the detector.
	StatusID *InsightStatus
}

Status - Identify the status of the most severe insight generated by the detector.

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Status.

func (*Status) UnmarshalJSON

func (s *Status) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Status.

type StatusCodesBasedTrigger

type StatusCodesBasedTrigger struct {
	// Request Count.
	Count *int32

	// Request Path
	Path *string

	// HTTP status code.
	Status *int32

	// Request Sub Status.
	SubStatus *int32

	// Time interval.
	TimeInterval *string

	// Win32 error code.
	Win32Status *int32
}

StatusCodesBasedTrigger - Trigger based on status code.

func (StatusCodesBasedTrigger) MarshalJSON

func (s StatusCodesBasedTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StatusCodesBasedTrigger.

func (*StatusCodesBasedTrigger) UnmarshalJSON

func (s *StatusCodesBasedTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StatusCodesBasedTrigger.

type StatusCodesRangeBasedTrigger

type StatusCodesRangeBasedTrigger struct {
	// Request Count.
	Count *int32
	Path  *string

	// HTTP status code.
	StatusCodes *string

	// Time interval.
	TimeInterval *string
}

StatusCodesRangeBasedTrigger - Trigger based on range of status codes.

func (StatusCodesRangeBasedTrigger) MarshalJSON

func (s StatusCodesRangeBasedTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StatusCodesRangeBasedTrigger.

func (*StatusCodesRangeBasedTrigger) UnmarshalJSON

func (s *StatusCodesRangeBasedTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StatusCodesRangeBasedTrigger.

type StatusOptions

type StatusOptions string

StatusOptions - App Service plan status.

const (
	StatusOptionsCreating StatusOptions = "Creating"
	StatusOptionsPending  StatusOptions = "Pending"
	StatusOptionsReady    StatusOptions = "Ready"
)

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

	// StorageMigrationOptions resource specific properties
	Properties *StorageMigrationOptionsProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StorageMigrationOptions - Options for app content migration.

func (StorageMigrationOptions) MarshalJSON

func (s StorageMigrationOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageMigrationOptions.

func (*StorageMigrationOptions) UnmarshalJSON

func (s *StorageMigrationOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageMigrationOptions.

type StorageMigrationOptionsProperties

type StorageMigrationOptionsProperties struct {
	// REQUIRED; AzureFiles connection string.
	AzurefilesConnectionString *string

	// REQUIRED; AzureFiles share.
	AzurefilesShare *string

	// true if the app should be read only during copy operation; otherwise, false.
	BlockWriteAccessToSite *bool

	// trueif the app should be switched over; otherwise, false.
	SwitchSiteAfterMigration *bool
}

StorageMigrationOptionsProperties - StorageMigrationOptions resource specific properties

func (StorageMigrationOptionsProperties) MarshalJSON

func (s StorageMigrationOptionsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageMigrationOptionsProperties.

func (*StorageMigrationOptionsProperties) UnmarshalJSON

func (s *StorageMigrationOptionsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageMigrationOptionsProperties.

type StorageMigrationResponse

type StorageMigrationResponse struct {
	// Kind of resource.
	Kind *string

	// StorageMigrationResponse resource specific properties
	Properties *StorageMigrationResponseProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StorageMigrationResponse - Response for a migration of app content request.

func (StorageMigrationResponse) MarshalJSON

func (s StorageMigrationResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageMigrationResponse.

func (*StorageMigrationResponse) UnmarshalJSON

func (s *StorageMigrationResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageMigrationResponse.

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
}

StorageMigrationResponseProperties - StorageMigrationResponse resource specific properties

func (StorageMigrationResponseProperties) MarshalJSON

func (s StorageMigrationResponseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageMigrationResponseProperties.

func (*StorageMigrationResponseProperties) UnmarshalJSON

func (s *StorageMigrationResponseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageMigrationResponseProperties.

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

	// Settings.
	Properties map[string]*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StringDictionary - String dictionary resource.

func (StringDictionary) MarshalJSON

func (s StringDictionary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StringDictionary.

func (*StringDictionary) UnmarshalJSON

func (s *StringDictionary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StringDictionary.

type StringList

type StringList struct {
	// Kind of resource.
	Kind *string

	// List of string resources.
	Properties []*string

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

StringList - String list resource.

func (StringList) MarshalJSON

func (s StringList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StringList.

func (*StringList) UnmarshalJSON

func (s *StringList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StringList.

type SubResource

type SubResource struct {
	// READ-ONLY; The resource id.
	ID *string
}

SubResource - The sub resource type.

func (SubResource) MarshalJSON

func (s SubResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubResource.

func (*SubResource) UnmarshalJSON

func (s *SubResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SubResource.

type SupportTopic

type SupportTopic struct {
	// READ-ONLY; Support Topic Id
	ID *string

	// READ-ONLY; Unique resource Id
	PesID *string
}

SupportTopic - Defines a unique Support Topic

func (SupportTopic) MarshalJSON

func (s SupportTopic) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SupportTopic.

func (*SupportTopic) UnmarshalJSON

func (s *SupportTopic) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SupportTopic.

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

	// SwiftVirtualNetwork resource specific properties
	Properties *SwiftVirtualNetworkProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*SwiftVirtualNetwork) UnmarshalJSON

func (s *SwiftVirtualNetwork) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// A flag that specifies if the scale unit this Web App is on supports Swift integration.
	SwiftSupported *bool
}

SwiftVirtualNetworkProperties - SwiftVirtualNetwork resource specific properties

func (SwiftVirtualNetworkProperties) MarshalJSON

func (s SwiftVirtualNetworkProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwiftVirtualNetworkProperties.

func (*SwiftVirtualNetworkProperties) UnmarshalJSON

func (s *SwiftVirtualNetworkProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwiftVirtualNetworkProperties.

type TLSCipherSuites added in v2.3.0

type TLSCipherSuites string

TLSCipherSuites - The minimum strength TLS cipher suite allowed for an application

const (
	TLSCipherSuitesTLSAES128GCMSHA256               TLSCipherSuites = "TLS_AES_128_GCM_SHA256"
	TLSCipherSuitesTLSAES256GCMSHA384               TLSCipherSuites = "TLS_AES_256_GCM_SHA384"
	TLSCipherSuitesTLSECDHEECDSAWITHAES128CBCSHA256 TLSCipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
	TLSCipherSuitesTLSECDHEECDSAWITHAES128GCMSHA256 TLSCipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
	TLSCipherSuitesTLSECDHEECDSAWITHAES256GCMSHA384 TLSCipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
	TLSCipherSuitesTLSECDHERSAWITHAES128CBCSHA      TLSCipherSuites = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
	TLSCipherSuitesTLSECDHERSAWITHAES128CBCSHA256   TLSCipherSuites = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
	TLSCipherSuitesTLSECDHERSAWITHAES128GCMSHA256   TLSCipherSuites = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
	TLSCipherSuitesTLSECDHERSAWITHAES256CBCSHA      TLSCipherSuites = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
	TLSCipherSuitesTLSECDHERSAWITHAES256CBCSHA384   TLSCipherSuites = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
	TLSCipherSuitesTLSECDHERSAWITHAES256GCMSHA384   TLSCipherSuites = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
	TLSCipherSuitesTLSRSAWITHAES128CBCSHA           TLSCipherSuites = "TLS_RSA_WITH_AES_128_CBC_SHA"
	TLSCipherSuitesTLSRSAWITHAES128CBCSHA256        TLSCipherSuites = "TLS_RSA_WITH_AES_128_CBC_SHA256"
	TLSCipherSuitesTLSRSAWITHAES128GCMSHA256        TLSCipherSuites = "TLS_RSA_WITH_AES_128_GCM_SHA256"
	TLSCipherSuitesTLSRSAWITHAES256CBCSHA           TLSCipherSuites = "TLS_RSA_WITH_AES_256_CBC_SHA"
	TLSCipherSuitesTLSRSAWITHAES256CBCSHA256        TLSCipherSuites = "TLS_RSA_WITH_AES_256_CBC_SHA256"
	TLSCipherSuitesTLSRSAWITHAES256GCMSHA384        TLSCipherSuites = "TLS_RSA_WITH_AES_256_GCM_SHA384"
)

func PossibleTLSCipherSuitesValues added in v2.3.0

func PossibleTLSCipherSuitesValues() []TLSCipherSuites

PossibleTLSCipherSuitesValues returns the possible values for the TLSCipherSuites const type.

type Template

type Template struct {
	// List of container definitions for the Container App.
	Containers []*Container

	// Dapr configuration for the Container App.
	Dapr *Dapr

	// User friendly suffix that is appended to the revision name
	RevisionSuffix *string

	// Scaling properties for the Container App.
	Scale *Scale
}

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

func (t Template) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Template.

func (*Template) UnmarshalJSON

func (t *Template) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Template.

type TldLegalAgreement

type TldLegalAgreement struct {
	// REQUIRED; Unique identifier for the agreement.
	AgreementKey *string

	// REQUIRED; Agreement details.
	Content *string

	// REQUIRED; Agreement title.
	Title *string

	// URL where a copy of the agreement details is hosted.
	URL *string
}

TldLegalAgreement - Legal agreement for a top level domain.

func (TldLegalAgreement) MarshalJSON

func (t TldLegalAgreement) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TldLegalAgreement.

func (*TldLegalAgreement) UnmarshalJSON

func (t *TldLegalAgreement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TldLegalAgreement.

type TldLegalAgreementCollection

type TldLegalAgreementCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TldLegalAgreement

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

TldLegalAgreementCollection - Collection of top-level domain legal agreements.

func (TldLegalAgreementCollection) MarshalJSON

func (t TldLegalAgreementCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TldLegalAgreementCollection.

func (*TldLegalAgreementCollection) UnmarshalJSON

func (t *TldLegalAgreementCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TldLegalAgreementCollection.

type TokenStore

type TokenStore struct {
	// The configuration settings of the storage of the tokens if blob storage is used.
	AzureBlobStorage *BlobStorageTokenStore

	// true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default
	// is false.
	Enabled *bool

	// The configuration settings of the storage of the tokens if a file system is used.
	FileSystem *FileSystemTokenStore

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

TokenStore - The configuration settings of the token store.

func (TokenStore) MarshalJSON

func (t TokenStore) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TokenStore.

func (*TokenStore) UnmarshalJSON

func (t *TokenStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TokenStore.

type TopLevelDomain

type TopLevelDomain struct {
	// Kind of resource.
	Kind *string

	// TopLevelDomain resource specific properties
	Properties *TopLevelDomainProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

TopLevelDomain - A top level domain object.

func (TopLevelDomain) MarshalJSON

func (t TopLevelDomain) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TopLevelDomain.

func (*TopLevelDomain) UnmarshalJSON

func (t *TopLevelDomain) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TopLevelDomain.

type TopLevelDomainAgreementOption

type TopLevelDomainAgreementOption struct {
	// If true, then the list of agreements will include agreements for domain transfer as well; otherwise, false.
	ForTransfer *bool

	// If true, then the list of agreements will include agreements for domain privacy as well; otherwise, false.
	IncludePrivacy *bool
}

TopLevelDomainAgreementOption - Options for retrieving the list of top level domain legal agreements.

func (TopLevelDomainAgreementOption) MarshalJSON

func (t TopLevelDomainAgreementOption) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TopLevelDomainAgreementOption.

func (*TopLevelDomainAgreementOption) UnmarshalJSON

func (t *TopLevelDomainAgreementOption) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TopLevelDomainAgreementOption.

type TopLevelDomainCollection

type TopLevelDomainCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TopLevelDomain

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

TopLevelDomainCollection - Collection of Top-level domains.

func (TopLevelDomainCollection) MarshalJSON

func (t TopLevelDomainCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TopLevelDomainCollection.

func (*TopLevelDomainCollection) UnmarshalJSON

func (t *TopLevelDomainCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TopLevelDomainCollection.

type TopLevelDomainProperties

type TopLevelDomainProperties struct {
	// If true, then the top level domain supports domain privacy; otherwise, false.
	Privacy *bool
}

TopLevelDomainProperties - TopLevelDomain resource specific properties

func (TopLevelDomainProperties) MarshalJSON

func (t TopLevelDomainProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TopLevelDomainProperties.

func (*TopLevelDomainProperties) UnmarshalJSON

func (t *TopLevelDomainProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TopLevelDomainProperties.

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 - Description for Get details of a top-level domain. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/GetTopLevelDomain.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewTopLevelDomainsClient().Get(ctx, "com", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.TopLevelDomain = armappservice.TopLevelDomain{
// 	Name: to.Ptr("com"),
// 	Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com"),
// 	Properties: &armappservice.TopLevelDomainProperties{
// 		Privacy: to.Ptr(true),
// 	},
// }
Output:

func (*TopLevelDomainsClient) NewListAgreementsPager

NewListAgreementsPager - Description for Gets all legal agreements that user needs to accept before purchasing a domain.

Generated from API version 2023-01-01

  • name - Name of the top-level domain.
  • agreementOption - Domain agreement options.
  • options - TopLevelDomainsClientListAgreementsOptions contains the optional parameters for the TopLevelDomainsClient.NewListAgreementsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListTopLevelDomainAgreements.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewTopLevelDomainsClient().NewListAgreementsPager("in", armappservice.TopLevelDomainAgreementOption{
	ForTransfer:    to.Ptr(false),
	IncludePrivacy: to.Ptr(true),
}, nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.TldLegalAgreementCollection = armappservice.TldLegalAgreementCollection{
	// 	Value: []*armappservice.TldLegalAgreement{
	// 		{
	// 			AgreementKey: to.Ptr("DNRA"),
	// 			Content: to.Ptr("<table width=\"100%\">\n<tbody>\n<tr><td width=\"100\"></td><td></td></tr>\n<tr><td></td><td>\n<table>\n<tbody>\n<tr><th align=\"left\" class=\"EULATitle\">\nDomain Name Registration Agreement\n</th></tr>\n<tr><td class=\"bodyText\">\n<p><strong>Last Revised: October 6, 2017</strong></p>\n<p style=\"text-align: justify;\"><strong>PLEASE READ THIS AGREEMENT CAREFULLY, AS IT CONTAINS IMPORTANT INFORMATION REGARDING YOUR LEGAL RIGHTS AND REMEDIES.</strong></p>\r\n<p style=\"text-align: justify;\"><strong>1. OVERVIEW</strong></p>\r\n<p style=\"text-align: justify;\">This Domain Name Registration Agreement (this \"<span style=\"text-decoration: underline;\">Agreement</span>\") is entered into by and between 510456, an individual (\"<span style=\"text-decoration: underline;\">Azure</span>\") and you, and is made effective as of the date of electronic acceptance.&nbsp; This Agreement sets forth the terms and conditions of your use of Azure's Domain Name Registration services (the \"<span style=\"text-decoration: underline;\">Domain Name Registration Services</span>\" or the \"<span style=\"text-decoration: underline;\">Services</span>\").&nbsp;The terms \"we\", \"us\" or \"our\" shall refer to Azure.&nbsp; The terms \"you\", \"your\", \"User\" or \"customer\" shall refer to any individual or entity who accepts this Agreement.&nbsp; Unless otherwise specified, nothing in this Agreement shall be deemed to confer any third-party rights or benefits.</p>\r\n<p style=\"text-align: justify;\">Your electronic acceptance of this Agreement signifies that you have read, understand, acknowledge and agree to be bound by this Agreement, which incorporates by reference each of&nbsp;(i) Azure&rsquo;s&nbsp;<a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=utos&amp;prog_id=510456\" target=\"_blank\">Universal Terms of Service Agreement</a> (\"<span style=\"text-decoration: underline;\">UTOS</span>\"),&nbsp;(ii) all agreements, guidelines, policies, practices, procedures, registration requirements or operational standards of the top-level domain (\"<span style=\"text-decoration: underline;\">TLD</span>\")&nbsp;in which you register any domain (&ldquo;<span style=\"text-decoration: underline;\">Registry Policies</span>&rdquo;),&nbsp;and (iii) any plan limits, product disclaimers or other restrictions presented to you on the Domain Name Registration Services landing page of the Azure website (this &ldquo;<span style=\"text-decoration: underline;\">Site</span>&rdquo;).&nbsp;</p>\r\n<p style=\"text-align: justify;\"><strong>TO&nbsp;LINK TO AND REVIEW THE REGISTRY POLICIES FOR THE TLD IN WHICH YOU WISH TO REGISTER A DOMAIN NAME, PLEASE CLICK&nbsp;<span style=\"text-decoration: underline;\"><a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=20012&amp;prog_id=510456\" target=\"_blank\">HERE</a></span>.&nbsp;</strong>&nbsp;&nbsp;&nbsp;</p>\r\n<p style=\"text-align: justify;\">You acknowledge and agree that (i) Azure, in its sole and absolute discretion, may change or modify this Agreement, and any policies or agreements which are incorporated herein, at any time, and such changes or modifications shall be effective immediately upon posting to this Site, and (ii) your use of this Site or the Services found at this Site after such changes or modifications have been made&nbsp;shall constitute your acceptance of this Agreement as last revised.&nbsp; If you do not agree to be bound by this Agreement as last revised, do not use (or continue to use) this Site or the Services found at this Site.&nbsp; In addition, Azure may occasionally notify you of changes or modifications to this Agreement by email.&nbsp; It is therefore very important that you keep your shopper account (&ldquo;<span style=\"text-decoration: underline;\">Shopper Account</span>&rdquo;) information, including your email address, current.&nbsp; Azure assumes no liability or responsibility for your failure to receive an email notification if such failure results from an inaccurate or out-of-date email address.&nbsp; &nbsp;  Azure is not an Internet Corporation for Assigned Names and Numbers (\"<span style=\"text-decoration: underline;\">ICANN</span>\") accredited registrar; it is an authorized reseller of domain name registration services.&nbsp; Accordingly, you acknowledge and agree that Azure may modify this Agreement in order to comply with any terms and conditions set forth by (i) the sponsoring registrar, (ii) ICANN, and/or (iii) the registry applicable to the&nbsp;TLD or country code top level domain (\"<span style=\"text-decoration: underline;\">ccTLD</span>\") in question. &nbsp;As used herein, the terms \"registry\", \"Registry\", \"registry operator\" or \"Registry Operator\" shall refer to the registry applicable to the TLD or ccTLD in question.&nbsp; To identify the sponsoring registrar, click&nbsp;<a href=\"http://www.internic.net/whois.html\" target=\"_blank\">here</a>.&nbsp; </p>\r\n<p style=\"text-align: justify;\"><strong>2. PROVISIONS SPECIFIC TO ALL REGISTRATIONS</strong></p>\r\n<p style=\"text-align: justify;\"><strong><em>Unless otherwise noted, the provisions below in this Section 2 are generally applicable to all TLDs that we offer.&nbsp; Special provisions specific to any TLD or ccTLD (those in addition to posted Registry Policies) are identified elsewhere below in this Agreement.&nbsp;</em></strong></p>\r\n<ol>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Registry Policies</span></em>. You agree to be bound by all Registry Policies (defined above in this Agreement) applicable to your domain name registration (at any level).<strong>&nbsp;IT IS YOUR RESPONSIBILITY TO VISIT THE APPLICABLE TLD SITE AND READ AND REVIEW ALL APPLICABLE REGISTRY POLICIES PRIOR TO YOUR REGISTRATION IN THE TLD.&nbsp; REGISTRY POLICIES FOR EACH TLD CAN BE FOUND BY VISITING THE CORRESPONDING TLD LINK LISTED&nbsp;</strong><a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=20012&amp;prog_id=510456\" target=\"_blank\">HERE</a>.&nbsp;&nbsp;Notwithstanding anything in this Agreement to the contrary, the Registry Operator of the TLD in which the domain name registration is made is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the respective TLD. The third party beneficiary rights of the Registry Operator will survive any termination of this Agreement.&nbsp;&nbsp;&nbsp;&nbsp;</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Registration Requirements</span></em>.&nbsp; To the extent any TLD or ccTLD requires you meet eligibility (e.g., residency for .JP, .EU, etc.), validation (e.g., DNS validation) or other authentication requirements as a condition to registering a domain name in the TLD, you agree that by submitting an application or registering or renewing your domain name, you represent and warrant that: (a) all information provided to register or renew the domain name (including all supporting documents, if any) is true, complete and correct, and is not misleading in any way, and the application is made in good faith; (b) you meet, and will continue to meet, the eligibility criteria prescribed in the Registry Policies for the applicable TLD for the duration of the domain name registration; (c) you have not previously submitted an application for the domain name with another registrar using the same eligibility criteria, and the other registrar has rejected the application (if applicable); (d) you acknowledge and agree that even if the domain name is accepted for registration, your entitlement to register the domain name may be challenged by others who claim to have an entitlement to the domain name; and (e) you acknowledge and agree that the Registry or the registrar can cancel the registration of the domain name if any of the warranties required are found to be untrue, incomplete, incorrect or misleading.</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Ownership</span></em>.&nbsp; You acknowledge and agree that registration of a domain name does not create any proprietary right for you, the registrar, or any other person in the name used as a domain name or the domain name registration and that the entry of a domain name in the Registry shall not be construed as evidence or ownership of the domain name registered as a domain name. You shall not in any way transfer or purport to transfer a proprietary right in any domain name registration or grant or purport to grant as security or in any other manner encumber or purport to encumber a domain name registration.</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">ICANN Requirements</span></em>. You agree to comply with the ICANN requirements, standards, policies, procedures, and practices for which each applicable Registry Operator has monitoring responsibility in accordance with the Registry Agreement between ICANN and itself or any other arrangement with ICANN.</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Indemnification of Registry</span></em>.&nbsp; You agree to indemnify, defend and hold harmless (within 30 days of demand) the Registry Operator and Registry Service Provider and their subcontractors, subsidiaries, affiliates, divisions, shareholders, directors, officers, employees, accountants, attorneys, insurers, agents, predecessors, successors and assigns, from and against any and all claims, demands, damages, losses, costs, expenses, causes of action or other liabilities of any kind, whether known or unknown, including reasonable legal and attorney&rsquo;s fees and expenses, in any way arising out of, relating to, or otherwise in connection with the your domain name registration, including, without limitation, the use, registration, extension, renewal, deletion, and/or transfer thereof and/or the violation of any applicable terms or conditions governing the registration. You shall not enter into any settlement or compromise of any such indemnifiable claim without Registrar&rsquo;s or Registry Operator&rsquo;s prior written consent, which consent shall not be unreasonably withheld, and you agree that these indemnification obligations shall survive the termination or expiration of the Agreement for any reason.&nbsp; IN NO EVENT SHALL THE REGISTRY OPERATOR BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY OR PUNITIVE DAMAGES, INCLUDING LOSS OF PROFIT OR GOODWILL, FOR ANY MATTER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTIES, EITHER EXPRESS OR IMPLIED, ANY BREACH OF THIS AGREEMENT OR ITS INCORPORATED AGREEMENTS AND POLICIES YOUR INABILITY TO USE THE DOMAIN NAME, YOUR LOSS OF DATA OR FILES OR OTHERWISE, EVEN IF THE REGISTRY OPERATOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Regulated TLDs</span></em>.&nbsp;&nbsp; For domain name registration in any &ldquo;Regulated&rdquo; TLD, you acknowledge and agree your registration is subject to the following additional requirements: (a) comply with all applicable laws, including those that relate to privacy, data collection, consumer protection (including in relation to misleading and deceptive conduct), fair lending, debt collection, organic farming, disclosure of data, and financial disclosures; (b) if you collect and maintain sensitive health and financial data you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.&nbsp; Regulated TLDs include: <strong><em>.games, .juegos, .school, .schule, .toys, .eco, .care, .diet, .fitness, .health, .clinic, .dental, .healthcare, .cash, .broker, .claims, .exchange, .finance, .financial, .fund, .investments, .lease, .loans, .market, .money, .trading, .credit, .insure, .tax, .mortgage, .degree, .mba, .audio, .book, .broadway, .film, .movie, .music, .software, .fashion, .video, .app, .art, .band, .cloud, .data, .digital, .fan, .free, .gratis, .discount, .sale, .media, .news, .online, .pictures, .radio, .show, .theater, .tours, .accountants, .architect, .associates, .broker, .legal, .realty, .vet, .engineering, .law, .limited, .show; .theater; .town, .city, .reise, and .reisen</em></strong></div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Highly Regulated TLDs</span></em>. In addition to the requirements for Regulated TLDs, domain name registration in any Highly-Regulated TLD is subject to the following requirements: (a) you will provide administrative contact information, which must be kept up&#8208;to&#8208;date, for the notification of complaints or reports of registration abuse, as well as the contact details of the relevant regulatory, or Industry self&#8208;regulatory, bodies in their main place of business; (b) you represent that you possess any necessary authorizations, charters, licenses and/or other related credentials for participation in the sector associated with such Highly&#8208;regulated TLD; and (c) you will report any material changes to the validity of you authorizations, charters, licenses and/or other related credentials for participation in the sector associated with the Highly&#8208;regulated TLD to ensure you continue to conform to the appropriate regulations and licensing requirements and generally conduct your activities in the interests of the consumers they serve.&nbsp; Highly Regulated TLDs include: <strong><strong><em>.abogado, .attorney, .bank, .bet, .bingo, .casino .charity (and IDN equivalent xn--30rr7y), .cpa, .corp, creditcard, .creditunion .dds, .dentist, .doctor, .fail, .gmbh, .gripe, .hospital, .inc, .insurance, .lawyer, .lifeinsurance, .llc, .llp, .ltda, .medical, .mutuelle, .pharmacy, .poker, .university, .sarl, .spreadbetting, .srl, .surgery .university, .vermogensberater, and .vesicherung,&nbsp; </em></strong></strong><em><span style=\"background: white; color: black; font-family: 'Arial',sans-serif; font-size: 10pt; font-style: normal;\">For .doctor, registrants who hold themselves out to be licensed medical practitioners must be able to demonstrate to the Registrar and Registry, upon request, that they hold the applicable license.</span></em></div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Special Safeguard TLDs</span></em>.&nbsp; In addition to the requirements for Regulated and Highly-Regulated TLDs, by registering a domain name in any &ldquo;Special-Safeguard&rdquo; TLD, you agree to take reasonable steps to avoid misrepresenting or falsely implying that you or your business is affiliated with, sponsored or endorsed by one or more country's or government's military forces if such affiliation, sponsorship or endorsement does not exist.&nbsp; Special Safeguard TLDs include:&nbsp; <strong><em>.army, .navy, .airforce</em></strong></div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Third Party Beneficiary</span></em>.&nbsp; Notwithstanding anything in this Agreement to the contrary, the Registry Operator for any TLD in which your register a domain name is and shall be an intended third party beneficiary of this Agreement. As such the parties to this agreement acknowledge and agree that the third party beneficiary rights of the Registry Operator have vested and that the Registry Operator has relied on its third party beneficiary rights under this Agreement in agreeing to Azure being a registrar for the TLD. Third party beneficiary rights of the Registry Operator shall survive any termination of this Agreement.</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Variable and Non-Uniform Pricing</span></em>.&nbsp; You acknowledge, understand and agree that certain domain names in certain TLDs are established by Registry Policies to be variably priced (i.e., standard v. premium names) and/or may have non-uniform renewal registration pricing (such that the Fee for a domain name registration renewal may differ from other domain names in the same TLD, e.g., renewal registration for one domain may be $100.00 and $33.00 for a different domain name).</div>\r\n</li>\r\n<li>\r\n<div style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Restriction on Availability of Privacy or Proxy</span></em>.&nbsp; You acknowledge and agree that, as dictated by the Registry Policies, for certain TLDs you may not be permitted to purchase private or proxy TLD registrations. In such case, you must register for any and all TLD registrations using your personal information, which information you represent and warrant is current, accurate and complete.</div>\r\n</li>\r\n</ol>\r\n<p style=\"text-align: justify;\"><strong>3. FEES AND PAYMENTS</strong></p>\r\n<p style=\"text-align: justify;\"><strong><em>(A) GENERAL TERMS, INCLUDING AUTOMATIC RENEWAL TERMS</em></strong></p>\r\n<p style=\"text-align: justify;\">You agree to pay any and all prices and fees due for Services purchased or obtained at this Site at the time you order the Services.&nbsp; Azure expressly reserves the right to change or modify its prices and fees at any time, and such changes or modifications shall be posted online at this Site and effective immediately without need for further notice to you.&nbsp; If you have purchased or obtained Services for a period of months or years, changes or modifications in prices and fees shall be effective when the Services in question come up for renewal as further described below.&nbsp;</p>\r\n<p style=\"text-align: justify;\">Unless otherwise specifically noted (for reasons such as those highlighted&nbsp;in Section 2(x) above), the renewal price for any domain name in any TLD will be the same as the list (non-sale) price shown when you search for and select a domain, and again in the cart prior to purchase.&nbsp; For example, if the list price is $9.99, and a different renewal price is not specifically identified, then the renewal price is also $9.99<strong></strong>.&nbsp; Likewise, if a domain name has a&nbsp;sale price of $8.99, with the list&nbsp;(non-sale) price&nbsp;shown (as a strike-through)&nbsp;at $9.99, the renewal price will be&nbsp;$9.99<strong>*</strong>.&nbsp;&nbsp;</p>\r\n<p style=\"text-align: justify;\"><span style=\"font-size: xx-small;\"><em><strong>*Renewal price&nbsp;subject to change prior to actual date of renewal.&nbsp; </strong></em></span></p>\r\n<p style=\"text-align: justify;\">For all other terms and conditions relating to&nbsp;fees, payment, refund and billing, etc. applicable to the Services offered under the scope of this Agreement, please refer to the &ldquo;Fees and Payments&rdquo; section of our&nbsp;<a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=utos&amp;prog_id=510456\" target=\"_blank\"><span style=\"text-decoration: underline;\"><span style=\"color: #0066cc;\">UTOS</span></span></a>.&nbsp;</p>\r\n<p style=\"text-align: justify;\"><strong><em>(B) DOMAIN NAME RENEWAL TERMS</em></strong></p>\r\n<p style=\"text-align: justify;\">When you register a domain name, you will have two&nbsp;renewal options: (i) \"<span style=\"text-decoration: underline;\">Automatic Renewal</span>\"&nbsp;(ii) \"<span style=\"text-decoration: underline;\">Extended Automatic Renewal</span>\", and (iii) \"<span style=\"text-decoration: underline;\">Manual Renewal</span>\":&nbsp;</p>\r\n<ol style=\"text-align: justify;\">\r\n<li><span style=\"text-decoration: underline;\">Automatic Renewal</span>.&nbsp; Automatic Renewal is the default setting. Therefore, unless you select&nbsp;Extended Automatic Renewal, Azure will enroll you in&nbsp;Automatic Renewal.&nbsp;&nbsp;Domain names will automatically renew, for a period equivalent to the length of your original domain name registration, any domain name that is up for renewal and will take payment from the Payment Method you have on file with Azure, at Azure's then current rates. Thus, if you have chosen to register your domain name for one (1) year, Azure will automatically renew it for one (1) year. If you have chosen to register your domain name for two (2) years, Azure will automatically renew it for two (2) years, and so on.</li>\r\n<li><span style=\"text-decoration: underline;\">Extended Automatic Renewal</span>.&nbsp; If you enroll in the Extended Automatic Renewal plan, Azure will automatically renew any domain name that is up for renewal for an additional one-year period on each and every anniversary of your domain name registration, so the initial registration period will always remain intact.&nbsp; Thus, if you have chosen to register your domain name for two (2) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your two (2) year registration period will always remain intact. If you have chosen to register your domain name for five (5) years, Azure will automatically renew it for one (1) additional year on each and every anniversary of your domain name registration so your five (5) year registration period will always remain intact, and so on.&nbsp; Azure will take payment from the Payment Method you have on file with Azure, at Azure's then current one-year domain name registration rate.</li>\r\n<li><span style=\"text-decoration: underline;\">Manual Renewal</span>.&nbsp; If you have elected to turn off automatic renewal and cancel the product (i.e., cancel&nbsp;the domain name registration) effective at expiration of the then current term, you may nonetheless elect to manually renew the domain name at anytime prior to its&nbsp;expiration date&nbsp;by&nbsp;logging into&nbsp;your <a href=\"https://www.securepaynet.net/gdshop/shopper_lookup.asp?prog_id=510456\" target=\"_blank\">Account Manager</a>&nbsp;and manually implementing the renewal or by calling customer service (should you in fact want the domain name to be renewed). If you fail to manually implement the renewal before the expiration date, the domain name will be cancelled and you will no longer have use of that name.</li>\r\n</ol>\r\n<p style=\"text-align: justify;\">All renewals will be subject to the terms of this Agreement, as it may be amended from time to time, and you acknowledge and agree to be bound by the terms of this Agreement (as amended) for all renewed domains.&nbsp; Domain name renewals will be non-refundable. <span style=\"color: #5b9bd5; font-family: 'Arial',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-themecolor: accent1;\"><span style=\"color: #000000;\">In the event that we are unable to automatically renew your domain name for the renewal option selected for any reason, we may automatically renew your domain name for a period less than your original registration period to the extent necessary for the transaction to succeed.</span> </span>If for any reason Azure is not able to take the payment from the Payment Method you have on file, and you fail to respond to our notices, your domain name registration will expire. It is your responsibility to keep your Payment Method information current, which includes the expiration date if you are using a credit card.</p>\r\n<p style=\"text-align: justify;\">For certain ccTLDs (.am, .at, .be, .br, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk,&nbsp;and .vg), renewal billing will occur on the first day of the month prior to the month of expiration.</p>\r\n<p style=\"text-align: justify;\">For certain ccTLDs (.am, .at, .be, .ca, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk,&nbsp;and .vg),&nbsp;renewal will occur, or must occur manually if the product was previously cancelled, no later than the 20th of the month prior to the expiration date, or your domain name will be placed in non-renewal status. For some ccTLDs (.es) renewal&nbsp;must be processed&nbsp;no later than seven days before the expiration date, or your domain name will be placed in non-renewal status.&nbsp; When the domain name is in non-renewal status, you can renew the domain name only by calling Azure and requesting that the domain name be renewed. You cannot renew the domain name through your <a href=\"https://www.securepaynet.net/gdshop/shopper_lookup.asp?prog_id=510456\" target=\"_blank\">Account Manager</a>. If you fail to manually implement the renewal of any cancelled product before the expiration date, the domain name will be cancelled and you will no longer have use of that name.</p>\r\n<p style=\"text-align: justify;\">You agree that Azure will not be responsible for cancelled domain names that you fail to renew in the timeframes indicated in this Agreement. In any case, if you fail to renew your domain name in a timely fashion, additional charges may apply. If you signed up for privacy services, protected registration, or any other similar service, with your domain name registration, these services will automatically be renewed when your domain name registration is up for renewal, and you will incur the applicable additional renewal fee unless you cancel in advance.&nbsp;</p>\r\n<p style=\"text-align: justify;\">If you fail to renew your domain name in the timeframes indicated in this Agreement, you agree that Azure may, in its sole discretion, renew your expired domain name on your behalf. If Azure decides to renew your expired domain name on your behalf, you will have a Renewal Grace Period during which you may reimburse Azure for the renewal and keep your domain name. The Renewal Grace Period is currently twelve (12) days but subject to change under the terms of this Agreement. For certain ccTLDs (.am, .at, .be, .cn, .com.cn, .net.cn, .org.cn, .de, .eu, .fm, .gs, .it, .jp, .ms, .nu, .nz, .co.nz, .net.nz, .org.nz, .tc, .tk, .tw, .com.tw, .org.tw, .idv.tw, .uk,&nbsp;and .vg) there is no Renewal Grace Period after the expiration date of the domain name. If you do not reimburse Azure for the renewal during the Renewal Grace Period your domain name will be placed on Hold and flagged for deletion after which you will have a 30-day redemption period during which you may pay Azure a Redemption fee and redeem your domain name. The Redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the 30-day redemption period Azure may, in its sole discretion, delete your domain name or transfer it to another registrant on your behalf.&nbsp; During the redemption period your domain name may be parked.&nbsp;</p>\r\n<p style=\"text-align: justify;\">If your domain name is deleted, the Registry also provides a 30-day Redemption Grace Period during which you may pay Azure a redemption fee and redeem your domain name. The redemption fee is currently $80.00 USD and is subject to change under the terms of this Agreement. If you do not redeem your domain name prior to the end of the Registry's Redemption Grace Period the Registry will release your name and it will become available for registration on a first-come-first-served basis.</p>\r\n<p style=\"text-align: justify;\">Renewal Grace Periods and Redemption Grace Periods vary for different ccTLDs. Please refer to the specific terms for the applicable TLD. In the event there is a conflict between the provisions of this paragraph and the ccTLD terms, the ccTLD terms shall control.</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\">Our registration expiration notification policy and associated fees are described&nbsp;<a href=\"http://help.securepaynet.net/article/8803\" target=\"_blank\">here</a>.</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"><strong><em>(C) FREE PRODUCT TERMS</em></strong></p>\r\n<p style=\"text-align: justify;\">In the event you are provided with free products with the registration of a domain name, you acknowledge and agree that such free products will only be available with a valid purchase and may be terminated in the event the domain name&nbsp;is deleted or cancelled.&nbsp; For free domain names, you acknowledge and agree that you may not change the account associated with such free domain for the first five (5) days after registration.&nbsp; In the event a free domain name is offered with the registration of another domain and if the paid domain name registered fails, then we may, in its sole discretion, either delete the registration of the free domain or refund the difference between the amount paid and the value of the free domain.&nbsp; Failed registrations associated with promotionals offers may result in the deletion of the free or discounted item or an adjustment between the registered domain price and the value of the discounted item, in&nbsp;our sole discretion.</p>\r\n<p style=\"text-align: justify;\"><strong>4. TERM OF AGREEMENT; TRANSFERS; DOMAIN TASTING</strong></p>\r\n<p style=\"text-align: justify;\">The term of this Agreement shall continue in full force and effect as long as you have any domain name registered through Azure.</p>\r\n<p style=\"text-align: justify;\">You agree that you will not transfer any domain name registered through Azure to another domain name registrar during the first sixty (60) days after its initial registration date.&nbsp; You agree that you may not transfer any domain name for&nbsp;ten (10) days after a Change of Account.</p>\r\n<p style=\"text-align: justify;\">You further agree that you will not engage in \"domain tasting\" by using the five (5) day grace period in which a registrant may choose to cancel a domain name and get a full refund of the registration fee as a vehicle to test the marketability or viability of a domain name.&nbsp; If Azure determines (which determination shall be made by Azure in its sole and absolute discretion) that you have been engaging in \"domain tasting\", then Azure reserves the right to (a) charge you a small fee (which fee shall be deducted from any refund issued) or (b) refuse your cancellation/refund request altogether. Azure will not charge you a fee if Azure cancels your domain name during the five (5) day grace period due to fraud or other activity outside of your control. The five (5) day grace period does not apply to Premium Domains, which are non-refundable.</p>\r\n<p style=\"text-align: justify;\">You agree that Azure shall not be bound by (i) any representations made by third parties who you may use to purchase services from Azure, or (ii) any statements of a general nature, which may be posted on Azure's website or contained in Azure's promotional materials.</p>\r\n<p style=\"text-align: justify;\"><strong>5. UP TO DATE INFORMATION; USE OF INFORMATION AND EXPIRATION</strong></p>\r\n<p style=\"text-align: justify;\">You agree to notify Azure within five (5) business days when any of the information you provided as part of the application and/or registration process changes. It is your responsibility to keep this information in a current and accurate status. Failure by you, for whatever reason, to provide Azure with accurate and reliable information on an initial and continual basis, shall be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. Failure by you, for whatever reason, to respond within five (5) business days to any inquiries made by Azure to determine the validity of information provided by you, shall also be considered to be a material breach of this Agreement and a basis for suspension and/or cancellation of the domain name. You agree to retain a copy for your record of the receipt for purchase of your domain name.</p>\r\n<p style=\"text-align: justify;\">You agree that for each domain name registered by you, the following contact data is required: postal address, email address, telephone number, and if available, a facsimile number for the Registered Name Holder and, if different from the Registered Name Holder, the same contact information for, a technical contact, an administrative contact and a billing contact.</p>\r\n<p style=\"text-align: justify;\">You acknowledge and agree that domain name registration requires that this contact information, in whole or in part, be shared with the registry operator, for their use, copying, distribution, publication, modification and other processing &nbsp;for (among other uses in accordance with our Privacy Policy) the purpose of administration of the domain name registration, which may require such information be transferred back and forth across international borders, to and from the U.S. to the EU, for example. As required by ICANN, this information must also be made publicly available by means of Whois, and that the registry operator may also be required to make this information publicly available by Whois. Both Azure and the registry operator may be required to archive this information with a third-party escrow service. You hereby consent and give permission for all such requirements and disclosures. Further, you represent and warrant that, if you are providing information about a third party, you have notified the third party of the disclosure and the purpose for the disclosure and you have obtained the third party's consent to such disclosure.&nbsp; Registrar will not process data in a way that is incompatible with this Agreement.&nbsp; Registrar will take reasonable precautions to protect data from loss or misuse.</p>\r\n<p style=\"text-align: justify;\">You agree that for each domain name registered by you the following information will be made publicly available in the Whois directory as determined by ICANN Policy and may be sold in bulk as set forth in the ICANN agreement:</p>\r\n<ul style=\"text-align: justify;\">\r\n<li>The domain name;</li>\r\n<li>Your name and postal address;</li>\r\n<li>The name, email address, postal address, voice and fax numbers for technical and administrative contacts;</li>\r\n<li>The Internet protocol numbers for the primary and secondary name servers;</li>\r\n<li>The corresponding names of the name servers; and</li>\r\n<li>The original date of registration and expiration date.</li>\r\n<li>Name of primary name server and secondary name server.</li>\r\n<li>Identity of the registrar.</li>\r\n</ul>\r\n<p style=\"text-align: justify;\">You agree that, to the extent permitted by ICANN, Azure may make use of the publicly available information you provided during the registration process. If you engage in the reselling of domain names you agree to provide any individuals whose personal information you've obtained, information about the possible uses of their personal information pursuant to ICANN policy. You also agree to obtain consent, and evidence of consent, from those individuals for such use of the personal information they provide.</p>\r\n<p style=\"text-align: justify;\">You agree that Azure has the right to make public and share with third parties&nbsp;certain information in connection with the sale or purchase of domain names on the website, including but not limited to (a) the name of the domain name sold or purchased, (b) the sale or purchase price of the domain name sold or purchased, and (c) information relating to the timing of the sale or purchase.</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\">In order for us to comply with any current or future rules and policies for domain name systems including any rules or policies established by the CIRA or any provincial or federal government or by other organization having control or authority to establish rules or policies, you hereby grant to us the right to disclose to third parties through an interactive publicly accessible registration database the following information that you are required to provide when applying for a domain name:</p>\r\n<ol style=\"text-align: justify;\">\r\n<li>The domain or sub-domain name(s) registered by you;</li>\r\n<li>Your organization name, type and postal address;</li>\r\n<li>The name(s), position(s), postal address(es), e-mail address(es), voice telephone number(s) and where available the fax number(s) of the technical and administrative contacts for your domain or sub-domain name(s);</li>\r\n<li>The full hostnames and Internet protocol (IP) addresses of at least two (2) name server hosts (one primary and at least one secondary) for your domain or sub-domain name. Up to six (6) name servers may be specified. If a host has more than one (1) IP address, use a comma-separated list;</li>\r\n<li>The corresponding names of those name servers;</li>\r\n<li>The original creation date of the registration; and</li>\r\n<li>The expiration date of the registration.</li>\r\n</ol>\r\n<p style=\"text-align: justify;\">We may be required to make this information available in bulk form to third parties. We may also transfer or assign this information to CIRA or such other third party as we may decide, in our sole discretion. </p>\r\n<p style=\"text-align: justify;\"><strong>6. DISPUTE RESOLUTION POLICY</strong></p>\r\n<p style=\"text-align: justify;\">You agree to be bound by our current Dispute Resolution Policy. This policy is incorporated herein and made a part of this Agreement. You can view the&nbsp;<a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=uniform_domain&amp;prog_id=510456\" target=\"_blank\">Uniform Domain Name Dispute Resolution Policy</a>&nbsp;online. You agree that Azure may from time to time modify its Dispute Resolution Policy. Azure will post any changes to its Dispute Resolution Policy at least thirty (30) days before they become effective. You agree that by maintaining your domain name registrations with Azure after the updated policy becomes effective that you agree to the Dispute Resolution policy as amended. You agree to review Azure's website periodically to determine if changes have been made to the Dispute Resolution Policy. If you cancel or terminate your&nbsp;Services with Azure as a result of the modified Dispute Resolution policy, no fees will be refunded to you.&nbsp;You also agree to submit to proceedings commenced under ICANN's Uniform Rapid Suspension System, if applicable.&nbsp;</p>\r\n<p style=\"text-align: justify;\">You agree that if a dispute arises as a result of one (1) or more domain names you have registered using Azure, you will indemnify, defend and hold Azure harmless as provided for in this Agreement. You also agree that if Azure is notified that a complaint has been filed with a governmental, administrative or judicial body, regarding a domain name registered by you using Azure, that Azure, in its sole discretion, may take whatever action Azure deems necessary regarding further modification, assignment of and/or control of the domain name deemed necessary to comply with the actions or requirements of the governmental, administrative or judicial body until such time as the dispute is settled. In this event you agree to hold Azure harmless for any action taken by Azure.</p>\r\n<p style=\"text-align: justify;\">You agree to submit, without prejudice to other potentially applicable jurisdictions, to the jurisdiction of the courts (1) of your domicile,&nbsp;(2) where registrar is located or (3) where the registry operator is located (e.g., China for .CN, Columbia for .CO, UK for .EU, etc.).</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\">In the case of .ca domain names, you agree that, if your use of the service or the registration of a .ca domain name is challenged by a third party, you will be subject to the provisions specified by CIRA in their dispute resolution policy, in effect at the time of the dispute.</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"><strong>7. TRANSFER OF DOMAIN NAMES; RESALE PRACTICES</strong></p>\r\n<p style=\"margin: 0in 0in 0pt;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: small;\">If you transfer any domain name, you agree to provide the information required by, and to abide by, the procedures and conditions set forth in our&nbsp;<a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=TRANSFER_SA&amp;prog_id=510456\" target=\"_blank\"><span style=\"text-decoration: underline;\"><span style=\"color: #0066cc;\">Domain Name Transfer Agreement</span></span></a> and <a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=domain_nc&amp;prog_id=510456\" target=\"_blank\"><span style=\"text-decoration: underline;\"><span style=\"color: #0066cc;\">Change of Registrant Agreement</span></span></a>. You may view the latest versions of our Domain Name Transfer Agreement and Change of Registrant Agreementonline. In order to further protect your domain name, any domain name registered with&nbsp;Azure or transferred to&nbsp;Azure shall be placed on lock status, unless an opted-out has occurred as defined in our Change of Registrant Agreement or Domain Name Proxy Agreement. The domain name must be placed on unlock status in order to initiate a transfer of the domain name away from&nbsp;Azure to a new Registrar. You may log into your account with&nbsp;Azure at any time after your domain name has been successfully transferred to Azure, and change the status to unlock.</span></p>\r\n<p style=\"text-align: justify;\">In the event you are purchasing a domain name on behalf of a third party, you agree to inform any customer of yours, who may be acquiring a domain name through you using Azure's registration services, that they are in fact registering their domain name through Azure and that Azure  or its licensor  is an accredited registrar with ICANN. You agree not to represent that you are an ICANN-accredited registrar or that you are in any way providing superior access to the ICANN Domain Name Registry. You also agree not to use the ICANN trademark logo in any of your promotional materials including your website.</p>\r\n<p style=\"text-align: justify;\">You agree to obtain each of your customers' acceptances to the then current version of this Agreement, and to retain evidence of their acceptance for a period of not less than three (3) years. Should you require that your customers accept additional terms and conditions that are not required by Azure, you agree that such additional terms and conditions shall not conflict with this Agreement and the policies and procedures adopted by ICANN.</p>\r\n<p style=\"text-align: justify;\">You agree that Azure is not lending you access to its registrar connections or its registry access, nor will you be deemed to be a registrar in your own right. Furthermore, you agree you will not attempt to gain access to Azure's registrar connections or registry access. You agree to provide complete, accurate and current data for each registrant to be added to a registry in accordance with ICANN requirements for inclusion in the Whois database.</p>\r\n<p style=\"text-align: justify;\">You agree to provide your customers with adequate customer support, and to maintain contact with them with regard to providing a medium for them to communicate changes in the information they provided as part of the domain name registration process. Upon receiving corrected or updated information you will, within five (5) business days, provide such information to Azure so Azure may update its registration records. You will retain copies of all communications between you and your customers and will upon request provide Azure copies of same.</p>\r\n<p style=\"text-align: justify;\"><strong>8. YOUR OBLIGATIONS; SUSPENSION OF SERVICES; BREACH OF AGREEMENT</strong></p>\r\n<p style=\"text-align: justify;\">You represent and warrant to the best of your knowledge that, neither the registration of the domain nor the manner it is directly or indirectly used, infringes the legal rights of any third party.&nbsp; You will comply with all applicable laws, including, but not limited to those relating to privacy, data collection, consumer protection, fair lending, debt collection, organic farming, and disclosure of data and financial disclosures.&nbsp; If you collect and maintain sensitive health and financial data, you must implement reasonable and appropriate security measures commensurate with the offering of those services, as defined by applicable law.&nbsp; You represent that you possess any necessary authorization, charter, license, and/or other related credential for participation in the sector associated with the associated registry tld string.&nbsp; You will report any material changes to the validity of your authorization, charter, license, and/or other related credential. You will indemnify and hold harmless the registrar and registry operator, and their directors, officers, employees and agents, from and against any and all claims, damages, liabilities, costs and expenses (including reasonable legal fees and expenses) arising out of or related to the domain name registration.&nbsp; This obligation shall survive expiration or termination of this Agreement or the domain name registration.</p>\r\n<p style=\"text-align: justify;\">You agree that, in addition to other events set forth in this Agreement:</p>\r\n<ol style=\"text-align: justify;\">\r\n<li>Your ability to use any of the services provided by Azure is subject to cancellation or suspension in the event there is an unresolved breach of this Agreement and/or suspension or cancellation is required by any policy now in effect or adopted later by ICANN;</li>\r\n<li>Your registration of any domain names shall be subject to suspension, cancellation or transfer pursuant to any ICANN&nbsp;adopted specification or policy, or pursuant to any Azure procedure not inconsistent with an ICANN adopted specification or policy (a) to correct mistakes by Azure or the registry operator in registering any domain name; or (b) for the resolution of disputes concerning any domain name.</li>\r\n</ol>\r\n<p style=\"text-align: justify;\">You acknowledge and agree that Azure and registry reserve the right to deny, cancel or transfer any registration or transaction, or place any domain name(s) on registry lock, hold or similar status, as either deems necessary, in the unlimited and sole discretion of either Azure or the registry: (i) to comply with specifications adopted by any industry group generally recognized as authoritative with respect to the Internet (e.g., RFCs), (ii) to correct mistakes made by registry or any registrar in connection with a domain name registration, (iii) for the non-payment of fees to registry, (iv) to protect the integrity and stability of the registry, (v) to comply with any applicable court orders, laws, government rules or requirements, requests of law enforcement, or any dispute resolution process, (vi) to comply with any applicable ICANN rules or regulations, including without limitation, the registry agreement, (vii) to avoid any liability, civil or criminal, on the part of registry operator, as well as its affiliates, subsidiaries, officers, directors, and employees, (viii) per the terms of this Agreement, (ix) following an occurrence of any of the prohibited activities described in Section 8 below, or (x) during the resolution of a dispute.</p>\r\n<p style=\"text-align: justify;\">You agree that your failure to comply completely with the terms and conditions of this Agreement and any Azure rule or policy may be considered by Azure to be a material breach of this Agreement and Azure may provide you with notice of such breach either in writing or electronically (i.e. email). In the event you do not provide Azure with material evidence that you have not breached your obligations to Azure within ten (10) business days, Azure may terminate its relationship with you and take any remedial action available to Azure under the applicable laws. Such remedial action may be implemented without notice to you and may include, but is not limited to, cancelling the registration of any of your domain names and discontinuing any services provided by Azure to you. No fees will be refunded to you should your Services be cancelled or terminated because of a breach.</p>\r\n<p style=\"text-align: justify;\">Azure's failure to act upon or notify you of any event, which may constitute a breach, shall not relieve you from or excuse you of the fact that you have committed a breach.</p>\r\n<p style=\"text-align: justify;\"><strong>9. RESTRICTION OF SERVICES; RIGHT OF REFUSAL</strong></p>\r\n<p style=\"text-align: justify;\">You agree not to use the services provided by Azure, or to allow or enable others, to use the services provided by Azure for the purposes of:</p>\r\n<ul style=\"text-align: justify;\">\r\n<li>The transmission of unsolicited email (Spam); and</li>\r\n<li>Repetitive, high volume inquires into any of the services provided by Azure (i.e. domain name availability, etc.).</li>\r\n</ul>\r\n<p style=\"text-align: justify;\">You acknowledge and agree that you are prohibited from distributing malware, abusively operating botnets, phishing, piracy, trademark or copyright infringement, fraudulent or deceptive practices, counterfeiting or otherwise engaging in activity contrary to applicable law, and you acknowledge and agree that the consequences for such activities include suspension of the domain name.</p>\r\n<p style=\"text-align: justify;\">If you are hosting your domain name system (&ldquo;<span style=\"text-decoration: underline;\">DNS</span>&rdquo;) on Azure&rsquo;s servers, or are using our systems to forward a domain name, URL, or otherwise to a system or site hosted elsewhere, or if you have your domain name registered with Azure, you are responsible for ensuring there is no excessive overloading on Azure&rsquo;s servers. You may not use Azure&rsquo;s servers and your domain name as a source, intermediary, reply to address, or destination address for email denial-of-service attack, Internet packet flooding, packet corruption, or other abusive attack. Server hacking or other perpetration of security breaches is prohibited. You agree that Azure reserves the right to deactivate your domain name from its DNS if Azure deems it is the recipient of activities caused by your site that threaten the stability of its network.</p>\r\n<p style=\"text-align: justify;\">You agree that Azure, in its sole discretion and without liability to you, may refuse to accept the registration of any domain name. Azure also may in its sole discretion and without liability to you delete the registration of any domain name during the first thirty (30) days after registration has taken place. Azure may also cancel the registration of a domain name, after thirty (30) days, if that name is being used, as determined by Azure in its sole discretion, in association with spam or morally objectionable activities. Morally objectionable activities will include, but not be limited to:</p>\r\n<ul style=\"text-align: justify;\">\r\n<li>Activities prohibited by the laws of the United States and/or foreign territories in which you conduct business;</li>\r\n<li>Activities designed to encourage unlawful behavior by others, such as hate crimes, terrorism and child pornography;&nbsp;and</li>\r\n<li>Activities designed to harm or use unethically minors in any way.</li>\r\n</ul>\r\n<p style=\"text-align: justify;\">In the event Azure refuses a registration or deletes an existing registration during the first thirty (30) days after registration, you will receive a refund of any fees paid to Azure in connection with the registration either being cancelled or refused. In the event Azure deletes the registration of a domain name being used in association with spam or morally objectionable activities, no refund will be issued.</p>\r\n<p style=\"text-align: justify;\"><strong>10. DEFAULT SETTINGS; PARKED PAGE</strong></p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">Choosing Your Domain Name Settings</span>.&nbsp; When you register a domain name with Azure, you will be prompted to choose your domain name settings during the checkout process.&nbsp; If you plan on using another provider for your website or hosting needs, then you should enter the name servers of such provider when you choose your domain name settings.&nbsp; This will direct your domain name away from Azure&rsquo;s name servers.&nbsp; If you are an existing Azure customer and have already set up a customer profile designating your domain name settings for new domain name registrations, you will not need to complete this step again during the checkout process. &nbsp;&nbsp;</p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">Azure&rsquo;s Default Settings</span>.&nbsp; If you do not direct your domain name away from Azure&rsquo;s name servers as described above, Azure will direct your domain name to&nbsp;a &ldquo;<span style=\"text-decoration: underline;\">Parked Page</span>&rdquo; (&ldquo;<span style=\"text-decoration: underline;\">Default Setting</span>&rdquo;).&nbsp; You acknowledge and agree that Azure has the right to set the Default Setting.&nbsp;</p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">Parked Page Default Setting</span>.&nbsp; Azure&rsquo;s Parked Page service is an online domain monetization system designed to generate revenue (through the use of pay per click advertising) from domain names that are not actively being used as websites.&nbsp; If your domain name is directed to a Parked Page, you acknowledge and agree that Azure may display both (a) in-house advertising (which includes links to Azure products and services) and (b) third-party advertising (which includes links to third-party products and services) on your Parked Page through the use of pop-up or pop-under browser windows, banner advertisements, audio or video streams, or any other advertising means, and we may aggregate for our own use, related usage data by means of cookies and other similar means.&nbsp; In addition, you acknowledge and agree that all in-house and third-party advertising will be selected by Azure and its advertising partners, as appropriate, and you will not be permitted to customize the advertising, or entitled to any compensation in exchange therefor.&nbsp; Please note that the third-party advertising displayed on Azure&rsquo;s Parked Pages may contain content offensive to you, including but not limited to links to adult content.&nbsp; Azure makes no effort to edit, control, monitor, or restrict the content and third-party advertising displayed on Azure&rsquo;s Parked Pages, and expressly disclaims any liability or responsibility to you or any third party in connection therewith.</p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">Changing Azure&rsquo;s Default Settings</span>.&nbsp; You may change Azure&rsquo;s Default Settings at any time during the term of your domain name registration.</p>\r\n<ol style=\"text-align: justify;\">\r\n<li><span style=\"text-decoration: underline;\">Content Displaying On Your Parked Page</span>.&nbsp;&nbsp;You&nbsp;can not&nbsp;modify the content displaying on your Parked Page.&nbsp; You may select one of the other options listed below.</li>\r\n<li><span style=\"text-decoration: underline;\">Participating In Domain Name Monetization</span>.&nbsp; If you wish to participate in the domain monetization potential presented by Azure&rsquo;s Parked Page service, please review and consider purchasing our CashParking&reg; service.&nbsp; &nbsp;</li>\r\n<li><span style=\"text-decoration: underline;\">No Content</span>.&nbsp; If the options listed above are not acceptable to you, please contact customer support to learn what other options might be available to you.</li>\r\n</ol>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">Return To Parked Page Default Setting Upon Domain Name Expiration</span>.&nbsp; Upon domain name expiration, and regardless of how you use your domain name during the term of your domain name registration, your domain name will automatically return to the Parked Page Default Setting described above.&nbsp; As used in this paragraph, &ldquo;expiration&rdquo; is deemed to include any &ldquo;renewal period&rdquo; or &ldquo;redemption period&rdquo; immediately after the domain name expires, but before the domain name is returned to the registry.&nbsp; Once your domain name has returned to the Parked Page Default Setting described above, the only way to opt out of the Parked Page service is to renew, redeem, or re-register your domain name in accordance with Section 2(B), Domain Name Renewal Terms, of this Agreement.&nbsp;&nbsp;&nbsp;</p>\r\n<p style=\"text-align: justify;\"><strong>11. DOMAIN ADD-ONS</strong></p>\r\n<p style=\"text-align: justify;\"><strong>Business Registration:&nbsp;&nbsp;</strong>Business registration allows You to display additional information about the business that is the basis of Your domain name, including, but not limited to, such information as Your fax number, street address, and hours of operation. </product-offering></p>\r\n<p style=\"text-align: justify;\"><strong>Certified Domains</strong>.&nbsp; The certified domain service generally allow You to:&nbsp;(i) put a Certified Domain Validation seal on Your website; and (ii) have Your domain name listed as \"Certified\", in WHOIS lookups on our website. &nbsp;&nbsp;The Certified Domain Validation seal renews independently of Your domain. When You renew Your domain, You must also, when necessary, separately renew Your Certified Validation seal. However, the Certified Domain Validation seal can be cancelled independently of Your domain. If the domain is cancelled, the Certified Domain associated with the cancelled domain will automatically cancel.&nbsp; The Certified Domain seal is a trademark and is protected by copyright, trademark and other intellectual property laws. You may use the Certified Domain seal only in conjunction with the purchase of the Services set forth in the Agreement, and subject to the terms and conditions hereof. Other than provided for in this Agreement, You may not otherwise use, reproduce, or modify the mark for any additional promotional use, without our prior written approval. Your right to the use of the Certified Domain seal is immediately terminated upon expiration or termination of this Agreement.</product-offering></p>\r\n<p style=\"text-align: justify;\"><strong>Expiration Consolidation.</strong>&nbsp; You understand and acknowledge the expiration consolidation service may only be used to consolidate the expiration of .com and .net domain names. The service may not be used to consolidate domains that are on Registrar HOLD, Registry HOLD, or pending Transfer status. You acknowledge the service may only be used to push the expiration date of Your domains forward in time, at least one (1) month forward and no more than ten (10) years forward, and then, only for a period lasting less than twelve (12) months. Once the service has been used to consolidate domains, the new expiration date may not be reversed. To ensure the service is not abused or used as an alternative to renewals, you may only use the service on each domain once in any 12-month period. The service may only be used on domain names that have not passed their expiration date. In order to change the expiration date again, You will be required to renew the domain name first.&nbsp; You further understand and acknowledge the service may only be used to coordinate domains where we are the registrar of record. Domains not registered with us must be transferred before we can perform the Service.&nbsp;</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"><strong>Backordering/Monitoring</strong>.&nbsp; You agree a domain name that has expired shall be subject first to a grace period of twelve (12) days, followed by the ICANN-mandated&nbsp;redemption grace period of thirty (30) days. During this period of time, the current domain name registrant may renew the domain name and retain ownership. We do not guarantee your backorder will result in you obtaining the domain name and expressly reserves the right to (a) refuse additional backorders or (b) cancel existing backorders at any time for any reason.&nbsp; If your backorder is refused or cancelled,&nbsp;we agree to promptly refund any fees paid for such domain name backorder. The domain name may also be placed in a secondary market for resale through the Auctions&reg; service.&nbsp; After your first year of Auctions membership, you agree that unless otherwise advised, we will automatically renew your Auctions membership using the payment method you have on file for so long as your backorder credit is active. You may learn more about Auctions by visiting the Auctions website. The domain name may also be subject to a drop pool process before it is available for purchasing. You understand&nbsp;we and our registrar affiliates use our services, including backordering.&nbsp; Therefore, the domain name may be registered with a different registrar, but can be managed through your account.&nbsp; By using the Services, you will be able to, among other things:</p>\r\n<ol style=\"text-align: justify;\">\r\n<li>Backorder any domain name under the top level domains .COM, .NET, .US, .BIZ, .INFO, .ORG, .MOBI. A backorder for a domain name will include the price of up to a one-year domain name registration. Should you successfully backorder any domain name, you will be subject to the terms and conditions of the&nbsp;Domain Name Registration&nbsp;and related agreements, which are incorporated herein by reference.</li>\r\n<li>Change your backorder until you obtain a domain name. You will have the opportunity to change the credit to a different domain name until you successfully capture one. After three (3) years, if the credit is not used, we reserves the right to remove the credit.</li>\r\n<li>Subscribe monthly to an expiring domain name list. You may also choose to purchase a subscription to a list of domain names expiring within the next five (5) days. If you subscribe to the expiring domain name list, you agree the payment method you have on file may be charged on a monthly subscription basis for the term of the Services you purchase.</li>\r\n<li>Select domain names off the expiring domain name list you would like to register. Each domain name you attempt to backorder will include the price of up to a one-year domain name registration, as set forth in subsection (i) above.</li>\r\n<li>Monitor your currently registered domain names for changes in registrar, status, expiration date or name servers at no additional cost.</li>\r\n<li>Subscribe to Domain Alert Pro or monitoring, which enables you to monitor any currently registered domain name, regardless of registrar, for historical tracking of status changes and designation of multiple email notification addresses.</li>\r\n</ol>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"><strong>Transfer Validation.</strong>&nbsp;The transfer validation service is provided to help You keep Your domain name secure. By choosing to use the service, You are making an explicit and voluntary request to us to deny all attempts to transfer Your domain name to another registrar, or to move Your domain name to another account, unless You verify each request as described herein. You will provide us with a contact name, phone number and PIN for domain transfer validations. You will be contacted by us when a domain transfer is requested for a domain name in Your account. When we receive a transfer request, we will call You to verify the transfer request. If we cannot reach You with seventy-two (72) hours of receipt of the transfer request, the transfer will be denied. If You do not provide the proper PIN, the transfer will be denied. When we receive a change of account request, we will call You to verify the change request. If we cannot reach You with seventy-two (72) hours of receipt of the change request, the change will be denied. If You do not provide the proper PIN, the change will be denied. Availability of Services are subject to the terms and conditions of this Agreement and each of our policies and procedures. We shall use commercially reasonable efforts to attempt to provide certain portions of the Services on a twenty-four (24) hours a day, seven (7) days a week basis throughout the term of this Agreement and other portions of the service, during normal business hours. You acknowledge and agree that from time to time the Services may be inaccessible or inoperable for any reason, including, without limitation: (i) equipment malfunctions; (ii) periodic maintenance procedures or repairs that we may undertake from time to time; or (iii) causes beyond the reasonable control of us or that are not reasonably foreseeable by us, including, without limitation, interruption or failure of telecommunication or digital transmission links, hostile network attacks, network congestion or other failures. You acknowledge and agree that we has no control over the availability of the service on a continuous or uninterrupted basis.</p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"><strong>12. PRE-REGISTRATIONS</strong></p>\r\n<p style=\"text-align: justify;\">If you submit an application for pre-registration of a domain name, Azure does not guarantee that the name will be secured for you, or that you will have immediate access to the domain name if secured.&nbsp; Azure may use third-party service providers for the pre-registration services.</p>\r\n<p style=\"text-align: justify;\"><strong>13. PROVISIONS SPECIFIC TO .BIZ REGISTRATIONS</strong></p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Domain Name Dispute Policy</span></em>.&nbsp;&nbsp;If you reserved or registered a .BIZ domain name through us, in addition to our Dispute Resolution Policy, you hereby acknowledge that you have read and understood and agree to be bound by the terms and conditions of the&nbsp;<a href=\"http://www.icann.org/en/help/dndr/rdrp\" target=\"_blank\">Restrictions Dispute Resolution Policy</a>&nbsp;applicable to the .biz TLD.</p>\r\n<p style=\"text-align: justify;\">The RDRP sets forth the terms under which any allegation that a domain name is not used primarily for business or commercial purposes shall be enforced on a case-by-case basis by an independent ICANN-accredited dispute provider. Registry Operator will not review, monitor, or otherwise verify that any particular domain name is being used primarily for business or commercial purposes or that a domain name is being used in compliance with the SUDRP or UDRP processes.</p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">One Year Registration</span></em>.&nbsp; If you are registering a .BIZ domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .BIZ domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .BIZ domain name during the first year, you will automatically be charged the second year renewal fees. </p>\r\n<p style=\"text-align: justify;\"><show-only pl_id=\"GD\"></p>\r\n<p style=\"text-align: justify;\"><strong>14. PROVISIONS SPECIFIC TO .INFO REGISTRATIONS&nbsp;</strong></p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">One Year Registration</span></em>.&nbsp; If you are registering a .INFO domain name and you elect to take advantage of special pricing applicable to one-year registrations, we will automatically renew your domain name for an additional one-year period at the end of the first year term by taking payment from the Payment Method you have on file, unless you notify us that you do not wish to renew. You will be notified and given the opportunity to accept or decline the one-year renewal prior to your domain name expiration date. In the event you decide not to renew your one-year .INFO domain name for a second year, your domain name registration will automatically revert back to us and we will gain full rights of registration to such domain name. You agree that if you delete or transfer your .INFO domain name during the first year, you will automatically be charged the second year renewal fees. </p>\r\n<p style=\"text-align: justify;\"><strong>15. PROVISIONS SPECIFIC TO .MOBI REGISTRATIONS&nbsp;</strong></p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Instant Mobilizer</span></em><span style=\"text-decoration: underline;\">.</span>&nbsp;You are hereby granted a personal, revocable, non-exclusive, non-transferable, non-assignable, non-sublicensable license to use the Instant Mobilizer service (&ldquo;Service&rdquo;), provided, however, You abide by the terms and conditions set forth. You shall not alter, modify, adapt or translate the whole or part of the Service in any way whatsoever. You may not create derivative works based on the Service. You may not rent, lease, assign, dispose of, novate, sub-license or otherwise transfer any of its rights to use the Service to any third party.&nbsp; In the event that the volume of traffic to You from Your use of the Service is sufficient so as to jeopardize the provision of Service for other end users, we and our licensors reserve the right to, at its sole discretion, permanently or temporarily, discontinue Your use of the Service. For the avoidance of doubt, the volume of traffic generated by You should not exceed two thousand (2,000) page views per day.&nbsp; You acknowledge and agree the text \"Instant Mobilizer from dotMobi\" or equivalent, will be inserted at the footer of Your site.&nbsp; In the event a dotMobi domain to which the Service is being provided is transferred to another domain name registrar, the Service will be interrupted on that dotMobi domain, and Service will not be restored if the new registrar does not offer the Service.&nbsp; </p>\r\n<p style=\"text-align: justify;\"><show-only pl_id=\"GD\"></p>\r\n<p style=\"text-align: justify;\"><strong>16. PROVISIONS SPECIFIC TO .NAME REGISTRATIONS&nbsp;</strong></p>\r\n<p style=\"text-align: justify;\"></p>\r\n<p style=\"text-align: justify;\"><strong>17.&nbsp;PROVISIONS SPECIFIC TO .REISE REGISTRATIONS</strong></p>\r\n<p style=\"text-align: justify;\">Domain Names registered in .REISE should be used for purposes dedicated to travel topics within six months following initial Registration, e.g. utilized on the Internet or otherwise used to perform a function.</p>\r\n<p style=\"text-align: justify;\"><strong>18.&nbsp;PROVISIONS SPECIFIC TO .SEXY REGISTRATIONS</strong></p>\r\n<p style=\"text-align: justify;\">You shall not permit content unsuitable for viewing by a minor to be viewed from the main or top-level directory of a .SEXY domain name. For purposes of clarity, content viewed at the main or top-level directory of a .SEXY domain name is the content immediately visible if a user navigates to http://example.sexy or http://www.example.sexy. No restrictions apply to the content at any other page or subdirectory addressed by a .SEXY Registered Name.&nbsp;</p>\r\n<p style=\"text-align: justify;\"><strong>19. COUNTRY CODE TOP LEVEL DOMAINS</strong></p>\r\n<p style=\"text-align: justify;\">You represent and warrant that you meet the eligibility requirements of each ccTLD you apply for. You further agree to be bound by any registry rules, policies, and agreements for that particular ccTLD. These may include, but are not limited to, agreeing to indemnify the ccTLD provider, limiting the liability of the ccTLD provider, and requirements that any disputes be resolved under that particular country's laws.</p>\r\n<p style=\"text-align: justify;\"><strong><em>(A)&nbsp;PROVISIONS SPECIFIC TO .AU REGISTRATIONS</em></strong><strong>&nbsp;</strong></p>\r\n<p style=\"text-align: justify;\">.au Registrations (to include com.au, net.au and org.au) are governed by the following additional terms and conditions:</p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">auDA</span>. auDA means .au Domain Administration Limited ACN 079 009 340, the .au domain names administrator.&nbsp; The Registrar acts as agent for auDA for the sole purpose, but only to the extent necessary, to enable auDA to receive the benefit of rights and covenants conferred to it under this Agreement. auDA is an intended third party beneficiary of this agreement.</p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">auDA Published Policy</span>.&nbsp; auDA Published Policies means those specifications and policies established and published by auDA from time to time at&nbsp;<a href=\"http://www.auda.org.au/\">http://www.auda.org.au</a>.&nbsp; You must comply with all auDA Published Policies, as if they were incorporated into, and form part of, this Agreement. In the event of any inconsistency between any auDA Published Policy and this Agreement, then the auDA Published Policy will prevail to the extent of such inconsistency.&nbsp; You acknowledge that under the auDA Published Policies: (1) there are mandatory terms and conditions that apply to all domain names; (2) licences, and such terms and conditions are incorporated into, and form part of, this Agreement; (3) You are bound by, and must submit to, the .au Dispute Resolution Policy; and (4) auDA may delete or cancel the registration of a .au domain name.<strong>&nbsp;</strong></p>\r\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">auDA's Liabilities and Indemnity</span>.&nbsp; To the fullest extent permitted by law, auDA will not be liable to Registrant for any direct, indirect, consequential, special, punitive or exemplary losses or damages of any kind (including, without limitation, loss of use, loss or profit, loss or corruption of data, business interruption or indirect costs) suffered by Registrant arising from, as a result of, or otherwise in connection with, any act or omission whatsoever of auDA, its employees, agents or contractors. Registrant agrees to indemnify, keep indemnified and hold auDA, its employees, agents and contractors harmless from all and any claims or liabilities, arising from, as a result of, or otherwise in connection with, Registrant's registration or use of its .au domain name. Nothing in this document is intended to exclude the operation of Trade Practices Act 1974.</p>\r\n<p style=\"text-align: justify;\"><strong><em>(B) PROVISIONS SPECIFIC TO .CA REGISTRATIONS</em></strong><strong></strong></p>\r\n<p style=\"text-align: justify;\">You acknowledge and agree that registration of your selected domain name in your first application to CIRA shall not be effective until you have entered into and agreed to be bound by CIRA's Registrant Agreement.</p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">CIRA Certified Registrar</span></em>.&nbsp; The registrar shall immediately give notice to you in the event that it is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated, or the Registrar Agreement between CIRA and the Registrar is terminated or expires. CIRA may post notice of such suspension, termination, or expiry on its website and may, if CIRA deems appropriate, give notice to the registrants thereof. In the event that the registrar is no longer a CIRA Certified Registrar, has had its certification as a CIRA Certified Registrar suspended or terminated or in the event the Registrar Agreement between CIRA and the Registrar is terminated or expires, you shall be responsible for changing your Registrar of Record to a new CIRA Certified Registrar within thirty (30) days of the earlier of notice thereof being given to you by (i) the Registrar or (ii) CIRA in accordance with CIRA's then current Registry PRP; provided, however, that if any of your domain name registrations are scheduled to expire within thirty (30) days of the giving of such notice, then you shall have thirty (30) days from the anniversary date of the registration(s), to register with a new CIRA certified registrar and to renew such domain name registration(s) in accordance with the Registry PRP.</p>\r\n<p style=\"text-align: justify;\">You acknowledge and agree that should there be insufficient funds prepaid by the registrar in the CIRA Deposit Account to be applied in payment of any fees, CIRA may in its sole discretion stop accepting applications for domain name registrations from the registrar, stop effecting registrations of domain names and transfers, renewals, modifications, and cancellations requested by the registrar and stop performing other billable transactions requested by the registrar not paid in full and CIRA may terminate the Registrar Agreement between CIRA and the Registrar.</p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">.CA ASCII and IDN domain variants</span></em><em>&nbsp;</em>are bundled and reserved for a single registrant.&nbsp; Registrants are not required to register all variants in a bundle, but all registered variants must be registered and managed at a single registrar. Each variant registered will incur a registration fee.&nbsp; In addition, when registering multiple .CA domain (ASCII and IDN) variants in a bundle, your registrant information&nbsp;<strong><span style=\"text-decoration: underline;\">must be identical</span></strong>.&nbsp; If variants are registered at other registrars or if registrant information does not match, it may result in an \"unavailable\" search result, delayed or failed registration. If information does not match, validation is required and may take up to seven business days and delay availability of domain.&nbsp;</p>\r\n<p style=\"text-align: justify;\"><strong><em>(C)&nbsp;PROVISIONS SPECIFIC TO .CN REGISTRATIONS</em></strong><strong>&nbsp;</strong></p>\r\n<p style=\"text-align: justify;\">.CN is a restricted TLD &ndash; applications are subject to both a domain name check <strong><span style=\"text-decoration: underline;\">and</span></strong> real name verification as required by the China.&nbsp; Registrations in .CN are therefore subject to the following additional terms:</p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Verification, Registration and Activation</span></em><em>.</em>&nbsp;&nbsp;If a domain name is not permitted to be registered by the Chinese government, as determined by us, the Registry Operator and/or a 3<sup>rd</sup>&nbsp;party provider utilized for such services and determinations, in either party&rsquo;s discretion, the application for registration will not be successful.&nbsp; In such event, the name will be deleted and you will be eligible for a refund as further described below.</p>\r\n<p style=\"text-align: justify;\">If permitted, then the Registration may proceed, but a .CN domain name may not be activated (i.e., it will not resolve in the Internet) <em><span style=\"text-decoration: underline;\">unless and until</span></em> you have submitted (via the process described during registration) valid documents required of us and the Registry to perform real name verification.&nbsp; The following are acceptable forms of documents for the purpose of verification:</p>\r\n<ul style=\"text-align: justify;\">\r\n<li>China: Resident ID, temporary resident ID, business license or organization code certificate</li>\r\n<li>Hong Kong Special Administrative Region/Macao Special Administrative Region: Resident ID, driver&rsquo;s license, passport or business license</li>\r\n<li>Singapore: Driver&rsquo;s license, passport or business license</li>\r\n<li>Taiwan: Resident ID, driver&rsquo;s license or business license</li>\r\n<li>Other Countries/Regions: Driver&rsquo;s license or passport</li>\r\n</ul>\r\n<p style=\"text-align: justify;\">Documents submitted to us&nbsp;are used by us and shared with the Registry solely for the purpose of real name verification, and are otherwise subject to our <a href=\"http://www.securepaynet.net/agreements/ShowDoc.aspx?pageid=privacy&amp;prog_id=510456\">Privacy Policy</a>. &nbsp;By registering a .CN domain, you expressly agree that your data may be stored on servers in the U.S., or otherwise outside of the China.</p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Refunds</span></em><em>.</em>&nbsp; Refunds for .CN Registrations will only be allowed where (i) registration of the applied for domain name is not permitted by the Chinese government; or (ii) you notify us of your intent to cancel for any reason within the first five (5) days after the Registration (i.e., after it is deemed permissible by the Chinese government).&nbsp; For the avoidance of doubt, refunds will not be permitted under any circumstances after five (5) days from the date of Registration, including, for example, in the event real name verification is not successful or if the Chinese government determines after Registration that the domain name should not have been registered (and directs us to delete).</p>\r\n<p style=\"text-align: justify;\"><strong><em>(D) PROVISIONS SPECIFIC TO .JP REGISTRATIONS</em></strong><strong></strong></p>\r\n<p style=\"text-align: justify;\"><em><span style=\"text-decoration: underline;\">Registration Restrictions</span></em>.&nbsp; You represent and warrant that you have a local presence in Japan with a home or office address. You agree that certain domain names are reserved and can only be registered by certain parties. These include: (i) TLDs, other than ccTLDs, as determined by ICANN; (ii) geographical-type .JP domain names that are defined as metropolitan, prefectural, and municipal labels; (iii) names of primary and secondary educational organizations; (iv) names of organizations related to Internet management; (v) names required for .JP domain name operations; and (vi) character strings which may be confused with ASCII-converted Japanese domain names. The complete list of .JP Reserved Domains is available&nbsp;<a href=\"http://www.nic.ad.jp/dotjp/doc/dotjp-reserved.html\" target=\"_blank\">here</a>.&nbsp;</p>\r\n<p style=\"text-align: justify;\"><strong>20. ENGLISH LANGUAGE CONTROLS</strong></p>\r\n<p style=\"text-align: justify;\">This Agreement, along with all policies and the applicable product agreements identified above and incorporated herein by reference (collectively, the &ldquo;Agreement&rdquo;), is executed in the English language. To the extent any translation is provided to you, it is provided for convenience purposes only, and in the event of any conflict between the English and translated version, where permitted by law, the English version will control and prevail. Where the translated version is required to be provided to you and is to be considered binding by law (i) both language versions shall have equal validity, (ii) each party acknowledges that it has reviewed both language versions and that they are substantially the same in all material respects, and (iii) in the event of any discrepancy between these two versions, the translated version may prevail, provided that the intent of the Parties has been fully taken into consideration.&nbsp;</p>\n</td></tr>\n<tr><td>\n<br />\n<span class=\"finePrint\">\nRevised: 10/6/17<br />\nCopyright &copy; 2000-2017  All Rights Reserved.\n</span>\n</td></tr>\n</tbody>\n</table>\n</td></tr>\n</tbody>\n</table>"),
	// 			Title: to.Ptr("Domain Name Registration Agreement"),
	// 			URL: to.Ptr("http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=reg_sa&pl_id=510456"),
	// 		},
	// 		{
	// 			AgreementKey: to.Ptr("DNPA"),
	// 			Content: to.Ptr("<table width=\"100%\">\n<tbody>\n<tr><td width=\"100\"></td><td></td></tr>\n<tr><td></td><td>\n<table>\n<tbody>\n<tr><th align=\"left\" class=\"EULATitle\">\nDomain Name Proxy Agreement\n</th></tr>\n<tr><td class=\"bodyText\">\n<p><strong>Last Revised: October 25, 2017</strong></p>\n<p>Please read this Domain Name Proxy Agreement (\"Agreement\") carefully. By using the Services and/or website of Domains By Proxy, LLC, a Delaware limited liability company (\"DBP\"), You (as defined below) agree to all the terms and conditions set forth both herein and in the DBP privacy policy, which is incorporated by reference and can be found by clicking <a href=\"http://www.domainsbyproxy.com/policy/ShowDoc.aspx?pageid=privacy\" target=\"_blank\">here</a>.&nbsp; You acknowledge that DBP may amend this Agreement at any time upon posting the amended terms on its website, and that any new, different or additional features changing the services provided by DBP will automatically be subject to this Agreement. If You do not agree to be bound by, or if You object to, the terms and conditions of this Agreement and any amendments hereto, do not use or access DBP's services. Continued use of DBP's services and its website after any such changes to this Agreement have been posted, constitutes Your acceptance of those changes.</p>\r\n<p>This Agreement is by and between DBP and you, your heirs, assigns, agents and contractors (\"You\") and is made effective as of the date of electronic execution. This Agreement sets forth the terms and conditions of Your relationship with DBP and Your use of DBP's services and represents the entire Agreement between You and DBP. By using DBP's Services, You acknowledge that You have read, understand and agree to be bound by all the terms and conditions of this Agreement, and You further agree to be bound by the terms of this Agreement for transactions entered into by:</p>\r\n<ol>\r\n<li>You on Your behalf;</li>\r\n<li>Anyone acting as Your agent; and</li>\r\n<li>Anyone who uses the account You have established with DBP, whether or not the transactions were on Your behalf and/or authorized by You.</li>\r\n</ol>\r\n<p>You agree You will be bound by representations made by third parties acting on Your behalf, which either use or&nbsp;purchase services from DBP.&nbsp;You further agree that DBP will not be bound by statements of a general nature on DBP's website or&nbsp;DBP promotional materials. You further agree to abide by the terms and conditions promulgated by the Internet Corporation for Assigned Names and Numbers (\"ICANN\") (including the Uniform Domain Name Dispute Resolution Policy (\"Dispute Resolution Policy\") and Your Registrar (i.e., the ICANN-accredited person or entity through which You register a domain name).</p>\r\n<p class=\"heading1\">1. description of DBP's private registration services</p>\r\n<p>When You subscribe to DBP's private registration service through a DBP-affiliated Registrar, DBP will display its contact information in the publicly available \"Whois\" directory in place of Your information. DBP shall keep Your name, postal address, email address, phone and fax numbers confidential, subject to Section 4 of this Agreement. The following&nbsp;information (and not Your personal information) will be made publicly available in the \"Whois\" directory as determined by ICANN policy:</p>\r\n<ol>\r\n<li>DBP's name as the proxy Registrant of the domain name&nbsp;and a proxy email&nbsp;address, phone number and postal address for the proxy Registrant's contact information;</li>\r\n<li>A proxy&nbsp;postal address and phone number for the domain name registration's technical contact;</li>\r\n<li>A proxy&nbsp;email address, postal address and phone number for the domain name registration's administrative contact;</li>\r\n<li>A proxy email address, postal address and phone number for the domain's name registration's billing contact;</li>\r\n<li>The primary and secondary domain name servers You designate for the domain name;</li>\r\n<li>The domain name's original date of registration and expiration date of the registration; and</li>\r\n<li>The identity of the Registrar.</li>\r\n</ol>\r\n<p class=\"heading1\">2. full benefits of domain registration retained by you</p>\r\n<p>Although DBP will show in the \"Whois\" directory as&nbsp;the Registrant of each domain name registration You designate, You will retain the full benefits of domain name registration with respect to each such domain name registration, including, subject to Section 4 below:</p>\r\n<ol>\r\n<li>The right to sell, transfer or assign each domain name registration, which shall require cancellation of the DBP services associated with each such domain name registration;</li>\r\n<li>The right to control the use of each domain name registration, including designating the primary and secondary domain name servers to which each domain name points;</li>\r\n<li>The right to cancel each domain name registration;</li>\r\n<li>The right to cancel the DBP services associated with each domain name registration and/or Your&nbsp;privacy services with DBP so that Your contract information is listed in the \"Whois\" directory; and</li>\r\n<li>The right to renew each domain name registration upon its expiration, subject to Your Registrar's applicable rules and policies.</li>\r\n</ol>\r\n<p class=\"heading1\">3. PERSONAL INFORMATION AND your notification obligations; representation and warranties; ACCOUNT SECURITY</p>\r\n<p><strong>Personal Information&nbsp;and Your Notification Obligations&nbsp;</strong></p>\r\n<p>You agree that for each domain name for which you use DBP services, You will provide accurate and current information as to:</p>\r\n<ol>\r\n<li>Your name, the email address,&nbsp;postal address, phone and fax numbers for the domain name registration's Registrant contact;</li>\r\n<li>The email address, postal address, phone and fax numbers for the domain name registration's technical contact;</li>\r\n<li>The email address, postal address, phone and fax numbers for the domain name registration's administrative contact;</li>\r\n<li>The email address, postal address, phone and fax numbers for the domain name registration's billing contact; and</li>\r\n<li>You agree to provide government issued photo identification and/or government issued business identification as required for verification of identity when requested.</li>\r\n</ol>\r\n<p>You agree to:</p>\r\n<ol>\r\n<li>Notify DBP within&nbsp;three (3) calendar days when any of the personal information You provided upon subscribing to DBP's services, changes;</li>\r\n<li>Respond within three (3)&nbsp;calendar days to any inquiries made by DBP to determine the validity of personal information provided by You; and</li>\r\n<li>Timely respond to email messages&nbsp;DBP sends to You regarding correspondence DBP has received that is either addressed to or involves You and/or Your domain name registration, as more fully set forth in Section 5(c) below.</li>\r\n<li>To allow DBP to act as your Designated Agent (as that term is defined below) in instances when DBP services are added to or cancelled from your domain name and&nbsp;for the purpose of facilitating&nbsp;a change of registrant request (as further described below).&nbsp;</li>\r\n</ol>\r\n<p>It is Your responsibility to keep Your personal information current and accurate at all times.</p>\r\n<p><strong>Renewals </strong></p>\r\n<p>You agree DBP will&nbsp;arrange for Your Registrar to charge the credit card You have on file with the Registrar, at the Registrar's then current rates.</p>\r\n<p>If for any reason DBP and/or the Registrar for Your domain name is unable to charge Your credit card for the full amount of the service provided, or if DBP and/or the Registrar is charged back for any fee it previously charged to the credit card You provided, You agree that DBP and/or the Registrar may, without notice to You, pursue all available remedies in order to obtain payment, including but not limited to immediate cancellation of all services DBP provides to You.</p>\r\n<p><strong>Representations and Warranties </strong></p>\r\n<p>You warrant that all information provided by You to DBP is truthful, complete, current and accurate. You also warrant that You are using DBP's private registration services in good faith and You have no knowledge of Your domain name infringing upon or conflicting with the legal rights of a third party or a third party's trademark or trade name. You also warrant the domain name being registered by DBP on Your behalf will not be used in connection with any illegal activity, or in connection with the transmission of Spam, or that contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable or, disrupting, damaging or limiting the functionality of any software or hardware.</p>\r\n<p class=\"heading2\">Account Security</p>\r\n<p>You agree You are entirely responsible for maintaining the confidentiality of Your customer number/login ID&nbsp;and password (\"Account Access Information\").&nbsp; You agree to notify DBP immediately of any unauthorized use of Your account or any other breach of security.&nbsp; You agree DBP will not be liable for any loss that You may incur as a result of someone else using Your Account Access Information, either with or without Your knowledge.&nbsp; You further agree You could be held liable for losses incurred by DBP or another party due to someone else using Your Account Access Information.&nbsp; For security purposes, You should keep Account Access Information in a secure location and take precautions to prevent others from gaining access to Your Account Access Information.&nbsp; You agree that You are entirely responsible for all activity in Your account, whether initiated by You, or by others.&nbsp; DBP specifically disclaims liability for any activity in Your account, regardless of whether You authorized the activity.</p>\r\n<p><strong>Designated Agency and Change of Registrant Information</strong></p>\r\n<p>&ldquo;DESIGNATED AGENT&rdquo; MEANS AN INDIVIDUAL OR ENTITY THAT THE PRIOR REGISTRANT OR NEW REGISTRANT EXPLICITLY AUTHORIZES TO APPROVE A CHANGE OF REGISTRANT REQUEST ON ITS BEHALF.&nbsp; IN THE CASE OF DBP SERVICES, A CHANGE OF REGISTRANT REQUEST MAY ALSO ARISE&nbsp;DUE TO INSTANCES WHERE DBP SERVICES ARE ADDED, OR REMOVED, FROM A DOMAIN NAME.&nbsp;&nbsp;FOR THE PURPOSE OF&nbsp;FACILITATING ANY SUCH CHANGE REQUEST,&nbsp;AND IN ACCORDANCE WITH ICANN'S <a href=\"https://www.icann.org/resources/pages/transfer-policy-2016-06-01-en\">CHANGE OF REGISTRANT POLICY</a>, YOU AGREE TO APPOINT&nbsp;DBP AS&nbsp;YOUR DESIGNATED AGENT FOR THE SOLE PURPOSE OF&nbsp;EXPLICITLY CONSENTING TO MATERIAL CHANGES OF REGISTRATION CONTACT INFORMATION ON YOUR BEHALF.</p>\r\n<p class=\"heading1\">4. DBP's rights to deny, suspend, terminate service and to disclose your personal information</p>\r\n<p>You understand and agree that DBP has the absolute right and power, in its sole discretion and without any liability to You whatsoever, to:</p>\r\n<ol>\r\n<li>Cancel the privacy service (which means that Your information will be available in the \"Whois\" directory) and/or reveal Your name and personal information that You provided to DBP:&nbsp;&nbsp;<br />A. When required by law, in the good faith belief that such action is necessary in order to conform to the edicts of the law or in the interest of public safety; <br />B. To comply with legal process served upon DBP or in response to a reasonable threat of litigation against DBP (as determined by DBP in its sole and absolute discretion); or <br />C. To comply with ICANN rules, policies, or procedures.</li>\r\n<li>Resolve any and all third party claims, whether threatened or made, arising out of Your use of a domain name&nbsp;for which DBP is the registrant listed in the \"Whois\" directory&nbsp;on Your behalf; or</li>\r\n<li>Take any other action DBP deems necessary: <br />A. In the event you breach any provision of this Agreement or the DBP Anti-Spam Policy; <br />B.&nbsp;To protect the integrity and stability of, and to comply with registration requirements, terms, conditions and policies of, the applicable domain name Registry and/or Registry Provider;<ol><ol>C. To comply with any applicable laws, government rules or requirements, subpoenas, court orders or requests of law enforcement;&nbsp;</ol></ol>D. To comply with ICANN's Dispute Resolution Policy or ICANN's Change of Registrant Policy; <br />E. To avoid any financial loss or legal liability (civil or criminal) on the part of DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, officers, directors and employees; <br />F. If the domain name for which DBP is the registrant on Your behalf violates or infringes a third party's trademark, trade name or other legal rights; and <br />G. If it comes to DBP's attention that You are using DBP's services in a manner (as determined by DBP in its sole and absolute discretion) that:</li>\r\n</ol>\r\n<blockquote style=\"margin: 0 0 0 40px; border: none; padding: 0px;\">\r\n<ul>\r\n<li>Is illegal, or promotes or encourages illegal activity;</li>\r\n<li>Promotes, encourages or engages in child pornography or the exploitation of children;</li>\r\n<li>Promotes, encourages or engages in terrorism, violence against people, animals, or property;</li>\r\n<li>Promotes, encourages or engages in any spam or other unsolicited bulk email, or computer or network hacking or cracking;</li>\r\n<li>Violates the Ryan Haight Online Pharmacy Consumer Protection Act of 2008 or similar legislation, or promotes, encourages or engages in the sale or distribution of prescription medication without a valid prescription; &nbsp;</li>\r\n<li>Infringes on the intellectual property rights of another User or any other person or entity;</li>\r\n<li>Violates the privacy or publicity rights of another User or any other person or entity, or breaches any duty of confidentiality that you owe to another User or any other person or entity;</li>\r\n<li>Interferes with the operation of DBP services;</li>\r\n<li>Contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable of, disrupting, damaging or limiting the functionality of any software or hardware; or</li>\r\n<li>Contains false or deceptive language, or unsubstantiated or comparative claims, regarding DBP or its services.</li>\r\n</ul>\r\n</blockquote>\r\n<p>You further understand and agree that if DBP is named as a defendant in, or investigated in anticipation of, any legal or administrative proceeding arising out of Your domain name registration or Your use of DBP's services, Your private registration service may be canceled, which means the domain name registration will revert back to You and Your identity will therefore be revealed in the Whois directory as Registrant.</p>\r\n<p>In the event:</p>\r\n<ol>\r\n<li>DBP takes any of the actions set forth in subsection&nbsp;i, ii, or iii&nbsp;above or section 5; and/or</li>\r\n<li>You elect to cancel DBP's services for any reason --</li>\r\n</ol>\r\n<p>Neither DBP nor your Registrar will refund any fees paid by You whatsoever.</p>\r\n<p class=\"heading1\">5. communications forwarding</p>\r\n<p><strong>a. Correspondence Forwarding </strong></p>\r\n<p>Inasmuch as DBP's name, postal address and phone number will be listed in the Whois directory, You agree DBP will review and forward communications addressed to Your domain name that are received via email, certified or traceable courier mail (such as UPS, FedEx, or DHL), or first class U.S. postal mail. You specifically acknowledge DBP will not forward to You first class postal mail (other than legal notices), \"junk\" mail or other unsolicited communications (whether delivered through email, fax, postal mail or telephone), and You further authorize DBP to either discard all such communications or return all such communications to sender unopened. You agree to waive any and all claims arising from Your failure to receive communications directed to Your domain name but not forwarded to You by DBP.</p>\r\n<p><strong>b. Email Forwarding </strong></p>\r\n<p>The Whois directory requires an email address for every purchased domain name registration. When You purchase a private domain registration, DBP creates a private email address for that domain name, \"@domainsbyproxy.com\". Thereafter, when messages are sent to that private email address, DBP handles them according to the email preference You selected for that particular domain name. You have three (3) email preferences from which to choose. You can elect to:</p>\r\n<ol>\r\n<li>Have all of the messages forwarded;</li>\r\n<li>Have all of the messages filtered for Spam and then forwarded; or</li>\r\n<li>Have none of the messages forwarded.</li>\r\n</ol>\r\n<p>As with all communications, You agree to waive any and all claims arising from Your failure to receive email directed to Your domain name but not forwarded to You by DBP.</p>\r\n<p><strong>c. Notifications Regarding Correspondence and Your Obligation to Respond </strong></p>\r\n<p>When DBP receives certified or traceable courier mail or legal notices addressed to Your domain name, in most cases, DBP will attempt to forward the mail to you via email. If&nbsp;You do not respond to the DBP email and/or the correspondence DBP has received regarding&nbsp;Your domain name registration concerns a&nbsp;dispute of any kind or otherwise requires immediate disposition, DBP may immediately reveal Your identity and/or cancel the DBP private registration service regarding either the domain name registration(s) in question.&nbsp;This means the Whois directory will revert to displaying Your name, postal address, email address and phone number that you provided to DBP.</p>\r\n<p><strong>d.&nbsp;</strong><strong>Additional Administrative Fees </strong></p>\r\n<p>DBP reserves the right to charge You&nbsp;reasonable&nbsp;\"administrative fees\" or \"processing fees\" for (i) &nbsp;tasks DBP may perform outside the normal scope of its&nbsp;Services, (ii) additional time and/or costs DBP may incur in providing its Services, and/or (iii) Your non-compliance with the Agreement (as determined by DBP in its sole and absolute discretion). Typical administrative or processing fee scenarios&nbsp;include, but are not limited to, (i) customer service issues that&nbsp;require additional personal time and attention; (ii)&nbsp;disputes that require accounting or&nbsp;legal services, whether performed by DBP staff or by outside firms retained by DBP; (iii) recouping any and all costs and fees, including the cost of Services, incurred by DBP as the result of chargebacks or other payment disputes brought by You, Your bank or Payment Method processor.&nbsp; These administrative fees or processing fees will be billed to the Payment Method You have on file with&nbsp;Your Registrar.</p>\r\n<p>You agree to waive the right to trial by jury in any proceeding that takes place relating to or arising out of this Agreement.</p>\r\n<p class=\"heading1\">6. limitations of liability</p>\r\n<p><strong>UNDER NO CIRCUMSTANCES SHALL DBP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER RELATED TO THIS AGREEMENT, YOUR DOMAIN NAME REGISTRATION, DBP'S SERVICES, USE OR INABILITY TO USE THE DBP WEBSITE OR THE MATERIALS AND CONTENT OF THE WEBSITE OR ANY OTHER WEBSITES LINKED TO THE DBP WEBSITE OR YOUR PROVISION OF ANY PERSONALLY IDENTIFIABLE INFORMATION TO DBP OR ANY THIRD PARTY. THIS LIMITATION APPLIES REGARDLESS OF WHETHER THE ALLEGED LIABILITY IS BASED ON CONTRACT, TORT, WARRANTY, NEGLIGENCE, STRICT LIABILITY OR ANY OTHER BASIS, EVEN IF DBP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR SUCH DAMAGES WERE REASONABLY FORESEEABLE. BECAUSE CERTAIN JURISDICTIONS DO NOT PERMIT THE LIMITATION OR ELIMINATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, DBP'S LIABILITY IN SUCH JURISDICTIONS SHALL BE LIMITED TO THE SMALLEST AMOUNT PERMITTED BY LAW. </strong></p>\r\n<p><strong>YOU FURTHER UNDERSTAND AND AGREE THAT DBP DISCLAIMS ANY LOSS OR LIABILITY RESULTING FROM: </strong></p>\r\n<ol>\r\n<li><strong>THE INADVERTENT DISCLOSURE OR THEFT OF YOUR PERSONAL INFORMATION; </strong></li>\r\n<li><strong>ACCESS DELAYS OR INTERRUPTIONS TO OUR WEBSITE OR THE WEBSITES OF OUR AFFILIATED REGISTRARS; </strong></li>\r\n<li><strong>DATA NON-DELIVERY OF MIS-DELIVERY BETWEEN YOU AND DBP; </strong></li>\r\n<li><strong>THE FAILURE FOR WHATEVER REASON TO RENEW A PRIVATE DOMAIN NAME REGISTRATION; </strong></li>\r\n<li><strong>THE UNAUTHORIZED USE OF YOUR DBP ACCOUNT OR ANY OF DBP'S SERVICES; </strong></li>\r\n<li><strong>ERRORS, OMISSIONS OR MISSTATEMENTS BY DBP; </strong></li>\r\n<li><strong>DELETION OF, FAILURE TO STORE, FAILURE TO PROCESS OR ACT UPON EMAIL MESSAGES FORWARDED TO EITHER YOU OR YOUR PRIVATE DOMAIN NAME REGISTRATION; </strong></li>\r\n<li><strong>PROCESSING OF UPDATED INFORMATION REGARDING YOUR DBP ACCOUNT; AND/OR </strong></li>\r\n<li><strong>ANY ACT OR OMISSION CAUSED BY YOU OR YOUR AGENTS (WHETHER AUTHORIZED BY YOU OR NOT). </strong></li>\r\n</ol>\r\n<p class=\"heading1\">7. indemnity</p>\r\n<p>You agree to release, defend, indemnify and hold harmless DBP, its parent companies, subsidiaries, affiliates, shareholders, agents, directors, officers and employees and Your Registrar, from and against any and all claims, demands, liabilities, losses, damages or costs, including reasonable attorneys' fees, arising out of or related in any way to this Agreement, the services provided hereunder by DBP, the DBP website, Your account with DBP, Your use of Your domain name registration, and/or disputes arising in connection with the <a href=\"http://www.icann.org/en/dndr/udrp/uniform-rules.htm\" target=\"_blank\">dispute policy</a>.</p>\r\n<p class=\"heading1\">8. DBP warranty disclaimer</p>\r\n<p><strong>DBP, ITS PARENT COMPANIES, SUBSIDIARIES, AFFILIATES, SHAREHOLDERS, AGENTS, DIRECTORS, OFFICERS, AND EMPLOYEES EXPRESSLY DISCLAIM ALL REPRESENTATIONS AND WARRANTIES OF ANY KIND IN CONNECTION WITH THIS AGREEMENT, THE SERVICE PROVIDED HEREUNDER, THE DBP WEBSITE OR ANY WEBSITES LINKED TO THE DBP WEBSITE, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL DBP SERVICES, AS WELL AS THE DBP WEBSITE, ARE PROVIDED \"AS IS\". YOUR SUBSCRIPTION TO AND USE OF DBP'S SERVICES AND ITS WEBSITE ARE ENTIRELY AT YOUR RISK. SOME JURISDICTIONS DO NOT ALLOW THE DISCLAIMER OF IMPLIED WARRANTIES, IN WHICH EVENT THE FOREGOING DISCLAIMER MAY NOT APPLY TO YOU. </strong></p>\r\n<p class=\"heading1\">9. copyright and trademark</p>\r\n<p>You understand and agree that all content and materials contained in this Agreement, the <a href=\"http://www.domainsbyproxy.com/policy/ShowDoc.aspx?pageid=privacy\" target=\"_blank\">Privacy Policy </a>and the DBP website <a href=\"http://www.domainsbyproxy.com/\" target=\"_blank\">found here </a>, are protected by the various copyright, patent, trademark, service mark and trade secret laws of the United States, as well as any other applicable proprietary rights and laws, and that DBP expressly reserves its rights in and to all such content and materials.</p>\r\n<p>You further understand and agree You are prohibited from using, in any manner whatsoever, any of the afore-described content and materials without the express written permission of DBP. No license or right under any copyright, patent, trademark, service mark or other proprietary right or license is granted to You or conferred upon You by this Agreement or otherwise.</p>\r\n<p class=\"heading1\">10. miscellaneous provisions</p>\r\n<p><strong>a. Severability; Construction; Entire Agreement </strong></p>\r\n<p>If any part of this Agreement shall be held to be illegal, unenforceable or invalid, in whole or in part, such provision shall be modified to the minimum extent necessary to make it legal, enforceable and valid, and the legality, enforceability and validity of the remaining provisions of this Agreement shall not be affected or impaired. The headings herein will not be considered a part of this Agreement. You agree this Agreement, including the policies it incorporates by reference, constitute the complete and only Agreement between You and DBP regarding the services contemplated herein.</p>\r\n<p><strong>b. Governing Law; Venue; Waiver Of Trial By Jury </strong></p>\r\n<p>This Agreement shall be governed in all respects by the laws and judicial decisions of Maricopa County, Arizona, excluding its conflicts of laws rules. Except as provided immediately below, You agree that any action relating to or arising out of this Agreement, shall be brought exclusively in the courts of Maricopa County, Arizona. For the adjudication of domain name registration disputes, you agree to submit to the exclusive jurisdiction and venue of the U.S. District Court for the District of Arizona located in Phoenix, Arizona. You agree to waive the right to trial by jury in any proceeding, regardless of venue, that takes place relating to or arising out of this Agreement.</p>\r\n<p><strong>c. Notices </strong></p>\r\n<p>All notices from DBP to You will be sent to the email address You provided to DBP. Notices by email shall be deemed effective twenty-four (24) hours after the email is sent by DBP, unless DBP receives notice that the email address is invalid, in which event DBP may give You notice via first class or certified mail, return receipt requested. All notices from You to DBP shall be sent via certified mail, return receipt requested or traceable courier to:</p>\r\n<ol><ol>Domains By Proxy, LLC</ol><ol>Attn: General Counsel</ol><ol>14455 North Hayden Rd.<br />Suite 219<br />Scottsdale, AZ 85260<br /></ol></ol>\r\n<p>Notices sent via certified mail or traceable courier shall be deemed effective five (5) days after the date of mailing.</p>\r\n<p><strong>d. Insurance </strong></p>\r\n<p>In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's negligent actions (and absent fraud or other negligent or willful misconduct committed by a third party), You may be insured against such loss through DBP's Professional Liability Insurance Policy, which is currently underwritten by American International Insurance Company. Of course, every claim is subject to the then-carrier's investigation into the facts and circumstances surrounding such claim. In the event You have reason to believe that circumstances exist which warrant the filing of an insurance claim, please send a written notice (specifying the basis for such claim), via certified mail, return receipt requested, to:</p>\r\n<ol><ol>Domains By Proxy, LLC</ol><ol>Attn: Insurance Claims</ol><ol>14455 North Hayden Rd.<br />Suite 219<br />Scottsdale, AZ 85260<br /></ol></ol>\r\n<p><strong>e. Indemnification </strong></p>\r\n<p>In the unlikely event You lose Your domain name registration to a third party solely as a result of DBP's willful misconduct, Your Registrar (the \"Indemnifying Party\") will indemnify and hold You harmless against any losses, damages or costs (including reasonable attorneys' fees) resulting from any claim, action, proceeding, suit or demand arising out of or related to the loss of Your domain name registration. Such indemnification obligations under this Section 10(e) are conditioned upon the following:</p>\r\n<ol>\r\n<li>That You promptly give both DBP and the Indemnifying Party written notice of the claim, demand, or action and provide reasonable assistance to the Indemnifying Party, at its cost and expense, in connection therewith, and</li>\r\n<li>That the Indemnifying Party has the right, at its option, to control and direct the defense to any settlement of such claim, demand, or action.</li>\r\n</ol>\r\n<p>Any notice concerning indemnification shall, with respect to DBP, be sent in accordance with Section 10(c) of this Agreement. With respect to Your Registrar, notices regarding indemnification should be sent in accordance with the notification provisions contained in Your Registrar's Domain Name Registration Agreement.</p>\r\n<p><strong>f. Term of Agreement; Survival </strong></p>\r\n<p>The terms of this Agreement shall continue in full force and effect as long as DBP is the Registrant for any domain name on Your behalf. Sections 5 (Communications Forwarding), 6 (Limitation of Liability), 7 (Indemnity), 8 (Warranty Disclaimer) and 10 (Miscellaneous Provisions) shall survive any termination or expiration of this Agreement.</p>\n</td></tr>\n<tr><td>\n<br />\n<span class=\"finePrint\">\nRevised: 10/25/17<br />\nCopyright &copy; 2003-2017  All Rights Reserved.\n</span>\n</td></tr>\n</tbody>\n</table>\n</td></tr>\n</tbody>\n</table>"),
	// 			Title: to.Ptr("Domain Name Proxy Agreement"),
	// 			URL: to.Ptr("http://www.secureserver.net/agreements/ShowDoc.aspx?pageid=domain_nameproxy&pl_id=510456"),
	// 	}},
	// }
}
Output:

func (*TopLevelDomainsClient) NewListPager

NewListPager - Description for Get all top-level domains supported for registration.

Generated from API version 2023-01-01

  • options - TopLevelDomainsClientListOptions contains the optional parameters for the TopLevelDomainsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-01-01/examples/ListTopLevelDomains.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewTopLevelDomainsClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.TopLevelDomainCollection = armappservice.TopLevelDomainCollection{
	// 	Value: []*armappservice.TopLevelDomain{
	// 		{
	// 			Name: to.Ptr("com"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/com"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("net"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/net"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("co.uk"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.uk"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(false),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("org"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("nl"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/nl"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("in"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/in"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(false),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("biz"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/biz"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("org.uk"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/org.uk"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(false),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("co.in"),
	// 			Type: to.Ptr("Microsoft.DomainRegistration/topLevelDomains"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.DomainRegistration/topLevelDomains/co.in"),
	// 			Properties: &armappservice.TopLevelDomainProperties{
	// 				Privacy: to.Ptr(false),
	// 			},
	// 	}},
	// }
}
Output:

type TopLevelDomainsClientGetOptions

type TopLevelDomainsClientGetOptions struct {
}

TopLevelDomainsClientGetOptions contains the optional parameters for the TopLevelDomainsClient.Get method.

type TopLevelDomainsClientGetResponse

type TopLevelDomainsClientGetResponse struct {
	// A top level domain object.
	TopLevelDomain
}

TopLevelDomainsClientGetResponse contains the response from method TopLevelDomainsClient.Get.

type TopLevelDomainsClientListAgreementsOptions

type TopLevelDomainsClientListAgreementsOptions struct {
}

TopLevelDomainsClientListAgreementsOptions contains the optional parameters for the TopLevelDomainsClient.NewListAgreementsPager method.

type TopLevelDomainsClientListAgreementsResponse

type TopLevelDomainsClientListAgreementsResponse struct {
	// Collection of top-level domain legal agreements.
	TldLegalAgreementCollection
}

TopLevelDomainsClientListAgreementsResponse contains the response from method TopLevelDomainsClient.NewListAgreementsPager.

type TopLevelDomainsClientListOptions

type TopLevelDomainsClientListOptions struct {
}

TopLevelDomainsClientListOptions contains the optional parameters for the TopLevelDomainsClient.NewListPager method.

type TopLevelDomainsClientListResponse

type TopLevelDomainsClientListResponse struct {
	// Collection of Top-level domains.
	TopLevelDomainCollection
}

TopLevelDomainsClientListResponse contains the response from method TopLevelDomainsClient.NewListPager.

type TrafficWeight

type TrafficWeight struct {
	// Indicates that the traffic weight belongs to a latest stable revision
	LatestRevision *bool

	// Name of a revision
	RevisionName *string

	// Traffic weight assigned to a revision
	Weight *int32
}

TrafficWeight - Traffic weight assigned to a revision

func (TrafficWeight) MarshalJSON

func (t TrafficWeight) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TrafficWeight.

func (*TrafficWeight) UnmarshalJSON

func (t *TrafficWeight) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TrafficWeight.

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

	// TriggeredJobHistory resource specific properties
	Properties *TriggeredJobHistoryProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

TriggeredJobHistory - Triggered Web Job History. List of Triggered Web Job Run Information elements.

func (TriggeredJobHistory) MarshalJSON

func (t TriggeredJobHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredJobHistory.

func (*TriggeredJobHistory) UnmarshalJSON

func (t *TriggeredJobHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredJobHistory.

type TriggeredJobHistoryCollection

type TriggeredJobHistoryCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TriggeredJobHistory

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

TriggeredJobHistoryCollection - Collection of Kudu continuous web job information elements.

func (TriggeredJobHistoryCollection) MarshalJSON

func (t TriggeredJobHistoryCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredJobHistoryCollection.

func (*TriggeredJobHistoryCollection) UnmarshalJSON

func (t *TriggeredJobHistoryCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredJobHistoryCollection.

type TriggeredJobHistoryProperties

type TriggeredJobHistoryProperties struct {
	// List of triggered web job runs.
	Runs []*TriggeredJobRun
}

TriggeredJobHistoryProperties - TriggeredJobHistory resource specific properties

func (TriggeredJobHistoryProperties) MarshalJSON

func (t TriggeredJobHistoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredJobHistoryProperties.

func (*TriggeredJobHistoryProperties) UnmarshalJSON

func (t *TriggeredJobHistoryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredJobHistoryProperties.

type TriggeredJobRun

type TriggeredJobRun struct {
	// Job duration.
	Duration *string

	// End time.
	EndTime *time.Time

	// Error URL.
	ErrorURL *string

	// Job name.
	JobName *string

	// Output URL.
	OutputURL *string

	// Start time.
	StartTime *time.Time

	// Job status.
	Status *TriggeredWebJobStatus

	// Job trigger.
	Trigger *string

	// Job URL.
	URL *string

	// Job ID.
	WebJobID *string

	// Job name.
	WebJobName *string
}

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

	// TriggeredWebJob resource specific properties
	Properties *TriggeredWebJobProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

TriggeredWebJob - Triggered Web Job Information.

func (TriggeredWebJob) MarshalJSON

func (t TriggeredWebJob) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredWebJob.

func (*TriggeredWebJob) UnmarshalJSON

func (t *TriggeredWebJob) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredWebJob.

type TriggeredWebJobCollection

type TriggeredWebJobCollection struct {
	// REQUIRED; Collection of resources.
	Value []*TriggeredWebJob

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

TriggeredWebJobCollection - Collection of Kudu continuous web job information elements.

func (TriggeredWebJobCollection) MarshalJSON

func (t TriggeredWebJobCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredWebJobCollection.

func (*TriggeredWebJobCollection) UnmarshalJSON

func (t *TriggeredWebJobCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredWebJobCollection.

type TriggeredWebJobProperties

type TriggeredWebJobProperties struct {
	// Error information.
	Error *string

	// Extra Info URL.
	ExtraInfoURL *string

	// History URL.
	HistoryURL *string

	// Latest job run information.
	LatestRun *TriggeredJobRun

	// Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.
	PublicNetworkAccess *string

	// Run command.
	RunCommand *string

	// Scheduler Logs URL.
	SchedulerLogsURL *string

	// Job settings.
	Settings map[string]any

	// Checks if Customer provided storage account is required
	StorageAccountRequired *bool

	// Job URL.
	URL *string

	// Using SDK?
	UsingSdk *bool

	// Job type.
	WebJobType *WebJobType
}

TriggeredWebJobProperties - TriggeredWebJob resource specific properties

func (TriggeredWebJobProperties) MarshalJSON

func (t TriggeredWebJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TriggeredWebJobProperties.

func (*TriggeredWebJobProperties) UnmarshalJSON

func (t *TriggeredWebJobProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TriggeredWebJobProperties.

type TriggeredWebJobStatus

type TriggeredWebJobStatus string

TriggeredWebJobStatus - Job status.

const (
	TriggeredWebJobStatusError   TriggeredWebJobStatus = "Error"
	TriggeredWebJobStatusFailed  TriggeredWebJobStatus = "Failed"
	TriggeredWebJobStatusSuccess TriggeredWebJobStatus = "Success"
)

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

	// The configuration settings of the app registration for the Twitter provider.
	Registration *TwitterRegistration
}

Twitter - The configuration settings of the Twitter provider.

func (Twitter) MarshalJSON

func (t Twitter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Twitter.

func (*Twitter) UnmarshalJSON

func (t *Twitter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Twitter.

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

	// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
	ConsumerSecretSettingName *string
}

TwitterRegistration - The configuration settings of the app registration for the Twitter provider.

func (TwitterRegistration) MarshalJSON

func (t TwitterRegistration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TwitterRegistration.

func (*TwitterRegistration) UnmarshalJSON

func (t *TwitterRegistration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TwitterRegistration.

type UnauthenticatedClientAction

type UnauthenticatedClientAction string

UnauthenticatedClientAction - The action to take when an unauthenticated client attempts to access the app.

const (
	UnauthenticatedClientActionAllowAnonymous      UnauthenticatedClientAction = "AllowAnonymous"
	UnauthenticatedClientActionRedirectToLoginPage UnauthenticatedClientAction = "RedirectToLoginPage"
)

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 (
	UnauthenticatedClientActionV2AllowAnonymous      UnauthenticatedClientActionV2 = "AllowAnonymous"
	UnauthenticatedClientActionV2RedirectToLoginPage UnauthenticatedClientActionV2 = "RedirectToLoginPage"
	UnauthenticatedClientActionV2Return401           UnauthenticatedClientActionV2 = "Return401"
	UnauthenticatedClientActionV2Return403           UnauthenticatedClientActionV2 = "Return403"
)

func PossibleUnauthenticatedClientActionV2Values

func PossibleUnauthenticatedClientActionV2Values() []UnauthenticatedClientActionV2

PossibleUnauthenticatedClientActionV2Values returns the possible values for the UnauthenticatedClientActionV2 const type.

type UpgradeAvailability

type UpgradeAvailability string

UpgradeAvailability - Whether an upgrade is available for this App Service Environment.

const (
	// UpgradeAvailabilityNone - No upgrade is currently available for this App Service Environment
	UpgradeAvailabilityNone UpgradeAvailability = "None"
	// UpgradeAvailabilityReady - An upgrade is ready to be manually initiated on this App Service Environment
	UpgradeAvailabilityReady UpgradeAvailability = "Ready"
)

func PossibleUpgradeAvailabilityValues

func PossibleUpgradeAvailabilityValues() []UpgradeAvailability

PossibleUpgradeAvailabilityValues returns the possible values for the UpgradeAvailability const type.

type UpgradePreference

type UpgradePreference string

UpgradePreference - Upgrade Preference

const (
	// UpgradePreferenceEarly - This App Service Environment will be upgraded before others in the same region that have Upgrade
	// Preference 'Late'
	UpgradePreferenceEarly UpgradePreference = "Early"
	// UpgradePreferenceLate - This App Service Environment will be upgraded after others in the same region that have Upgrade
	// Preference 'Early'
	UpgradePreferenceLate UpgradePreference = "Late"
	// UpgradePreferenceManual - ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for
	// the upgrade to be manually initiated. After 10 days the upgrade will begin automatically
	UpgradePreferenceManual UpgradePreference = "Manual"
	// UpgradePreferenceNone - No preference on when this App Service Environment will be upgraded
	UpgradePreferenceNone UpgradePreference = "None"
)

func PossibleUpgradePreferenceValues

func PossibleUpgradePreferenceValues() []UpgradePreference

PossibleUpgradePreferenceValues returns the possible values for the UpgradePreference const type.

type Usage

type Usage struct {
	// Kind of resource.
	Kind *string

	// Usage resource specific properties
	Properties *UsageProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

Usage of the quota resource.

func (Usage) MarshalJSON

func (u Usage) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Usage.

func (*Usage) UnmarshalJSON

func (u *Usage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Usage.

type UsageCollection

type UsageCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Usage

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

UsageCollection - Collection of usages.

func (UsageCollection) MarshalJSON

func (u UsageCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UsageCollection.

func (*UsageCollection) UnmarshalJSON

func (u *UsageCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UsageCollection.

type UsageProperties

type UsageProperties struct {
	// READ-ONLY; Compute mode used for this usage.
	ComputeMode *ComputeModeOptions

	// READ-ONLY; The current value of the resource counter.
	CurrentValue *int64

	// READ-ONLY; Friendly name shown in the UI.
	DisplayName *string

	// READ-ONLY; The resource limit.
	Limit *int64

	// READ-ONLY; Next reset time for the resource counter.
	NextResetTime *time.Time

	// READ-ONLY; Name of the quota resource.
	ResourceName *string

	// READ-ONLY; Site mode used for this usage.
	SiteMode *string

	// READ-ONLY; Units of measurement for the quota resource.
	Unit *string
}

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 (
	UsageStateExceeded UsageState = "Exceeded"
	UsageStateNormal   UsageState = "Normal"
)

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

	// User resource specific properties
	Properties *UserProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

User credentials used for publishing activity.

func (User) MarshalJSON

func (u User) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type User.

func (*User) UnmarshalJSON

func (u *User) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type User.

type UserAssignedIdentity

type UserAssignedIdentity struct {
	// READ-ONLY; Client Id of user assigned identity
	ClientID *string

	// READ-ONLY; Principal Id of user assigned identity
	PrincipalID *string
}

UserAssignedIdentity - User Assigned identity.

func (UserAssignedIdentity) MarshalJSON

func (u UserAssignedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UserAssignedIdentity.

func (*UserAssignedIdentity) UnmarshalJSON

func (u *UserAssignedIdentity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UserAssignedIdentity.

type UserProperties

type UserProperties struct {
	// REQUIRED; Username used for publishing.
	PublishingUserName *string

	// Password used for publishing.
	PublishingPassword *string

	// Password hash used for publishing.
	PublishingPasswordHash *string

	// Password hash salt used for publishing.
	PublishingPasswordHashSalt *string

	// Url of SCM site.
	ScmURI *string
}

UserProperties - User resource specific properties

func (UserProperties) MarshalJSON

func (u UserProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UserProperties.

func (*UserProperties) UnmarshalJSON

func (u *UserProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UserProperties.

type ValidateProperties

type ValidateProperties struct {
	// App Service Environment Properties
	AppServiceEnvironment *Environment

	// Target capacity of the App Service plan (number of VMs).
	Capacity *int32

	// Platform (windows or linux)
	ContainerImagePlatform *string

	// Repository name (image name)
	ContainerImageRepository *string

	// Image tag
	ContainerImageTag *string

	// Base URL of the container registry
	ContainerRegistryBaseURL *string

	// Password for to access the container registry
	ContainerRegistryPassword *string

	// Username for to access the container registry
	ContainerRegistryUsername *string

	// Name of App Service Environment where app or App Service plan should be created.
	HostingEnvironment *string

	// true if App Service plan is for Spot instances; otherwise, false.
	IsSpot *bool

	// true if App Service plan is running as a windows container
	IsXenon *bool

	// true if App Service plan is for Linux workers; otherwise, false.
	NeedLinuxWorkers *bool

	// Name of the target SKU for the App Service plan.
	SKUName *string

	// ARM resource ID of an App Service plan that would host the app.
	ServerFarmID *string
}

ValidateProperties - App properties used for validation.

func (ValidateProperties) MarshalJSON

func (v ValidateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ValidateProperties.

func (*ValidateProperties) UnmarshalJSON

func (v *ValidateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ValidateProperties.

type ValidateRequest

type ValidateRequest struct {
	// REQUIRED; Expected location of the resource.
	Location *string

	// REQUIRED; Resource name to verify.
	Name *string

	// REQUIRED; Properties of the resource to validate.
	Properties *ValidateProperties

	// REQUIRED; Resource type used for verification.
	Type *ValidateResourceTypes
}

ValidateRequest - Resource validation request content.

func (ValidateRequest) MarshalJSON

func (v ValidateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ValidateRequest.

func (*ValidateRequest) UnmarshalJSON

func (v *ValidateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ValidateRequest.

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

	// Result of validation.
	Status *string
}

ValidateResponse - Describes the result of resource validation.

func (ValidateResponse) MarshalJSON

func (v ValidateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ValidateResponse.

func (*ValidateResponse) UnmarshalJSON

func (v *ValidateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ValidateResponse.

type ValidateResponseError

type ValidateResponseError struct {
	// Validation error code.
	Code *string

	// Validation error message.
	Message *string
}

ValidateResponseError - Error details for when validation fails.

func (ValidateResponseError) MarshalJSON

func (v ValidateResponseError) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ValidateResponseError.

func (*ValidateResponseError) UnmarshalJSON

func (v *ValidateResponseError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ValidateResponseError.

type VirtualApplication

type VirtualApplication struct {
	// Physical path.
	PhysicalPath *string

	// true if preloading is enabled; otherwise, false.
	PreloadEnabled *bool

	// Virtual directories for virtual application.
	VirtualDirectories []*VirtualDirectory

	// Virtual path.
	VirtualPath *string
}

VirtualApplication - Virtual application in an app.

func (VirtualApplication) MarshalJSON

func (v VirtualApplication) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualApplication.

func (*VirtualApplication) UnmarshalJSON

func (v *VirtualApplication) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VirtualApplication.

type VirtualDirectory

type VirtualDirectory struct {
	// Physical path.
	PhysicalPath *string

	// Path to virtual application.
	VirtualPath *string
}

VirtualDirectory - Directory for virtual application.

func (VirtualDirectory) MarshalJSON

func (v VirtualDirectory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualDirectory.

func (*VirtualDirectory) UnmarshalJSON

func (v *VirtualDirectory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VirtualDirectory.

type VirtualIPMapping

type VirtualIPMapping struct {
	// Is virtual IP mapping in use.
	InUse *bool

	// Internal HTTP port.
	InternalHTTPPort *int32

	// Internal HTTPS port.
	InternalHTTPSPort *int32

	// name of the service that virtual IP is assigned to
	ServiceName *string

	// Virtual IP address.
	VirtualIP *string
}

VirtualIPMapping - Virtual IP mapping.

func (VirtualIPMapping) MarshalJSON

func (v VirtualIPMapping) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualIPMapping.

func (*VirtualIPMapping) UnmarshalJSON

func (v *VirtualIPMapping) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VirtualIPMapping.

type VirtualNetworkProfile

type VirtualNetworkProfile struct {
	// REQUIRED; Resource id of the Virtual Network.
	ID *string

	// Subnet within the Virtual Network.
	Subnet *string

	// READ-ONLY; Name of the Virtual Network (read-only).
	Name *string

	// READ-ONLY; Resource type of the Virtual Network (read-only).
	Type *string
}

VirtualNetworkProfile - Specification for using a Virtual Network.

func (VirtualNetworkProfile) MarshalJSON

func (v VirtualNetworkProfile) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkProfile.

func (*VirtualNetworkProfile) UnmarshalJSON

func (v *VirtualNetworkProfile) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VirtualNetworkProfile.

type VnetGateway

type VnetGateway struct {
	// Kind of resource.
	Kind *string

	// VnetGateway resource specific properties
	Properties *VnetGatewayProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*VnetGateway) UnmarshalJSON

func (v *VnetGateway) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetGateway.

type VnetGatewayProperties

type VnetGatewayProperties struct {
	// REQUIRED; The URI where the VPN package can be downloaded.
	VPNPackageURI *string

	// The Virtual Network name.
	VnetName *string
}

VnetGatewayProperties - VnetGateway resource specific properties

func (VnetGatewayProperties) MarshalJSON

func (v VnetGatewayProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetGatewayProperties.

func (*VnetGatewayProperties) UnmarshalJSON

func (v *VnetGatewayProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetGatewayProperties.

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

	// DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
	DNSServers *string

	// Flag that is used to denote if this is VNET injection
	IsSwift *bool

	// The Virtual Network's resource ID.
	VnetResourceID *string

	// READ-ONLY; The client certificate thumbprint.
	CertThumbprint *string

	// READ-ONLY; true if a resync is required; otherwise, false.
	ResyncRequired *bool

	// READ-ONLY; The routes that this Virtual Network connection uses.
	Routes []*VnetRoute
}

VnetInfo - Virtual Network information contract.

func (VnetInfo) MarshalJSON

func (v VnetInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetInfo.

func (*VnetInfo) UnmarshalJSON

func (v *VnetInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetInfo.

type VnetInfoResource

type VnetInfoResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *VnetInfo

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

VnetInfoResource - Virtual Network information ARM resource.

func (VnetInfoResource) MarshalJSON

func (v VnetInfoResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetInfoResource.

func (*VnetInfoResource) UnmarshalJSON

func (v *VnetInfoResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetInfoResource.

type VnetParameters

type VnetParameters struct {
	// Kind of resource.
	Kind *string

	// VnetParameters resource specific properties
	Properties *VnetParametersProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

VnetParameters - The required set of inputs to validate a VNET

func (VnetParameters) MarshalJSON

func (v VnetParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetParameters.

func (*VnetParameters) UnmarshalJSON

func (v *VnetParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetParameters.

type VnetParametersProperties

type VnetParametersProperties struct {
	// The ARM Resource ID of the subnet to validate
	SubnetResourceID *string

	// The name of the VNET to be validated
	VnetName *string

	// The Resource Group of the VNET to be validated
	VnetResourceGroup *string

	// The subnet name to be validated
	VnetSubnetName *string
}

VnetParametersProperties - VnetParameters resource specific properties

func (VnetParametersProperties) MarshalJSON

func (v VnetParametersProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetParametersProperties.

func (*VnetParametersProperties) UnmarshalJSON

func (v *VnetParametersProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetParametersProperties.

type VnetRoute

type VnetRoute struct {
	// Kind of resource.
	Kind *string

	// VnetRoute resource specific properties
	Properties *VnetRouteProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*VnetRoute) UnmarshalJSON

func (v *VnetRoute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

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

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

VnetRouteProperties - VnetRoute resource specific properties

func (VnetRouteProperties) MarshalJSON

func (v VnetRouteProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetRouteProperties.

func (*VnetRouteProperties) UnmarshalJSON

func (v *VnetRouteProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetRouteProperties.

type VnetValidationFailureDetails

type VnetValidationFailureDetails struct {
	// Kind of resource.
	Kind *string

	// VnetValidationFailureDetails resource specific properties
	Properties *VnetValidationFailureDetailsProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

VnetValidationFailureDetails - A class that describes the reason for a validation failure.

func (VnetValidationFailureDetails) MarshalJSON

func (v VnetValidationFailureDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetValidationFailureDetails.

func (*VnetValidationFailureDetails) UnmarshalJSON

func (v *VnetValidationFailureDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetValidationFailureDetails.

type VnetValidationFailureDetailsProperties

type VnetValidationFailureDetailsProperties struct {
	// A flag describing whether or not validation failed.
	Failed *bool

	// A list of tests that failed in the validation.
	FailedTests []*VnetValidationTestFailure

	// Text describing the validation outcome.
	Message *string

	// A list of warnings generated during validation.
	Warnings []*VnetValidationTestFailure
}

VnetValidationFailureDetailsProperties - VnetValidationFailureDetails resource specific properties

func (VnetValidationFailureDetailsProperties) MarshalJSON

func (v VnetValidationFailureDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetValidationFailureDetailsProperties.

func (*VnetValidationFailureDetailsProperties) UnmarshalJSON

func (v *VnetValidationFailureDetailsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetValidationFailureDetailsProperties.

type VnetValidationTestFailure

type VnetValidationTestFailure struct {
	// Kind of resource.
	Kind *string

	// VnetValidationTestFailure resource specific properties
	Properties *VnetValidationTestFailureProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

VnetValidationTestFailure - A class that describes a test that failed during NSG and UDR validation.

func (VnetValidationTestFailure) MarshalJSON

func (v VnetValidationTestFailure) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetValidationTestFailure.

func (*VnetValidationTestFailure) UnmarshalJSON

func (v *VnetValidationTestFailure) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetValidationTestFailure.

type VnetValidationTestFailureProperties

type VnetValidationTestFailureProperties struct {
	// The details of what caused the failure, e.g. the blocking rule name, etc.
	Details *string

	// The name of the test that failed.
	TestName *string
}

VnetValidationTestFailureProperties - VnetValidationTestFailure resource specific properties

func (VnetValidationTestFailureProperties) MarshalJSON

func (v VnetValidationTestFailureProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetValidationTestFailureProperties.

func (*VnetValidationTestFailureProperties) UnmarshalJSON

func (v *VnetValidationTestFailureProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VnetValidationTestFailureProperties.

type WebAppCollection

type WebAppCollection struct {
	// REQUIRED; Collection of resources.
	Value []*Site

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

WebAppCollection - Collection of App Service apps.

func (WebAppCollection) MarshalJSON

func (w WebAppCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppCollection.

func (*WebAppCollection) UnmarshalJSON

func (w *WebAppCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppCollection.

type WebAppInstanceStatusCollection

type WebAppInstanceStatusCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WebSiteInstanceStatus

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

WebAppInstanceStatusCollection - Collection of app instances.

func (WebAppInstanceStatusCollection) MarshalJSON

func (w WebAppInstanceStatusCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppInstanceStatusCollection.

func (*WebAppInstanceStatusCollection) UnmarshalJSON

func (w *WebAppInstanceStatusCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppInstanceStatusCollection.

type WebAppMajorVersion

type WebAppMajorVersion struct {
	// READ-ONLY; Web App stack major version (display only).
	DisplayText *string

	// READ-ONLY; Minor versions associated with the major version.
	MinorVersions []*WebAppMinorVersion

	// READ-ONLY; Web App stack major version name.
	Value *string
}

WebAppMajorVersion - Web App stack major version.

func (WebAppMajorVersion) MarshalJSON

func (w WebAppMajorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppMajorVersion.

func (*WebAppMajorVersion) UnmarshalJSON

func (w *WebAppMajorVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppMajorVersion.

type WebAppMinorVersion

type WebAppMinorVersion struct {
	// READ-ONLY; Web App stack minor version (display only).
	DisplayText *string

	// READ-ONLY; Settings associated with the minor version.
	StackSettings *WebAppRuntimes

	// READ-ONLY; Web App stack major version name.
	Value *string
}

WebAppMinorVersion - Web App stack minor version.

func (WebAppMinorVersion) MarshalJSON

func (w WebAppMinorVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppMinorVersion.

func (*WebAppMinorVersion) UnmarshalJSON

func (w *WebAppMinorVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppMinorVersion.

type WebAppRuntimeSettings

type WebAppRuntimeSettings struct {
	// READ-ONLY; Application Insights settings associated with the minor version.
	AppInsightsSettings *AppInsightsWebAppStackSettings

	// READ-ONLY; End-of-life date for the minor version.
	EndOfLifeDate *time.Time

	// READ-ONLY; GitHub Actions settings associated with the minor version.
	GitHubActionSettings *GitHubActionWebAppStackSettings

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool

	// READ-ONLY; true if remote debugging is supported for the stack; otherwise, false.
	RemoteDebuggingSupported *bool

	// READ-ONLY; Web App stack minor version (runtime only).
	RuntimeVersion *string
}

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

	// READ-ONLY; Linux-specific settings associated with the minor version.
	LinuxRuntimeSettings *WebAppRuntimeSettings

	// READ-ONLY; Windows-specific settings associated with the Java container minor version.
	WindowsContainerSettings *WindowsJavaContainerSettings

	// READ-ONLY; Windows-specific settings associated with the minor version.
	WindowsRuntimeSettings *WebAppRuntimeSettings
}

WebAppRuntimes - Web App stack runtimes.

func (WebAppRuntimes) MarshalJSON

func (w WebAppRuntimes) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppRuntimes.

func (*WebAppRuntimes) UnmarshalJSON

func (w *WebAppRuntimes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppRuntimes.

type WebAppStack

type WebAppStack struct {
	// Kind of resource.
	Kind *string

	// WebAppStack resource specific properties
	Properties *WebAppStackProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Web App stack location.
	Location *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

WebAppStack - Web App stack.

func (WebAppStack) MarshalJSON

func (w WebAppStack) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppStack.

func (*WebAppStack) UnmarshalJSON

func (w *WebAppStack) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppStack.

type WebAppStackCollection

type WebAppStackCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WebAppStack

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

WebAppStackCollection - Collection of Web app Stacks

func (WebAppStackCollection) MarshalJSON

func (w WebAppStackCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppStackCollection.

func (*WebAppStackCollection) UnmarshalJSON

func (w *WebAppStackCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppStackCollection.

type WebAppStackProperties

type WebAppStackProperties struct {
	// READ-ONLY; Web App stack (display only).
	DisplayText *string

	// READ-ONLY; List of major versions available.
	MajorVersions []*WebAppMajorVersion

	// READ-ONLY; Web App stack preferred OS.
	PreferredOs *StackPreferredOs

	// READ-ONLY; Web App stack name.
	Value *string
}

WebAppStackProperties - WebAppStack resource specific properties

func (WebAppStackProperties) MarshalJSON

func (w WebAppStackProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppStackProperties.

func (*WebAppStackProperties) UnmarshalJSON

func (w *WebAppStackProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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 - Description for Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Analyze a custom hostname. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AnalyzeCustomHostName.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().AnalyzeCustomHostname(ctx, "testrg123", "sitef6141", &armappservice.WebAppsClientAnalyzeCustomHostnameOptions{HostName: nil})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CustomHostnameAnalysisResult = armappservice.CustomHostnameAnalysisResult{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
// 	Properties: &armappservice.CustomHostnameAnalysisResultProperties{
// 		CNameRecords: []*string{
// 			to.Ptr("siteog.azurewebsites.net")},
// 			ConflictingAppResourceID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog"),
// 			CustomDomainVerificationFailureInfo: &armappservice.ErrorEntity{
// 				Code: to.Ptr("07198"),
// 				Message: to.Ptr("Custom domain verification failed on conflicting CNAMEs."),
// 			},
// 			CustomDomainVerificationTest: to.Ptr(armappservice.DNSVerificationTestResultPassed),
// 			HasConflictAcrossSubscription: to.Ptr(true),
// 			HasConflictOnScaleUnit: to.Ptr(false),
// 			IsHostnameAlreadyVerified: to.Ptr(true),
// 		},
// 	}
Output:

func (*WebAppsClient) AnalyzeCustomHostnameSlot

func (client *WebAppsClient) AnalyzeCustomHostnameSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientAnalyzeCustomHostnameSlotOptions) (WebAppsClientAnalyzeCustomHostnameSlotResponse, error)

AnalyzeCustomHostnameSlot - Description for Analyze a custom hostname. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/AnalyzeCustomHostNameSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().AnalyzeCustomHostnameSlot(ctx, "testrg123", "sitef6141", "staging", &armappservice.WebAppsClientAnalyzeCustomHostnameSlotOptions{HostName: nil})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CustomHostnameAnalysisResult = armappservice.CustomHostnameAnalysisResult{
// 	Name: to.Ptr("sitef6141/staging"),
// 	Type: to.Ptr("Microsoft.Web/sites/stagings"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging"),
// 	Properties: &armappservice.CustomHostnameAnalysisResultProperties{
// 		CNameRecords: []*string{
// 			to.Ptr("siteog.azurewebsites.net")},
// 			ConflictingAppResourceID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog/slots/qa"),
// 			CustomDomainVerificationFailureInfo: &armappservice.ErrorEntity{
// 				Code: to.Ptr("07198"),
// 				Message: to.Ptr("Custom domain verification failed on conflicting CNAMEs."),
// 			},
// 			CustomDomainVerificationTest: to.Ptr(armappservice.DNSVerificationTestResultPassed),
// 			HasConflictAcrossSubscription: to.Ptr(true),
// 			HasConflictOnScaleUnit: to.Ptr(false),
// 			IsHostnameAlreadyVerified: to.Ptr(true),
// 		},
// 	}
Output:

func (*WebAppsClient) ApplySlotConfigToProduction

func (client *WebAppsClient) ApplySlotConfigToProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, options *WebAppsClientApplySlotConfigToProductionOptions) (WebAppsClientApplySlotConfigToProductionResponse, error)

ApplySlotConfigToProduction - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ApplySlotConfig.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().ApplySlotConfigToProduction(ctx, "testrg123", "sitef6141", armappservice.CsmSlotEntity{
	PreserveVnet: to.Ptr(true),
	TargetSlot:   to.Ptr("staging"),
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WebAppsClient) ApplySlotConfigurationSlot

func (client *WebAppsClient) ApplySlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, slotSwapEntity CsmSlotEntity, options *WebAppsClientApplySlotConfigurationSlotOptions) (WebAppsClientApplySlotConfigurationSlotResponse, error)

ApplySlotConfigurationSlot - Description for 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 2023-01-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 - Description for Creates a backup of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/BackupWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().Backup(ctx, "testrg123", "sitef6141", armappservice.BackupRequest{
	Properties: &armappservice.BackupRequestProperties{
		BackupName: to.Ptr("abcdwe"),
		BackupSchedule: &armappservice.BackupSchedule{
			FrequencyInterval:     to.Ptr[int32](7),
			FrequencyUnit:         to.Ptr(armappservice.FrequencyUnitDay),
			KeepAtLeastOneBackup:  to.Ptr(true),
			RetentionPeriodInDays: to.Ptr[int32](30),
			StartTime:             to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-02T17:33:11.641Z"); return t }()),
		},
		Databases: []*armappservice.DatabaseBackupSetting{
			{
				Name:                 to.Ptr("backenddb"),
				ConnectionString:     to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
				ConnectionStringName: to.Ptr("backend"),
				DatabaseType:         to.Ptr(armappservice.DatabaseTypeSQLAzure),
			},
			{
				Name:                 to.Ptr("statsdb"),
				ConnectionString:     to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
				ConnectionStringName: to.Ptr("stats"),
				DatabaseType:         to.Ptr(armappservice.DatabaseTypeSQLAzure),
			}},
		Enabled:           to.Ptr(true),
		StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.BackupItem = armappservice.BackupItem{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
// 	Properties: &armappservice.BackupItemProperties{
// 		Name: to.Ptr("sitef6141_2023-01-01"),
// 		BlobName: to.Ptr("sitef6141_2023-01-01"),
// 		Created: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-03T17:33:11.641Z"); return t}()),
// 		Databases: []*armappservice.DatabaseBackupSetting{
// 			{
// 				Name: to.Ptr("backenddb"),
// 				ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
// 				ConnectionStringName: to.Ptr("backend"),
// 				DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
// 			},
// 			{
// 				Name: to.Ptr("statsdb"),
// 				ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
// 				ConnectionStringName: to.Ptr("stats"),
// 				DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
// 		}},
// 		FinishedTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-02T17:33:11.641Z"); return t}()),
// 		BackupID: to.Ptr[int32](12345),
// 		LastRestoreTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-04T17:33:11.641Z"); return t}()),
// 		Log: to.Ptr("Succeeded"),
// 		Scheduled: to.Ptr(true),
// 		SizeInBytes: to.Ptr[int64](56091883),
// 		Status: to.Ptr(armappservice.BackupItemStatusInProgress),
// 		StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
// 		WebsiteSizeInBytes: to.Ptr[int64](56091883),
// 	},
// }
Output:

func (*WebAppsClient) BackupSlot

func (client *WebAppsClient) BackupSlot(ctx context.Context, resourceGroupName string, name string, slot string, request BackupRequest, options *WebAppsClientBackupSlotOptions) (WebAppsClientBackupSlotResponse, error)

BackupSlot - Description for Creates a backup of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ApproveRejectSitePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by admin."),
// 			ActionsRequired: to.Ptr(""),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
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 - Description for Approves or rejects a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by admin."),
// 			ActionsRequired: to.Ptr(""),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
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 - Description for Create function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Create function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Invoke the MSDeploy web app extension. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example (CloneWebApp)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CloneWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginCreateOrUpdate(ctx, "testrg123", "sitef6141", armappservice.Site{
	Kind:     to.Ptr("app"),
	Location: to.Ptr("East US"),
	Properties: &armappservice.SiteProperties{
		CloningInfo: &armappservice.CloningInfo{
			AppSettingsOverrides: map[string]*string{
				"Setting1": to.Ptr("NewValue1"),
				"Setting3": to.Ptr("NewValue5"),
			},
			CloneCustomHostNames:   to.Ptr(true),
			CloneSourceControl:     to.Ptr(true),
			ConfigureLoadBalancing: to.Ptr(false),
			HostingEnvironment:     to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites"),
			Overwrite:              to.Ptr(false),
			SourceWebAppID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478"),
			SourceWebAppLocation:   to.Ptr("West Europe"),
		},
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141.azurewebsites.net"),
// 			to.Ptr("sitef6141.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 				},
// 			}
Output:

Example (CreateOrUpdateWebApp)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginCreateOrUpdate(ctx, "testrg123", "sitef6141", armappservice.Site{
	Kind:     to.Ptr("app"),
	Location: to.Ptr("East US"),
	Properties: &armappservice.SiteProperties{
		ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141.azurewebsites.net"),
// 			to.Ptr("sitef6141.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceConfig: &armappservice.ResourceConfig{
// 					CPU: to.Ptr[float64](1),
// 					Memory: to.Ptr("2.0Gi"),
// 				},
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 					WorkloadProfileName: to.Ptr("myd4wp"),
// 				},
// 			}
Output:

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 - Description for 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 2023-01-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.
Example (CloneWebAppSlot)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CloneWebAppSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginCreateOrUpdateSlot(ctx, "testrg123", "sitef6141", "staging", armappservice.Site{
	Kind:     to.Ptr("app"),
	Location: to.Ptr("East US"),
	Properties: &armappservice.SiteProperties{
		CloningInfo: &armappservice.CloningInfo{
			AppSettingsOverrides: map[string]*string{
				"Setting1": to.Ptr("NewValue1"),
				"Setting3": to.Ptr("NewValue5"),
			},
			CloneCustomHostNames:   to.Ptr(true),
			CloneSourceControl:     to.Ptr(true),
			ConfigureLoadBalancing: to.Ptr(false),
			HostingEnvironment:     to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites"),
			Overwrite:              to.Ptr(false),
			SourceWebAppID:         to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478/slot/qa"),
			SourceWebAppLocation:   to.Ptr("West Europe"),
		},
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141/staging"),
// 	Type: to.Ptr("Microsoft.Web/sites/slots"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141-staging.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141-staging.azurewebsites.net"),
// 			to.Ptr("sitef6141-staging.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141-staging.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141-staging.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141-staging.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 				},
// 			}
Output:

Example (CreateOrUpdateWebAppSlot)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/CreateOrUpdateWebAppSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginCreateOrUpdateSlot(ctx, "testrg123", "sitef6141", "staging", armappservice.Site{
	Kind:     to.Ptr("app"),
	Location: to.Ptr("East US"),
	Properties: &armappservice.SiteProperties{
		ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	},
}, 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141/staging"),
// 	Type: to.Ptr("Microsoft.Web/sites/slots"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141-staging.azurewebsites.net"),
// 			to.Ptr("sitef6141-staging.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141-staging.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141-staging.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141-staging.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 				},
// 			}
Output:

func (*WebAppsClient) BeginCreateOrUpdateSourceControl

func (client *WebAppsClient) BeginCreateOrUpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, options *WebAppsClientBeginCreateOrUpdateSourceControlOptions) (*runtime.Poller[WebAppsClientCreateOrUpdateSourceControlResponse], error)

BeginCreateOrUpdateSourceControl - Description for Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteSitePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Interface = map[string]any{
// }
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 - Description for Deletes a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteSitePrivateEndpointConnectionSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Interface = map[string]any{
// }
Output:

func (*WebAppsClient) BeginGetProductionSiteDeploymentStatus

func (client *WebAppsClient) BeginGetProductionSiteDeploymentStatus(ctx context.Context, resourceGroupName string, name string, deploymentStatusID string, options *WebAppsClientBeginGetProductionSiteDeploymentStatusOptions) (*runtime.Poller[WebAppsClientGetProductionSiteDeploymentStatusResponse], error)

BeginGetProductionSiteDeploymentStatus - Gets the deployment status for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the app.
  • deploymentStatusID - GUID of the deployment operation.
  • options - WebAppsClientBeginGetProductionSiteDeploymentStatusOptions contains the optional parameters for the WebAppsClient.BeginGetProductionSiteDeploymentStatus method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSiteDeploymentStatus.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginGetProductionSiteDeploymentStatus(ctx, "rg", "testSite", "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CsmDeploymentStatus = armappservice.CsmDeploymentStatus{
// 	Name: to.Ptr("eacfd68b-3bbd-4ad9-99c5-98614d89c8e5"),
// 	Type: to.Ptr("Microsoft.Web/sites/deploymentStatus"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5"),
// 	Properties: &armappservice.CsmDeploymentStatusProperties{
// 		DeploymentID: to.Ptr("eacfd68b-3bbd-4ad9-99c5-98614d89c8e5"),
// 		FailedInstancesLogs: []*string{
// 		},
// 		NumberOfInstancesFailed: to.Ptr[int32](0),
// 		NumberOfInstancesInProgress: to.Ptr[int32](0),
// 		NumberOfInstancesSuccessful: to.Ptr[int32](1),
// 		Status: to.Ptr(armappservice.DeploymentBuildStatusRuntimeSuccessful),
// 	},
// }
Output:

func (*WebAppsClient) BeginGetSlotSiteDeploymentStatusSlot

func (client *WebAppsClient) BeginGetSlotSiteDeploymentStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, deploymentStatusID string, options *WebAppsClientBeginGetSlotSiteDeploymentStatusSlotOptions) (*runtime.Poller[WebAppsClientGetSlotSiteDeploymentStatusSlotResponse], error)

BeginGetSlotSiteDeploymentStatusSlot - Gets the deployment status for an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 deployment status for the production slot.
  • deploymentStatusID - GUID of the deployment operation.
  • options - WebAppsClientBeginGetSlotSiteDeploymentStatusSlotOptions contains the optional parameters for the WebAppsClient.BeginGetSlotSiteDeploymentStatusSlot method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSiteDeploymentStatusSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginGetSlotSiteDeploymentStatusSlot(ctx, "rg", "testSite", "stage", "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", 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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CsmDeploymentStatus = armappservice.CsmDeploymentStatus{
// 	Name: to.Ptr("eacfd68b-3bbd-4ad9-99c5-98614d89c8e5"),
// 	Type: to.Ptr("Microsoft.Web/sites/slots/deploymentStatus"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5"),
// 	Properties: &armappservice.CsmDeploymentStatusProperties{
// 		DeploymentID: to.Ptr("eacfd68b-3bbd-4ad9-99c5-98614d89c8e5"),
// 		FailedInstancesLogs: []*string{
// 		},
// 		NumberOfInstancesFailed: to.Ptr[int32](0),
// 		NumberOfInstancesInProgress: to.Ptr[int32](0),
// 		NumberOfInstancesSuccessful: to.Ptr[int32](1),
// 		Status: to.Ptr(armappservice.DeploymentBuildStatusRuntimeSuccessful),
// 	},
// }
Output:

func (*WebAppsClient) BeginInstallSiteExtension

func (client *WebAppsClient) BeginInstallSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, options *WebAppsClientBeginInstallSiteExtensionOptions) (*runtime.Poller[WebAppsClientInstallSiteExtensionResponse], error)

BeginInstallSiteExtension - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the Git/FTP publishing credentials of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the Git/FTP publishing credentials of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for Restores a web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/RestoreWebAppBackup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().BeginRestore(ctx, "testrg123", "sitef6141", "123244", armappservice.RestoreRequest{
	Properties: &armappservice.RestoreRequestProperties{
		Databases: []*armappservice.DatabaseBackupSetting{
			{
				Name:                 to.Ptr("backenddb"),
				ConnectionString:     to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
				ConnectionStringName: to.Ptr("backend"),
				DatabaseType:         to.Ptr(armappservice.DatabaseTypeSQLAzure),
			},
			{
				Name:                 to.Ptr("statsdb"),
				ConnectionString:     to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
				ConnectionStringName: to.Ptr("stats"),
				DatabaseType:         to.Ptr(armappservice.DatabaseTypeSQLAzure),
			}},
		Overwrite:         to.Ptr(true),
		SiteName:          to.Ptr("sitef6141"),
		StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
	},
}, 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 (*WebAppsClient) BeginRestoreFromBackupBlob

func (client *WebAppsClient) BeginRestoreFromBackupBlob(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, options *WebAppsClientBeginRestoreFromBackupBlobOptions) (*runtime.Poller[WebAppsClientRestoreFromBackupBlobResponse], error)

BeginRestoreFromBackupBlob - Description for Restores an app from a backup blob in Azure Storage. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Restores an app from a backup blob in Azure Storage. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Restores a deleted web app to this web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Restores a deleted web app to this web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for Restores a web app from a snapshot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Restores a web app from a snapshot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*WebAppsClient) BeginStartNetworkTraceSlot

func (client *WebAppsClient) BeginStartNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientBeginStartNetworkTraceSlotOptions) (*runtime.Poller[WebAppsClientStartNetworkTraceSlotResponse], error)

BeginStartNetworkTraceSlot - Description for Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*WebAppsClient) BeginStartWebSiteNetworkTraceOperation

BeginStartWebSiteNetworkTraceOperation - Description for Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/StartWebSiteNetworkTraceOperation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.NetworkTraceArray = []*armappservice.NetworkTrace{
// 	{
// 		Path: to.Ptr("D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"),
// 		Message: to.Ptr("Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"),
// 		Status: to.Ptr("Succeeded"),
// }}
Output:

func (*WebAppsClient) BeginStartWebSiteNetworkTraceOperationSlot

BeginStartWebSiteNetworkTraceOperationSlot - Description for Start capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

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 - Description for Swaps two deployment slots of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Swaps two deployment slots of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Create a deployment for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Create a deployment for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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

func (client *WebAppsClient) CreateOneDeployOperation(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientCreateOneDeployOperationOptions) (WebAppsClientCreateOneDeployOperationResponse, error)

CreateOneDeployOperation - Description for Invoke the OneDeploy publish web app extension. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateSiteConfig.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().CreateOrUpdateConfiguration(ctx, "testrg123", "sitef6141", armappservice.SiteConfigResource{
	Properties: &armappservice.SiteConfig{
		AcrUseManagedIdentityCreds: to.Ptr(false),
		AlwaysOn:                   to.Ptr(false),
		AppCommandLine:             to.Ptr(""),
		AutoHealEnabled:            to.Ptr(false),
		AzureStorageAccounts:       map[string]*armappservice.AzureStorageInfoValue{},
		DefaultDocuments: []*string{
			to.Ptr("Default.htm"),
			to.Ptr("Default.html"),
			to.Ptr("Default.asp"),
			to.Ptr("index.htm"),
			to.Ptr("index.html"),
			to.Ptr("iisstart.htm"),
			to.Ptr("default.aspx"),
			to.Ptr("index.php"),
			to.Ptr("hostingstart.html")},
		DetailedErrorLoggingEnabled:            to.Ptr(false),
		FtpsState:                              to.Ptr(armappservice.FtpsStateAllAllowed),
		FunctionAppScaleLimit:                  to.Ptr[int32](0),
		FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
		Http20Enabled:                          to.Ptr(false),
		HTTPLoggingEnabled:                     to.Ptr(false),
		LinuxFxVersion:                         to.Ptr(""),
		LoadBalancing:                          to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
		LogsDirectorySizeLimit:                 to.Ptr[int32](35),
		ManagedPipelineMode:                    to.Ptr(armappservice.ManagedPipelineModeIntegrated),
		MinTLSVersion:                          to.Ptr(armappservice.SupportedTLSVersionsOne2),
		MinimumElasticInstanceCount:            to.Ptr[int32](0),
		NetFrameworkVersion:                    to.Ptr("v4.0"),
		NodeVersion:                            to.Ptr(""),
		NumberOfWorkers:                        to.Ptr[int32](1),
		PhpVersion:                             to.Ptr("5.6"),
		PowerShellVersion:                      to.Ptr(""),
		PythonVersion:                          to.Ptr(""),
		RemoteDebuggingEnabled:                 to.Ptr(false),
		RequestTracingEnabled:                  to.Ptr(false),
		ScmMinTLSVersion:                       to.Ptr(armappservice.SupportedTLSVersionsOne2),
		Use32BitWorkerProcess:                  to.Ptr(true),
		VirtualApplications: []*armappservice.VirtualApplication{
			{
				PhysicalPath:   to.Ptr("site\\wwwroot"),
				PreloadEnabled: to.Ptr(false),
				VirtualPath:    to.Ptr("/"),
			}},
		VnetName:              to.Ptr(""),
		VnetPrivatePortsCount: to.Ptr[int32](0),
		VnetRouteAllEnabled:   to.Ptr(false),
		WebSocketsEnabled:     to.Ptr(false),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteConfigResource = armappservice.SiteConfigResource{
// 	Name: to.Ptr("web"),
// 	Type: to.Ptr("Microsoft.Web/sites/config"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteConfig{
// 		AcrUseManagedIdentityCreds: to.Ptr(false),
// 		AlwaysOn: to.Ptr(false),
// 		AppCommandLine: to.Ptr(""),
// 		AutoHealEnabled: to.Ptr(false),
// 		AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 		},
// 		DefaultDocuments: []*string{
// 			to.Ptr("Default.htm"),
// 			to.Ptr("Default.html"),
// 			to.Ptr("Default.asp"),
// 			to.Ptr("index.htm"),
// 			to.Ptr("index.html"),
// 			to.Ptr("iisstart.htm"),
// 			to.Ptr("default.aspx"),
// 			to.Ptr("index.php"),
// 			to.Ptr("hostingstart.html")},
// 			DetailedErrorLoggingEnabled: to.Ptr(false),
// 			FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 			FunctionAppScaleLimit: to.Ptr[int32](0),
// 			FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 			Http20Enabled: to.Ptr(false),
// 			HTTPLoggingEnabled: to.Ptr(false),
// 			LinuxFxVersion: to.Ptr(""),
// 			LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 			LogsDirectorySizeLimit: to.Ptr[int32](35),
// 			ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 			MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 			MinimumElasticInstanceCount: to.Ptr[int32](0),
// 			NetFrameworkVersion: to.Ptr("v4.0"),
// 			NodeVersion: to.Ptr(""),
// 			NumberOfWorkers: to.Ptr[int32](1),
// 			PhpVersion: to.Ptr("5.6"),
// 			PowerShellVersion: to.Ptr(""),
// 			PythonVersion: to.Ptr(""),
// 			RemoteDebuggingEnabled: to.Ptr(false),
// 			RequestTracingEnabled: to.Ptr(false),
// 			ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 			Use32BitWorkerProcess: to.Ptr(true),
// 			VirtualApplications: []*armappservice.VirtualApplication{
// 				{
// 					PhysicalPath: to.Ptr("site\\wwwroot"),
// 					PreloadEnabled: to.Ptr(false),
// 					VirtualPath: to.Ptr("/"),
// 			}},
// 			VnetName: to.Ptr(""),
// 			VnetPrivatePortsCount: to.Ptr[int32](0),
// 			VnetRouteAllEnabled: to.Ptr(false),
// 			WebSocketsEnabled: to.Ptr(false),
// 		},
// 	}
Output:

func (*WebAppsClient) CreateOrUpdateConfigurationSlot

func (client *WebAppsClient) CreateOrUpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteConfig SiteConfigResource, options *WebAppsClientCreateOrUpdateConfigurationSlotOptions) (WebAppsClientCreateOrUpdateConfigurationSlotResponse, error)

CreateOrUpdateConfigurationSlot - Description for Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Add or update a function secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Add or update a function secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Add or update a host level secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Add or update a host level secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().Delete(ctx, "testrg123", "sitef6141", &armappservice.WebAppsClientDeleteOptions{DeleteMetrics: nil,
	DeleteEmptyServerFarm: nil,
})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WebAppsClient) DeleteBackup

func (client *WebAppsClient) DeleteBackup(ctx context.Context, resourceGroupName string, name string, backupID string, options *WebAppsClientDeleteBackupOptions) (WebAppsClientDeleteBackupResponse, error)

DeleteBackup - Description for Deletes a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteWebAppBackup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().DeleteBackup(ctx, "testrg123", "sitef6141", "12345", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WebAppsClient) DeleteBackupConfiguration

func (client *WebAppsClient) DeleteBackupConfiguration(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeleteBackupConfigurationOptions) (WebAppsClientDeleteBackupConfigurationResponse, error)

DeleteBackupConfiguration - Description for Deletes the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Deletes a domain ownership identifier for a web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a domain ownership identifier for a web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a function secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a function secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a host level secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a host level secret. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Removes a Hybrid Connection from this site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Removes a Hybrid Connection from this site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a function for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Delete a premier add-on from an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Delete a premier add-on from an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a hostname binding for an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a relay service connection by its name. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes a relay service connection by its name. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteWebAppSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().DeleteSlot(ctx, "testrg123", "sitef6141", "staging", &armappservice.WebAppsClientDeleteSlotOptions{DeleteMetrics: nil,
	DeleteEmptyServerFarm: nil,
})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WebAppsClient) DeleteSourceControl

func (client *WebAppsClient) DeleteSourceControl(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeleteSourceControlOptions) (WebAppsClientDeleteSourceControlResponse, error)

DeleteSourceControl - Description for Deletes the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Deletes the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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) DeployWorkflowArtifacts added in v2.1.0

func (client *WebAppsClient) DeployWorkflowArtifacts(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientDeployWorkflowArtifactsOptions) (WebAppsClientDeployWorkflowArtifactsResponse, error)

DeployWorkflowArtifacts - Description for Creates the artifacts for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientDeployWorkflowArtifactsOptions contains the optional parameters for the WebAppsClient.DeployWorkflowArtifacts method.
Example (DeleteWorkflowArtifacts)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/DeleteDeployWorkflowArtifacts.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().DeployWorkflowArtifacts(ctx, "testrg123", "testsite2", &armappservice.WebAppsClientDeployWorkflowArtifactsOptions{WorkflowArtifacts: &armappservice.WorkflowArtifacts{
	FilesToDelete: []*string{
		to.Ptr("test/workflow.json"),
		to.Ptr("test/")},
},
})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

Example (DeploysWorkflowArtifacts)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PostDeployWorkflowArtifacts.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().DeployWorkflowArtifacts(ctx, "testrg123", "testsite2", &armappservice.WebAppsClientDeployWorkflowArtifactsOptions{WorkflowArtifacts: &armappservice.WorkflowArtifacts{
	AppSettings: map[string]any{
		"eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=",
	},
	Files: map[string]any{
		"connections.json": map[string]any{
			"managedApiConnections": map[string]any{},
			"serviceProviderConnections": map[string]any{
				"eventHub": map[string]any{
					"displayName": "example1",
					"parameterValues": map[string]any{
						"connectionString": "@appsetting('eventHub_connectionString')",
					},
					"serviceProvider": map[string]any{
						"id": "/serviceProviders/eventHub",
					},
				},
			},
		},
		"test1/workflow.json": map[string]any{
			"definition": map[string]any{
				"$schema":        "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
				"actions":        map[string]any{},
				"contentVersion": "1.0.0.0",
				"outputs":        map[string]any{},
				"triggers": map[string]any{
					"When_events_are_available_in_Event_hub": map[string]any{
						"type": "ServiceProvider",
						"inputs": map[string]any{
							"parameters": map[string]any{
								"eventHubName": "test123",
							},
							"serviceProviderConfiguration": map[string]any{
								"operationId":       "receiveEvents",
								"connectionName":    "eventHub",
								"serviceProviderId": "/serviceProviders/eventHub",
							},
						},
						"splitOn": "@triggerOutputs()?['body']",
					},
				},
			},
			"kind": "Stateful",
		},
	},
},
})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WebAppsClient) DeployWorkflowArtifactsSlot added in v2.1.0

func (client *WebAppsClient) DeployWorkflowArtifactsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientDeployWorkflowArtifactsSlotOptions) (WebAppsClientDeployWorkflowArtifactsSlotResponse, error)

DeployWorkflowArtifactsSlot - Description for Creates the artifacts for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • slot - Name of the deployment slot.
  • options - WebAppsClientDeployWorkflowArtifactsSlotOptions contains the optional parameters for the WebAppsClient.DeployWorkflowArtifactsSlot method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/PostDeployWorkflowArtifactsSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().DeployWorkflowArtifactsSlot(ctx, "testrg123", "testsite2", "testsSlot", &armappservice.WebAppsClientDeployWorkflowArtifactsSlotOptions{WorkflowArtifacts: &armappservice.WorkflowArtifacts{
	AppSettings: map[string]any{
		"eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=",
	},
	Files: map[string]any{
		"connections.json": map[string]any{
			"managedApiConnections": map[string]any{},
			"serviceProviderConnections": map[string]any{
				"eventHub": map[string]any{
					"displayName": "example1",
					"parameterValues": map[string]any{
						"connectionString": "@appsetting('eventHub_connectionString')",
					},
					"serviceProvider": map[string]any{
						"id": "/serviceProviders/eventHub",
					},
				},
			},
		},
		"test1/workflow.json": map[string]any{
			"definition": map[string]any{
				"$schema":        "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
				"actions":        map[string]any{},
				"contentVersion": "1.0.0.0",
				"outputs":        map[string]any{},
				"triggers": map[string]any{
					"When_events_are_available_in_Event_hub": map[string]any{
						"type": "ServiceProvider",
						"inputs": map[string]any{
							"parameters": map[string]any{
								"eventHubName": "test123",
							},
							"serviceProviderConfiguration": map[string]any{
								"operationId":       "receiveEvents",
								"connectionName":    "eventHub",
								"serviceProviderId": "/serviceProviders/eventHub",
							},
						},
						"splitOn": "@triggerOutputs()?['body']",
					},
				},
			},
			"kind": "Stateful",
		},
	},
},
})
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WebAppsClient) DiscoverBackup

func (client *WebAppsClient) DiscoverBackup(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, options *WebAppsClientDiscoverBackupOptions) (WebAppsClientDiscoverBackupResponse, error)

DiscoverBackup - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the details of a web, mobile, or API app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().Get(ctx, "testrg123", "sitef6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141.azurewebsites.net"),
// 			to.Ptr("sitef6141.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceConfig: &armappservice.ResourceConfig{
// 					CPU: to.Ptr[float64](1),
// 					Memory: to.Ptr("2.0Gi"),
// 				},
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 					WorkloadProfileName: to.Ptr("myd4wp"),
// 				},
// 			}
Output:

func (*WebAppsClient) GetAppSettingKeyVaultReference

func (client *WebAppsClient) GetAppSettingKeyVaultReference(ctx context.Context, resourceGroupName string, name string, appSettingKey string, options *WebAppsClientGetAppSettingKeyVaultReferenceOptions) (WebAppsClientGetAppSettingKeyVaultReferenceResponse, error)

GetAppSettingKeyVaultReference - Description for Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetKeyVaultReferencesForAppSetting.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetAppSettingKeyVaultReference(ctx, "testrg123", "testc6282", "setting", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.APIKVReference = armappservice.APIKVReference{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/setting"),
// 	Properties: &armappservice.APIKVReferenceProperties{
// 		SecretName: to.Ptr("secretName"),
// 		SecretVersion: to.Ptr("secretVersion"),
// 		VaultName: to.Ptr("keyVaultName"),
// 	},
// }
Output:

func (*WebAppsClient) GetAppSettingKeyVaultReferenceSlot

func (client *WebAppsClient) GetAppSettingKeyVaultReferenceSlot(ctx context.Context, resourceGroupName string, name string, appSettingKey string, slot string, options *WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions) (WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse, error)

GetAppSettingKeyVaultReferenceSlot - Description for Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetKeyVaultReferencesForAppSettingSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetAppSettingKeyVaultReferenceSlot(ctx, "testrg123", "testc6282", "setting", "stage", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.APIKVReference = armappservice.APIKVReference{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/setting"),
// 	Properties: &armappservice.APIKVReferenceProperties{
// 		SecretName: to.Ptr("secretName"),
// 		SecretVersion: to.Ptr("secretVersion"),
// 		VaultName: to.Ptr("keyVaultName"),
// 	},
// }
Output:

func (*WebAppsClient) GetAuthSettings

func (client *WebAppsClient) GetAuthSettings(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetAuthSettingsOptions) (WebAppsClientGetAuthSettingsResponse, error)

GetAuthSettings - Description for Gets the Authentication/Authorization settings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListAuthSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetAuthSettings(ctx, "testrg123", "sitef6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteAuthSettings = armappservice.SiteAuthSettings{
// 	Name: to.Ptr("authsettings"),
// 	Type: to.Ptr("Microsoft.Web/sites/authsettings"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteAuthSettingsProperties{
// 		AllowedExternalRedirectUrls: []*string{
// 			to.Ptr("sitef6141.customdomain.net"),
// 			to.Ptr("sitef6141.customdomain.info")},
// 			ClientID: to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
// 			DefaultProvider: to.Ptr(armappservice.BuiltInAuthenticationProviderGoogle),
// 			Enabled: to.Ptr(true),
// 			RuntimeVersion: to.Ptr("~1"),
// 			TokenRefreshExtensionHours: to.Ptr[float64](120),
// 			TokenStoreEnabled: to.Ptr(true),
// 			UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionRedirectToLoginPage),
// 		},
// 	}
Output:

func (*WebAppsClient) GetAuthSettingsSlot

func (client *WebAppsClient) GetAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetAuthSettingsSlotOptions) (WebAppsClientGetAuthSettingsSlotResponse, error)

GetAuthSettingsSlot - Description for Gets the Authentication/Authorization settings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListAuthSettingsV2.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetAuthSettingsV2(ctx, "testrg123", "sitef6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteAuthSettingsV2 = armappservice.SiteAuthSettingsV2{
// 	Name: to.Ptr("authsettingsv2"),
// 	Type: to.Ptr("Microsoft.Web/sites/authsettingsv2"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteAuthSettingsV2Properties{
// 		GlobalValidation: &armappservice.GlobalValidation{
// 			ExcludedPaths: []*string{
// 				to.Ptr("/nosecrets/Path")},
// 				RequireAuthentication: to.Ptr(true),
// 				UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionV2Return403),
// 			},
// 			HTTPSettings: &armappservice.HTTPSettings{
// 				ForwardProxy: &armappservice.ForwardProxy{
// 					Convention: to.Ptr(armappservice.ForwardProxyConventionStandard),
// 					CustomHostHeaderName: to.Ptr("authHeader"),
// 					CustomProtoHeaderName: to.Ptr("customProtoHeader"),
// 				},
// 				RequireHTTPS: to.Ptr(true),
// 				Routes: &armappservice.HTTPSettingsRoutes{
// 					APIPrefix: to.Ptr("/authv2/"),
// 				},
// 			},
// 			IdentityProviders: &armappservice.IdentityProviders{
// 				Google: &armappservice.Google{
// 					Enabled: to.Ptr(true),
// 					Login: &armappservice.LoginScopes{
// 						Scopes: []*string{
// 							to.Ptr("admin")},
// 						},
// 						Registration: &armappservice.ClientRegistration{
// 							ClientID: to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
// 							ClientSecretSettingName: to.Ptr("ClientSecret"),
// 						},
// 						Validation: &armappservice.AllowedAudiencesValidation{
// 							AllowedAudiences: []*string{
// 								to.Ptr("https://example.com")},
// 							},
// 						},
// 					},
// 					Login: &armappservice.Login{
// 						AllowedExternalRedirectUrls: []*string{
// 							to.Ptr("https://someurl.com")},
// 							CookieExpiration: &armappservice.CookieExpiration{
// 								Convention: to.Ptr(armappservice.CookieExpirationConventionIdentityProviderDerived),
// 								TimeToExpiration: to.Ptr("2022:09-01T00:00Z"),
// 							},
// 							Nonce: &armappservice.Nonce{
// 								ValidateNonce: to.Ptr(true),
// 							},
// 							PreserveURLFragmentsForLogins: to.Ptr(true),
// 							Routes: &armappservice.LoginRoutes{
// 								LogoutEndpoint: to.Ptr("https://app.com/logout"),
// 							},
// 							TokenStore: &armappservice.TokenStore{
// 								Enabled: to.Ptr(true),
// 								FileSystem: &armappservice.FileSystemTokenStore{
// 									Directory: to.Ptr("/wwwroot/sites/example"),
// 								},
// 								TokenRefreshExtensionHours: to.Ptr[float64](96),
// 							},
// 						},
// 						Platform: &armappservice.AuthPlatform{
// 							ConfigFilePath: to.Ptr("/auth/config.json"),
// 							Enabled: to.Ptr(true),
// 							RuntimeVersion: to.Ptr("~1"),
// 						},
// 					},
// 				}
Output:

func (*WebAppsClient) GetAuthSettingsV2Slot

func (client *WebAppsClient) GetAuthSettingsV2Slot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetAuthSettingsV2SlotOptions) (WebAppsClientGetAuthSettingsV2SlotResponse, error)

GetAuthSettingsV2Slot - Description for 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 2023-01-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

func (client *WebAppsClient) GetAuthSettingsV2WithoutSecrets(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetAuthSettingsV2WithoutSecretsOptions) (WebAppsClientGetAuthSettingsV2WithoutSecretsResponse, error)

GetAuthSettingsV2WithoutSecrets - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetAuthSettingsV2WithoutSecrets.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetAuthSettingsV2WithoutSecrets(ctx, "testrg123", "sitef6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteAuthSettingsV2 = armappservice.SiteAuthSettingsV2{
// 	Name: to.Ptr("authsettingsv2"),
// 	Type: to.Ptr("Microsoft.Web/sites/authsettingsv2"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteAuthSettingsV2Properties{
// 		GlobalValidation: &armappservice.GlobalValidation{
// 			ExcludedPaths: []*string{
// 				to.Ptr("/nosecrets/Path")},
// 				RequireAuthentication: to.Ptr(true),
// 				UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionV2Return403),
// 			},
// 			HTTPSettings: &armappservice.HTTPSettings{
// 				ForwardProxy: &armappservice.ForwardProxy{
// 					Convention: to.Ptr(armappservice.ForwardProxyConventionStandard),
// 					CustomHostHeaderName: to.Ptr("authHeader"),
// 					CustomProtoHeaderName: to.Ptr("customProtoHeader"),
// 				},
// 				RequireHTTPS: to.Ptr(true),
// 				Routes: &armappservice.HTTPSettingsRoutes{
// 					APIPrefix: to.Ptr("/authv2/"),
// 				},
// 			},
// 			IdentityProviders: &armappservice.IdentityProviders{
// 				Google: &armappservice.Google{
// 					Enabled: to.Ptr(true),
// 					Login: &armappservice.LoginScopes{
// 						Scopes: []*string{
// 							to.Ptr("admin")},
// 						},
// 						Registration: &armappservice.ClientRegistration{
// 							ClientID: to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
// 							ClientSecretSettingName: to.Ptr("ClientSecret"),
// 						},
// 						Validation: &armappservice.AllowedAudiencesValidation{
// 							AllowedAudiences: []*string{
// 								to.Ptr("https://example.com")},
// 							},
// 						},
// 					},
// 					Login: &armappservice.Login{
// 						AllowedExternalRedirectUrls: []*string{
// 							to.Ptr("https://someurl.com")},
// 							CookieExpiration: &armappservice.CookieExpiration{
// 								Convention: to.Ptr(armappservice.CookieExpirationConventionIdentityProviderDerived),
// 								TimeToExpiration: to.Ptr("2022:09-01T00:00Z"),
// 							},
// 							Nonce: &armappservice.Nonce{
// 								ValidateNonce: to.Ptr(true),
// 							},
// 							PreserveURLFragmentsForLogins: to.Ptr(true),
// 							Routes: &armappservice.LoginRoutes{
// 								LogoutEndpoint: to.Ptr("https://app.com/logout"),
// 							},
// 							TokenStore: &armappservice.TokenStore{
// 								Enabled: to.Ptr(true),
// 								FileSystem: &armappservice.FileSystemTokenStore{
// 									Directory: to.Ptr("/wwwroot/sites/example"),
// 								},
// 								TokenRefreshExtensionHours: to.Ptr[float64](96),
// 							},
// 						},
// 						Platform: &armappservice.AuthPlatform{
// 							ConfigFilePath: to.Ptr("/auth/config.json"),
// 							Enabled: to.Ptr(true),
// 							RuntimeVersion: to.Ptr("~1"),
// 						},
// 					},
// 				}
Output:

func (*WebAppsClient) GetAuthSettingsV2WithoutSecretsSlot

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 2023-01-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 - Description for Gets the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebAppBackup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetBackupStatus(ctx, "testrg123", "sitef6141", "12345", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.BackupItem = armappservice.BackupItem{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345"),
// 	Properties: &armappservice.BackupItemProperties{
// 		Name: to.Ptr("sitef6141_2023-01-01"),
// 		BlobName: to.Ptr("sitef6141_2023-01-01"),
// 		Created: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-03T17:33:11.641Z"); return t}()),
// 		Databases: []*armappservice.DatabaseBackupSetting{
// 			{
// 				Name: to.Ptr("backenddb"),
// 				ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
// 				ConnectionStringName: to.Ptr("backend"),
// 				DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
// 			},
// 			{
// 				Name: to.Ptr("statsdb"),
// 				ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
// 				ConnectionStringName: to.Ptr("stats"),
// 				DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
// 		}},
// 		FinishedTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-05T17:33:11.641Z"); return t}()),
// 		BackupID: to.Ptr[int32](12345),
// 		LastRestoreTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-04T17:33:11.641Z"); return t}()),
// 		Log: to.Ptr("Succeeded"),
// 		Scheduled: to.Ptr(true),
// 		SizeInBytes: to.Ptr[int64](56091883),
// 		Status: to.Ptr(armappservice.BackupItemStatusInProgress),
// 		StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
// 		WebsiteSizeInBytes: to.Ptr[int64](56091883),
// 	},
// }
Output:

func (*WebAppsClient) GetBackupStatusSlot

func (client *WebAppsClient) GetBackupStatusSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string, options *WebAppsClientGetBackupStatusSlotOptions) (WebAppsClientGetBackupStatusSlotResponse, error)

GetBackupStatusSlot - Description for Gets a backup of an app by its ID. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSiteConfig.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetConfiguration(ctx, "testrg123", "sitef6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteConfigResource = armappservice.SiteConfigResource{
// 	Name: to.Ptr("web"),
// 	Type: to.Ptr("Microsoft.Web/sites/config"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteConfig{
// 		AcrUseManagedIdentityCreds: to.Ptr(false),
// 		AlwaysOn: to.Ptr(false),
// 		AppCommandLine: to.Ptr(""),
// 		AutoHealEnabled: to.Ptr(false),
// 		AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 		},
// 		DefaultDocuments: []*string{
// 			to.Ptr("Default.htm"),
// 			to.Ptr("Default.html"),
// 			to.Ptr("Default.asp"),
// 			to.Ptr("index.htm"),
// 			to.Ptr("index.html"),
// 			to.Ptr("iisstart.htm"),
// 			to.Ptr("default.aspx"),
// 			to.Ptr("index.php"),
// 			to.Ptr("hostingstart.html")},
// 			DetailedErrorLoggingEnabled: to.Ptr(false),
// 			FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 			FunctionAppScaleLimit: to.Ptr[int32](0),
// 			FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 			Http20Enabled: to.Ptr(false),
// 			HTTPLoggingEnabled: to.Ptr(false),
// 			LinuxFxVersion: to.Ptr(""),
// 			LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 			LogsDirectorySizeLimit: to.Ptr[int32](35),
// 			ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 			MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 			MinimumElasticInstanceCount: to.Ptr[int32](0),
// 			NetFrameworkVersion: to.Ptr("v4.0"),
// 			NodeVersion: to.Ptr(""),
// 			NumberOfWorkers: to.Ptr[int32](1),
// 			PhpVersion: to.Ptr("5.6"),
// 			PowerShellVersion: to.Ptr(""),
// 			PythonVersion: to.Ptr(""),
// 			RemoteDebuggingEnabled: to.Ptr(false),
// 			RequestTracingEnabled: to.Ptr(false),
// 			ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 			Use32BitWorkerProcess: to.Ptr(true),
// 			VirtualApplications: []*armappservice.VirtualApplication{
// 				{
// 					PhysicalPath: to.Ptr("site\\wwwroot"),
// 					PreloadEnabled: to.Ptr(false),
// 					VirtualPath: to.Ptr("/"),
// 			}},
// 			VnetName: to.Ptr(""),
// 			VnetPrivatePortsCount: to.Ptr[int32](0),
// 			VnetRouteAllEnabled: to.Ptr(false),
// 			WebSocketsEnabled: to.Ptr(false),
// 		},
// 	}
Output:

func (*WebAppsClient) GetConfigurationSlot

func (client *WebAppsClient) GetConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetConfigurationSlotOptions) (WebAppsClientGetConfigurationSlotResponse, error)

GetConfigurationSlot - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get domain ownership identifier for web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get domain ownership identifier for web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Returns whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetPublishingCredentialsPolicy.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetFtpAllowed(ctx, "rg", "testSite", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CsmPublishingCredentialsPoliciesEntity = armappservice.CsmPublishingCredentialsPoliciesEntity{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp"),
// 	Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
// 		Allow: to.Ptr(false),
// 	},
// }
Output:

func (*WebAppsClient) GetFtpAllowedSlot

func (client *WebAppsClient) GetFtpAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetFtpAllowedSlotOptions) (WebAppsClientGetFtpAllowedSlotResponse, error)

GetFtpAllowedSlot - Description for Returns whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetPublishingCredentialsPolicySlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetFtpAllowedSlot(ctx, "rg", "testSite", "stage", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CsmPublishingCredentialsPoliciesEntity = armappservice.CsmPublishingCredentialsPoliciesEntity{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp"),
// 	Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
// 		Allow: to.Ptr(false),
// 	},
// }
Output:

func (*WebAppsClient) GetFunction

func (client *WebAppsClient) GetFunction(ctx context.Context, resourceGroupName string, name string, functionName string, options *WebAppsClientGetFunctionOptions) (WebAppsClientGetFunctionResponse, error)

GetFunction - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets all scale-out instances of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSiteInstanceInfo.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetInstanceInfo(ctx, "testrg123", "tests346", "134987120", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WebSiteInstanceStatus = armappservice.WebSiteInstanceStatus{
// 	Name: to.Ptr("134987120"),
// 	Type: to.Ptr("Microsoft.Web/sites/instances"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120"),
// 	Properties: &armappservice.WebSiteInstanceStatusProperties{
// 		Containers: map[string]*armappservice.ContainerInfo{
// 			"c1": &armappservice.ContainerInfo{
// 				CurrentTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2013-10-21T13:28:06.419Z"); return t}()),
// 			},
// 		},
// 		DetectorURL: to.Ptr("testsec579"),
// 		State: to.Ptr(armappservice.SiteRuntimeStateREADY),
// 		StatusURL: to.Ptr("https://sampleurl"),
// 	},
// }
Output:

func (*WebAppsClient) GetInstanceInfoSlot

func (client *WebAppsClient) GetInstanceInfoSlot(ctx context.Context, resourceGroupName string, name string, instanceID string, slot string, options *WebAppsClientGetInstanceInfoSlotOptions) (WebAppsClientGetInstanceInfoSlotResponse, error)

GetInstanceInfoSlot - Description for Gets all scale-out instances of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*WebAppsClient) GetInstanceMSDeployLog

func (client *WebAppsClient) GetInstanceMSDeployLog(ctx context.Context, resourceGroupName string, name string, instanceID string, options *WebAppsClientGetInstanceMSDeployLogOptions) (WebAppsClientGetInstanceMSDeployLogResponse, error)

GetInstanceMSDeployLog - Description for Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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) GetInstanceWorkflowSlot added in v2.1.0

func (client *WebAppsClient) GetInstanceWorkflowSlot(ctx context.Context, resourceGroupName string, name string, slot string, workflowName string, options *WebAppsClientGetInstanceWorkflowSlotOptions) (WebAppsClientGetInstanceWorkflowSlotResponse, error)

GetInstanceWorkflowSlot - Get workflow 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 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • slot - Name of the deployment slot.
  • workflowName - Workflow name.
  • options - WebAppsClientGetInstanceWorkflowSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceWorkflowSlot method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWorkflow.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetInstanceWorkflowSlot(ctx, "testrg123", "testsite2", "staging", "stateful1", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowEnvelope = armappservice.WorkflowEnvelope{
// 	Name: to.Ptr("testsite2/stateful1"),
// 	Type: to.Ptr("Microsoft.Web/sites/workflows"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1"),
// 	Kind: to.Ptr("Stateful"),
// 	Location: to.Ptr("USAAnywhere"),
// 	Properties: &armappservice.WorkflowEnvelopeProperties{
// 		Files: map[string]any{
// 			"connections.json": map[string]any{
// 				"managedApiConnections":map[string]any{
// 					"office365":map[string]any{
// 						"api":map[string]any{
// 							"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/office365",
// 						},
// 						"authentication":map[string]any{
// 							"type": "Raw",
// 							"parameter": "@appsetting('office365-connectionKey')",
// 							"scheme": "Key",
// 						},
// 						"connection":map[string]any{
// 							"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/connections/office365-1",
// 						},
// 						"connectionRuntimeUrl": "string",
// 					},
// 				},
// 			},
// 			"workflow.json": map[string]any{
// 				"definition":map[string]any{
// 					"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
// 					"actions":map[string]any{
// 					},
// 					"contentVersion": "1.0.0.0",
// 					"outputs":map[string]any{
// 					},
// 					"parameters":map[string]any{
// 					},
// 					"triggers":map[string]any{
// 					},
// 				},
// 			},
// 		},
// 		FlowState: to.Ptr(armappservice.WorkflowStateEnabled),
// 		Health: &armappservice.WorkflowHealth{
// 			State: to.Ptr(armappservice.WorkflowHealthStateHealthy),
// 		},
// 	},
// }
Output:

func (*WebAppsClient) GetMSDeployLog

func (client *WebAppsClient) GetMSDeployLog(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetMSDeployLogOptions) (WebAppsClientGetMSDeployLogResponse, error)

GetMSDeployLog - Description for Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get the MSDeploy Log for the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get the status of the last MSDeploy operation. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebSiteNetworkTraceOperation.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetNetworkTraceOperation(ctx, "testrg123", "SampleApp", "c291433b-53ad-4c49-8cae-0a293eae1c6d", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.NetworkTraceArray = []*armappservice.NetworkTrace{
// 	{
// 		Path: to.Ptr("D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"),
// 		Message: to.Ptr("Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"),
// 		Status: to.Ptr("Succeeded"),
// }}
Output:

func (*WebAppsClient) GetNetworkTraceOperationSlot

func (client *WebAppsClient) GetNetworkTraceOperationSlot(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTraceOperationSlotOptions) (WebAppsClientGetNetworkTraceOperationSlotResponse, error)

GetNetworkTraceOperationSlot - Description for 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 2023-01-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.

func (*WebAppsClient) GetNetworkTraceOperationSlotV2

func (client *WebAppsClient) GetNetworkTraceOperationSlotV2(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTraceOperationSlotV2Options) (WebAppsClientGetNetworkTraceOperationSlotV2Response, error)

GetNetworkTraceOperationSlotV2 - Description for 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 2023-01-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.

func (*WebAppsClient) GetNetworkTraceOperationV2

func (client *WebAppsClient) GetNetworkTraceOperationV2(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTraceOperationV2Options) (WebAppsClientGetNetworkTraceOperationV2Response, error)

GetNetworkTraceOperationV2 - Description for 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 2023-01-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.

func (*WebAppsClient) GetNetworkTraces

func (client *WebAppsClient) GetNetworkTraces(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTracesOptions) (WebAppsClientGetNetworkTracesResponse, error)

GetNetworkTraces - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebSiteNetworkTraces.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetNetworkTraces(ctx, "testrg123", "SampleApp", "c291433b-53ad-4c49-8cae-0a293eae1c6d", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.NetworkTraceArray = []*armappservice.NetworkTrace{
// 	{
// 		Path: to.Ptr("D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"),
// 		Message: to.Ptr("Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"),
// 		Status: to.Ptr("Succeeded"),
// }}
Output:

func (*WebAppsClient) GetNetworkTracesSlot

func (client *WebAppsClient) GetNetworkTracesSlot(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTracesSlotOptions) (WebAppsClientGetNetworkTracesSlotResponse, error)

GetNetworkTracesSlot - Description for 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 2023-01-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.

func (*WebAppsClient) GetNetworkTracesSlotV2

func (client *WebAppsClient) GetNetworkTracesSlotV2(ctx context.Context, resourceGroupName string, name string, operationID string, slot string, options *WebAppsClientGetNetworkTracesSlotV2Options) (WebAppsClientGetNetworkTracesSlotV2Response, error)

GetNetworkTracesSlotV2 - Description for 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 2023-01-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.

func (*WebAppsClient) GetNetworkTracesV2

func (client *WebAppsClient) GetNetworkTracesV2(ctx context.Context, resourceGroupName string, name string, operationID string, options *WebAppsClientGetNetworkTracesV2Options) (WebAppsClientGetNetworkTracesV2Response, error)

GetNetworkTracesV2 - Description for 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 2023-01-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.

func (*WebAppsClient) GetOneDeployStatus

func (client *WebAppsClient) GetOneDeployStatus(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetOneDeployStatusOptions) (WebAppsClientGetOneDeployStatusResponse, error)

GetOneDeployStatus - Description for 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 2023-01-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 - Description for Gets a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateEndpointConnection.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetPrivateEndpointConnection(ctx, "rg", "testSite", "connection", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by admin."),
// 			ActionsRequired: to.Ptr(""),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
Output:

func (*WebAppsClient) GetPrivateEndpointConnectionSlot

func (client *WebAppsClient) GetPrivateEndpointConnectionSlot(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, slot string, options *WebAppsClientGetPrivateEndpointConnectionSlotOptions) (WebAppsClientGetPrivateEndpointConnectionSlotResponse, error)

GetPrivateEndpointConnectionSlot - Description for Gets a private endpoint connection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateEndpointConnectionSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetPrivateEndpointConnectionSlot(ctx, "rg", "testSite", "connection", "stage", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RemotePrivateEndpointConnectionARMResource = armappservice.RemotePrivateEndpointConnectionARMResource{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slot/stage/privateEndpointConnections/connection"),
// 	Properties: &armappservice.RemotePrivateEndpointConnectionARMResourceProperties{
// 		PrivateEndpoint: &armappservice.ArmIDWrapper{
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"),
// 		},
// 		PrivateLinkServiceConnectionState: &armappservice.PrivateLinkConnectionState{
// 			Description: to.Ptr("Approved by admin."),
// 			ActionsRequired: to.Ptr(""),
// 			Status: to.Ptr("Approved"),
// 		},
// 		ProvisioningState: to.Ptr("Succeeded"),
// 	},
// }
Output:

func (*WebAppsClient) GetPrivateLinkResources

func (client *WebAppsClient) GetPrivateLinkResources(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetPrivateLinkResourcesOptions) (WebAppsClientGetPrivateLinkResourcesResponse, error)

GetPrivateLinkResources - Description for Gets the private link resources If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateLinkResources.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetPrivateLinkResources(ctx, "rg", "testSite", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.PrivateLinkResourcesWrapper = armappservice.PrivateLinkResourcesWrapper{
// 	Value: []*armappservice.PrivateLinkResource{
// 		{
// 			Name: to.Ptr("site"),
// 			Type: to.Ptr("Microsoft.Web/sites/privateLinkResources"),
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site"),
// 			Properties: &armappservice.PrivateLinkResourceProperties{
// 				GroupID: to.Ptr("sites"),
// 				RequiredMembers: []*string{
// 					to.Ptr("sites")},
// 					RequiredZoneNames: []*string{
// 						to.Ptr("privatelink.testsite.azurewebsites.net")},
// 					},
// 			}},
// 		}
Output:

func (*WebAppsClient) GetPrivateLinkResourcesSlot

func (client *WebAppsClient) GetPrivateLinkResourcesSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetPrivateLinkResourcesSlotOptions) (WebAppsClientGetPrivateLinkResourcesSlotResponse, error)

GetPrivateLinkResourcesSlot - Description for Gets the private link resources If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetSitePrivateLinkResourcesSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetPrivateLinkResourcesSlot(ctx, "rg", "testSite", "stage", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.PrivateLinkResourcesWrapper = armappservice.PrivateLinkResourcesWrapper{
// 	Value: []*armappservice.PrivateLinkResource{
// 		{
// 			Name: to.Ptr("site"),
// 			Type: to.Ptr("Microsoft.Web/sites/privateLinkResources"),
// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site"),
// 			Properties: &armappservice.PrivateLinkResourceProperties{
// 				GroupID: to.Ptr("sites"),
// 				RequiredMembers: []*string{
// 					to.Ptr("sites")},
// 					RequiredZoneNames: []*string{
// 						to.Ptr("privatelink.testsite.azurewebsites.net")},
// 					},
// 			}},
// 		}
Output:

func (*WebAppsClient) GetProcess

func (client *WebAppsClient) GetProcess(ctx context.Context, resourceGroupName string, name string, processID string, options *WebAppsClientGetProcessOptions) (WebAppsClientGetProcessResponse, error)

GetProcess - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets a hybrid connection configuration by its name. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets a hybrid connection configuration by its name. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.

func (*WebAppsClient) GetScmAllowedSlot

func (client *WebAppsClient) GetScmAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientGetScmAllowedSlotOptions) (WebAppsClientGetScmAllowedSlotResponse, error)

GetScmAllowedSlot - Description for 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 2023-01-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.

func (*WebAppsClient) GetSiteConnectionStringKeyVaultReference

func (client *WebAppsClient) GetSiteConnectionStringKeyVaultReference(ctx context.Context, resourceGroupName string, name string, connectionStringKey string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions) (WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse, error)

GetSiteConnectionStringKeyVaultReference - Description for Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the config reference and status of an app If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets web app's event logs. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets web app's event logs. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the details of a web, mobile, or API app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebAppSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().GetSlot(ctx, "testrg123", "sitef6141", "staging", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141/staging"),
// 	Type: to.Ptr("Microsoft.Web/sites/slots"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141-staging.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141-staging.azurewebsites.net"),
// 			to.Ptr("sitef6141-staging.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141-staging.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141-staging.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141-staging.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 				},
// 			}
Output:

func (*WebAppsClient) GetSourceControl

func (client *WebAppsClient) GetSourceControl(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientGetSourceControlOptions) (WebAppsClientGetSourceControlResponse, error)

GetSourceControl - Description for Gets the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets a Swift Virtual Network connection. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets a Swift Virtual Network connection. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets an app's Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets an app's Virtual Network gateway. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for Get webjob information for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get webjob information for an app, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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) GetWorkflow added in v2.1.0

func (client *WebAppsClient) GetWorkflow(ctx context.Context, resourceGroupName string, name string, workflowName string, options *WebAppsClientGetWorkflowOptions) (WebAppsClientGetWorkflowResponse, error)

GetWorkflow - Get workflow 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 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - Workflow name.
  • options - WebAppsClientGetWorkflowOptions contains the optional parameters for the WebAppsClient.GetWorkflow method.

func (*WebAppsClient) IsCloneable

func (client *WebAppsClient) IsCloneable(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientIsCloneableOptions) (WebAppsClientIsCloneableResponse, error)

IsCloneable - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the application settings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().ListApplicationSettings(ctx, "testrg123", "sitef6141", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	Name: to.Ptr("appsettings"),
// 	Type: to.Ptr("Microsoft.Web/sites/config"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings"),
// 	Kind: to.Ptr("app"),
// 	Properties: map[string]*string{
// 		"Setting1": to.Ptr("Value1"),
// 		"Setting2": to.Ptr("Value2"),
// 	},
// }
Output:

func (*WebAppsClient) ListApplicationSettingsSlot

func (client *WebAppsClient) ListApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListApplicationSettingsSlotOptions) (WebAppsClientListApplicationSettingsSlotResponse, error)

ListApplicationSettingsSlot - Description for Gets the application settings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetWebAppBackupWithSecrets.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().ListBackupStatusSecrets(ctx, "testrg123", "sitef6141", "12345", armappservice.BackupRequest{
	Properties: &armappservice.BackupRequestProperties{
		BackupName: to.Ptr("abcdwe"),
		BackupSchedule: &armappservice.BackupSchedule{
			FrequencyInterval:     to.Ptr[int32](7),
			FrequencyUnit:         to.Ptr(armappservice.FrequencyUnitDay),
			KeepAtLeastOneBackup:  to.Ptr(true),
			RetentionPeriodInDays: to.Ptr[int32](30),
			StartTime:             to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-02T17:33:11.641Z"); return t }()),
		},
		Databases: []*armappservice.DatabaseBackupSetting{
			{
				Name:                 to.Ptr("backenddb"),
				ConnectionString:     to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
				ConnectionStringName: to.Ptr("backend"),
				DatabaseType:         to.Ptr(armappservice.DatabaseTypeSQLAzure),
			},
			{
				Name:                 to.Ptr("statsdb"),
				ConnectionString:     to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
				ConnectionStringName: to.Ptr("stats"),
				DatabaseType:         to.Ptr(armappservice.DatabaseTypeSQLAzure),
			}},
		Enabled:           to.Ptr(true),
		StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.BackupItem = armappservice.BackupItem{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345"),
// 	Properties: &armappservice.BackupItemProperties{
// 		Name: to.Ptr("sitef6141_2023-01-01"),
// 		BlobName: to.Ptr("sitef6141_2023-01-01"),
// 		Created: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-03T17:33:11.641Z"); return t}()),
// 		Databases: []*armappservice.DatabaseBackupSetting{
// 			{
// 				Name: to.Ptr("backenddb"),
// 				ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
// 				ConnectionStringName: to.Ptr("backend"),
// 				DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
// 			},
// 			{
// 				Name: to.Ptr("statsdb"),
// 				ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
// 				ConnectionStringName: to.Ptr("stats"),
// 				DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
// 		}},
// 		FinishedTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-05T17:33:11.641Z"); return t}()),
// 		BackupID: to.Ptr[int32](12345),
// 		LastRestoreTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-04T17:33:11.641Z"); return t}()),
// 		Log: to.Ptr("Succeeded"),
// 		Scheduled: to.Ptr(true),
// 		SizeInBytes: to.Ptr[int64](56091883),
// 		Status: to.Ptr(armappservice.BackupItemStatusInProgress),
// 		StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
// 		WebsiteSizeInBytes: to.Ptr[int64](56091883),
// 	},
// }
Output:

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 - Description for 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 2023-01-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 - Description for Gets the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Get host secrets for a function app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Get host secrets for a function app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the metadata of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the metadata of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the premier add-ons of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the premier add-ons of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Gets the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Gets the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for This is to allow calling via powershell and ARM template. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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) ListWorkflowsConnections added in v2.1.0

func (client *WebAppsClient) ListWorkflowsConnections(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientListWorkflowsConnectionsOptions) (WebAppsClientListWorkflowsConnectionsResponse, error)

ListWorkflowsConnections - Lists logic app's connections for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListWorkflowsConnectionsOptions contains the optional parameters for the WebAppsClient.ListWorkflowsConnections method.

func (*WebAppsClient) ListWorkflowsConnectionsSlot added in v2.1.0

func (client *WebAppsClient) ListWorkflowsConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientListWorkflowsConnectionsSlotOptions) (WebAppsClientListWorkflowsConnectionsSlotResponse, error)

ListWorkflowsConnectionsSlot - Lists logic app's connections for web site, or a deployment slot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • slot - Name of the deployment slot.
  • options - WebAppsClientListWorkflowsConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListWorkflowsConnectionsSlot method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWorkflowsConfigurationConnections.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().ListWorkflowsConnectionsSlot(ctx, "testrg123", "testsite2", "staging", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowEnvelope = armappservice.WorkflowEnvelope{
// 	Name: to.Ptr("testsite2/connections"),
// 	Type: to.Ptr("Microsoft.Web/sites/workflowsconfiguration"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections"),
// 	Location: to.Ptr("USAAnywhere"),
// 	Properties: &armappservice.WorkflowEnvelopeProperties{
// 		Files: map[string]any{
// 			"connections.json": map[string]any{
// 				"managedApiConnections":map[string]any{
// 					"office365":map[string]any{
// 						"api":map[string]any{
// 							"id": "string",
// 						},
// 						"authentication":map[string]any{
// 							"type": "Raw",
// 							"parameter": "@appsetting('office365-connectionKey')",
// 							"scheme": "Key",
// 						},
// 						"connection":map[string]any{
// 							"id": "string",
// 						},
// 						"connectionRuntimeUrl": "string",
// 					},
// 				},
// 			},
// 		},
// 		Health: &armappservice.WorkflowHealth{
// 			State: to.Ptr(armappservice.WorkflowHealthStateHealthy),
// 		},
// 	},
// }
Output:

func (*WebAppsClient) NewGetAppSettingsKeyVaultReferencesPager

func (client *WebAppsClient) NewGetAppSettingsKeyVaultReferencesPager(resourceGroupName string, name string, options *WebAppsClientGetAppSettingsKeyVaultReferencesOptions) *runtime.Pager[WebAppsClientGetAppSettingsKeyVaultReferencesResponse]

NewGetAppSettingsKeyVaultReferencesPager - Description for Gets the config reference app settings and status of an app

Generated from API version 2023-01-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.NewGetAppSettingsKeyVaultReferencesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetKeyVaultReferencesForAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewGetAppSettingsKeyVaultReferencesPager("testrg123", "testc6282", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.APIKVReferenceCollection = armappservice.APIKVReferenceCollection{
	// 	Value: []*armappservice.APIKVReference{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/secretName"),
	// 			Properties: &armappservice.APIKVReferenceProperties{
	// 				SecretName: to.Ptr("secretName"),
	// 				SecretVersion: to.Ptr("secretVersion"),
	// 				VaultName: to.Ptr("keyVaultName"),
	// 			},
	// 		},
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/secretName2"),
	// 			Properties: &armappservice.APIKVReferenceProperties{
	// 				SecretName: to.Ptr("secretName2"),
	// 				SecretVersion: to.Ptr("secretVersion2"),
	// 				VaultName: to.Ptr("keyVaultName"),
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewGetAppSettingsKeyVaultReferencesSlotPager

func (client *WebAppsClient) NewGetAppSettingsKeyVaultReferencesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions) *runtime.Pager[WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse]

NewGetAppSettingsKeyVaultReferencesSlotPager - Description for Gets the config reference app settings and status of an app

Generated from API version 2023-01-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.NewGetAppSettingsKeyVaultReferencesSlotPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewGetAppSettingsKeyVaultReferencesSlotPager("testrg123", "testc6282", "stage", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.APIKVReferenceCollection = armappservice.APIKVReferenceCollection{
	// 	Value: []*armappservice.APIKVReference{
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName"),
	// 			Properties: &armappservice.APIKVReferenceProperties{
	// 				SecretName: to.Ptr("secretName"),
	// 				SecretVersion: to.Ptr("secretVersion"),
	// 				VaultName: to.Ptr("keyVaultName"),
	// 			},
	// 		},
	// 		{
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName2"),
	// 			Properties: &armappservice.APIKVReferenceProperties{
	// 				SecretName: to.Ptr("secretName2"),
	// 				SecretVersion: to.Ptr("secretVersion2"),
	// 				VaultName: to.Ptr("keyVaultName"),
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewGetPrivateEndpointConnectionListPager

func (client *WebAppsClient) NewGetPrivateEndpointConnectionListPager(resourceGroupName string, name string, options *WebAppsClientGetPrivateEndpointConnectionListOptions) *runtime.Pager[WebAppsClientGetPrivateEndpointConnectionListResponse]

NewGetPrivateEndpointConnectionListPager - Description for Gets the list of private endpoint connections associated with a site

Generated from API version 2023-01-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.NewGetPrivateEndpointConnectionListPager method.

func (*WebAppsClient) NewGetPrivateEndpointConnectionListSlotPager

func (client *WebAppsClient) NewGetPrivateEndpointConnectionListSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientGetPrivateEndpointConnectionListSlotOptions) *runtime.Pager[WebAppsClientGetPrivateEndpointConnectionListSlotResponse]

NewGetPrivateEndpointConnectionListSlotPager - Description for Gets the list of private endpoint connections associated with a site

Generated from API version 2023-01-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.NewGetPrivateEndpointConnectionListSlotPager method.

func (*WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesPager

func (client *WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesPager(resourceGroupName string, name string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions) *runtime.Pager[WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse]

NewGetSiteConnectionStringKeyVaultReferencesPager - Description for Gets the config reference app settings and status of an app

Generated from API version 2023-01-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.NewGetSiteConnectionStringKeyVaultReferencesPager method.

func (*WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesSlotPager

func (client *WebAppsClient) NewGetSiteConnectionStringKeyVaultReferencesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions) *runtime.Pager[WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse]

NewGetSiteConnectionStringKeyVaultReferencesSlotPager - Description for Gets the config reference app settings and status of an app

Generated from API version 2023-01-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.NewGetSiteConnectionStringKeyVaultReferencesSlotPager method.

func (*WebAppsClient) NewListBackupsPager

func (client *WebAppsClient) NewListBackupsPager(resourceGroupName string, name string, options *WebAppsClientListBackupsOptions) *runtime.Pager[WebAppsClientListBackupsResponse]

NewListBackupsPager - Description for Gets existing backups of an app.

Generated from API version 2023-01-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.NewListBackupsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWebAppBackups.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListBackupsPager("testrg123", "sitef6141", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.BackupItemCollection = armappservice.BackupItemCollection{
	// 	Value: []*armappservice.BackupItem{
	// 		{
	// 			Name: to.Ptr("sitef6141"),
	// 			Type: to.Ptr("Microsoft.Web/sites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345"),
	// 			Properties: &armappservice.BackupItemProperties{
	// 				Name: to.Ptr("sitef6141_2023-01-01"),
	// 				BlobName: to.Ptr("sitef6141_2023-01-01"),
	// 				Created: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-03T17:33:11.641Z"); return t}()),
	// 				Databases: []*armappservice.DatabaseBackupSetting{
	// 					{
	// 						Name: to.Ptr("backenddb"),
	// 						ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
	// 						ConnectionStringName: to.Ptr("backend"),
	// 						DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
	// 					},
	// 					{
	// 						Name: to.Ptr("statsdb"),
	// 						ConnectionString: to.Ptr("DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;<Attribute>=<value>]"),
	// 						ConnectionStringName: to.Ptr("stats"),
	// 						DatabaseType: to.Ptr(armappservice.DatabaseTypeSQLAzure),
	// 				}},
	// 				FinishedTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-05T17:33:11.641Z"); return t}()),
	// 				BackupID: to.Ptr[int32](12345),
	// 				LastRestoreTimeStamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-09-04T17:33:11.641Z"); return t}()),
	// 				Log: to.Ptr("Succeeded"),
	// 				Scheduled: to.Ptr(true),
	// 				SizeInBytes: to.Ptr[int64](56091883),
	// 				Status: to.Ptr(armappservice.BackupItemStatusInProgress),
	// 				StorageAccountURL: to.Ptr("DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>"),
	// 				WebsiteSizeInBytes: to.Ptr[int64](56091883),
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewListBackupsSlotPager

func (client *WebAppsClient) NewListBackupsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListBackupsSlotOptions) *runtime.Pager[WebAppsClientListBackupsSlotResponse]

NewListBackupsSlotPager - Description for Gets existing backups of an app.

Generated from API version 2023-01-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.NewListBackupsSlotPager method.

func (*WebAppsClient) NewListBasicPublishingCredentialsPoliciesPager

func (client *WebAppsClient) NewListBasicPublishingCredentialsPoliciesPager(resourceGroupName string, name string, options *WebAppsClientListBasicPublishingCredentialsPoliciesOptions) *runtime.Pager[WebAppsClientListBasicPublishingCredentialsPoliciesResponse]

NewListBasicPublishingCredentialsPoliciesPager - Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.

Generated from API version 2023-01-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.NewListBasicPublishingCredentialsPoliciesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListPublishingCredentialsPolicies.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListBasicPublishingCredentialsPoliciesPager("testrg123", "testsite", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PublishingCredentialsPoliciesCollection = armappservice.PublishingCredentialsPoliciesCollection{
	// 	Value: []*armappservice.CsmPublishingCredentialsPoliciesEntity{
	// 		{
	// 			Name: to.Ptr("ftp"),
	// 			Type: to.Ptr("Microsoft.Web/sites/basicPublishingCredentialsPolicies"),
	// 			ID: to.Ptr("/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/ftp"),
	// 			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
	// 				Allow: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("scm"),
	// 			Type: to.Ptr("Microsoft.Web/sites/basicPublishingCredentialsPolicies"),
	// 			ID: to.Ptr("/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/scm"),
	// 			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
	// 				Allow: to.Ptr(true),
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewListBasicPublishingCredentialsPoliciesSlotPager

func (client *WebAppsClient) NewListBasicPublishingCredentialsPoliciesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions) *runtime.Pager[WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse]

NewListBasicPublishingCredentialsPoliciesSlotPager - Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.

Generated from API version 2023-01-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.NewListBasicPublishingCredentialsPoliciesSlotPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListPublishingCredentialsPoliciesSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListBasicPublishingCredentialsPoliciesSlotPager("testrg123", "testsite", "staging", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.PublishingCredentialsPoliciesCollection = armappservice.PublishingCredentialsPoliciesCollection{
	// 	Value: []*armappservice.CsmPublishingCredentialsPoliciesEntity{
	// 		{
	// 			Name: to.Ptr("ftp"),
	// 			Type: to.Ptr("Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies"),
	// 			ID: to.Ptr("/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/ftp"),
	// 			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
	// 				Allow: to.Ptr(true),
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("scm"),
	// 			Type: to.Ptr("Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies"),
	// 			ID: to.Ptr("/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/scm"),
	// 			Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
	// 				Allow: to.Ptr(true),
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewListByResourceGroupPager

func (client *WebAppsClient) NewListByResourceGroupPager(resourceGroupName string, options *WebAppsClientListByResourceGroupOptions) *runtime.Pager[WebAppsClientListByResourceGroupResponse]

NewListByResourceGroupPager - Description for Gets all web, mobile, and API apps in the specified resource group.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • options - WebAppsClientListByResourceGroupOptions contains the optional parameters for the WebAppsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWebAppsByResourceGroup.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListByResourceGroupPager("testrg123", &armappservice.WebAppsClientListByResourceGroupOptions{IncludeSlots: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 		{
	// 			Name: to.Ptr("sitef6141"),
	// 			Type: to.Ptr("Microsoft.Web/sites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.SiteProperties{
	// 				AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 				ClientAffinityEnabled: to.Ptr(true),
	// 				ClientCertEnabled: to.Ptr(false),
	// 				ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 				ContainerSize: to.Ptr[int32](0),
	// 				CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
	// 				DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 				DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
	// 				Enabled: to.Ptr(true),
	// 				EnabledHostNames: []*string{
	// 					to.Ptr("sitef6141.azurewebsites.net"),
	// 					to.Ptr("sitef6141.scm.azurewebsites.net")},
	// 					HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 						{
	// 							Name: to.Ptr("sitef6141.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeStandard),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 						},
	// 						{
	// 							Name: to.Ptr("sitef6141.scm.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeRepository),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 					}},
	// 					HostNames: []*string{
	// 						to.Ptr("sitef6141.azurewebsites.net")},
	// 						HostNamesDisabled: to.Ptr(false),
	// 						HTTPSOnly: to.Ptr(false),
	// 						HyperV: to.Ptr(false),
	// 						IsXenon: to.Ptr(false),
	// 						KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 						LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 						OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
	// 						PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
	// 						RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 						RepositorySiteName: to.Ptr("sitef6141"),
	// 						Reserved: to.Ptr(false),
	// 						ResourceConfig: &armappservice.ResourceConfig{
	// 							CPU: to.Ptr[float64](1),
	// 							Memory: to.Ptr("2.0Gi"),
	// 						},
	// 						ResourceGroup: to.Ptr("testrg123"),
	// 						ScmSiteAlsoStopped: to.Ptr(false),
	// 						ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	// 						SiteConfig: &armappservice.SiteConfig{
	// 							AcrUseManagedIdentityCreds: to.Ptr(false),
	// 							AlwaysOn: to.Ptr(false),
	// 							AppCommandLine: to.Ptr(""),
	// 							AutoHealEnabled: to.Ptr(false),
	// 							AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 							},
	// 							DefaultDocuments: []*string{
	// 								to.Ptr("Default.htm"),
	// 								to.Ptr("Default.html"),
	// 								to.Ptr("Default.asp"),
	// 								to.Ptr("index.htm"),
	// 								to.Ptr("index.html"),
	// 								to.Ptr("iisstart.htm"),
	// 								to.Ptr("default.aspx"),
	// 								to.Ptr("index.php"),
	// 								to.Ptr("hostingstart.html")},
	// 								DetailedErrorLoggingEnabled: to.Ptr(false),
	// 								FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 								FunctionAppScaleLimit: to.Ptr[int32](0),
	// 								FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 								Http20Enabled: to.Ptr(false),
	// 								HTTPLoggingEnabled: to.Ptr(false),
	// 								LinuxFxVersion: to.Ptr(""),
	// 								LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 								LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 								ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 								MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 								MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 								NetFrameworkVersion: to.Ptr("v4.0"),
	// 								NodeVersion: to.Ptr(""),
	// 								NumberOfWorkers: to.Ptr[int32](1),
	// 								PhpVersion: to.Ptr("5.6"),
	// 								PowerShellVersion: to.Ptr(""),
	// 								PythonVersion: to.Ptr(""),
	// 								RemoteDebuggingEnabled: to.Ptr(false),
	// 								RequestTracingEnabled: to.Ptr(false),
	// 								ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 								Use32BitWorkerProcess: to.Ptr(true),
	// 								VirtualApplications: []*armappservice.VirtualApplication{
	// 									{
	// 										PhysicalPath: to.Ptr("site\\wwwroot"),
	// 										PreloadEnabled: to.Ptr(false),
	// 										VirtualPath: to.Ptr("/"),
	// 								}},
	// 								VnetName: to.Ptr(""),
	// 								VnetPrivatePortsCount: to.Ptr[int32](0),
	// 								VnetRouteAllEnabled: to.Ptr(false),
	// 								WebSocketsEnabled: to.Ptr(false),
	// 							},
	// 							State: to.Ptr("Running"),
	// 							StorageAccountRequired: to.Ptr(false),
	// 							UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 							VnetContentShareEnabled: to.Ptr(false),
	// 							VnetImagePullEnabled: to.Ptr(false),
	// 							VnetRouteAllEnabled: to.Ptr(false),
	// 							WorkloadProfileName: to.Ptr("myd4wp"),
	// 						},
	// 					},
	// 					{
	// 						Name: to.Ptr("sitef7252"),
	// 						Type: to.Ptr("Microsoft.Web/sites"),
	// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252"),
	// 						Kind: to.Ptr("app"),
	// 						Location: to.Ptr("East US"),
	// 						Properties: &armappservice.SiteProperties{
	// 							AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 							ClientAffinityEnabled: to.Ptr(true),
	// 							ClientCertEnabled: to.Ptr(false),
	// 							ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 							ContainerSize: to.Ptr[int32](0),
	// 							CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
	// 							DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 							DefaultHostName: to.Ptr("sitef7252.azurewebsites.net"),
	// 							Enabled: to.Ptr(true),
	// 							EnabledHostNames: []*string{
	// 								to.Ptr("sitef7252.azurewebsites.net"),
	// 								to.Ptr("sitef7252.scm.azurewebsites.net")},
	// 								HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 									{
	// 										Name: to.Ptr("sitef7252.azurewebsites.net"),
	// 										HostType: to.Ptr(armappservice.HostTypeStandard),
	// 										SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 									},
	// 									{
	// 										Name: to.Ptr("sitef7252.scm.azurewebsites.net"),
	// 										HostType: to.Ptr(armappservice.HostTypeRepository),
	// 										SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 								}},
	// 								HostNames: []*string{
	// 									to.Ptr("sitef7252.azurewebsites.net")},
	// 									HostNamesDisabled: to.Ptr(false),
	// 									HTTPSOnly: to.Ptr(false),
	// 									HyperV: to.Ptr(false),
	// 									IsXenon: to.Ptr(false),
	// 									KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 									LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 									OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
	// 									PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
	// 									RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 									RepositorySiteName: to.Ptr("sitef7252"),
	// 									Reserved: to.Ptr(false),
	// 									ResourceConfig: &armappservice.ResourceConfig{
	// 										CPU: to.Ptr[float64](1),
	// 										Memory: to.Ptr("2.0Gi"),
	// 									},
	// 									ResourceGroup: to.Ptr("testrg123"),
	// 									ScmSiteAlsoStopped: to.Ptr(false),
	// 									ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	// 									SiteConfig: &armappservice.SiteConfig{
	// 										AcrUseManagedIdentityCreds: to.Ptr(false),
	// 										AlwaysOn: to.Ptr(false),
	// 										AppCommandLine: to.Ptr(""),
	// 										AutoHealEnabled: to.Ptr(false),
	// 										AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 										},
	// 										DefaultDocuments: []*string{
	// 											to.Ptr("Default.htm"),
	// 											to.Ptr("Default.html"),
	// 											to.Ptr("Default.asp"),
	// 											to.Ptr("index.htm"),
	// 											to.Ptr("index.html"),
	// 											to.Ptr("iisstart.htm"),
	// 											to.Ptr("default.aspx"),
	// 											to.Ptr("index.php"),
	// 											to.Ptr("hostingstart.html")},
	// 											DetailedErrorLoggingEnabled: to.Ptr(false),
	// 											FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 											FunctionAppScaleLimit: to.Ptr[int32](0),
	// 											FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 											Http20Enabled: to.Ptr(false),
	// 											HTTPLoggingEnabled: to.Ptr(false),
	// 											LinuxFxVersion: to.Ptr(""),
	// 											LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 											LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 											ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 											MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 											MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 											NetFrameworkVersion: to.Ptr("v4.0"),
	// 											NodeVersion: to.Ptr(""),
	// 											NumberOfWorkers: to.Ptr[int32](1),
	// 											PhpVersion: to.Ptr("5.6"),
	// 											PowerShellVersion: to.Ptr(""),
	// 											PythonVersion: to.Ptr(""),
	// 											RemoteDebuggingEnabled: to.Ptr(false),
	// 											RequestTracingEnabled: to.Ptr(false),
	// 											ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 											Use32BitWorkerProcess: to.Ptr(true),
	// 											VirtualApplications: []*armappservice.VirtualApplication{
	// 												{
	// 													PhysicalPath: to.Ptr("site\\wwwroot"),
	// 													PreloadEnabled: to.Ptr(false),
	// 													VirtualPath: to.Ptr("/"),
	// 											}},
	// 											VnetName: to.Ptr(""),
	// 											VnetPrivatePortsCount: to.Ptr[int32](0),
	// 											VnetRouteAllEnabled: to.Ptr(false),
	// 											WebSocketsEnabled: to.Ptr(false),
	// 										},
	// 										State: to.Ptr("Running"),
	// 										StorageAccountRequired: to.Ptr(false),
	// 										UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 										VnetContentShareEnabled: to.Ptr(false),
	// 										VnetImagePullEnabled: to.Ptr(false),
	// 										VnetRouteAllEnabled: to.Ptr(false),
	// 										WorkloadProfileName: to.Ptr("myd4wp"),
	// 									},
	// 							}},
	// 						}
}
Output:

func (*WebAppsClient) NewListConfigurationSnapshotInfoPager

func (client *WebAppsClient) NewListConfigurationSnapshotInfoPager(resourceGroupName string, name string, options *WebAppsClientListConfigurationSnapshotInfoOptions) *runtime.Pager[WebAppsClientListConfigurationSnapshotInfoResponse]

NewListConfigurationSnapshotInfoPager - Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.

Generated from API version 2023-01-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.NewListConfigurationSnapshotInfoPager method.

func (*WebAppsClient) NewListConfigurationSnapshotInfoSlotPager

func (client *WebAppsClient) NewListConfigurationSnapshotInfoSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListConfigurationSnapshotInfoSlotOptions) *runtime.Pager[WebAppsClientListConfigurationSnapshotInfoSlotResponse]

NewListConfigurationSnapshotInfoSlotPager - Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.

Generated from API version 2023-01-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.NewListConfigurationSnapshotInfoSlotPager method.

func (*WebAppsClient) NewListConfigurationsPager

func (client *WebAppsClient) NewListConfigurationsPager(resourceGroupName string, name string, options *WebAppsClientListConfigurationsOptions) *runtime.Pager[WebAppsClientListConfigurationsResponse]

NewListConfigurationsPager - Description for List the configurations of an app

Generated from API version 2023-01-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.NewListConfigurationsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWebAppConfigurations.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListConfigurationsPager("testrg123", "sitef6141", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.SiteConfigResourceCollection = armappservice.SiteConfigResourceCollection{
	// 	Value: []*armappservice.SiteConfigResource{
	// 		{
	// 			Name: to.Ptr("web"),
	// 			Type: to.Ptr("Microsoft.Web/sites/config"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web"),
	// 			Kind: to.Ptr("app"),
	// 			Properties: &armappservice.SiteConfig{
	// 				AcrUseManagedIdentityCreds: to.Ptr(false),
	// 				AlwaysOn: to.Ptr(false),
	// 				AppCommandLine: to.Ptr(""),
	// 				AutoHealEnabled: to.Ptr(false),
	// 				AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 				},
	// 				DefaultDocuments: []*string{
	// 					to.Ptr("Default.htm"),
	// 					to.Ptr("Default.html"),
	// 					to.Ptr("Default.asp"),
	// 					to.Ptr("index.htm"),
	// 					to.Ptr("index.html"),
	// 					to.Ptr("iisstart.htm"),
	// 					to.Ptr("default.aspx"),
	// 					to.Ptr("index.php"),
	// 					to.Ptr("hostingstart.html")},
	// 					DetailedErrorLoggingEnabled: to.Ptr(false),
	// 					FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 					FunctionAppScaleLimit: to.Ptr[int32](0),
	// 					FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 					Http20Enabled: to.Ptr(false),
	// 					HTTPLoggingEnabled: to.Ptr(false),
	// 					LinuxFxVersion: to.Ptr(""),
	// 					LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 					LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 					ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 					MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 					MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 					NetFrameworkVersion: to.Ptr("v4.0"),
	// 					NodeVersion: to.Ptr(""),
	// 					NumberOfWorkers: to.Ptr[int32](1),
	// 					PhpVersion: to.Ptr("5.6"),
	// 					PowerShellVersion: to.Ptr(""),
	// 					PythonVersion: to.Ptr(""),
	// 					RemoteDebuggingEnabled: to.Ptr(false),
	// 					RequestTracingEnabled: to.Ptr(false),
	// 					ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 					Use32BitWorkerProcess: to.Ptr(true),
	// 					VirtualApplications: []*armappservice.VirtualApplication{
	// 						{
	// 							PhysicalPath: to.Ptr("site\\wwwroot"),
	// 							PreloadEnabled: to.Ptr(false),
	// 							VirtualPath: to.Ptr("/"),
	// 					}},
	// 					VnetName: to.Ptr(""),
	// 					VnetPrivatePortsCount: to.Ptr[int32](0),
	// 					VnetRouteAllEnabled: to.Ptr(false),
	// 					WebSocketsEnabled: to.Ptr(false),
	// 				},
	// 		}},
	// 	}
}
Output:

func (*WebAppsClient) NewListConfigurationsSlotPager

func (client *WebAppsClient) NewListConfigurationsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListConfigurationsSlotOptions) *runtime.Pager[WebAppsClientListConfigurationsSlotResponse]

NewListConfigurationsSlotPager - Description for List the configurations of an app

Generated from API version 2023-01-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.NewListConfigurationsSlotPager method.

func (*WebAppsClient) NewListContinuousWebJobsPager

func (client *WebAppsClient) NewListContinuousWebJobsPager(resourceGroupName string, name string, options *WebAppsClientListContinuousWebJobsOptions) *runtime.Pager[WebAppsClientListContinuousWebJobsResponse]

NewListContinuousWebJobsPager - Description for List continuous web jobs for an app, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListContinuousWebJobsOptions contains the optional parameters for the WebAppsClient.NewListContinuousWebJobsPager method.

func (*WebAppsClient) NewListContinuousWebJobsSlotPager

func (client *WebAppsClient) NewListContinuousWebJobsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListContinuousWebJobsSlotOptions) *runtime.Pager[WebAppsClientListContinuousWebJobsSlotResponse]

NewListContinuousWebJobsSlotPager - Description for List continuous web jobs for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListContinuousWebJobsSlotPager method.

func (*WebAppsClient) NewListDeploymentsPager

func (client *WebAppsClient) NewListDeploymentsPager(resourceGroupName string, name string, options *WebAppsClientListDeploymentsOptions) *runtime.Pager[WebAppsClientListDeploymentsResponse]

NewListDeploymentsPager - Description for List deployments for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListDeploymentsPager method.

func (*WebAppsClient) NewListDeploymentsSlotPager

func (client *WebAppsClient) NewListDeploymentsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListDeploymentsSlotOptions) *runtime.Pager[WebAppsClientListDeploymentsSlotResponse]

NewListDeploymentsSlotPager - Description for List deployments for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListDeploymentsSlotPager method.

func (*WebAppsClient) NewListDomainOwnershipIdentifiersPager

func (client *WebAppsClient) NewListDomainOwnershipIdentifiersPager(resourceGroupName string, name string, options *WebAppsClientListDomainOwnershipIdentifiersOptions) *runtime.Pager[WebAppsClientListDomainOwnershipIdentifiersResponse]

NewListDomainOwnershipIdentifiersPager - Description for Lists ownership identifiers for domain associated with web app.

Generated from API version 2023-01-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.NewListDomainOwnershipIdentifiersPager method.

func (*WebAppsClient) NewListDomainOwnershipIdentifiersSlotPager

func (client *WebAppsClient) NewListDomainOwnershipIdentifiersSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListDomainOwnershipIdentifiersSlotOptions) *runtime.Pager[WebAppsClientListDomainOwnershipIdentifiersSlotResponse]

NewListDomainOwnershipIdentifiersSlotPager - Description for Lists ownership identifiers for domain associated with web app.

Generated from API version 2023-01-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.NewListDomainOwnershipIdentifiersSlotPager method.

func (*WebAppsClient) NewListFunctionsPager

func (client *WebAppsClient) NewListFunctionsPager(resourceGroupName string, name string, options *WebAppsClientListFunctionsOptions) *runtime.Pager[WebAppsClientListFunctionsResponse]

NewListFunctionsPager - Description for List the functions for a web site, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListFunctionsOptions contains the optional parameters for the WebAppsClient.NewListFunctionsPager method.

func (*WebAppsClient) NewListHostNameBindingsPager

func (client *WebAppsClient) NewListHostNameBindingsPager(resourceGroupName string, name string, options *WebAppsClientListHostNameBindingsOptions) *runtime.Pager[WebAppsClientListHostNameBindingsResponse]

NewListHostNameBindingsPager - Description for Get hostname bindings for an app or a deployment slot.

Generated from API version 2023-01-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.NewListHostNameBindingsPager method.

func (*WebAppsClient) NewListHostNameBindingsSlotPager

func (client *WebAppsClient) NewListHostNameBindingsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListHostNameBindingsSlotOptions) *runtime.Pager[WebAppsClientListHostNameBindingsSlotResponse]

NewListHostNameBindingsSlotPager - Description for Get hostname bindings for an app or a deployment slot.

Generated from API version 2023-01-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.NewListHostNameBindingsSlotPager method.

func (*WebAppsClient) NewListInstanceFunctionsSlotPager

func (client *WebAppsClient) NewListInstanceFunctionsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListInstanceFunctionsSlotOptions) *runtime.Pager[WebAppsClientListInstanceFunctionsSlotResponse]

NewListInstanceFunctionsSlotPager - Description for List the functions for a web site, or a deployment slot.

Generated from API version 2023-01-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.NewListInstanceFunctionsSlotPager method.

func (*WebAppsClient) NewListInstanceIdentifiersPager

func (client *WebAppsClient) NewListInstanceIdentifiersPager(resourceGroupName string, name string, options *WebAppsClientListInstanceIdentifiersOptions) *runtime.Pager[WebAppsClientListInstanceIdentifiersResponse]

NewListInstanceIdentifiersPager - Description for Gets all scale-out instances of an app.

Generated from API version 2023-01-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.NewListInstanceIdentifiersPager method.

func (*WebAppsClient) NewListInstanceIdentifiersSlotPager

func (client *WebAppsClient) NewListInstanceIdentifiersSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListInstanceIdentifiersSlotOptions) *runtime.Pager[WebAppsClientListInstanceIdentifiersSlotResponse]

NewListInstanceIdentifiersSlotPager - Description for Gets all scale-out instances of an app.

Generated from API version 2023-01-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.NewListInstanceIdentifiersSlotPager method.

func (*WebAppsClient) NewListInstanceProcessModulesPager

func (client *WebAppsClient) NewListInstanceProcessModulesPager(resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientListInstanceProcessModulesOptions) *runtime.Pager[WebAppsClientListInstanceProcessModulesResponse]

NewListInstanceProcessModulesPager - Description for List module information for a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListInstanceProcessModulesPager method.

func (*WebAppsClient) NewListInstanceProcessModulesSlotPager

func (client *WebAppsClient) NewListInstanceProcessModulesSlotPager(resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientListInstanceProcessModulesSlotOptions) *runtime.Pager[WebAppsClientListInstanceProcessModulesSlotResponse]

NewListInstanceProcessModulesSlotPager - Description for List module information for a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListInstanceProcessModulesSlotPager method.

func (*WebAppsClient) NewListInstanceProcessThreadsPager

func (client *WebAppsClient) NewListInstanceProcessThreadsPager(resourceGroupName string, name string, processID string, instanceID string, options *WebAppsClientListInstanceProcessThreadsOptions) *runtime.Pager[WebAppsClientListInstanceProcessThreadsResponse]

NewListInstanceProcessThreadsPager - Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListInstanceProcessThreadsPager method.

func (*WebAppsClient) NewListInstanceProcessThreadsSlotPager

func (client *WebAppsClient) NewListInstanceProcessThreadsSlotPager(resourceGroupName string, name string, processID string, slot string, instanceID string, options *WebAppsClientListInstanceProcessThreadsSlotOptions) *runtime.Pager[WebAppsClientListInstanceProcessThreadsSlotResponse]

NewListInstanceProcessThreadsSlotPager - Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListInstanceProcessThreadsSlotPager method.

func (*WebAppsClient) NewListInstanceProcessesPager

func (client *WebAppsClient) NewListInstanceProcessesPager(resourceGroupName string, name string, instanceID string, options *WebAppsClientListInstanceProcessesOptions) *runtime.Pager[WebAppsClientListInstanceProcessesResponse]

NewListInstanceProcessesPager - Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListInstanceProcessesPager method.

func (*WebAppsClient) NewListInstanceProcessesSlotPager

func (client *WebAppsClient) NewListInstanceProcessesSlotPager(resourceGroupName string, name string, slot string, instanceID string, options *WebAppsClientListInstanceProcessesSlotOptions) *runtime.Pager[WebAppsClientListInstanceProcessesSlotResponse]

NewListInstanceProcessesSlotPager - Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListInstanceProcessesSlotPager method.

func (*WebAppsClient) NewListInstanceWorkflowsSlotPager added in v2.1.0

func (client *WebAppsClient) NewListInstanceWorkflowsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListInstanceWorkflowsSlotOptions) *runtime.Pager[WebAppsClientListInstanceWorkflowsSlotResponse]

NewListInstanceWorkflowsSlotPager - List the workflows for a web site, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • slot - Name of the deployment slot.
  • options - WebAppsClientListInstanceWorkflowsSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceWorkflowsSlotPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWorkflows.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListInstanceWorkflowsSlotPager("testrg123", "testsite2", "staging", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowEnvelopeCollection = armappservice.WorkflowEnvelopeCollection{
	// 	Value: []*armappservice.WorkflowEnvelope{
	// 		{
	// 			Name: to.Ptr("testsite2/a1"),
	// 			Type: to.Ptr("Microsoft.Web/sites/workflows"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1"),
	// 			Kind: to.Ptr("Stateful"),
	// 			Location: to.Ptr("USAAnywhere"),
	// 			Properties: &armappservice.WorkflowEnvelopeProperties{
	// 				FlowState: to.Ptr(armappservice.WorkflowStateEnabled),
	// 				Health: &armappservice.WorkflowHealth{
	// 					State: to.Ptr(armappservice.WorkflowHealthStateHealthy),
	// 				},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("testsite2/stateful2"),
	// 			Type: to.Ptr("Microsoft.Web/sites/workflows"),
	// 			ID: to.Ptr("/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2"),
	// 			Kind: to.Ptr("Stateful"),
	// 			Location: to.Ptr("USAAnywhere"),
	// 			Properties: &armappservice.WorkflowEnvelopeProperties{
	// 				FlowState: to.Ptr(armappservice.WorkflowStateEnabled),
	// 				Health: &armappservice.WorkflowHealth{
	// 					Error: &armappservice.ErrorEntity{
	// 						Code: to.Ptr("InvalidWorkflowJson"),
	// 						Message: to.Ptr("Invalid character after parsing property name. Expected ':' but got: \". Path '', line 2, position 2."),
	// 					},
	// 					State: to.Ptr(armappservice.WorkflowHealthStateUnhealthy),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewListPager

NewListPager - Description for Get all apps for a subscription.

Generated from API version 2023-01-01

  • options - WebAppsClientListOptions contains the optional parameters for the WebAppsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWebApps.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 		{
	// 			Name: to.Ptr("sitef6141"),
	// 			Type: to.Ptr("Microsoft.Web/sites"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.SiteProperties{
	// 				AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 				ClientAffinityEnabled: to.Ptr(true),
	// 				ClientCertEnabled: to.Ptr(false),
	// 				ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 				ContainerSize: to.Ptr[int32](0),
	// 				CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
	// 				DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 				DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
	// 				Enabled: to.Ptr(true),
	// 				EnabledHostNames: []*string{
	// 					to.Ptr("sitef6141.azurewebsites.net"),
	// 					to.Ptr("sitef6141.scm.azurewebsites.net")},
	// 					HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 						{
	// 							Name: to.Ptr("sitef6141.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeStandard),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 						},
	// 						{
	// 							Name: to.Ptr("sitef6141.scm.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeRepository),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 					}},
	// 					HostNames: []*string{
	// 						to.Ptr("sitef6141.azurewebsites.net")},
	// 						HostNamesDisabled: to.Ptr(false),
	// 						HTTPSOnly: to.Ptr(false),
	// 						HyperV: to.Ptr(false),
	// 						IsXenon: to.Ptr(false),
	// 						KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 						LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 						OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
	// 						PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
	// 						RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 						RepositorySiteName: to.Ptr("sitef6141"),
	// 						Reserved: to.Ptr(false),
	// 						ResourceConfig: &armappservice.ResourceConfig{
	// 							CPU: to.Ptr[float64](1),
	// 							Memory: to.Ptr("2.0Gi"),
	// 						},
	// 						ResourceGroup: to.Ptr("testrg123"),
	// 						ScmSiteAlsoStopped: to.Ptr(false),
	// 						ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	// 						SiteConfig: &armappservice.SiteConfig{
	// 							AcrUseManagedIdentityCreds: to.Ptr(false),
	// 							AlwaysOn: to.Ptr(false),
	// 							AppCommandLine: to.Ptr(""),
	// 							AutoHealEnabled: to.Ptr(false),
	// 							AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 							},
	// 							DefaultDocuments: []*string{
	// 								to.Ptr("Default.htm"),
	// 								to.Ptr("Default.html"),
	// 								to.Ptr("Default.asp"),
	// 								to.Ptr("index.htm"),
	// 								to.Ptr("index.html"),
	// 								to.Ptr("iisstart.htm"),
	// 								to.Ptr("default.aspx"),
	// 								to.Ptr("index.php"),
	// 								to.Ptr("hostingstart.html")},
	// 								DetailedErrorLoggingEnabled: to.Ptr(false),
	// 								FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 								FunctionAppScaleLimit: to.Ptr[int32](0),
	// 								FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 								Http20Enabled: to.Ptr(false),
	// 								HTTPLoggingEnabled: to.Ptr(false),
	// 								LinuxFxVersion: to.Ptr(""),
	// 								LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 								LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 								ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 								MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 								MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 								NetFrameworkVersion: to.Ptr("v4.0"),
	// 								NodeVersion: to.Ptr(""),
	// 								NumberOfWorkers: to.Ptr[int32](1),
	// 								PhpVersion: to.Ptr("5.6"),
	// 								PowerShellVersion: to.Ptr(""),
	// 								PythonVersion: to.Ptr(""),
	// 								RemoteDebuggingEnabled: to.Ptr(false),
	// 								RequestTracingEnabled: to.Ptr(false),
	// 								ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 								Use32BitWorkerProcess: to.Ptr(true),
	// 								VirtualApplications: []*armappservice.VirtualApplication{
	// 									{
	// 										PhysicalPath: to.Ptr("site\\wwwroot"),
	// 										PreloadEnabled: to.Ptr(false),
	// 										VirtualPath: to.Ptr("/"),
	// 								}},
	// 								VnetName: to.Ptr(""),
	// 								VnetPrivatePortsCount: to.Ptr[int32](0),
	// 								VnetRouteAllEnabled: to.Ptr(false),
	// 								WebSocketsEnabled: to.Ptr(false),
	// 							},
	// 							State: to.Ptr("Running"),
	// 							StorageAccountRequired: to.Ptr(false),
	// 							UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 							VnetContentShareEnabled: to.Ptr(false),
	// 							VnetImagePullEnabled: to.Ptr(false),
	// 							VnetRouteAllEnabled: to.Ptr(false),
	// 							WorkloadProfileName: to.Ptr("myd4wp"),
	// 						},
	// 					},
	// 					{
	// 						Name: to.Ptr("sitef7252"),
	// 						Type: to.Ptr("Microsoft.Web/sites"),
	// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252"),
	// 						Kind: to.Ptr("app"),
	// 						Location: to.Ptr("East US"),
	// 						Properties: &armappservice.SiteProperties{
	// 							AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 							ClientAffinityEnabled: to.Ptr(true),
	// 							ClientCertEnabled: to.Ptr(false),
	// 							ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 							ContainerSize: to.Ptr[int32](0),
	// 							CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
	// 							DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 							DefaultHostName: to.Ptr("sitef7252.azurewebsites.net"),
	// 							Enabled: to.Ptr(true),
	// 							EnabledHostNames: []*string{
	// 								to.Ptr("sitef7252.azurewebsites.net"),
	// 								to.Ptr("sitef7252.scm.azurewebsites.net")},
	// 								HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 									{
	// 										Name: to.Ptr("sitef7252.azurewebsites.net"),
	// 										HostType: to.Ptr(armappservice.HostTypeStandard),
	// 										SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 									},
	// 									{
	// 										Name: to.Ptr("sitef7252.scm.azurewebsites.net"),
	// 										HostType: to.Ptr(armappservice.HostTypeRepository),
	// 										SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 								}},
	// 								HostNames: []*string{
	// 									to.Ptr("sitef7252.azurewebsites.net")},
	// 									HostNamesDisabled: to.Ptr(false),
	// 									HTTPSOnly: to.Ptr(false),
	// 									HyperV: to.Ptr(false),
	// 									IsXenon: to.Ptr(false),
	// 									KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 									LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 									OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
	// 									PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
	// 									RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 									RepositorySiteName: to.Ptr("sitef7252"),
	// 									Reserved: to.Ptr(false),
	// 									ResourceConfig: &armappservice.ResourceConfig{
	// 										CPU: to.Ptr[float64](1),
	// 										Memory: to.Ptr("2.0Gi"),
	// 									},
	// 									ResourceGroup: to.Ptr("testrg123"),
	// 									ScmSiteAlsoStopped: to.Ptr(false),
	// 									ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	// 									SiteConfig: &armappservice.SiteConfig{
	// 										AcrUseManagedIdentityCreds: to.Ptr(false),
	// 										AlwaysOn: to.Ptr(false),
	// 										AppCommandLine: to.Ptr(""),
	// 										AutoHealEnabled: to.Ptr(false),
	// 										AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 										},
	// 										DefaultDocuments: []*string{
	// 											to.Ptr("Default.htm"),
	// 											to.Ptr("Default.html"),
	// 											to.Ptr("Default.asp"),
	// 											to.Ptr("index.htm"),
	// 											to.Ptr("index.html"),
	// 											to.Ptr("iisstart.htm"),
	// 											to.Ptr("default.aspx"),
	// 											to.Ptr("index.php"),
	// 											to.Ptr("hostingstart.html")},
	// 											DetailedErrorLoggingEnabled: to.Ptr(false),
	// 											FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 											FunctionAppScaleLimit: to.Ptr[int32](0),
	// 											FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 											Http20Enabled: to.Ptr(false),
	// 											HTTPLoggingEnabled: to.Ptr(false),
	// 											LinuxFxVersion: to.Ptr(""),
	// 											LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 											LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 											ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 											MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 											MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 											NetFrameworkVersion: to.Ptr("v4.0"),
	// 											NodeVersion: to.Ptr(""),
	// 											NumberOfWorkers: to.Ptr[int32](1),
	// 											PhpVersion: to.Ptr("5.6"),
	// 											PowerShellVersion: to.Ptr(""),
	// 											PythonVersion: to.Ptr(""),
	// 											RemoteDebuggingEnabled: to.Ptr(false),
	// 											RequestTracingEnabled: to.Ptr(false),
	// 											ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 											Use32BitWorkerProcess: to.Ptr(true),
	// 											VirtualApplications: []*armappservice.VirtualApplication{
	// 												{
	// 													PhysicalPath: to.Ptr("site\\wwwroot"),
	// 													PreloadEnabled: to.Ptr(false),
	// 													VirtualPath: to.Ptr("/"),
	// 											}},
	// 											VnetName: to.Ptr(""),
	// 											VnetPrivatePortsCount: to.Ptr[int32](0),
	// 											VnetRouteAllEnabled: to.Ptr(false),
	// 											WebSocketsEnabled: to.Ptr(false),
	// 										},
	// 										State: to.Ptr("Running"),
	// 										StorageAccountRequired: to.Ptr(false),
	// 										UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 										VnetContentShareEnabled: to.Ptr(false),
	// 										VnetImagePullEnabled: to.Ptr(false),
	// 										VnetRouteAllEnabled: to.Ptr(false),
	// 										WorkloadProfileName: to.Ptr("myd4wp"),
	// 									},
	// 							}},
	// 						}
}
Output:

func (*WebAppsClient) NewListPerfMonCountersPager

func (client *WebAppsClient) NewListPerfMonCountersPager(resourceGroupName string, name string, options *WebAppsClientListPerfMonCountersOptions) *runtime.Pager[WebAppsClientListPerfMonCountersResponse]

NewListPerfMonCountersPager - Description for Gets perfmon counters for web app.

Generated from API version 2023-01-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.NewListPerfMonCountersPager method.

func (*WebAppsClient) NewListPerfMonCountersSlotPager

func (client *WebAppsClient) NewListPerfMonCountersSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListPerfMonCountersSlotOptions) *runtime.Pager[WebAppsClientListPerfMonCountersSlotResponse]

NewListPerfMonCountersSlotPager - Description for Gets perfmon counters for web app.

Generated from API version 2023-01-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.NewListPerfMonCountersSlotPager method.

func (*WebAppsClient) NewListProcessModulesPager

func (client *WebAppsClient) NewListProcessModulesPager(resourceGroupName string, name string, processID string, options *WebAppsClientListProcessModulesOptions) *runtime.Pager[WebAppsClientListProcessModulesResponse]

NewListProcessModulesPager - Description for List module information for a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListProcessModulesPager method.

func (*WebAppsClient) NewListProcessModulesSlotPager

func (client *WebAppsClient) NewListProcessModulesSlotPager(resourceGroupName string, name string, processID string, slot string, options *WebAppsClientListProcessModulesSlotOptions) *runtime.Pager[WebAppsClientListProcessModulesSlotResponse]

NewListProcessModulesSlotPager - Description for List module information for a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListProcessModulesSlotPager method.

func (*WebAppsClient) NewListProcessThreadsPager

func (client *WebAppsClient) NewListProcessThreadsPager(resourceGroupName string, name string, processID string, options *WebAppsClientListProcessThreadsOptions) *runtime.Pager[WebAppsClientListProcessThreadsResponse]

NewListProcessThreadsPager - Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListProcessThreadsPager method.

func (*WebAppsClient) NewListProcessThreadsSlotPager

func (client *WebAppsClient) NewListProcessThreadsSlotPager(resourceGroupName string, name string, processID string, slot string, options *WebAppsClientListProcessThreadsSlotOptions) *runtime.Pager[WebAppsClientListProcessThreadsSlotResponse]

NewListProcessThreadsSlotPager - Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListProcessThreadsSlotPager method.

func (*WebAppsClient) NewListProcessesPager

func (client *WebAppsClient) NewListProcessesPager(resourceGroupName string, name string, options *WebAppsClientListProcessesOptions) *runtime.Pager[WebAppsClientListProcessesResponse]

NewListProcessesPager - Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListProcessesOptions contains the optional parameters for the WebAppsClient.NewListProcessesPager method.

func (*WebAppsClient) NewListProcessesSlotPager

func (client *WebAppsClient) NewListProcessesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListProcessesSlotOptions) *runtime.Pager[WebAppsClientListProcessesSlotResponse]

NewListProcessesSlotPager - Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

Generated from API version 2023-01-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.NewListProcessesSlotPager method.

func (*WebAppsClient) NewListProductionSiteDeploymentStatusesPager

func (client *WebAppsClient) NewListProductionSiteDeploymentStatusesPager(resourceGroupName string, name string, options *WebAppsClientListProductionSiteDeploymentStatusesOptions) *runtime.Pager[WebAppsClientListProductionSiteDeploymentStatusesResponse]

NewListProductionSiteDeploymentStatusesPager - List deployment statuses for an app (or deployment slot, if specified).

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Name of the app.
  • options - WebAppsClientListProductionSiteDeploymentStatusesOptions contains the optional parameters for the WebAppsClient.NewListProductionSiteDeploymentStatusesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListSiteDeploymentStatus.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListProductionSiteDeploymentStatusesPager("rg", "testSite", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmDeploymentStatusCollection = armappservice.CsmDeploymentStatusCollection{
	// 	Value: []*armappservice.CsmDeploymentStatus{
	// 	},
	// }
}
Output:

func (*WebAppsClient) NewListPublicCertificatesPager

func (client *WebAppsClient) NewListPublicCertificatesPager(resourceGroupName string, name string, options *WebAppsClientListPublicCertificatesOptions) *runtime.Pager[WebAppsClientListPublicCertificatesResponse]

NewListPublicCertificatesPager - Description for Get public certificates for an app or a deployment slot.

Generated from API version 2023-01-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.NewListPublicCertificatesPager method.

func (*WebAppsClient) NewListPublicCertificatesSlotPager

func (client *WebAppsClient) NewListPublicCertificatesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListPublicCertificatesSlotOptions) *runtime.Pager[WebAppsClientListPublicCertificatesSlotResponse]

NewListPublicCertificatesSlotPager - Description for Get public certificates for an app or a deployment slot.

Generated from API version 2023-01-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.NewListPublicCertificatesSlotPager method.

func (*WebAppsClient) NewListSiteBackupsPager

func (client *WebAppsClient) NewListSiteBackupsPager(resourceGroupName string, name string, options *WebAppsClientListSiteBackupsOptions) *runtime.Pager[WebAppsClientListSiteBackupsResponse]

NewListSiteBackupsPager - Description for Gets existing backups of an app.

Generated from API version 2023-01-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.NewListSiteBackupsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListSlotBackups.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListSiteBackupsPager("testrg123", "tests346", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.BackupItemCollection = armappservice.BackupItemCollection{
	// 	Value: []*armappservice.BackupItem{
	// 		{
	// 			Name: to.Ptr("tests346/staging"),
	// 			Type: to.Ptr("Microsoft.Web/sites/slots"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging"),
	// 			Properties: &armappservice.BackupItemProperties{
	// 				BlobName: to.Ptr("blob1"),
	// 				Status: to.Ptr(armappservice.BackupItemStatusInProgress),
	// 				StorageAccountURL: to.Ptr("https://blobstorage.windows.net"),
	// 			},
	// 	}},
	// }
}
Output:

func (*WebAppsClient) NewListSiteBackupsSlotPager

func (client *WebAppsClient) NewListSiteBackupsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSiteBackupsSlotOptions) *runtime.Pager[WebAppsClientListSiteBackupsSlotResponse]

NewListSiteBackupsSlotPager - Description for Gets existing backups of an app.

Generated from API version 2023-01-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.NewListSiteBackupsSlotPager method.

func (*WebAppsClient) NewListSiteExtensionsPager

func (client *WebAppsClient) NewListSiteExtensionsPager(resourceGroupName string, name string, options *WebAppsClientListSiteExtensionsOptions) *runtime.Pager[WebAppsClientListSiteExtensionsResponse]

NewListSiteExtensionsPager - Description for Get list of siteextensions for a web site, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListSiteExtensionsOptions contains the optional parameters for the WebAppsClient.NewListSiteExtensionsPager method.

func (*WebAppsClient) NewListSiteExtensionsSlotPager

func (client *WebAppsClient) NewListSiteExtensionsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSiteExtensionsSlotOptions) *runtime.Pager[WebAppsClientListSiteExtensionsSlotResponse]

NewListSiteExtensionsSlotPager - Description for Get list of siteextensions for a web site, or a deployment slot.

Generated from API version 2023-01-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.NewListSiteExtensionsSlotPager method.

func (*WebAppsClient) NewListSlotDifferencesFromProductionPager

func (client *WebAppsClient) NewListSlotDifferencesFromProductionPager(resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, options *WebAppsClientListSlotDifferencesFromProductionOptions) *runtime.Pager[WebAppsClientListSlotDifferencesFromProductionResponse]

NewListSlotDifferencesFromProductionPager - Description for Get the difference in configuration settings between two web app slots.

Generated from API version 2023-01-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.NewListSlotDifferencesFromProductionPager method.

func (*WebAppsClient) NewListSlotDifferencesSlotPager

func (client *WebAppsClient) NewListSlotDifferencesSlotPager(resourceGroupName string, name string, slot string, slotSwapEntity CsmSlotEntity, options *WebAppsClientListSlotDifferencesSlotOptions) *runtime.Pager[WebAppsClientListSlotDifferencesSlotResponse]

NewListSlotDifferencesSlotPager - Description for Get the difference in configuration settings between two web app slots.

Generated from API version 2023-01-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.NewListSlotDifferencesSlotPager method.

func (*WebAppsClient) NewListSlotSiteDeploymentStatusesSlotPager

func (client *WebAppsClient) NewListSlotSiteDeploymentStatusesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSlotSiteDeploymentStatusesSlotOptions) *runtime.Pager[WebAppsClientListSlotSiteDeploymentStatusesSlotResponse]

NewListSlotSiteDeploymentStatusesSlotPager - List deployment statuses for an app (or deployment slot, if specified).

Generated from API version 2023-01-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 deployment status for the production slot.
  • options - WebAppsClientListSlotSiteDeploymentStatusesSlotOptions contains the optional parameters for the WebAppsClient.NewListSlotSiteDeploymentStatusesSlotPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListSiteDeploymentStatusSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListSlotSiteDeploymentStatusesSlotPager("rg", "testSite", "stage", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CsmDeploymentStatusCollection = armappservice.CsmDeploymentStatusCollection{
	// 	Value: []*armappservice.CsmDeploymentStatus{
	// 	},
	// }
}
Output:

func (*WebAppsClient) NewListSlotsPager

func (client *WebAppsClient) NewListSlotsPager(resourceGroupName string, name string, options *WebAppsClientListSlotsOptions) *runtime.Pager[WebAppsClientListSlotsResponse]

NewListSlotsPager - Description for Gets an app's deployment slots.

Generated from API version 2023-01-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.NewListSlotsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListWebAppSlots.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebAppsClient().NewListSlotsPager("testrg123", "sitef6141", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WebAppCollection = armappservice.WebAppCollection{
	// 	Value: []*armappservice.Site{
	// 		{
	// 			Name: to.Ptr("sitef6141/staging"),
	// 			Type: to.Ptr("Microsoft.Web/sites/slots"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging"),
	// 			Kind: to.Ptr("app"),
	// 			Location: to.Ptr("East US"),
	// 			Properties: &armappservice.SiteProperties{
	// 				AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 				ClientAffinityEnabled: to.Ptr(true),
	// 				ClientCertEnabled: to.Ptr(false),
	// 				ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 				ContainerSize: to.Ptr[int32](0),
	// 				CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
	// 				DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 				DefaultHostName: to.Ptr("sitef6141-staging.azurewebsites.net"),
	// 				Enabled: to.Ptr(true),
	// 				EnabledHostNames: []*string{
	// 					to.Ptr("sitef6141-staging.azurewebsites.net"),
	// 					to.Ptr("sitef6141-staging.scm.azurewebsites.net")},
	// 					HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 						{
	// 							Name: to.Ptr("sitef6141-staging.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeStandard),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 						},
	// 						{
	// 							Name: to.Ptr("sitef6141-staging.scm.azurewebsites.net"),
	// 							HostType: to.Ptr(armappservice.HostTypeRepository),
	// 							SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 					}},
	// 					HostNames: []*string{
	// 						to.Ptr("sitef6141-staging.azurewebsites.net")},
	// 						HostNamesDisabled: to.Ptr(false),
	// 						HTTPSOnly: to.Ptr(false),
	// 						HyperV: to.Ptr(false),
	// 						IsXenon: to.Ptr(false),
	// 						KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 						LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 						OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
	// 						PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
	// 						RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 						RepositorySiteName: to.Ptr("sitef6141"),
	// 						Reserved: to.Ptr(false),
	// 						ResourceGroup: to.Ptr("testrg123"),
	// 						ScmSiteAlsoStopped: to.Ptr(false),
	// 						ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	// 						SiteConfig: &armappservice.SiteConfig{
	// 							AcrUseManagedIdentityCreds: to.Ptr(false),
	// 							AlwaysOn: to.Ptr(false),
	// 							AppCommandLine: to.Ptr(""),
	// 							AutoHealEnabled: to.Ptr(false),
	// 							AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 							},
	// 							DefaultDocuments: []*string{
	// 								to.Ptr("Default.htm"),
	// 								to.Ptr("Default.html"),
	// 								to.Ptr("Default.asp"),
	// 								to.Ptr("index.htm"),
	// 								to.Ptr("index.html"),
	// 								to.Ptr("iisstart.htm"),
	// 								to.Ptr("default.aspx"),
	// 								to.Ptr("index.php"),
	// 								to.Ptr("hostingstart.html")},
	// 								DetailedErrorLoggingEnabled: to.Ptr(false),
	// 								FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 								FunctionAppScaleLimit: to.Ptr[int32](0),
	// 								FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 								Http20Enabled: to.Ptr(false),
	// 								HTTPLoggingEnabled: to.Ptr(false),
	// 								LinuxFxVersion: to.Ptr(""),
	// 								LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 								LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 								ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 								MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 								MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 								NetFrameworkVersion: to.Ptr("v4.0"),
	// 								NodeVersion: to.Ptr(""),
	// 								NumberOfWorkers: to.Ptr[int32](1),
	// 								PhpVersion: to.Ptr("5.6"),
	// 								PowerShellVersion: to.Ptr(""),
	// 								PythonVersion: to.Ptr(""),
	// 								RemoteDebuggingEnabled: to.Ptr(false),
	// 								RequestTracingEnabled: to.Ptr(false),
	// 								ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 								Use32BitWorkerProcess: to.Ptr(true),
	// 								VirtualApplications: []*armappservice.VirtualApplication{
	// 									{
	// 										PhysicalPath: to.Ptr("site\\wwwroot"),
	// 										PreloadEnabled: to.Ptr(false),
	// 										VirtualPath: to.Ptr("/"),
	// 								}},
	// 								VnetName: to.Ptr(""),
	// 								VnetPrivatePortsCount: to.Ptr[int32](0),
	// 								VnetRouteAllEnabled: to.Ptr(false),
	// 								WebSocketsEnabled: to.Ptr(false),
	// 							},
	// 							State: to.Ptr("Running"),
	// 							StorageAccountRequired: to.Ptr(false),
	// 							UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 							VnetContentShareEnabled: to.Ptr(false),
	// 							VnetImagePullEnabled: to.Ptr(false),
	// 							VnetRouteAllEnabled: to.Ptr(false),
	// 						},
	// 					},
	// 					{
	// 						Name: to.Ptr("sitef6141/qa"),
	// 						Type: to.Ptr("Microsoft.Web/sites/slots"),
	// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/qa"),
	// 						Kind: to.Ptr("app"),
	// 						Location: to.Ptr("East US"),
	// 						Properties: &armappservice.SiteProperties{
	// 							AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
	// 							ClientAffinityEnabled: to.Ptr(true),
	// 							ClientCertEnabled: to.Ptr(false),
	// 							ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
	// 							ContainerSize: to.Ptr[int32](0),
	// 							CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
	// 							DailyMemoryTimeQuota: to.Ptr[int32](0),
	// 							DefaultHostName: to.Ptr("sitef6141-qa.azurewebsites.net"),
	// 							Enabled: to.Ptr(true),
	// 							EnabledHostNames: []*string{
	// 								to.Ptr("sitef6141-staging.azurewebsites.net"),
	// 								to.Ptr("sitef6141-staging.scm.azurewebsites.net")},
	// 								HostNameSSLStates: []*armappservice.HostNameSSLState{
	// 									{
	// 										Name: to.Ptr("sitef6141-qa.azurewebsites.net"),
	// 										HostType: to.Ptr(armappservice.HostTypeStandard),
	// 										SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 									},
	// 									{
	// 										Name: to.Ptr("sitef6141-qa.scm.azurewebsites.net"),
	// 										HostType: to.Ptr(armappservice.HostTypeRepository),
	// 										SSLState: to.Ptr(armappservice.SSLStateDisabled),
	// 								}},
	// 								HostNames: []*string{
	// 									to.Ptr("sitef6141-qa.azurewebsites.net")},
	// 									HostNamesDisabled: to.Ptr(false),
	// 									HTTPSOnly: to.Ptr(false),
	// 									HyperV: to.Ptr(false),
	// 									IsXenon: to.Ptr(false),
	// 									KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
	// 									LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
	// 									OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
	// 									PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
	// 									RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
	// 									RepositorySiteName: to.Ptr("sitef6141"),
	// 									Reserved: to.Ptr(false),
	// 									ResourceGroup: to.Ptr("testrg123"),
	// 									ScmSiteAlsoStopped: to.Ptr(false),
	// 									ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	// 									SiteConfig: &armappservice.SiteConfig{
	// 										AcrUseManagedIdentityCreds: to.Ptr(false),
	// 										AlwaysOn: to.Ptr(false),
	// 										AppCommandLine: to.Ptr(""),
	// 										AutoHealEnabled: to.Ptr(false),
	// 										AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
	// 										},
	// 										DefaultDocuments: []*string{
	// 											to.Ptr("Default.htm"),
	// 											to.Ptr("Default.html"),
	// 											to.Ptr("Default.asp"),
	// 											to.Ptr("index.htm"),
	// 											to.Ptr("index.html"),
	// 											to.Ptr("iisstart.htm"),
	// 											to.Ptr("default.aspx"),
	// 											to.Ptr("index.php"),
	// 											to.Ptr("hostingstart.html")},
	// 											DetailedErrorLoggingEnabled: to.Ptr(false),
	// 											FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
	// 											FunctionAppScaleLimit: to.Ptr[int32](0),
	// 											FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
	// 											Http20Enabled: to.Ptr(false),
	// 											HTTPLoggingEnabled: to.Ptr(false),
	// 											LinuxFxVersion: to.Ptr(""),
	// 											LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
	// 											LogsDirectorySizeLimit: to.Ptr[int32](35),
	// 											ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
	// 											MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 											MinimumElasticInstanceCount: to.Ptr[int32](0),
	// 											NetFrameworkVersion: to.Ptr("v4.0"),
	// 											NodeVersion: to.Ptr(""),
	// 											NumberOfWorkers: to.Ptr[int32](1),
	// 											PhpVersion: to.Ptr("5.6"),
	// 											PowerShellVersion: to.Ptr(""),
	// 											PythonVersion: to.Ptr(""),
	// 											RemoteDebuggingEnabled: to.Ptr(false),
	// 											RequestTracingEnabled: to.Ptr(false),
	// 											ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
	// 											Use32BitWorkerProcess: to.Ptr(true),
	// 											VirtualApplications: []*armappservice.VirtualApplication{
	// 												{
	// 													PhysicalPath: to.Ptr("site\\wwwroot"),
	// 													PreloadEnabled: to.Ptr(false),
	// 													VirtualPath: to.Ptr("/"),
	// 											}},
	// 											VnetName: to.Ptr(""),
	// 											VnetPrivatePortsCount: to.Ptr[int32](0),
	// 											VnetRouteAllEnabled: to.Ptr(false),
	// 											WebSocketsEnabled: to.Ptr(false),
	// 										},
	// 										State: to.Ptr("Running"),
	// 										StorageAccountRequired: to.Ptr(false),
	// 										UsageState: to.Ptr(armappservice.UsageStateNormal),
	// 										VnetContentShareEnabled: to.Ptr(false),
	// 										VnetImagePullEnabled: to.Ptr(false),
	// 										VnetRouteAllEnabled: to.Ptr(false),
	// 									},
	// 							}},
	// 						}
}
Output:

func (*WebAppsClient) NewListSnapshotsFromDRSecondaryPager

func (client *WebAppsClient) NewListSnapshotsFromDRSecondaryPager(resourceGroupName string, name string, options *WebAppsClientListSnapshotsFromDRSecondaryOptions) *runtime.Pager[WebAppsClientListSnapshotsFromDRSecondaryResponse]

NewListSnapshotsFromDRSecondaryPager - Description for Returns all Snapshots to the user from DRSecondary endpoint.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Website Name.
  • options - WebAppsClientListSnapshotsFromDRSecondaryOptions contains the optional parameters for the WebAppsClient.NewListSnapshotsFromDRSecondaryPager method.

func (*WebAppsClient) NewListSnapshotsFromDRSecondarySlotPager

func (client *WebAppsClient) NewListSnapshotsFromDRSecondarySlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSnapshotsFromDRSecondarySlotOptions) *runtime.Pager[WebAppsClientListSnapshotsFromDRSecondarySlotResponse]

NewListSnapshotsFromDRSecondarySlotPager - Description for Returns all Snapshots to the user from DRSecondary endpoint.

Generated from API version 2023-01-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.NewListSnapshotsFromDRSecondarySlotPager method.

func (*WebAppsClient) NewListSnapshotsPager

func (client *WebAppsClient) NewListSnapshotsPager(resourceGroupName string, name string, options *WebAppsClientListSnapshotsOptions) *runtime.Pager[WebAppsClientListSnapshotsResponse]

NewListSnapshotsPager - Description for Returns all Snapshots to the user.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Website Name.
  • options - WebAppsClientListSnapshotsOptions contains the optional parameters for the WebAppsClient.NewListSnapshotsPager method.

func (*WebAppsClient) NewListSnapshotsSlotPager

func (client *WebAppsClient) NewListSnapshotsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListSnapshotsSlotOptions) *runtime.Pager[WebAppsClientListSnapshotsSlotResponse]

NewListSnapshotsSlotPager - Description for Returns all Snapshots to the user.

Generated from API version 2023-01-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.NewListSnapshotsSlotPager method.

func (*WebAppsClient) NewListTriggeredWebJobHistoryPager

func (client *WebAppsClient) NewListTriggeredWebJobHistoryPager(resourceGroupName string, name string, webJobName string, options *WebAppsClientListTriggeredWebJobHistoryOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobHistoryResponse]

NewListTriggeredWebJobHistoryPager - Description for List a triggered web job's history for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListTriggeredWebJobHistoryPager method.

func (*WebAppsClient) NewListTriggeredWebJobHistorySlotPager

func (client *WebAppsClient) NewListTriggeredWebJobHistorySlotPager(resourceGroupName string, name string, webJobName string, slot string, options *WebAppsClientListTriggeredWebJobHistorySlotOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobHistorySlotResponse]

NewListTriggeredWebJobHistorySlotPager - Description for List a triggered web job's history for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListTriggeredWebJobHistorySlotPager method.

func (*WebAppsClient) NewListTriggeredWebJobsPager

func (client *WebAppsClient) NewListTriggeredWebJobsPager(resourceGroupName string, name string, options *WebAppsClientListTriggeredWebJobsOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobsResponse]

NewListTriggeredWebJobsPager - Description for List triggered web jobs for an app, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListTriggeredWebJobsOptions contains the optional parameters for the WebAppsClient.NewListTriggeredWebJobsPager method.

func (*WebAppsClient) NewListTriggeredWebJobsSlotPager

func (client *WebAppsClient) NewListTriggeredWebJobsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListTriggeredWebJobsSlotOptions) *runtime.Pager[WebAppsClientListTriggeredWebJobsSlotResponse]

NewListTriggeredWebJobsSlotPager - Description for List triggered web jobs for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListTriggeredWebJobsSlotPager method.

func (*WebAppsClient) NewListUsagesPager

func (client *WebAppsClient) NewListUsagesPager(resourceGroupName string, name string, options *WebAppsClientListUsagesOptions) *runtime.Pager[WebAppsClientListUsagesResponse]

NewListUsagesPager - Description for Gets the quota usage information of an app (or deployment slot, if specified).

Generated from API version 2023-01-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.NewListUsagesPager method.

func (*WebAppsClient) NewListUsagesSlotPager

func (client *WebAppsClient) NewListUsagesSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListUsagesSlotOptions) *runtime.Pager[WebAppsClientListUsagesSlotResponse]

NewListUsagesSlotPager - Description for Gets the quota usage information of an app (or deployment slot, if specified).

Generated from API version 2023-01-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.NewListUsagesSlotPager method.

func (*WebAppsClient) NewListWebJobsPager

func (client *WebAppsClient) NewListWebJobsPager(resourceGroupName string, name string, options *WebAppsClientListWebJobsOptions) *runtime.Pager[WebAppsClientListWebJobsResponse]

NewListWebJobsPager - Description for List webjobs for an app, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListWebJobsOptions contains the optional parameters for the WebAppsClient.NewListWebJobsPager method.

func (*WebAppsClient) NewListWebJobsSlotPager

func (client *WebAppsClient) NewListWebJobsSlotPager(resourceGroupName string, name string, slot string, options *WebAppsClientListWebJobsSlotOptions) *runtime.Pager[WebAppsClientListWebJobsSlotResponse]

NewListWebJobsSlotPager - Description for List webjobs for an app, or a deployment slot.

Generated from API version 2023-01-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.NewListWebJobsSlotPager method.

func (*WebAppsClient) NewListWorkflowsPager added in v2.1.0

func (client *WebAppsClient) NewListWorkflowsPager(resourceGroupName string, name string, options *WebAppsClientListWorkflowsOptions) *runtime.Pager[WebAppsClientListWorkflowsResponse]

NewListWorkflowsPager - List the workflows for a web site, or a deployment slot.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • options - WebAppsClientListWorkflowsOptions contains the optional parameters for the WebAppsClient.NewListWorkflowsPager method.

func (*WebAppsClient) PutPrivateAccessVnet

func (client *WebAppsClient) PutPrivateAccessVnet(ctx context.Context, resourceGroupName string, name string, access PrivateAccess, options *WebAppsClientPutPrivateAccessVnetOptions) (WebAppsClientPutPrivateAccessVnetResponse, error)

PutPrivateAccessVnet - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Reverts the configuration of an app to a previous snapshot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Reverts the configuration of an app to a previous snapshot. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Restarts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Restarts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Starts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Starts an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Start capturing network packets for the site (To be deprecated). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Start capturing network packets for the site (To be deprecated). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Stops an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*WebAppsClient) StopNetworkTraceSlot

func (client *WebAppsClient) StopNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStopNetworkTraceSlotOptions) (WebAppsClientStopNetworkTraceSlotResponse, error)

StopNetworkTraceSlot - Description for Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*WebAppsClient) StopSlot

func (client *WebAppsClient) StopSlot(ctx context.Context, resourceGroupName string, name string, slot string, options *WebAppsClientStopSlotOptions) (WebAppsClientStopSlotResponse, error)

StopSlot - Description for Stops an app (or deployment slot, if specified). If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/StopWebSiteNetworkTrace.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWebAppsClient().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 - Description for Stop ongoing capturing network packets for the site. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.

func (*WebAppsClient) SyncFunctionTriggers

func (client *WebAppsClient) SyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string, options *WebAppsClientSyncFunctionTriggersOptions) (WebAppsClientSyncFunctionTriggersResponse, error)

SyncFunctionTriggers - Description for Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Syncs function trigger metadata to the management database If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Sync web app repository. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Sync web app repository. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateWebApp.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().Update(ctx, "testrg123", "sitef6141", armappservice.SitePatchResource{
	Properties: &armappservice.SitePatchResourceProperties{
		ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141"),
// 	Type: to.Ptr("Microsoft.Web/sites"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141.azurewebsites.net"),
// 			to.Ptr("sitef6141.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceConfig: &armappservice.ResourceConfig{
// 					CPU: to.Ptr[float64](1),
// 					Memory: to.Ptr("2.0Gi"),
// 				},
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 					WorkloadProfileName: to.Ptr("myd4wp"),
// 				},
// 			}
Output:

func (*WebAppsClient) UpdateApplicationSettings

func (client *WebAppsClient) UpdateApplicationSettings(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary, options *WebAppsClientUpdateApplicationSettingsOptions) (WebAppsClientUpdateApplicationSettingsResponse, error)

UpdateApplicationSettings - Description for Replaces the application settings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateAppSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().UpdateApplicationSettings(ctx, "testrg123", "sitef6141", armappservice.StringDictionary{
	Properties: map[string]*string{
		"Setting1": to.Ptr("Value1"),
		"Setting2": to.Ptr("Value2"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.StringDictionary = armappservice.StringDictionary{
// 	Name: to.Ptr("appsettings"),
// 	Type: to.Ptr("Microsoft.Web/sites/config"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings"),
// 	Kind: to.Ptr("app"),
// 	Properties: map[string]*string{
// 		"Setting1": to.Ptr("Value1"),
// 		"Setting2": to.Ptr("Value2"),
// 	},
// }
Output:

func (*WebAppsClient) UpdateApplicationSettingsSlot

func (client *WebAppsClient) UpdateApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, appSettings StringDictionary, options *WebAppsClientUpdateApplicationSettingsSlotOptions) (WebAppsClientUpdateApplicationSettingsSlotResponse, error)

UpdateApplicationSettingsSlot - Description for Replaces the application settings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the Authentication / Authorization settings associated with web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateAuthSettings.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().UpdateAuthSettings(ctx, "testrg123", "sitef6141", armappservice.SiteAuthSettings{
	Properties: &armappservice.SiteAuthSettingsProperties{
		AllowedExternalRedirectUrls: []*string{
			to.Ptr("sitef6141.customdomain.net"),
			to.Ptr("sitef6141.customdomain.info")},
		ClientID:                    to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
		DefaultProvider:             to.Ptr(armappservice.BuiltInAuthenticationProviderGoogle),
		Enabled:                     to.Ptr(true),
		RuntimeVersion:              to.Ptr("~1"),
		TokenRefreshExtensionHours:  to.Ptr[float64](120),
		TokenStoreEnabled:           to.Ptr(true),
		UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionRedirectToLoginPage),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteAuthSettings = armappservice.SiteAuthSettings{
// 	Name: to.Ptr("authsettings"),
// 	Type: to.Ptr("Microsoft.Web/sites/authsettings"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteAuthSettingsProperties{
// 		AllowedExternalRedirectUrls: []*string{
// 			to.Ptr("sitef6141.customdomain.net"),
// 			to.Ptr("sitef6141.customdomain.info")},
// 			ClientID: to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
// 			DefaultProvider: to.Ptr(armappservice.BuiltInAuthenticationProviderGoogle),
// 			Enabled: to.Ptr(true),
// 			RuntimeVersion: to.Ptr("~1"),
// 			TokenRefreshExtensionHours: to.Ptr[float64](120),
// 			TokenStoreEnabled: to.Ptr(true),
// 			UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionRedirectToLoginPage),
// 		},
// 	}
Output:

func (*WebAppsClient) UpdateAuthSettingsSlot

func (client *WebAppsClient) UpdateAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string, siteAuthSettings SiteAuthSettings, options *WebAppsClientUpdateAuthSettingsSlotOptions) (WebAppsClientUpdateAuthSettingsSlotResponse, error)

UpdateAuthSettingsSlot - Description for Updates the Authentication / Authorization settings associated with web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateAuthSettingsV2.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().UpdateAuthSettingsV2(ctx, "testrg123", "sitef6141", armappservice.SiteAuthSettingsV2{
	Properties: &armappservice.SiteAuthSettingsV2Properties{
		GlobalValidation: &armappservice.GlobalValidation{
			ExcludedPaths: []*string{
				to.Ptr("/nosecrets/Path")},
			RequireAuthentication:       to.Ptr(true),
			UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionV2Return403),
		},
		HTTPSettings: &armappservice.HTTPSettings{
			ForwardProxy: &armappservice.ForwardProxy{
				Convention:            to.Ptr(armappservice.ForwardProxyConventionStandard),
				CustomHostHeaderName:  to.Ptr("authHeader"),
				CustomProtoHeaderName: to.Ptr("customProtoHeader"),
			},
			RequireHTTPS: to.Ptr(true),
			Routes: &armappservice.HTTPSettingsRoutes{
				APIPrefix: to.Ptr("/authv2/"),
			},
		},
		IdentityProviders: &armappservice.IdentityProviders{
			Google: &armappservice.Google{
				Enabled: to.Ptr(true),
				Login: &armappservice.LoginScopes{
					Scopes: []*string{
						to.Ptr("admin")},
				},
				Registration: &armappservice.ClientRegistration{
					ClientID:                to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
					ClientSecretSettingName: to.Ptr("ClientSecret"),
				},
				Validation: &armappservice.AllowedAudiencesValidation{
					AllowedAudiences: []*string{
						to.Ptr("https://example.com")},
				},
			},
		},
		Login: &armappservice.Login{
			AllowedExternalRedirectUrls: []*string{
				to.Ptr("https://someurl.com")},
			CookieExpiration: &armappservice.CookieExpiration{
				Convention:       to.Ptr(armappservice.CookieExpirationConventionIdentityProviderDerived),
				TimeToExpiration: to.Ptr("2022:09-01T00:00Z"),
			},
			Nonce: &armappservice.Nonce{
				ValidateNonce: to.Ptr(true),
			},
			PreserveURLFragmentsForLogins: to.Ptr(true),
			Routes: &armappservice.LoginRoutes{
				LogoutEndpoint: to.Ptr("https://app.com/logout"),
			},
			TokenStore: &armappservice.TokenStore{
				Enabled: to.Ptr(true),
				FileSystem: &armappservice.FileSystemTokenStore{
					Directory: to.Ptr("/wwwroot/sites/example"),
				},
				TokenRefreshExtensionHours: to.Ptr[float64](96),
			},
		},
		Platform: &armappservice.AuthPlatform{
			ConfigFilePath: to.Ptr("/auth/config.json"),
			Enabled:        to.Ptr(true),
			RuntimeVersion: to.Ptr("~1"),
		},
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.SiteAuthSettingsV2 = armappservice.SiteAuthSettingsV2{
// 	Name: to.Ptr("authsettingsv2"),
// 	Type: to.Ptr("Microsoft.Web/sites/authsettingsv2"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2"),
// 	Kind: to.Ptr("app"),
// 	Properties: &armappservice.SiteAuthSettingsV2Properties{
// 		GlobalValidation: &armappservice.GlobalValidation{
// 			ExcludedPaths: []*string{
// 				to.Ptr("/nosecrets/Path")},
// 				RequireAuthentication: to.Ptr(true),
// 				UnauthenticatedClientAction: to.Ptr(armappservice.UnauthenticatedClientActionV2Return403),
// 			},
// 			HTTPSettings: &armappservice.HTTPSettings{
// 				ForwardProxy: &armappservice.ForwardProxy{
// 					Convention: to.Ptr(armappservice.ForwardProxyConventionStandard),
// 					CustomHostHeaderName: to.Ptr("authHeader"),
// 					CustomProtoHeaderName: to.Ptr("customProtoHeader"),
// 				},
// 				RequireHTTPS: to.Ptr(true),
// 				Routes: &armappservice.HTTPSettingsRoutes{
// 					APIPrefix: to.Ptr("/authv2/"),
// 				},
// 			},
// 			IdentityProviders: &armappservice.IdentityProviders{
// 				Google: &armappservice.Google{
// 					Enabled: to.Ptr(true),
// 					Login: &armappservice.LoginScopes{
// 						Scopes: []*string{
// 							to.Ptr("admin")},
// 						},
// 						Registration: &armappservice.ClientRegistration{
// 							ClientID: to.Ptr("42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com"),
// 							ClientSecretSettingName: to.Ptr("ClientSecret"),
// 						},
// 						Validation: &armappservice.AllowedAudiencesValidation{
// 							AllowedAudiences: []*string{
// 								to.Ptr("https://example.com")},
// 							},
// 						},
// 					},
// 					Login: &armappservice.Login{
// 						AllowedExternalRedirectUrls: []*string{
// 							to.Ptr("https://someurl.com")},
// 							CookieExpiration: &armappservice.CookieExpiration{
// 								Convention: to.Ptr(armappservice.CookieExpirationConventionIdentityProviderDerived),
// 								TimeToExpiration: to.Ptr("2022:09-01T00:00Z"),
// 							},
// 							Nonce: &armappservice.Nonce{
// 								ValidateNonce: to.Ptr(true),
// 							},
// 							PreserveURLFragmentsForLogins: to.Ptr(true),
// 							Routes: &armappservice.LoginRoutes{
// 								LogoutEndpoint: to.Ptr("https://app.com/logout"),
// 							},
// 							TokenStore: &armappservice.TokenStore{
// 								Enabled: to.Ptr(true),
// 								FileSystem: &armappservice.FileSystemTokenStore{
// 									Directory: to.Ptr("/wwwroot/sites/example"),
// 								},
// 								TokenRefreshExtensionHours: to.Ptr[float64](96),
// 							},
// 						},
// 						Platform: &armappservice.AuthPlatform{
// 							ConfigFilePath: to.Ptr("/auth/config.json"),
// 							Enabled: to.Ptr(true),
// 							RuntimeVersion: to.Ptr("~1"),
// 						},
// 					},
// 				}
Output:

func (*WebAppsClient) UpdateAuthSettingsV2Slot

func (client *WebAppsClient) UpdateAuthSettingsV2Slot(ctx context.Context, resourceGroupName string, name string, slot string, siteAuthSettingsV2 SiteAuthSettingsV2, options *WebAppsClientUpdateAuthSettingsV2SlotOptions) (WebAppsClientUpdateAuthSettingsV2SlotResponse, error)

UpdateAuthSettingsV2Slot - Description for 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 2023-01-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 - Description for Updates the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateAzureStorageAccounts.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().UpdateAzureStorageAccounts(ctx, "testrg123", "sitef6141", armappservice.AzureStoragePropertyDictionaryResource{
	Properties: map[string]*armappservice.AzureStorageInfoValue{
		"account1": {
			Type:        to.Ptr(armappservice.AzureStorageTypeAzureFiles),
			AccessKey:   to.Ptr("26515^%@#*"),
			AccountName: to.Ptr("testsa"),
			MountPath:   to.Ptr("/mounts/a/files"),
			ShareName:   to.Ptr("web"),
		},
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.AzureStoragePropertyDictionaryResource = armappservice.AzureStoragePropertyDictionaryResource{
// 	Name: to.Ptr("web"),
// 	Type: to.Ptr("Microsoft.Web/sites/config"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web"),
// 	Kind: to.Ptr("app"),
// 	Properties: map[string]*armappservice.AzureStorageInfoValue{
// 		"account1": &armappservice.AzureStorageInfoValue{
// 			Type: to.Ptr(armappservice.AzureStorageTypeAzureFiles),
// 			AccountName: to.Ptr("testsa"),
// 			MountPath: to.Ptr("/mounts/a/files"),
// 			ShareName: to.Ptr("web"),
// 			State: to.Ptr(armappservice.AzureStorageStateOk),
// 		},
// 	},
// }
Output:

func (*WebAppsClient) UpdateAzureStorageAccountsSlot

func (client *WebAppsClient) UpdateAzureStorageAccountsSlot(ctx context.Context, resourceGroupName string, name string, slot string, azureStorageAccounts AzureStoragePropertyDictionaryResource, options *WebAppsClientUpdateAzureStorageAccountsSlotOptions) (WebAppsClientUpdateAzureStorageAccountsSlotResponse, error)

UpdateAzureStorageAccountsSlot - Description for Updates the Azure storage account configurations of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the backup configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Replaces the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Replaces the connection strings of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the logging configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for Updates whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdatePublishingCredentialsPolicy.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CsmPublishingCredentialsPoliciesEntity = armappservice.CsmPublishingCredentialsPoliciesEntity{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp"),
// 	Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
// 		Allow: to.Ptr(true),
// 	},
// }
Output:

func (*WebAppsClient) UpdateFtpAllowedSlot

func (client *WebAppsClient) UpdateFtpAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, csmPublishingAccessPoliciesEntity CsmPublishingCredentialsPoliciesEntity, options *WebAppsClientUpdateFtpAllowedSlotOptions) (WebAppsClientUpdateFtpAllowedSlotResponse, error)

UpdateFtpAllowedSlot - Description for Updates whether FTP is allowed on the site or not. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdatePublishingCredentialsPolicySlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CsmPublishingCredentialsPoliciesEntity = armappservice.CsmPublishingCredentialsPoliciesEntity{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp"),
// 	Properties: &armappservice.CsmPublishingCredentialsPoliciesEntityProperties{
// 		Allow: to.Ptr(true),
// 	},
// }
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 - Description for Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Creates a new Hybrid Connection using a Service Bus relay. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Replaces the metadata of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Replaces the metadata of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates a named add-on of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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.

func (*WebAppsClient) UpdateScmAllowedSlot

func (client *WebAppsClient) UpdateScmAllowedSlot(ctx context.Context, resourceGroupName string, name string, slot string, csmPublishingAccessPoliciesEntity CsmPublishingCredentialsPoliciesEntity, options *WebAppsClientUpdateScmAllowedSlotOptions) (WebAppsClientUpdateScmAllowedSlotResponse, error)

UpdateScmAllowedSlot - Description for 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 2023-01-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.

func (*WebAppsClient) UpdateSitePushSettings

func (client *WebAppsClient) UpdateSitePushSettings(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings, options *WebAppsClientUpdateSitePushSettingsOptions) (WebAppsClientUpdateSitePushSettingsResponse, error)

UpdateSitePushSettings - Description for Updates the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the Push settings associated with web app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/UpdateWebAppSlot.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebAppsClient().UpdateSlot(ctx, "testrg123", "sitef6141", "staging", armappservice.SitePatchResource{
	Properties: &armappservice.SitePatchResourceProperties{
		ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.Site = armappservice.Site{
// 	Name: to.Ptr("sitef6141/staging"),
// 	Type: to.Ptr("Microsoft.Web/sites/slots"),
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging"),
// 	Kind: to.Ptr("app"),
// 	Location: to.Ptr("East US"),
// 	Properties: &armappservice.SiteProperties{
// 		AvailabilityState: to.Ptr(armappservice.SiteAvailabilityStateNormal),
// 		ClientAffinityEnabled: to.Ptr(true),
// 		ClientCertEnabled: to.Ptr(false),
// 		ClientCertMode: to.Ptr(armappservice.ClientCertModeRequired),
// 		ContainerSize: to.Ptr[int32](0),
// 		CustomDomainVerificationID: to.Ptr("7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153"),
// 		DailyMemoryTimeQuota: to.Ptr[int32](0),
// 		DefaultHostName: to.Ptr("sitef6141.azurewebsites.net"),
// 		Enabled: to.Ptr(true),
// 		EnabledHostNames: []*string{
// 			to.Ptr("sitef6141-staging.azurewebsites.net"),
// 			to.Ptr("sitef6141-staging.scm.azurewebsites.net")},
// 			HostNameSSLStates: []*armappservice.HostNameSSLState{
// 				{
// 					Name: to.Ptr("sitef6141-staging.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeStandard),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 				},
// 				{
// 					Name: to.Ptr("sitef6141-staging.scm.azurewebsites.net"),
// 					HostType: to.Ptr(armappservice.HostTypeRepository),
// 					SSLState: to.Ptr(armappservice.SSLStateDisabled),
// 			}},
// 			HostNames: []*string{
// 				to.Ptr("sitef6141-staging.azurewebsites.net")},
// 				HostNamesDisabled: to.Ptr(false),
// 				HTTPSOnly: to.Ptr(false),
// 				HyperV: to.Ptr(false),
// 				IsXenon: to.Ptr(false),
// 				KeyVaultReferenceIdentity: to.Ptr("SystemAssigned"),
// 				LastModifiedTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-03-04T17:33:11.641Z"); return t}()),
// 				OutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144"),
// 				PossibleOutboundIPAddresses: to.Ptr("70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188"),
// 				RedundancyMode: to.Ptr(armappservice.RedundancyModeNone),
// 				RepositorySiteName: to.Ptr("sitef6141"),
// 				Reserved: to.Ptr(false),
// 				ResourceGroup: to.Ptr("testrg123"),
// 				ScmSiteAlsoStopped: to.Ptr(false),
// 				ServerFarmID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"),
// 				SiteConfig: &armappservice.SiteConfig{
// 					AcrUseManagedIdentityCreds: to.Ptr(false),
// 					AlwaysOn: to.Ptr(false),
// 					AppCommandLine: to.Ptr(""),
// 					AutoHealEnabled: to.Ptr(false),
// 					AzureStorageAccounts: map[string]*armappservice.AzureStorageInfoValue{
// 					},
// 					DefaultDocuments: []*string{
// 						to.Ptr("Default.htm"),
// 						to.Ptr("Default.html"),
// 						to.Ptr("Default.asp"),
// 						to.Ptr("index.htm"),
// 						to.Ptr("index.html"),
// 						to.Ptr("iisstart.htm"),
// 						to.Ptr("default.aspx"),
// 						to.Ptr("index.php"),
// 						to.Ptr("hostingstart.html")},
// 						DetailedErrorLoggingEnabled: to.Ptr(false),
// 						FtpsState: to.Ptr(armappservice.FtpsStateAllAllowed),
// 						FunctionAppScaleLimit: to.Ptr[int32](0),
// 						FunctionsRuntimeScaleMonitoringEnabled: to.Ptr(false),
// 						Http20Enabled: to.Ptr(false),
// 						HTTPLoggingEnabled: to.Ptr(false),
// 						LinuxFxVersion: to.Ptr(""),
// 						LoadBalancing: to.Ptr(armappservice.SiteLoadBalancingLeastRequests),
// 						LogsDirectorySizeLimit: to.Ptr[int32](35),
// 						ManagedPipelineMode: to.Ptr(armappservice.ManagedPipelineModeIntegrated),
// 						MinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						MinimumElasticInstanceCount: to.Ptr[int32](0),
// 						NetFrameworkVersion: to.Ptr("v4.0"),
// 						NodeVersion: to.Ptr(""),
// 						NumberOfWorkers: to.Ptr[int32](1),
// 						PhpVersion: to.Ptr("5.6"),
// 						PowerShellVersion: to.Ptr(""),
// 						PythonVersion: to.Ptr(""),
// 						RemoteDebuggingEnabled: to.Ptr(false),
// 						RequestTracingEnabled: to.Ptr(false),
// 						ScmMinTLSVersion: to.Ptr(armappservice.SupportedTLSVersionsOne2),
// 						Use32BitWorkerProcess: to.Ptr(true),
// 						VirtualApplications: []*armappservice.VirtualApplication{
// 							{
// 								PhysicalPath: to.Ptr("site\\wwwroot"),
// 								PreloadEnabled: to.Ptr(false),
// 								VirtualPath: to.Ptr("/"),
// 						}},
// 						VnetName: to.Ptr(""),
// 						VnetPrivatePortsCount: to.Ptr[int32](0),
// 						VnetRouteAllEnabled: to.Ptr(false),
// 						WebSocketsEnabled: to.Ptr(false),
// 					},
// 					State: to.Ptr("Running"),
// 					StorageAccountRequired: to.Ptr(false),
// 					UsageState: to.Ptr(armappservice.UsageStateNormal),
// 					VnetContentShareEnabled: to.Ptr(false),
// 					VnetImagePullEnabled: to.Ptr(false),
// 					VnetRouteAllEnabled: to.Ptr(false),
// 				},
// 			}
Output:

func (*WebAppsClient) UpdateSlotConfigurationNames

func (client *WebAppsClient) UpdateSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string, slotConfigNames SlotConfigNamesResource, options *WebAppsClientUpdateSlotConfigurationNamesOptions) (WebAppsClientUpdateSlotConfigurationNamesResponse, error)

UpdateSlotConfigurationNames - Description for 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 2023-01-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 - Description for Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Updates the source control configuration of an app. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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 - Description for 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 2023-01-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

type WebAppsClientAddPremierAddOnOptions struct {
}

WebAppsClientAddPremierAddOnOptions contains the optional parameters for the WebAppsClient.AddPremierAddOn method.

type WebAppsClientAddPremierAddOnResponse

type WebAppsClientAddPremierAddOnResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientAddPremierAddOnResponse contains the response from method WebAppsClient.AddPremierAddOn.

type WebAppsClientAddPremierAddOnSlotOptions

type WebAppsClientAddPremierAddOnSlotOptions struct {
}

WebAppsClientAddPremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.AddPremierAddOnSlot method.

type WebAppsClientAddPremierAddOnSlotResponse

type WebAppsClientAddPremierAddOnSlotResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientAddPremierAddOnSlotResponse contains the response from method WebAppsClient.AddPremierAddOnSlot.

type WebAppsClientAnalyzeCustomHostnameOptions

type WebAppsClientAnalyzeCustomHostnameOptions struct {
	// Custom hostname.
	HostName *string
}

WebAppsClientAnalyzeCustomHostnameOptions contains the optional parameters for the WebAppsClient.AnalyzeCustomHostname method.

type WebAppsClientAnalyzeCustomHostnameResponse

type WebAppsClientAnalyzeCustomHostnameResponse struct {
	// Custom domain analysis.
	CustomHostnameAnalysisResult
}

WebAppsClientAnalyzeCustomHostnameResponse contains the response from method WebAppsClient.AnalyzeCustomHostname.

type WebAppsClientAnalyzeCustomHostnameSlotOptions

type WebAppsClientAnalyzeCustomHostnameSlotOptions struct {
	// Custom hostname.
	HostName *string
}

WebAppsClientAnalyzeCustomHostnameSlotOptions contains the optional parameters for the WebAppsClient.AnalyzeCustomHostnameSlot method.

type WebAppsClientAnalyzeCustomHostnameSlotResponse

type WebAppsClientAnalyzeCustomHostnameSlotResponse struct {
	// Custom domain analysis.
	CustomHostnameAnalysisResult
}

WebAppsClientAnalyzeCustomHostnameSlotResponse contains the response from method WebAppsClient.AnalyzeCustomHostnameSlot.

type WebAppsClientApplySlotConfigToProductionOptions

type WebAppsClientApplySlotConfigToProductionOptions struct {
}

WebAppsClientApplySlotConfigToProductionOptions contains the optional parameters for the WebAppsClient.ApplySlotConfigToProduction method.

type WebAppsClientApplySlotConfigToProductionResponse

type WebAppsClientApplySlotConfigToProductionResponse struct {
}

WebAppsClientApplySlotConfigToProductionResponse contains the response from method WebAppsClient.ApplySlotConfigToProduction.

type WebAppsClientApplySlotConfigurationSlotOptions

type WebAppsClientApplySlotConfigurationSlotOptions struct {
}

WebAppsClientApplySlotConfigurationSlotOptions contains the optional parameters for the WebAppsClient.ApplySlotConfigurationSlot method.

type WebAppsClientApplySlotConfigurationSlotResponse

type WebAppsClientApplySlotConfigurationSlotResponse struct {
}

WebAppsClientApplySlotConfigurationSlotResponse contains the response from method WebAppsClient.ApplySlotConfigurationSlot.

type WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse

type WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientApproveOrRejectPrivateEndpointConnectionResponse contains the response from method WebAppsClient.BeginApproveOrRejectPrivateEndpointConnection.

type WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse

type WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientApproveOrRejectPrivateEndpointConnectionSlotResponse contains the response from method WebAppsClient.BeginApproveOrRejectPrivateEndpointConnectionSlot.

type WebAppsClientBackupOptions

type WebAppsClientBackupOptions struct {
}

WebAppsClientBackupOptions contains the optional parameters for the WebAppsClient.Backup method.

type WebAppsClientBackupResponse

type WebAppsClientBackupResponse struct {
	// Backup description.
	BackupItem
}

WebAppsClientBackupResponse contains the response from method WebAppsClient.Backup.

type WebAppsClientBackupSlotOptions

type WebAppsClientBackupSlotOptions struct {
}

WebAppsClientBackupSlotOptions contains the optional parameters for the WebAppsClient.BackupSlot method.

type WebAppsClientBackupSlotResponse

type WebAppsClientBackupSlotResponse struct {
	// Backup description.
	BackupItem
}

WebAppsClientBackupSlotResponse contains the response from method WebAppsClient.BackupSlot.

type WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions

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

WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.BeginApproveOrRejectPrivateEndpointConnection method.

type WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions

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

WebAppsClientBeginApproveOrRejectPrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.BeginApproveOrRejectPrivateEndpointConnectionSlot method.

type WebAppsClientBeginCreateFunctionOptions

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

WebAppsClientBeginCreateFunctionOptions contains the optional parameters for the WebAppsClient.BeginCreateFunction method.

type WebAppsClientBeginCreateInstanceFunctionSlotOptions

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

WebAppsClientBeginCreateInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceFunctionSlot method.

type WebAppsClientBeginCreateInstanceMSDeployOperationOptions

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

WebAppsClientBeginCreateInstanceMSDeployOperationOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceMSDeployOperation method.

type WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions

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

WebAppsClientBeginCreateInstanceMSDeployOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateInstanceMSDeployOperationSlot method.

type WebAppsClientBeginCreateMSDeployOperationOptions

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

WebAppsClientBeginCreateMSDeployOperationOptions contains the optional parameters for the WebAppsClient.BeginCreateMSDeployOperation method.

type WebAppsClientBeginCreateMSDeployOperationSlotOptions

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

WebAppsClientBeginCreateMSDeployOperationSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateMSDeployOperationSlot method.

type WebAppsClientBeginCreateOrUpdateOptions

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

WebAppsClientBeginCreateOrUpdateOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdate method.

type WebAppsClientBeginCreateOrUpdateSlotOptions

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

WebAppsClientBeginCreateOrUpdateSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSlot method.

type WebAppsClientBeginCreateOrUpdateSourceControlOptions

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

WebAppsClientBeginCreateOrUpdateSourceControlOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSourceControl method.

type WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions

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

WebAppsClientBeginCreateOrUpdateSourceControlSlotOptions contains the optional parameters for the WebAppsClient.BeginCreateOrUpdateSourceControlSlot method.

type WebAppsClientBeginDeletePrivateEndpointConnectionOptions

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

WebAppsClientBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.BeginDeletePrivateEndpointConnection method.

type WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions

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

WebAppsClientBeginDeletePrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.BeginDeletePrivateEndpointConnectionSlot method.

type WebAppsClientBeginGetProductionSiteDeploymentStatusOptions

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

WebAppsClientBeginGetProductionSiteDeploymentStatusOptions contains the optional parameters for the WebAppsClient.BeginGetProductionSiteDeploymentStatus method.

type WebAppsClientBeginGetSlotSiteDeploymentStatusSlotOptions

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

WebAppsClientBeginGetSlotSiteDeploymentStatusSlotOptions contains the optional parameters for the WebAppsClient.BeginGetSlotSiteDeploymentStatusSlot method.

type WebAppsClientBeginInstallSiteExtensionOptions

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

WebAppsClientBeginInstallSiteExtensionOptions contains the optional parameters for the WebAppsClient.BeginInstallSiteExtension method.

type WebAppsClientBeginInstallSiteExtensionSlotOptions

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

WebAppsClientBeginInstallSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.BeginInstallSiteExtensionSlot method.

type WebAppsClientBeginListPublishingCredentialsOptions

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

WebAppsClientBeginListPublishingCredentialsOptions contains the optional parameters for the WebAppsClient.BeginListPublishingCredentials method.

type WebAppsClientBeginListPublishingCredentialsSlotOptions

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

WebAppsClientBeginListPublishingCredentialsSlotOptions contains the optional parameters for the WebAppsClient.BeginListPublishingCredentialsSlot method.

type WebAppsClientBeginMigrateMySQLOptions

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

WebAppsClientBeginMigrateMySQLOptions contains the optional parameters for the WebAppsClient.BeginMigrateMySQL method.

type WebAppsClientBeginMigrateStorageOptions

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

WebAppsClientBeginMigrateStorageOptions contains the optional parameters for the WebAppsClient.BeginMigrateStorage method.

type WebAppsClientBeginRestoreFromBackupBlobOptions

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

WebAppsClientBeginRestoreFromBackupBlobOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromBackupBlob method.

type WebAppsClientBeginRestoreFromBackupBlobSlotOptions

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

WebAppsClientBeginRestoreFromBackupBlobSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromBackupBlobSlot method.

type WebAppsClientBeginRestoreFromDeletedAppOptions

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

WebAppsClientBeginRestoreFromDeletedAppOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromDeletedApp method.

type WebAppsClientBeginRestoreFromDeletedAppSlotOptions

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

WebAppsClientBeginRestoreFromDeletedAppSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreFromDeletedAppSlot method.

type WebAppsClientBeginRestoreOptions

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

WebAppsClientBeginRestoreOptions contains the optional parameters for the WebAppsClient.BeginRestore method.

type WebAppsClientBeginRestoreSlotOptions

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

WebAppsClientBeginRestoreSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSlot method.

type WebAppsClientBeginRestoreSnapshotOptions

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

WebAppsClientBeginRestoreSnapshotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSnapshot method.

type WebAppsClientBeginRestoreSnapshotSlotOptions

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

WebAppsClientBeginRestoreSnapshotSlotOptions contains the optional parameters for the WebAppsClient.BeginRestoreSnapshotSlot method.

type WebAppsClientBeginStartNetworkTraceOptions

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

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

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

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

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

WebAppsClientBeginSwapSlotOptions contains the optional parameters for the WebAppsClient.BeginSwapSlot method.

type WebAppsClientBeginSwapSlotWithProductionOptions

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

WebAppsClientBeginSwapSlotWithProductionOptions contains the optional parameters for the WebAppsClient.BeginSwapSlotWithProduction method.

type WebAppsClientCreateDeploymentOptions

type WebAppsClientCreateDeploymentOptions struct {
}

WebAppsClientCreateDeploymentOptions contains the optional parameters for the WebAppsClient.CreateDeployment method.

type WebAppsClientCreateDeploymentResponse

type WebAppsClientCreateDeploymentResponse struct {
	// User credentials used for publishing activity.
	Deployment
}

WebAppsClientCreateDeploymentResponse contains the response from method WebAppsClient.CreateDeployment.

type WebAppsClientCreateDeploymentSlotOptions

type WebAppsClientCreateDeploymentSlotOptions struct {
}

WebAppsClientCreateDeploymentSlotOptions contains the optional parameters for the WebAppsClient.CreateDeploymentSlot method.

type WebAppsClientCreateDeploymentSlotResponse

type WebAppsClientCreateDeploymentSlotResponse struct {
	// User credentials used for publishing activity.
	Deployment
}

WebAppsClientCreateDeploymentSlotResponse contains the response from method WebAppsClient.CreateDeploymentSlot.

type WebAppsClientCreateFunctionResponse

type WebAppsClientCreateFunctionResponse struct {
	// Function information.
	FunctionEnvelope
}

WebAppsClientCreateFunctionResponse contains the response from method WebAppsClient.BeginCreateFunction.

type WebAppsClientCreateInstanceFunctionSlotResponse

type WebAppsClientCreateInstanceFunctionSlotResponse struct {
	// Function information.
	FunctionEnvelope
}

WebAppsClientCreateInstanceFunctionSlotResponse contains the response from method WebAppsClient.BeginCreateInstanceFunctionSlot.

type WebAppsClientCreateInstanceMSDeployOperationResponse

type WebAppsClientCreateInstanceMSDeployOperationResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientCreateInstanceMSDeployOperationResponse contains the response from method WebAppsClient.BeginCreateInstanceMSDeployOperation.

type WebAppsClientCreateInstanceMSDeployOperationSlotResponse

type WebAppsClientCreateInstanceMSDeployOperationSlotResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientCreateInstanceMSDeployOperationSlotResponse contains the response from method WebAppsClient.BeginCreateInstanceMSDeployOperationSlot.

type WebAppsClientCreateMSDeployOperationResponse

type WebAppsClientCreateMSDeployOperationResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientCreateMSDeployOperationResponse contains the response from method WebAppsClient.BeginCreateMSDeployOperation.

type WebAppsClientCreateMSDeployOperationSlotResponse

type WebAppsClientCreateMSDeployOperationSlotResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientCreateMSDeployOperationSlotResponse contains the response from method WebAppsClient.BeginCreateMSDeployOperationSlot.

type WebAppsClientCreateOneDeployOperationOptions

type WebAppsClientCreateOneDeployOperationOptions struct {
}

WebAppsClientCreateOneDeployOperationOptions contains the optional parameters for the WebAppsClient.CreateOneDeployOperation method.

type WebAppsClientCreateOneDeployOperationResponse

type WebAppsClientCreateOneDeployOperationResponse struct {
	// Anything
	Interface any
}

WebAppsClientCreateOneDeployOperationResponse contains the response from method WebAppsClient.CreateOneDeployOperation.

type WebAppsClientCreateOrUpdateConfigurationOptions

type WebAppsClientCreateOrUpdateConfigurationOptions struct {
}

WebAppsClientCreateOrUpdateConfigurationOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateConfiguration method.

type WebAppsClientCreateOrUpdateConfigurationResponse

type WebAppsClientCreateOrUpdateConfigurationResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientCreateOrUpdateConfigurationResponse contains the response from method WebAppsClient.CreateOrUpdateConfiguration.

type WebAppsClientCreateOrUpdateConfigurationSlotOptions

type WebAppsClientCreateOrUpdateConfigurationSlotOptions struct {
}

WebAppsClientCreateOrUpdateConfigurationSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateConfigurationSlot method.

type WebAppsClientCreateOrUpdateConfigurationSlotResponse

type WebAppsClientCreateOrUpdateConfigurationSlotResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientCreateOrUpdateConfigurationSlotResponse contains the response from method WebAppsClient.CreateOrUpdateConfigurationSlot.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions struct {
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateDomainOwnershipIdentifier method.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse struct {
	// A domain specific resource identifier.
	Identifier
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.CreateOrUpdateDomainOwnershipIdentifier.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateDomainOwnershipIdentifierSlot method.

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse

type WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse struct {
	// A domain specific resource identifier.
	Identifier
}

WebAppsClientCreateOrUpdateDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.CreateOrUpdateDomainOwnershipIdentifierSlot.

type WebAppsClientCreateOrUpdateFunctionSecretOptions

type WebAppsClientCreateOrUpdateFunctionSecretOptions struct {
}

WebAppsClientCreateOrUpdateFunctionSecretOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateFunctionSecret method.

type WebAppsClientCreateOrUpdateFunctionSecretResponse

type WebAppsClientCreateOrUpdateFunctionSecretResponse struct {
	// Function key info.
	KeyInfo
}

WebAppsClientCreateOrUpdateFunctionSecretResponse contains the response from method WebAppsClient.CreateOrUpdateFunctionSecret.

type WebAppsClientCreateOrUpdateFunctionSecretSlotOptions

type WebAppsClientCreateOrUpdateFunctionSecretSlotOptions struct {
}

WebAppsClientCreateOrUpdateFunctionSecretSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateFunctionSecretSlot method.

type WebAppsClientCreateOrUpdateFunctionSecretSlotResponse

type WebAppsClientCreateOrUpdateFunctionSecretSlotResponse struct {
	// Function key info.
	KeyInfo
}

WebAppsClientCreateOrUpdateFunctionSecretSlotResponse contains the response from method WebAppsClient.CreateOrUpdateFunctionSecretSlot.

type WebAppsClientCreateOrUpdateHostNameBindingOptions

type WebAppsClientCreateOrUpdateHostNameBindingOptions struct {
}

WebAppsClientCreateOrUpdateHostNameBindingOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostNameBinding method.

type WebAppsClientCreateOrUpdateHostNameBindingResponse

type WebAppsClientCreateOrUpdateHostNameBindingResponse struct {
	// A hostname binding object.
	HostNameBinding
}

WebAppsClientCreateOrUpdateHostNameBindingResponse contains the response from method WebAppsClient.CreateOrUpdateHostNameBinding.

type WebAppsClientCreateOrUpdateHostNameBindingSlotOptions

type WebAppsClientCreateOrUpdateHostNameBindingSlotOptions struct {
}

WebAppsClientCreateOrUpdateHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostNameBindingSlot method.

type WebAppsClientCreateOrUpdateHostNameBindingSlotResponse

type WebAppsClientCreateOrUpdateHostNameBindingSlotResponse struct {
	// A hostname binding object.
	HostNameBinding
}

WebAppsClientCreateOrUpdateHostNameBindingSlotResponse contains the response from method WebAppsClient.CreateOrUpdateHostNameBindingSlot.

type WebAppsClientCreateOrUpdateHostSecretOptions

type WebAppsClientCreateOrUpdateHostSecretOptions struct {
}

WebAppsClientCreateOrUpdateHostSecretOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostSecret method.

type WebAppsClientCreateOrUpdateHostSecretResponse

type WebAppsClientCreateOrUpdateHostSecretResponse struct {
	// Function key info.
	KeyInfo
}

WebAppsClientCreateOrUpdateHostSecretResponse contains the response from method WebAppsClient.CreateOrUpdateHostSecret.

type WebAppsClientCreateOrUpdateHostSecretSlotOptions

type WebAppsClientCreateOrUpdateHostSecretSlotOptions struct {
}

WebAppsClientCreateOrUpdateHostSecretSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHostSecretSlot method.

type WebAppsClientCreateOrUpdateHostSecretSlotResponse

type WebAppsClientCreateOrUpdateHostSecretSlotResponse struct {
	// Function key info.
	KeyInfo
}

WebAppsClientCreateOrUpdateHostSecretSlotResponse contains the response from method WebAppsClient.CreateOrUpdateHostSecretSlot.

type WebAppsClientCreateOrUpdateHybridConnectionOptions

type WebAppsClientCreateOrUpdateHybridConnectionOptions struct {
}

WebAppsClientCreateOrUpdateHybridConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHybridConnection method.

type WebAppsClientCreateOrUpdateHybridConnectionResponse

type WebAppsClientCreateOrUpdateHybridConnectionResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientCreateOrUpdateHybridConnectionResponse contains the response from method WebAppsClient.CreateOrUpdateHybridConnection.

type WebAppsClientCreateOrUpdateHybridConnectionSlotOptions

type WebAppsClientCreateOrUpdateHybridConnectionSlotOptions struct {
}

WebAppsClientCreateOrUpdateHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateHybridConnectionSlot method.

type WebAppsClientCreateOrUpdateHybridConnectionSlotResponse

type WebAppsClientCreateOrUpdateHybridConnectionSlotResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientCreateOrUpdateHybridConnectionSlotResponse contains the response from method WebAppsClient.CreateOrUpdateHybridConnectionSlot.

type WebAppsClientCreateOrUpdatePublicCertificateOptions

type WebAppsClientCreateOrUpdatePublicCertificateOptions struct {
}

WebAppsClientCreateOrUpdatePublicCertificateOptions contains the optional parameters for the WebAppsClient.CreateOrUpdatePublicCertificate method.

type WebAppsClientCreateOrUpdatePublicCertificateResponse

type WebAppsClientCreateOrUpdatePublicCertificateResponse struct {
	// Public certificate object
	PublicCertificate
}

WebAppsClientCreateOrUpdatePublicCertificateResponse contains the response from method WebAppsClient.CreateOrUpdatePublicCertificate.

type WebAppsClientCreateOrUpdatePublicCertificateSlotOptions

type WebAppsClientCreateOrUpdatePublicCertificateSlotOptions struct {
}

WebAppsClientCreateOrUpdatePublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdatePublicCertificateSlot method.

type WebAppsClientCreateOrUpdatePublicCertificateSlotResponse

type WebAppsClientCreateOrUpdatePublicCertificateSlotResponse struct {
	// Public certificate object
	PublicCertificate
}

WebAppsClientCreateOrUpdatePublicCertificateSlotResponse contains the response from method WebAppsClient.CreateOrUpdatePublicCertificateSlot.

type WebAppsClientCreateOrUpdateRelayServiceConnectionOptions

type WebAppsClientCreateOrUpdateRelayServiceConnectionOptions struct {
}

WebAppsClientCreateOrUpdateRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateRelayServiceConnection method.

type WebAppsClientCreateOrUpdateRelayServiceConnectionResponse

type WebAppsClientCreateOrUpdateRelayServiceConnectionResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientCreateOrUpdateRelayServiceConnectionResponse contains the response from method WebAppsClient.CreateOrUpdateRelayServiceConnection.

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions struct {
}

WebAppsClientCreateOrUpdateRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateRelayServiceConnectionSlot method.

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse

type WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientCreateOrUpdateRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.CreateOrUpdateRelayServiceConnectionSlot.

type WebAppsClientCreateOrUpdateResponse

type WebAppsClientCreateOrUpdateResponse struct {
	// A web app, a mobile app backend, or an API app.
	Site
}

WebAppsClientCreateOrUpdateResponse contains the response from method WebAppsClient.BeginCreateOrUpdate.

type WebAppsClientCreateOrUpdateSlotResponse

type WebAppsClientCreateOrUpdateSlotResponse struct {
	// A web app, a mobile app backend, or an API app.
	Site
}

WebAppsClientCreateOrUpdateSlotResponse contains the response from method WebAppsClient.BeginCreateOrUpdateSlot.

type WebAppsClientCreateOrUpdateSourceControlResponse

type WebAppsClientCreateOrUpdateSourceControlResponse struct {
	// Source control configuration for an app.
	SiteSourceControl
}

WebAppsClientCreateOrUpdateSourceControlResponse contains the response from method WebAppsClient.BeginCreateOrUpdateSourceControl.

type WebAppsClientCreateOrUpdateSourceControlSlotResponse

type WebAppsClientCreateOrUpdateSourceControlSlotResponse struct {
	// Source control configuration for an app.
	SiteSourceControl
}

WebAppsClientCreateOrUpdateSourceControlSlotResponse contains the response from method WebAppsClient.BeginCreateOrUpdateSourceControlSlot.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions struct {
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck method.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse struct {
	// Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.
	SwiftVirtualNetwork
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse contains the response from method WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions struct {
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot method.

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse

type WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse struct {
	// Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.
	SwiftVirtualNetwork
}

WebAppsClientCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse contains the response from method WebAppsClient.CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot.

type WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions

type WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionGateway method.

type WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse

type WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

WebAppsClientCreateOrUpdateVnetConnectionGatewayResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnectionGateway.

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionGatewaySlot method.

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse

type WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

WebAppsClientCreateOrUpdateVnetConnectionGatewaySlotResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnectionGatewaySlot.

type WebAppsClientCreateOrUpdateVnetConnectionOptions

type WebAppsClientCreateOrUpdateVnetConnectionOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnection method.

type WebAppsClientCreateOrUpdateVnetConnectionResponse

type WebAppsClientCreateOrUpdateVnetConnectionResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

WebAppsClientCreateOrUpdateVnetConnectionResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnection.

type WebAppsClientCreateOrUpdateVnetConnectionSlotOptions

type WebAppsClientCreateOrUpdateVnetConnectionSlotOptions struct {
}

WebAppsClientCreateOrUpdateVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.CreateOrUpdateVnetConnectionSlot method.

type WebAppsClientCreateOrUpdateVnetConnectionSlotResponse

type WebAppsClientCreateOrUpdateVnetConnectionSlotResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

WebAppsClientCreateOrUpdateVnetConnectionSlotResponse contains the response from method WebAppsClient.CreateOrUpdateVnetConnectionSlot.

type WebAppsClientDeleteBackupConfigurationOptions

type WebAppsClientDeleteBackupConfigurationOptions struct {
}

WebAppsClientDeleteBackupConfigurationOptions contains the optional parameters for the WebAppsClient.DeleteBackupConfiguration method.

type WebAppsClientDeleteBackupConfigurationResponse

type WebAppsClientDeleteBackupConfigurationResponse struct {
}

WebAppsClientDeleteBackupConfigurationResponse contains the response from method WebAppsClient.DeleteBackupConfiguration.

type WebAppsClientDeleteBackupConfigurationSlotOptions

type WebAppsClientDeleteBackupConfigurationSlotOptions struct {
}

WebAppsClientDeleteBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.DeleteBackupConfigurationSlot method.

type WebAppsClientDeleteBackupConfigurationSlotResponse

type WebAppsClientDeleteBackupConfigurationSlotResponse struct {
}

WebAppsClientDeleteBackupConfigurationSlotResponse contains the response from method WebAppsClient.DeleteBackupConfigurationSlot.

type WebAppsClientDeleteBackupOptions

type WebAppsClientDeleteBackupOptions struct {
}

WebAppsClientDeleteBackupOptions contains the optional parameters for the WebAppsClient.DeleteBackup method.

type WebAppsClientDeleteBackupResponse

type WebAppsClientDeleteBackupResponse struct {
}

WebAppsClientDeleteBackupResponse contains the response from method WebAppsClient.DeleteBackup.

type WebAppsClientDeleteBackupSlotOptions

type WebAppsClientDeleteBackupSlotOptions struct {
}

WebAppsClientDeleteBackupSlotOptions contains the optional parameters for the WebAppsClient.DeleteBackupSlot method.

type WebAppsClientDeleteBackupSlotResponse

type WebAppsClientDeleteBackupSlotResponse struct {
}

WebAppsClientDeleteBackupSlotResponse contains the response from method WebAppsClient.DeleteBackupSlot.

type WebAppsClientDeleteContinuousWebJobOptions

type WebAppsClientDeleteContinuousWebJobOptions struct {
}

WebAppsClientDeleteContinuousWebJobOptions contains the optional parameters for the WebAppsClient.DeleteContinuousWebJob method.

type WebAppsClientDeleteContinuousWebJobResponse

type WebAppsClientDeleteContinuousWebJobResponse struct {
}

WebAppsClientDeleteContinuousWebJobResponse contains the response from method WebAppsClient.DeleteContinuousWebJob.

type WebAppsClientDeleteContinuousWebJobSlotOptions

type WebAppsClientDeleteContinuousWebJobSlotOptions struct {
}

WebAppsClientDeleteContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.DeleteContinuousWebJobSlot method.

type WebAppsClientDeleteContinuousWebJobSlotResponse

type WebAppsClientDeleteContinuousWebJobSlotResponse struct {
}

WebAppsClientDeleteContinuousWebJobSlotResponse contains the response from method WebAppsClient.DeleteContinuousWebJobSlot.

type WebAppsClientDeleteDeploymentOptions

type WebAppsClientDeleteDeploymentOptions struct {
}

WebAppsClientDeleteDeploymentOptions contains the optional parameters for the WebAppsClient.DeleteDeployment method.

type WebAppsClientDeleteDeploymentResponse

type WebAppsClientDeleteDeploymentResponse struct {
}

WebAppsClientDeleteDeploymentResponse contains the response from method WebAppsClient.DeleteDeployment.

type WebAppsClientDeleteDeploymentSlotOptions

type WebAppsClientDeleteDeploymentSlotOptions struct {
}

WebAppsClientDeleteDeploymentSlotOptions contains the optional parameters for the WebAppsClient.DeleteDeploymentSlot method.

type WebAppsClientDeleteDeploymentSlotResponse

type WebAppsClientDeleteDeploymentSlotResponse struct {
}

WebAppsClientDeleteDeploymentSlotResponse contains the response from method WebAppsClient.DeleteDeploymentSlot.

type WebAppsClientDeleteDomainOwnershipIdentifierOptions

type WebAppsClientDeleteDomainOwnershipIdentifierOptions struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.DeleteDomainOwnershipIdentifier method.

type WebAppsClientDeleteDomainOwnershipIdentifierResponse

type WebAppsClientDeleteDomainOwnershipIdentifierResponse struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.DeleteDomainOwnershipIdentifier.

type WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions

type WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.DeleteDomainOwnershipIdentifierSlot method.

type WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse

type WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse struct {
}

WebAppsClientDeleteDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.DeleteDomainOwnershipIdentifierSlot.

type WebAppsClientDeleteFunctionOptions

type WebAppsClientDeleteFunctionOptions struct {
}

WebAppsClientDeleteFunctionOptions contains the optional parameters for the WebAppsClient.DeleteFunction method.

type WebAppsClientDeleteFunctionResponse

type WebAppsClientDeleteFunctionResponse struct {
}

WebAppsClientDeleteFunctionResponse contains the response from method WebAppsClient.DeleteFunction.

type WebAppsClientDeleteFunctionSecretOptions

type WebAppsClientDeleteFunctionSecretOptions struct {
}

WebAppsClientDeleteFunctionSecretOptions contains the optional parameters for the WebAppsClient.DeleteFunctionSecret method.

type WebAppsClientDeleteFunctionSecretResponse

type WebAppsClientDeleteFunctionSecretResponse struct {
}

WebAppsClientDeleteFunctionSecretResponse contains the response from method WebAppsClient.DeleteFunctionSecret.

type WebAppsClientDeleteFunctionSecretSlotOptions

type WebAppsClientDeleteFunctionSecretSlotOptions struct {
}

WebAppsClientDeleteFunctionSecretSlotOptions contains the optional parameters for the WebAppsClient.DeleteFunctionSecretSlot method.

type WebAppsClientDeleteFunctionSecretSlotResponse

type WebAppsClientDeleteFunctionSecretSlotResponse struct {
}

WebAppsClientDeleteFunctionSecretSlotResponse contains the response from method WebAppsClient.DeleteFunctionSecretSlot.

type WebAppsClientDeleteHostNameBindingOptions

type WebAppsClientDeleteHostNameBindingOptions struct {
}

WebAppsClientDeleteHostNameBindingOptions contains the optional parameters for the WebAppsClient.DeleteHostNameBinding method.

type WebAppsClientDeleteHostNameBindingResponse

type WebAppsClientDeleteHostNameBindingResponse struct {
}

WebAppsClientDeleteHostNameBindingResponse contains the response from method WebAppsClient.DeleteHostNameBinding.

type WebAppsClientDeleteHostNameBindingSlotOptions

type WebAppsClientDeleteHostNameBindingSlotOptions struct {
}

WebAppsClientDeleteHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.DeleteHostNameBindingSlot method.

type WebAppsClientDeleteHostNameBindingSlotResponse

type WebAppsClientDeleteHostNameBindingSlotResponse struct {
}

WebAppsClientDeleteHostNameBindingSlotResponse contains the response from method WebAppsClient.DeleteHostNameBindingSlot.

type WebAppsClientDeleteHostSecretOptions

type WebAppsClientDeleteHostSecretOptions struct {
}

WebAppsClientDeleteHostSecretOptions contains the optional parameters for the WebAppsClient.DeleteHostSecret method.

type WebAppsClientDeleteHostSecretResponse

type WebAppsClientDeleteHostSecretResponse struct {
}

WebAppsClientDeleteHostSecretResponse contains the response from method WebAppsClient.DeleteHostSecret.

type WebAppsClientDeleteHostSecretSlotOptions

type WebAppsClientDeleteHostSecretSlotOptions struct {
}

WebAppsClientDeleteHostSecretSlotOptions contains the optional parameters for the WebAppsClient.DeleteHostSecretSlot method.

type WebAppsClientDeleteHostSecretSlotResponse

type WebAppsClientDeleteHostSecretSlotResponse struct {
}

WebAppsClientDeleteHostSecretSlotResponse contains the response from method WebAppsClient.DeleteHostSecretSlot.

type WebAppsClientDeleteHybridConnectionOptions

type WebAppsClientDeleteHybridConnectionOptions struct {
}

WebAppsClientDeleteHybridConnectionOptions contains the optional parameters for the WebAppsClient.DeleteHybridConnection method.

type WebAppsClientDeleteHybridConnectionResponse

type WebAppsClientDeleteHybridConnectionResponse struct {
}

WebAppsClientDeleteHybridConnectionResponse contains the response from method WebAppsClient.DeleteHybridConnection.

type WebAppsClientDeleteHybridConnectionSlotOptions

type WebAppsClientDeleteHybridConnectionSlotOptions struct {
}

WebAppsClientDeleteHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteHybridConnectionSlot method.

type WebAppsClientDeleteHybridConnectionSlotResponse

type WebAppsClientDeleteHybridConnectionSlotResponse struct {
}

WebAppsClientDeleteHybridConnectionSlotResponse contains the response from method WebAppsClient.DeleteHybridConnectionSlot.

type WebAppsClientDeleteInstanceFunctionSlotOptions

type WebAppsClientDeleteInstanceFunctionSlotOptions struct {
}

WebAppsClientDeleteInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.DeleteInstanceFunctionSlot method.

type WebAppsClientDeleteInstanceFunctionSlotResponse

type WebAppsClientDeleteInstanceFunctionSlotResponse struct {
}

WebAppsClientDeleteInstanceFunctionSlotResponse contains the response from method WebAppsClient.DeleteInstanceFunctionSlot.

type WebAppsClientDeleteInstanceProcessOptions

type WebAppsClientDeleteInstanceProcessOptions struct {
}

WebAppsClientDeleteInstanceProcessOptions contains the optional parameters for the WebAppsClient.DeleteInstanceProcess method.

type WebAppsClientDeleteInstanceProcessResponse

type WebAppsClientDeleteInstanceProcessResponse struct {
}

WebAppsClientDeleteInstanceProcessResponse contains the response from method WebAppsClient.DeleteInstanceProcess.

type WebAppsClientDeleteInstanceProcessSlotOptions

type WebAppsClientDeleteInstanceProcessSlotOptions struct {
}

WebAppsClientDeleteInstanceProcessSlotOptions contains the optional parameters for the WebAppsClient.DeleteInstanceProcessSlot method.

type WebAppsClientDeleteInstanceProcessSlotResponse

type WebAppsClientDeleteInstanceProcessSlotResponse struct {
}

WebAppsClientDeleteInstanceProcessSlotResponse contains the response from method WebAppsClient.DeleteInstanceProcessSlot.

type WebAppsClientDeleteOptions

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

type WebAppsClientDeletePremierAddOnOptions struct {
}

WebAppsClientDeletePremierAddOnOptions contains the optional parameters for the WebAppsClient.DeletePremierAddOn method.

type WebAppsClientDeletePremierAddOnResponse

type WebAppsClientDeletePremierAddOnResponse struct {
}

WebAppsClientDeletePremierAddOnResponse contains the response from method WebAppsClient.DeletePremierAddOn.

type WebAppsClientDeletePremierAddOnSlotOptions

type WebAppsClientDeletePremierAddOnSlotOptions struct {
}

WebAppsClientDeletePremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.DeletePremierAddOnSlot method.

type WebAppsClientDeletePremierAddOnSlotResponse

type WebAppsClientDeletePremierAddOnSlotResponse struct {
}

WebAppsClientDeletePremierAddOnSlotResponse contains the response from method WebAppsClient.DeletePremierAddOnSlot.

type WebAppsClientDeletePrivateEndpointConnectionResponse

type WebAppsClientDeletePrivateEndpointConnectionResponse struct {
	// Anything
	Interface any
}

WebAppsClientDeletePrivateEndpointConnectionResponse contains the response from method WebAppsClient.BeginDeletePrivateEndpointConnection.

func (*WebAppsClientDeletePrivateEndpointConnectionResponse) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientDeletePrivateEndpointConnectionResponse.

type WebAppsClientDeletePrivateEndpointConnectionSlotResponse

type WebAppsClientDeletePrivateEndpointConnectionSlotResponse struct {
	// Anything
	Interface any
}

WebAppsClientDeletePrivateEndpointConnectionSlotResponse contains the response from method WebAppsClient.BeginDeletePrivateEndpointConnectionSlot.

func (*WebAppsClientDeletePrivateEndpointConnectionSlotResponse) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientDeletePrivateEndpointConnectionSlotResponse.

type WebAppsClientDeleteProcessOptions

type WebAppsClientDeleteProcessOptions struct {
}

WebAppsClientDeleteProcessOptions contains the optional parameters for the WebAppsClient.DeleteProcess method.

type WebAppsClientDeleteProcessResponse

type WebAppsClientDeleteProcessResponse struct {
}

WebAppsClientDeleteProcessResponse contains the response from method WebAppsClient.DeleteProcess.

type WebAppsClientDeleteProcessSlotOptions

type WebAppsClientDeleteProcessSlotOptions struct {
}

WebAppsClientDeleteProcessSlotOptions contains the optional parameters for the WebAppsClient.DeleteProcessSlot method.

type WebAppsClientDeleteProcessSlotResponse

type WebAppsClientDeleteProcessSlotResponse struct {
}

WebAppsClientDeleteProcessSlotResponse contains the response from method WebAppsClient.DeleteProcessSlot.

type WebAppsClientDeletePublicCertificateOptions

type WebAppsClientDeletePublicCertificateOptions struct {
}

WebAppsClientDeletePublicCertificateOptions contains the optional parameters for the WebAppsClient.DeletePublicCertificate method.

type WebAppsClientDeletePublicCertificateResponse

type WebAppsClientDeletePublicCertificateResponse struct {
}

WebAppsClientDeletePublicCertificateResponse contains the response from method WebAppsClient.DeletePublicCertificate.

type WebAppsClientDeletePublicCertificateSlotOptions

type WebAppsClientDeletePublicCertificateSlotOptions struct {
}

WebAppsClientDeletePublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.DeletePublicCertificateSlot method.

type WebAppsClientDeletePublicCertificateSlotResponse

type WebAppsClientDeletePublicCertificateSlotResponse struct {
}

WebAppsClientDeletePublicCertificateSlotResponse contains the response from method WebAppsClient.DeletePublicCertificateSlot.

type WebAppsClientDeleteRelayServiceConnectionOptions

type WebAppsClientDeleteRelayServiceConnectionOptions struct {
}

WebAppsClientDeleteRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.DeleteRelayServiceConnection method.

type WebAppsClientDeleteRelayServiceConnectionResponse

type WebAppsClientDeleteRelayServiceConnectionResponse struct {
}

WebAppsClientDeleteRelayServiceConnectionResponse contains the response from method WebAppsClient.DeleteRelayServiceConnection.

type WebAppsClientDeleteRelayServiceConnectionSlotOptions

type WebAppsClientDeleteRelayServiceConnectionSlotOptions struct {
}

WebAppsClientDeleteRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteRelayServiceConnectionSlot method.

type WebAppsClientDeleteRelayServiceConnectionSlotResponse

type WebAppsClientDeleteRelayServiceConnectionSlotResponse struct {
}

WebAppsClientDeleteRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.DeleteRelayServiceConnectionSlot.

type WebAppsClientDeleteResponse

type WebAppsClientDeleteResponse struct {
}

WebAppsClientDeleteResponse contains the response from method WebAppsClient.Delete.

type WebAppsClientDeleteSiteExtensionOptions

type WebAppsClientDeleteSiteExtensionOptions struct {
}

WebAppsClientDeleteSiteExtensionOptions contains the optional parameters for the WebAppsClient.DeleteSiteExtension method.

type WebAppsClientDeleteSiteExtensionResponse

type WebAppsClientDeleteSiteExtensionResponse struct {
}

WebAppsClientDeleteSiteExtensionResponse contains the response from method WebAppsClient.DeleteSiteExtension.

type WebAppsClientDeleteSiteExtensionSlotOptions

type WebAppsClientDeleteSiteExtensionSlotOptions struct {
}

WebAppsClientDeleteSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.DeleteSiteExtensionSlot method.

type WebAppsClientDeleteSiteExtensionSlotResponse

type WebAppsClientDeleteSiteExtensionSlotResponse struct {
}

WebAppsClientDeleteSiteExtensionSlotResponse contains the response from method WebAppsClient.DeleteSiteExtensionSlot.

type WebAppsClientDeleteSlotOptions

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

type WebAppsClientDeleteSlotResponse struct {
}

WebAppsClientDeleteSlotResponse contains the response from method WebAppsClient.DeleteSlot.

type WebAppsClientDeleteSourceControlOptions

type WebAppsClientDeleteSourceControlOptions struct {
	AdditionalFlags *string
}

WebAppsClientDeleteSourceControlOptions contains the optional parameters for the WebAppsClient.DeleteSourceControl method.

type WebAppsClientDeleteSourceControlResponse

type WebAppsClientDeleteSourceControlResponse struct {
}

WebAppsClientDeleteSourceControlResponse contains the response from method WebAppsClient.DeleteSourceControl.

type WebAppsClientDeleteSourceControlSlotOptions

type WebAppsClientDeleteSourceControlSlotOptions struct {
	AdditionalFlags *string
}

WebAppsClientDeleteSourceControlSlotOptions contains the optional parameters for the WebAppsClient.DeleteSourceControlSlot method.

type WebAppsClientDeleteSourceControlSlotResponse

type WebAppsClientDeleteSourceControlSlotResponse struct {
}

WebAppsClientDeleteSourceControlSlotResponse contains the response from method WebAppsClient.DeleteSourceControlSlot.

type WebAppsClientDeleteSwiftVirtualNetworkOptions

type WebAppsClientDeleteSwiftVirtualNetworkOptions struct {
}

WebAppsClientDeleteSwiftVirtualNetworkOptions contains the optional parameters for the WebAppsClient.DeleteSwiftVirtualNetwork method.

type WebAppsClientDeleteSwiftVirtualNetworkResponse

type WebAppsClientDeleteSwiftVirtualNetworkResponse struct {
}

WebAppsClientDeleteSwiftVirtualNetworkResponse contains the response from method WebAppsClient.DeleteSwiftVirtualNetwork.

type WebAppsClientDeleteSwiftVirtualNetworkSlotOptions

type WebAppsClientDeleteSwiftVirtualNetworkSlotOptions struct {
}

WebAppsClientDeleteSwiftVirtualNetworkSlotOptions contains the optional parameters for the WebAppsClient.DeleteSwiftVirtualNetworkSlot method.

type WebAppsClientDeleteSwiftVirtualNetworkSlotResponse

type WebAppsClientDeleteSwiftVirtualNetworkSlotResponse struct {
}

WebAppsClientDeleteSwiftVirtualNetworkSlotResponse contains the response from method WebAppsClient.DeleteSwiftVirtualNetworkSlot.

type WebAppsClientDeleteTriggeredWebJobOptions

type WebAppsClientDeleteTriggeredWebJobOptions struct {
}

WebAppsClientDeleteTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.DeleteTriggeredWebJob method.

type WebAppsClientDeleteTriggeredWebJobResponse

type WebAppsClientDeleteTriggeredWebJobResponse struct {
}

WebAppsClientDeleteTriggeredWebJobResponse contains the response from method WebAppsClient.DeleteTriggeredWebJob.

type WebAppsClientDeleteTriggeredWebJobSlotOptions

type WebAppsClientDeleteTriggeredWebJobSlotOptions struct {
}

WebAppsClientDeleteTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.DeleteTriggeredWebJobSlot method.

type WebAppsClientDeleteTriggeredWebJobSlotResponse

type WebAppsClientDeleteTriggeredWebJobSlotResponse struct {
}

WebAppsClientDeleteTriggeredWebJobSlotResponse contains the response from method WebAppsClient.DeleteTriggeredWebJobSlot.

type WebAppsClientDeleteVnetConnectionOptions

type WebAppsClientDeleteVnetConnectionOptions struct {
}

WebAppsClientDeleteVnetConnectionOptions contains the optional parameters for the WebAppsClient.DeleteVnetConnection method.

type WebAppsClientDeleteVnetConnectionResponse

type WebAppsClientDeleteVnetConnectionResponse struct {
}

WebAppsClientDeleteVnetConnectionResponse contains the response from method WebAppsClient.DeleteVnetConnection.

type WebAppsClientDeleteVnetConnectionSlotOptions

type WebAppsClientDeleteVnetConnectionSlotOptions struct {
}

WebAppsClientDeleteVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.DeleteVnetConnectionSlot method.

type WebAppsClientDeleteVnetConnectionSlotResponse

type WebAppsClientDeleteVnetConnectionSlotResponse struct {
}

WebAppsClientDeleteVnetConnectionSlotResponse contains the response from method WebAppsClient.DeleteVnetConnectionSlot.

type WebAppsClientDeployWorkflowArtifactsOptions added in v2.1.0

type WebAppsClientDeployWorkflowArtifactsOptions struct {
	// Application settings and files of the workflow.
	WorkflowArtifacts *WorkflowArtifacts
}

WebAppsClientDeployWorkflowArtifactsOptions contains the optional parameters for the WebAppsClient.DeployWorkflowArtifacts method.

type WebAppsClientDeployWorkflowArtifactsResponse added in v2.1.0

type WebAppsClientDeployWorkflowArtifactsResponse struct {
}

WebAppsClientDeployWorkflowArtifactsResponse contains the response from method WebAppsClient.DeployWorkflowArtifacts.

type WebAppsClientDeployWorkflowArtifactsSlotOptions added in v2.1.0

type WebAppsClientDeployWorkflowArtifactsSlotOptions struct {
	// Application settings and files of the workflow.
	WorkflowArtifacts *WorkflowArtifacts
}

WebAppsClientDeployWorkflowArtifactsSlotOptions contains the optional parameters for the WebAppsClient.DeployWorkflowArtifactsSlot method.

type WebAppsClientDeployWorkflowArtifactsSlotResponse added in v2.1.0

type WebAppsClientDeployWorkflowArtifactsSlotResponse struct {
}

WebAppsClientDeployWorkflowArtifactsSlotResponse contains the response from method WebAppsClient.DeployWorkflowArtifactsSlot.

type WebAppsClientDiscoverBackupOptions

type WebAppsClientDiscoverBackupOptions struct {
}

WebAppsClientDiscoverBackupOptions contains the optional parameters for the WebAppsClient.DiscoverBackup method.

type WebAppsClientDiscoverBackupResponse

type WebAppsClientDiscoverBackupResponse struct {
	// Description of a restore request.
	RestoreRequest
}

WebAppsClientDiscoverBackupResponse contains the response from method WebAppsClient.DiscoverBackup.

type WebAppsClientDiscoverBackupSlotOptions

type WebAppsClientDiscoverBackupSlotOptions struct {
}

WebAppsClientDiscoverBackupSlotOptions contains the optional parameters for the WebAppsClient.DiscoverBackupSlot method.

type WebAppsClientDiscoverBackupSlotResponse

type WebAppsClientDiscoverBackupSlotResponse struct {
	// Description of a restore request.
	RestoreRequest
}

WebAppsClientDiscoverBackupSlotResponse contains the response from method WebAppsClient.DiscoverBackupSlot.

type WebAppsClientGenerateNewSitePublishingPasswordOptions

type WebAppsClientGenerateNewSitePublishingPasswordOptions struct {
}

WebAppsClientGenerateNewSitePublishingPasswordOptions contains the optional parameters for the WebAppsClient.GenerateNewSitePublishingPassword method.

type WebAppsClientGenerateNewSitePublishingPasswordResponse

type WebAppsClientGenerateNewSitePublishingPasswordResponse struct {
}

WebAppsClientGenerateNewSitePublishingPasswordResponse contains the response from method WebAppsClient.GenerateNewSitePublishingPassword.

type WebAppsClientGenerateNewSitePublishingPasswordSlotOptions

type WebAppsClientGenerateNewSitePublishingPasswordSlotOptions struct {
}

WebAppsClientGenerateNewSitePublishingPasswordSlotOptions contains the optional parameters for the WebAppsClient.GenerateNewSitePublishingPasswordSlot method.

type WebAppsClientGenerateNewSitePublishingPasswordSlotResponse

type WebAppsClientGenerateNewSitePublishingPasswordSlotResponse struct {
}

WebAppsClientGenerateNewSitePublishingPasswordSlotResponse contains the response from method WebAppsClient.GenerateNewSitePublishingPasswordSlot.

type WebAppsClientGetAppSettingKeyVaultReferenceOptions

type WebAppsClientGetAppSettingKeyVaultReferenceOptions struct {
}

WebAppsClientGetAppSettingKeyVaultReferenceOptions contains the optional parameters for the WebAppsClient.GetAppSettingKeyVaultReference method.

type WebAppsClientGetAppSettingKeyVaultReferenceResponse

type WebAppsClientGetAppSettingKeyVaultReferenceResponse struct {
	// Description of site key vault references.
	APIKVReference
}

WebAppsClientGetAppSettingKeyVaultReferenceResponse contains the response from method WebAppsClient.GetAppSettingKeyVaultReference.

type WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions

type WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions struct {
}

WebAppsClientGetAppSettingKeyVaultReferenceSlotOptions contains the optional parameters for the WebAppsClient.GetAppSettingKeyVaultReferenceSlot method.

type WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse

type WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse struct {
	// Description of site key vault references.
	APIKVReference
}

WebAppsClientGetAppSettingKeyVaultReferenceSlotResponse contains the response from method WebAppsClient.GetAppSettingKeyVaultReferenceSlot.

type WebAppsClientGetAppSettingsKeyVaultReferencesOptions

type WebAppsClientGetAppSettingsKeyVaultReferencesOptions struct {
}

WebAppsClientGetAppSettingsKeyVaultReferencesOptions contains the optional parameters for the WebAppsClient.NewGetAppSettingsKeyVaultReferencesPager method.

type WebAppsClientGetAppSettingsKeyVaultReferencesResponse

type WebAppsClientGetAppSettingsKeyVaultReferencesResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetAppSettingsKeyVaultReferencesResponse contains the response from method WebAppsClient.NewGetAppSettingsKeyVaultReferencesPager.

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions struct {
}

WebAppsClientGetAppSettingsKeyVaultReferencesSlotOptions contains the optional parameters for the WebAppsClient.NewGetAppSettingsKeyVaultReferencesSlotPager method.

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse

type WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetAppSettingsKeyVaultReferencesSlotResponse contains the response from method WebAppsClient.NewGetAppSettingsKeyVaultReferencesSlotPager.

type WebAppsClientGetAuthSettingsOptions

type WebAppsClientGetAuthSettingsOptions struct {
}

WebAppsClientGetAuthSettingsOptions contains the optional parameters for the WebAppsClient.GetAuthSettings method.

type WebAppsClientGetAuthSettingsResponse

type WebAppsClientGetAuthSettingsResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization feature.
	SiteAuthSettings
}

WebAppsClientGetAuthSettingsResponse contains the response from method WebAppsClient.GetAuthSettings.

type WebAppsClientGetAuthSettingsSlotOptions

type WebAppsClientGetAuthSettingsSlotOptions struct {
}

WebAppsClientGetAuthSettingsSlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsSlot method.

type WebAppsClientGetAuthSettingsSlotResponse

type WebAppsClientGetAuthSettingsSlotResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization feature.
	SiteAuthSettings
}

WebAppsClientGetAuthSettingsSlotResponse contains the response from method WebAppsClient.GetAuthSettingsSlot.

type WebAppsClientGetAuthSettingsV2Options

type WebAppsClientGetAuthSettingsV2Options struct {
}

WebAppsClientGetAuthSettingsV2Options contains the optional parameters for the WebAppsClient.GetAuthSettingsV2 method.

type WebAppsClientGetAuthSettingsV2Response

type WebAppsClientGetAuthSettingsV2Response struct {
	// Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2Response contains the response from method WebAppsClient.GetAuthSettingsV2.

type WebAppsClientGetAuthSettingsV2SlotOptions

type WebAppsClientGetAuthSettingsV2SlotOptions struct {
}

WebAppsClientGetAuthSettingsV2SlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2Slot method.

type WebAppsClientGetAuthSettingsV2SlotResponse

type WebAppsClientGetAuthSettingsV2SlotResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2SlotResponse contains the response from method WebAppsClient.GetAuthSettingsV2Slot.

type WebAppsClientGetAuthSettingsV2WithoutSecretsOptions

type WebAppsClientGetAuthSettingsV2WithoutSecretsOptions struct {
}

WebAppsClientGetAuthSettingsV2WithoutSecretsOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2WithoutSecrets method.

type WebAppsClientGetAuthSettingsV2WithoutSecretsResponse

type WebAppsClientGetAuthSettingsV2WithoutSecretsResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2WithoutSecretsResponse contains the response from method WebAppsClient.GetAuthSettingsV2WithoutSecrets.

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions struct {
}

WebAppsClientGetAuthSettingsV2WithoutSecretsSlotOptions contains the optional parameters for the WebAppsClient.GetAuthSettingsV2WithoutSecretsSlot method.

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse

type WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
	SiteAuthSettingsV2
}

WebAppsClientGetAuthSettingsV2WithoutSecretsSlotResponse contains the response from method WebAppsClient.GetAuthSettingsV2WithoutSecretsSlot.

type WebAppsClientGetBackupConfigurationOptions

type WebAppsClientGetBackupConfigurationOptions struct {
}

WebAppsClientGetBackupConfigurationOptions contains the optional parameters for the WebAppsClient.GetBackupConfiguration method.

type WebAppsClientGetBackupConfigurationResponse

type WebAppsClientGetBackupConfigurationResponse struct {
	// Description of a backup which will be performed.
	BackupRequest
}

WebAppsClientGetBackupConfigurationResponse contains the response from method WebAppsClient.GetBackupConfiguration.

type WebAppsClientGetBackupConfigurationSlotOptions

type WebAppsClientGetBackupConfigurationSlotOptions struct {
}

WebAppsClientGetBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetBackupConfigurationSlot method.

type WebAppsClientGetBackupConfigurationSlotResponse

type WebAppsClientGetBackupConfigurationSlotResponse struct {
	// Description of a backup which will be performed.
	BackupRequest
}

WebAppsClientGetBackupConfigurationSlotResponse contains the response from method WebAppsClient.GetBackupConfigurationSlot.

type WebAppsClientGetBackupStatusOptions

type WebAppsClientGetBackupStatusOptions struct {
}

WebAppsClientGetBackupStatusOptions contains the optional parameters for the WebAppsClient.GetBackupStatus method.

type WebAppsClientGetBackupStatusResponse

type WebAppsClientGetBackupStatusResponse struct {
	// Backup description.
	BackupItem
}

WebAppsClientGetBackupStatusResponse contains the response from method WebAppsClient.GetBackupStatus.

type WebAppsClientGetBackupStatusSlotOptions

type WebAppsClientGetBackupStatusSlotOptions struct {
}

WebAppsClientGetBackupStatusSlotOptions contains the optional parameters for the WebAppsClient.GetBackupStatusSlot method.

type WebAppsClientGetBackupStatusSlotResponse

type WebAppsClientGetBackupStatusSlotResponse struct {
	// Backup description.
	BackupItem
}

WebAppsClientGetBackupStatusSlotResponse contains the response from method WebAppsClient.GetBackupStatusSlot.

type WebAppsClientGetConfigurationOptions

type WebAppsClientGetConfigurationOptions struct {
}

WebAppsClientGetConfigurationOptions contains the optional parameters for the WebAppsClient.GetConfiguration method.

type WebAppsClientGetConfigurationResponse

type WebAppsClientGetConfigurationResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientGetConfigurationResponse contains the response from method WebAppsClient.GetConfiguration.

type WebAppsClientGetConfigurationSlotOptions

type WebAppsClientGetConfigurationSlotOptions struct {
}

WebAppsClientGetConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSlot method.

type WebAppsClientGetConfigurationSlotResponse

type WebAppsClientGetConfigurationSlotResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientGetConfigurationSlotResponse contains the response from method WebAppsClient.GetConfigurationSlot.

type WebAppsClientGetConfigurationSnapshotOptions

type WebAppsClientGetConfigurationSnapshotOptions struct {
}

WebAppsClientGetConfigurationSnapshotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSnapshot method.

type WebAppsClientGetConfigurationSnapshotResponse

type WebAppsClientGetConfigurationSnapshotResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientGetConfigurationSnapshotResponse contains the response from method WebAppsClient.GetConfigurationSnapshot.

type WebAppsClientGetConfigurationSnapshotSlotOptions

type WebAppsClientGetConfigurationSnapshotSlotOptions struct {
}

WebAppsClientGetConfigurationSnapshotSlotOptions contains the optional parameters for the WebAppsClient.GetConfigurationSnapshotSlot method.

type WebAppsClientGetConfigurationSnapshotSlotResponse

type WebAppsClientGetConfigurationSnapshotSlotResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientGetConfigurationSnapshotSlotResponse contains the response from method WebAppsClient.GetConfigurationSnapshotSlot.

type WebAppsClientGetContainerLogsZipOptions

type WebAppsClientGetContainerLogsZipOptions struct {
}

WebAppsClientGetContainerLogsZipOptions contains the optional parameters for the WebAppsClient.GetContainerLogsZip method.

type WebAppsClientGetContainerLogsZipResponse

type WebAppsClientGetContainerLogsZipResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetContainerLogsZipResponse contains the response from method WebAppsClient.GetContainerLogsZip.

type WebAppsClientGetContainerLogsZipSlotOptions

type WebAppsClientGetContainerLogsZipSlotOptions struct {
}

WebAppsClientGetContainerLogsZipSlotOptions contains the optional parameters for the WebAppsClient.GetContainerLogsZipSlot method.

type WebAppsClientGetContainerLogsZipSlotResponse

type WebAppsClientGetContainerLogsZipSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetContainerLogsZipSlotResponse contains the response from method WebAppsClient.GetContainerLogsZipSlot.

type WebAppsClientGetContinuousWebJobOptions

type WebAppsClientGetContinuousWebJobOptions struct {
}

WebAppsClientGetContinuousWebJobOptions contains the optional parameters for the WebAppsClient.GetContinuousWebJob method.

type WebAppsClientGetContinuousWebJobResponse

type WebAppsClientGetContinuousWebJobResponse struct {
	// Continuous Web Job Information.
	ContinuousWebJob
}

WebAppsClientGetContinuousWebJobResponse contains the response from method WebAppsClient.GetContinuousWebJob.

type WebAppsClientGetContinuousWebJobSlotOptions

type WebAppsClientGetContinuousWebJobSlotOptions struct {
}

WebAppsClientGetContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetContinuousWebJobSlot method.

type WebAppsClientGetContinuousWebJobSlotResponse

type WebAppsClientGetContinuousWebJobSlotResponse struct {
	// Continuous Web Job Information.
	ContinuousWebJob
}

WebAppsClientGetContinuousWebJobSlotResponse contains the response from method WebAppsClient.GetContinuousWebJobSlot.

type WebAppsClientGetDeploymentOptions

type WebAppsClientGetDeploymentOptions struct {
}

WebAppsClientGetDeploymentOptions contains the optional parameters for the WebAppsClient.GetDeployment method.

type WebAppsClientGetDeploymentResponse

type WebAppsClientGetDeploymentResponse struct {
	// User credentials used for publishing activity.
	Deployment
}

WebAppsClientGetDeploymentResponse contains the response from method WebAppsClient.GetDeployment.

type WebAppsClientGetDeploymentSlotOptions

type WebAppsClientGetDeploymentSlotOptions struct {
}

WebAppsClientGetDeploymentSlotOptions contains the optional parameters for the WebAppsClient.GetDeploymentSlot method.

type WebAppsClientGetDeploymentSlotResponse

type WebAppsClientGetDeploymentSlotResponse struct {
	// User credentials used for publishing activity.
	Deployment
}

WebAppsClientGetDeploymentSlotResponse contains the response from method WebAppsClient.GetDeploymentSlot.

type WebAppsClientGetDiagnosticLogsConfigurationOptions

type WebAppsClientGetDiagnosticLogsConfigurationOptions struct {
}

WebAppsClientGetDiagnosticLogsConfigurationOptions contains the optional parameters for the WebAppsClient.GetDiagnosticLogsConfiguration method.

type WebAppsClientGetDiagnosticLogsConfigurationResponse

type WebAppsClientGetDiagnosticLogsConfigurationResponse struct {
	// Configuration of App Service site logs.
	SiteLogsConfig
}

WebAppsClientGetDiagnosticLogsConfigurationResponse contains the response from method WebAppsClient.GetDiagnosticLogsConfiguration.

type WebAppsClientGetDiagnosticLogsConfigurationSlotOptions

type WebAppsClientGetDiagnosticLogsConfigurationSlotOptions struct {
}

WebAppsClientGetDiagnosticLogsConfigurationSlotOptions contains the optional parameters for the WebAppsClient.GetDiagnosticLogsConfigurationSlot method.

type WebAppsClientGetDiagnosticLogsConfigurationSlotResponse

type WebAppsClientGetDiagnosticLogsConfigurationSlotResponse struct {
	// Configuration of App Service site logs.
	SiteLogsConfig
}

WebAppsClientGetDiagnosticLogsConfigurationSlotResponse contains the response from method WebAppsClient.GetDiagnosticLogsConfigurationSlot.

type WebAppsClientGetDomainOwnershipIdentifierOptions

type WebAppsClientGetDomainOwnershipIdentifierOptions struct {
}

WebAppsClientGetDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.GetDomainOwnershipIdentifier method.

type WebAppsClientGetDomainOwnershipIdentifierResponse

type WebAppsClientGetDomainOwnershipIdentifierResponse struct {
	// A domain specific resource identifier.
	Identifier
}

WebAppsClientGetDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.GetDomainOwnershipIdentifier.

type WebAppsClientGetDomainOwnershipIdentifierSlotOptions

type WebAppsClientGetDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientGetDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.GetDomainOwnershipIdentifierSlot method.

type WebAppsClientGetDomainOwnershipIdentifierSlotResponse

type WebAppsClientGetDomainOwnershipIdentifierSlotResponse struct {
	// A domain specific resource identifier.
	Identifier
}

WebAppsClientGetDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.GetDomainOwnershipIdentifierSlot.

type WebAppsClientGetFtpAllowedOptions

type WebAppsClientGetFtpAllowedOptions struct {
}

WebAppsClientGetFtpAllowedOptions contains the optional parameters for the WebAppsClient.GetFtpAllowed method.

type WebAppsClientGetFtpAllowedResponse

type WebAppsClientGetFtpAllowedResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetFtpAllowedResponse contains the response from method WebAppsClient.GetFtpAllowed.

type WebAppsClientGetFtpAllowedSlotOptions

type WebAppsClientGetFtpAllowedSlotOptions struct {
}

WebAppsClientGetFtpAllowedSlotOptions contains the optional parameters for the WebAppsClient.GetFtpAllowedSlot method.

type WebAppsClientGetFtpAllowedSlotResponse

type WebAppsClientGetFtpAllowedSlotResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetFtpAllowedSlotResponse contains the response from method WebAppsClient.GetFtpAllowedSlot.

type WebAppsClientGetFunctionOptions

type WebAppsClientGetFunctionOptions struct {
}

WebAppsClientGetFunctionOptions contains the optional parameters for the WebAppsClient.GetFunction method.

type WebAppsClientGetFunctionResponse

type WebAppsClientGetFunctionResponse struct {
	// Function information.
	FunctionEnvelope
}

WebAppsClientGetFunctionResponse contains the response from method WebAppsClient.GetFunction.

type WebAppsClientGetFunctionsAdminTokenOptions

type WebAppsClientGetFunctionsAdminTokenOptions struct {
}

WebAppsClientGetFunctionsAdminTokenOptions contains the optional parameters for the WebAppsClient.GetFunctionsAdminToken method.

type WebAppsClientGetFunctionsAdminTokenResponse

type WebAppsClientGetFunctionsAdminTokenResponse struct {
	Value *string
}

WebAppsClientGetFunctionsAdminTokenResponse contains the response from method WebAppsClient.GetFunctionsAdminToken.

type WebAppsClientGetFunctionsAdminTokenSlotOptions

type WebAppsClientGetFunctionsAdminTokenSlotOptions struct {
}

WebAppsClientGetFunctionsAdminTokenSlotOptions contains the optional parameters for the WebAppsClient.GetFunctionsAdminTokenSlot method.

type WebAppsClientGetFunctionsAdminTokenSlotResponse

type WebAppsClientGetFunctionsAdminTokenSlotResponse struct {
	Value *string
}

WebAppsClientGetFunctionsAdminTokenSlotResponse contains the response from method WebAppsClient.GetFunctionsAdminTokenSlot.

type WebAppsClientGetHostNameBindingOptions

type WebAppsClientGetHostNameBindingOptions struct {
}

WebAppsClientGetHostNameBindingOptions contains the optional parameters for the WebAppsClient.GetHostNameBinding method.

type WebAppsClientGetHostNameBindingResponse

type WebAppsClientGetHostNameBindingResponse struct {
	// A hostname binding object.
	HostNameBinding
}

WebAppsClientGetHostNameBindingResponse contains the response from method WebAppsClient.GetHostNameBinding.

type WebAppsClientGetHostNameBindingSlotOptions

type WebAppsClientGetHostNameBindingSlotOptions struct {
}

WebAppsClientGetHostNameBindingSlotOptions contains the optional parameters for the WebAppsClient.GetHostNameBindingSlot method.

type WebAppsClientGetHostNameBindingSlotResponse

type WebAppsClientGetHostNameBindingSlotResponse struct {
	// A hostname binding object.
	HostNameBinding
}

WebAppsClientGetHostNameBindingSlotResponse contains the response from method WebAppsClient.GetHostNameBindingSlot.

type WebAppsClientGetHybridConnectionOptions

type WebAppsClientGetHybridConnectionOptions struct {
}

WebAppsClientGetHybridConnectionOptions contains the optional parameters for the WebAppsClient.GetHybridConnection method.

type WebAppsClientGetHybridConnectionResponse

type WebAppsClientGetHybridConnectionResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientGetHybridConnectionResponse contains the response from method WebAppsClient.GetHybridConnection.

type WebAppsClientGetHybridConnectionSlotOptions

type WebAppsClientGetHybridConnectionSlotOptions struct {
}

WebAppsClientGetHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetHybridConnectionSlot method.

type WebAppsClientGetHybridConnectionSlotResponse

type WebAppsClientGetHybridConnectionSlotResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientGetHybridConnectionSlotResponse contains the response from method WebAppsClient.GetHybridConnectionSlot.

type WebAppsClientGetInstanceFunctionSlotOptions

type WebAppsClientGetInstanceFunctionSlotOptions struct {
}

WebAppsClientGetInstanceFunctionSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceFunctionSlot method.

type WebAppsClientGetInstanceFunctionSlotResponse

type WebAppsClientGetInstanceFunctionSlotResponse struct {
	// Function information.
	FunctionEnvelope
}

WebAppsClientGetInstanceFunctionSlotResponse contains the response from method WebAppsClient.GetInstanceFunctionSlot.

type WebAppsClientGetInstanceInfoOptions

type WebAppsClientGetInstanceInfoOptions struct {
}

WebAppsClientGetInstanceInfoOptions contains the optional parameters for the WebAppsClient.GetInstanceInfo method.

type WebAppsClientGetInstanceInfoResponse

type WebAppsClientGetInstanceInfoResponse struct {
	WebSiteInstanceStatus
}

WebAppsClientGetInstanceInfoResponse contains the response from method WebAppsClient.GetInstanceInfo.

type WebAppsClientGetInstanceInfoSlotOptions

type WebAppsClientGetInstanceInfoSlotOptions struct {
}

WebAppsClientGetInstanceInfoSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceInfoSlot method.

type WebAppsClientGetInstanceInfoSlotResponse

type WebAppsClientGetInstanceInfoSlotResponse struct {
	WebSiteInstanceStatus
}

WebAppsClientGetInstanceInfoSlotResponse contains the response from method WebAppsClient.GetInstanceInfoSlot.

type WebAppsClientGetInstanceMSDeployLogOptions

type WebAppsClientGetInstanceMSDeployLogOptions struct {
}

WebAppsClientGetInstanceMSDeployLogOptions contains the optional parameters for the WebAppsClient.GetInstanceMSDeployLog method.

type WebAppsClientGetInstanceMSDeployLogResponse

type WebAppsClientGetInstanceMSDeployLogResponse struct {
	// MSDeploy log
	MSDeployLog
}

WebAppsClientGetInstanceMSDeployLogResponse contains the response from method WebAppsClient.GetInstanceMSDeployLog.

type WebAppsClientGetInstanceMSDeployLogSlotOptions

type WebAppsClientGetInstanceMSDeployLogSlotOptions struct {
}

WebAppsClientGetInstanceMSDeployLogSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceMSDeployLogSlot method.

type WebAppsClientGetInstanceMSDeployLogSlotResponse

type WebAppsClientGetInstanceMSDeployLogSlotResponse struct {
	// MSDeploy log
	MSDeployLog
}

WebAppsClientGetInstanceMSDeployLogSlotResponse contains the response from method WebAppsClient.GetInstanceMSDeployLogSlot.

type WebAppsClientGetInstanceMsDeployStatusOptions

type WebAppsClientGetInstanceMsDeployStatusOptions struct {
}

WebAppsClientGetInstanceMsDeployStatusOptions contains the optional parameters for the WebAppsClient.GetInstanceMsDeployStatus method.

type WebAppsClientGetInstanceMsDeployStatusResponse

type WebAppsClientGetInstanceMsDeployStatusResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientGetInstanceMsDeployStatusResponse contains the response from method WebAppsClient.GetInstanceMsDeployStatus.

type WebAppsClientGetInstanceMsDeployStatusSlotOptions

type WebAppsClientGetInstanceMsDeployStatusSlotOptions struct {
}

WebAppsClientGetInstanceMsDeployStatusSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceMsDeployStatusSlot method.

type WebAppsClientGetInstanceMsDeployStatusSlotResponse

type WebAppsClientGetInstanceMsDeployStatusSlotResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientGetInstanceMsDeployStatusSlotResponse contains the response from method WebAppsClient.GetInstanceMsDeployStatusSlot.

type WebAppsClientGetInstanceProcessDumpOptions

type WebAppsClientGetInstanceProcessDumpOptions struct {
}

WebAppsClientGetInstanceProcessDumpOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessDump method.

type WebAppsClientGetInstanceProcessDumpResponse

type WebAppsClientGetInstanceProcessDumpResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetInstanceProcessDumpResponse contains the response from method WebAppsClient.GetInstanceProcessDump.

type WebAppsClientGetInstanceProcessDumpSlotOptions

type WebAppsClientGetInstanceProcessDumpSlotOptions struct {
}

WebAppsClientGetInstanceProcessDumpSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessDumpSlot method.

type WebAppsClientGetInstanceProcessDumpSlotResponse

type WebAppsClientGetInstanceProcessDumpSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetInstanceProcessDumpSlotResponse contains the response from method WebAppsClient.GetInstanceProcessDumpSlot.

type WebAppsClientGetInstanceProcessModuleOptions

type WebAppsClientGetInstanceProcessModuleOptions struct {
}

WebAppsClientGetInstanceProcessModuleOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessModule method.

type WebAppsClientGetInstanceProcessModuleResponse

type WebAppsClientGetInstanceProcessModuleResponse struct {
	// Process Module Information.
	ProcessModuleInfo
}

WebAppsClientGetInstanceProcessModuleResponse contains the response from method WebAppsClient.GetInstanceProcessModule.

type WebAppsClientGetInstanceProcessModuleSlotOptions

type WebAppsClientGetInstanceProcessModuleSlotOptions struct {
}

WebAppsClientGetInstanceProcessModuleSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessModuleSlot method.

type WebAppsClientGetInstanceProcessModuleSlotResponse

type WebAppsClientGetInstanceProcessModuleSlotResponse struct {
	// Process Module Information.
	ProcessModuleInfo
}

WebAppsClientGetInstanceProcessModuleSlotResponse contains the response from method WebAppsClient.GetInstanceProcessModuleSlot.

type WebAppsClientGetInstanceProcessOptions

type WebAppsClientGetInstanceProcessOptions struct {
}

WebAppsClientGetInstanceProcessOptions contains the optional parameters for the WebAppsClient.GetInstanceProcess method.

type WebAppsClientGetInstanceProcessResponse

type WebAppsClientGetInstanceProcessResponse struct {
	// Process Information.
	ProcessInfo
}

WebAppsClientGetInstanceProcessResponse contains the response from method WebAppsClient.GetInstanceProcess.

type WebAppsClientGetInstanceProcessSlotOptions

type WebAppsClientGetInstanceProcessSlotOptions struct {
}

WebAppsClientGetInstanceProcessSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceProcessSlot method.

type WebAppsClientGetInstanceProcessSlotResponse

type WebAppsClientGetInstanceProcessSlotResponse struct {
	// Process Information.
	ProcessInfo
}

WebAppsClientGetInstanceProcessSlotResponse contains the response from method WebAppsClient.GetInstanceProcessSlot.

type WebAppsClientGetInstanceWorkflowSlotOptions added in v2.1.0

type WebAppsClientGetInstanceWorkflowSlotOptions struct {
}

WebAppsClientGetInstanceWorkflowSlotOptions contains the optional parameters for the WebAppsClient.GetInstanceWorkflowSlot method.

type WebAppsClientGetInstanceWorkflowSlotResponse added in v2.1.0

type WebAppsClientGetInstanceWorkflowSlotResponse struct {
	// Workflow properties definition.
	WorkflowEnvelope
}

WebAppsClientGetInstanceWorkflowSlotResponse contains the response from method WebAppsClient.GetInstanceWorkflowSlot.

type WebAppsClientGetMSDeployLogOptions

type WebAppsClientGetMSDeployLogOptions struct {
}

WebAppsClientGetMSDeployLogOptions contains the optional parameters for the WebAppsClient.GetMSDeployLog method.

type WebAppsClientGetMSDeployLogResponse

type WebAppsClientGetMSDeployLogResponse struct {
	// MSDeploy log
	MSDeployLog
}

WebAppsClientGetMSDeployLogResponse contains the response from method WebAppsClient.GetMSDeployLog.

type WebAppsClientGetMSDeployLogSlotOptions

type WebAppsClientGetMSDeployLogSlotOptions struct {
}

WebAppsClientGetMSDeployLogSlotOptions contains the optional parameters for the WebAppsClient.GetMSDeployLogSlot method.

type WebAppsClientGetMSDeployLogSlotResponse

type WebAppsClientGetMSDeployLogSlotResponse struct {
	// MSDeploy log
	MSDeployLog
}

WebAppsClientGetMSDeployLogSlotResponse contains the response from method WebAppsClient.GetMSDeployLogSlot.

type WebAppsClientGetMSDeployStatusOptions

type WebAppsClientGetMSDeployStatusOptions struct {
}

WebAppsClientGetMSDeployStatusOptions contains the optional parameters for the WebAppsClient.GetMSDeployStatus method.

type WebAppsClientGetMSDeployStatusResponse

type WebAppsClientGetMSDeployStatusResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientGetMSDeployStatusResponse contains the response from method WebAppsClient.GetMSDeployStatus.

type WebAppsClientGetMSDeployStatusSlotOptions

type WebAppsClientGetMSDeployStatusSlotOptions struct {
}

WebAppsClientGetMSDeployStatusSlotOptions contains the optional parameters for the WebAppsClient.GetMSDeployStatusSlot method.

type WebAppsClientGetMSDeployStatusSlotResponse

type WebAppsClientGetMSDeployStatusSlotResponse struct {
	// MSDeploy ARM response
	MSDeployStatus
}

WebAppsClientGetMSDeployStatusSlotResponse contains the response from method WebAppsClient.GetMSDeployStatusSlot.

type WebAppsClientGetMigrateMySQLStatusOptions

type WebAppsClientGetMigrateMySQLStatusOptions struct {
}

WebAppsClientGetMigrateMySQLStatusOptions contains the optional parameters for the WebAppsClient.GetMigrateMySQLStatus method.

type WebAppsClientGetMigrateMySQLStatusResponse

type WebAppsClientGetMigrateMySQLStatusResponse struct {
	// MySQL migration status.
	MigrateMySQLStatus
}

WebAppsClientGetMigrateMySQLStatusResponse contains the response from method WebAppsClient.GetMigrateMySQLStatus.

type WebAppsClientGetMigrateMySQLStatusSlotOptions

type WebAppsClientGetMigrateMySQLStatusSlotOptions struct {
}

WebAppsClientGetMigrateMySQLStatusSlotOptions contains the optional parameters for the WebAppsClient.GetMigrateMySQLStatusSlot method.

type WebAppsClientGetMigrateMySQLStatusSlotResponse

type WebAppsClientGetMigrateMySQLStatusSlotResponse struct {
	// MySQL migration status.
	MigrateMySQLStatus
}

WebAppsClientGetMigrateMySQLStatusSlotResponse contains the response from method WebAppsClient.GetMigrateMySQLStatusSlot.

type WebAppsClientGetNetworkTraceOperationOptions

type WebAppsClientGetNetworkTraceOperationOptions struct {
}

WebAppsClientGetNetworkTraceOperationOptions contains the optional parameters for the WebAppsClient.GetNetworkTraceOperation method.

type WebAppsClientGetNetworkTraceOperationResponse

type WebAppsClientGetNetworkTraceOperationResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationResponse contains the response from method WebAppsClient.GetNetworkTraceOperation.

type WebAppsClientGetNetworkTraceOperationSlotOptions

type WebAppsClientGetNetworkTraceOperationSlotOptions struct {
}

WebAppsClientGetNetworkTraceOperationSlotOptions contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationSlot method.

type WebAppsClientGetNetworkTraceOperationSlotResponse

type WebAppsClientGetNetworkTraceOperationSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationSlotResponse contains the response from method WebAppsClient.GetNetworkTraceOperationSlot.

type WebAppsClientGetNetworkTraceOperationSlotV2Options

type WebAppsClientGetNetworkTraceOperationSlotV2Options struct {
}

WebAppsClientGetNetworkTraceOperationSlotV2Options contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationSlotV2 method.

type WebAppsClientGetNetworkTraceOperationSlotV2Response

type WebAppsClientGetNetworkTraceOperationSlotV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationSlotV2Response contains the response from method WebAppsClient.GetNetworkTraceOperationSlotV2.

type WebAppsClientGetNetworkTraceOperationV2Options

type WebAppsClientGetNetworkTraceOperationV2Options struct {
}

WebAppsClientGetNetworkTraceOperationV2Options contains the optional parameters for the WebAppsClient.GetNetworkTraceOperationV2 method.

type WebAppsClientGetNetworkTraceOperationV2Response

type WebAppsClientGetNetworkTraceOperationV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTraceOperationV2Response contains the response from method WebAppsClient.GetNetworkTraceOperationV2.

type WebAppsClientGetNetworkTracesOptions

type WebAppsClientGetNetworkTracesOptions struct {
}

WebAppsClientGetNetworkTracesOptions contains the optional parameters for the WebAppsClient.GetNetworkTraces method.

type WebAppsClientGetNetworkTracesResponse

type WebAppsClientGetNetworkTracesResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesResponse contains the response from method WebAppsClient.GetNetworkTraces.

type WebAppsClientGetNetworkTracesSlotOptions

type WebAppsClientGetNetworkTracesSlotOptions struct {
}

WebAppsClientGetNetworkTracesSlotOptions contains the optional parameters for the WebAppsClient.GetNetworkTracesSlot method.

type WebAppsClientGetNetworkTracesSlotResponse

type WebAppsClientGetNetworkTracesSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesSlotResponse contains the response from method WebAppsClient.GetNetworkTracesSlot.

type WebAppsClientGetNetworkTracesSlotV2Options

type WebAppsClientGetNetworkTracesSlotV2Options struct {
}

WebAppsClientGetNetworkTracesSlotV2Options contains the optional parameters for the WebAppsClient.GetNetworkTracesSlotV2 method.

type WebAppsClientGetNetworkTracesSlotV2Response

type WebAppsClientGetNetworkTracesSlotV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesSlotV2Response contains the response from method WebAppsClient.GetNetworkTracesSlotV2.

type WebAppsClientGetNetworkTracesV2Options

type WebAppsClientGetNetworkTracesV2Options struct {
}

WebAppsClientGetNetworkTracesV2Options contains the optional parameters for the WebAppsClient.GetNetworkTracesV2 method.

type WebAppsClientGetNetworkTracesV2Response

type WebAppsClientGetNetworkTracesV2Response struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientGetNetworkTracesV2Response contains the response from method WebAppsClient.GetNetworkTracesV2.

type WebAppsClientGetOneDeployStatusOptions

type WebAppsClientGetOneDeployStatusOptions struct {
}

WebAppsClientGetOneDeployStatusOptions contains the optional parameters for the WebAppsClient.GetOneDeployStatus method.

type WebAppsClientGetOneDeployStatusResponse

type WebAppsClientGetOneDeployStatusResponse struct {
	// Anything
	Interface any
}

WebAppsClientGetOneDeployStatusResponse contains the response from method WebAppsClient.GetOneDeployStatus.

type WebAppsClientGetOptions

type WebAppsClientGetOptions struct {
}

WebAppsClientGetOptions contains the optional parameters for the WebAppsClient.Get method.

type WebAppsClientGetPremierAddOnOptions

type WebAppsClientGetPremierAddOnOptions struct {
}

WebAppsClientGetPremierAddOnOptions contains the optional parameters for the WebAppsClient.GetPremierAddOn method.

type WebAppsClientGetPremierAddOnResponse

type WebAppsClientGetPremierAddOnResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientGetPremierAddOnResponse contains the response from method WebAppsClient.GetPremierAddOn.

type WebAppsClientGetPremierAddOnSlotOptions

type WebAppsClientGetPremierAddOnSlotOptions struct {
}

WebAppsClientGetPremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.GetPremierAddOnSlot method.

type WebAppsClientGetPremierAddOnSlotResponse

type WebAppsClientGetPremierAddOnSlotResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientGetPremierAddOnSlotResponse contains the response from method WebAppsClient.GetPremierAddOnSlot.

type WebAppsClientGetPrivateAccessOptions

type WebAppsClientGetPrivateAccessOptions struct {
}

WebAppsClientGetPrivateAccessOptions contains the optional parameters for the WebAppsClient.GetPrivateAccess method.

type WebAppsClientGetPrivateAccessResponse

type WebAppsClientGetPrivateAccessResponse struct {
	// Description of the parameters of Private Access for a Web Site.
	PrivateAccess
}

WebAppsClientGetPrivateAccessResponse contains the response from method WebAppsClient.GetPrivateAccess.

type WebAppsClientGetPrivateAccessSlotOptions

type WebAppsClientGetPrivateAccessSlotOptions struct {
}

WebAppsClientGetPrivateAccessSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateAccessSlot method.

type WebAppsClientGetPrivateAccessSlotResponse

type WebAppsClientGetPrivateAccessSlotResponse struct {
	// Description of the parameters of Private Access for a Web Site.
	PrivateAccess
}

WebAppsClientGetPrivateAccessSlotResponse contains the response from method WebAppsClient.GetPrivateAccessSlot.

type WebAppsClientGetPrivateEndpointConnectionListOptions

type WebAppsClientGetPrivateEndpointConnectionListOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionListOptions contains the optional parameters for the WebAppsClient.NewGetPrivateEndpointConnectionListPager method.

type WebAppsClientGetPrivateEndpointConnectionListResponse

type WebAppsClientGetPrivateEndpointConnectionListResponse struct {
	PrivateEndpointConnectionCollection
}

WebAppsClientGetPrivateEndpointConnectionListResponse contains the response from method WebAppsClient.NewGetPrivateEndpointConnectionListPager.

type WebAppsClientGetPrivateEndpointConnectionListSlotOptions

type WebAppsClientGetPrivateEndpointConnectionListSlotOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionListSlotOptions contains the optional parameters for the WebAppsClient.NewGetPrivateEndpointConnectionListSlotPager method.

type WebAppsClientGetPrivateEndpointConnectionListSlotResponse

type WebAppsClientGetPrivateEndpointConnectionListSlotResponse struct {
	PrivateEndpointConnectionCollection
}

WebAppsClientGetPrivateEndpointConnectionListSlotResponse contains the response from method WebAppsClient.NewGetPrivateEndpointConnectionListSlotPager.

type WebAppsClientGetPrivateEndpointConnectionOptions

type WebAppsClientGetPrivateEndpointConnectionOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnection method.

type WebAppsClientGetPrivateEndpointConnectionResponse

type WebAppsClientGetPrivateEndpointConnectionResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientGetPrivateEndpointConnectionResponse contains the response from method WebAppsClient.GetPrivateEndpointConnection.

type WebAppsClientGetPrivateEndpointConnectionSlotOptions

type WebAppsClientGetPrivateEndpointConnectionSlotOptions struct {
}

WebAppsClientGetPrivateEndpointConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateEndpointConnectionSlot method.

type WebAppsClientGetPrivateEndpointConnectionSlotResponse

type WebAppsClientGetPrivateEndpointConnectionSlotResponse struct {
	// Remote Private Endpoint Connection ARM resource.
	RemotePrivateEndpointConnectionARMResource
}

WebAppsClientGetPrivateEndpointConnectionSlotResponse contains the response from method WebAppsClient.GetPrivateEndpointConnectionSlot.

type WebAppsClientGetPrivateLinkResourcesOptions

type WebAppsClientGetPrivateLinkResourcesOptions struct {
}

WebAppsClientGetPrivateLinkResourcesOptions contains the optional parameters for the WebAppsClient.GetPrivateLinkResources method.

type WebAppsClientGetPrivateLinkResourcesResponse

type WebAppsClientGetPrivateLinkResourcesResponse struct {
	// Wrapper for a collection of private link resources
	PrivateLinkResourcesWrapper
}

WebAppsClientGetPrivateLinkResourcesResponse contains the response from method WebAppsClient.GetPrivateLinkResources.

type WebAppsClientGetPrivateLinkResourcesSlotOptions

type WebAppsClientGetPrivateLinkResourcesSlotOptions struct {
}

WebAppsClientGetPrivateLinkResourcesSlotOptions contains the optional parameters for the WebAppsClient.GetPrivateLinkResourcesSlot method.

type WebAppsClientGetPrivateLinkResourcesSlotResponse

type WebAppsClientGetPrivateLinkResourcesSlotResponse struct {
	// Wrapper for a collection of private link resources
	PrivateLinkResourcesWrapper
}

WebAppsClientGetPrivateLinkResourcesSlotResponse contains the response from method WebAppsClient.GetPrivateLinkResourcesSlot.

type WebAppsClientGetProcessDumpOptions

type WebAppsClientGetProcessDumpOptions struct {
}

WebAppsClientGetProcessDumpOptions contains the optional parameters for the WebAppsClient.GetProcessDump method.

type WebAppsClientGetProcessDumpResponse

type WebAppsClientGetProcessDumpResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetProcessDumpResponse contains the response from method WebAppsClient.GetProcessDump.

type WebAppsClientGetProcessDumpSlotOptions

type WebAppsClientGetProcessDumpSlotOptions struct {
}

WebAppsClientGetProcessDumpSlotOptions contains the optional parameters for the WebAppsClient.GetProcessDumpSlot method.

type WebAppsClientGetProcessDumpSlotResponse

type WebAppsClientGetProcessDumpSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetProcessDumpSlotResponse contains the response from method WebAppsClient.GetProcessDumpSlot.

type WebAppsClientGetProcessModuleOptions

type WebAppsClientGetProcessModuleOptions struct {
}

WebAppsClientGetProcessModuleOptions contains the optional parameters for the WebAppsClient.GetProcessModule method.

type WebAppsClientGetProcessModuleResponse

type WebAppsClientGetProcessModuleResponse struct {
	// Process Module Information.
	ProcessModuleInfo
}

WebAppsClientGetProcessModuleResponse contains the response from method WebAppsClient.GetProcessModule.

type WebAppsClientGetProcessModuleSlotOptions

type WebAppsClientGetProcessModuleSlotOptions struct {
}

WebAppsClientGetProcessModuleSlotOptions contains the optional parameters for the WebAppsClient.GetProcessModuleSlot method.

type WebAppsClientGetProcessModuleSlotResponse

type WebAppsClientGetProcessModuleSlotResponse struct {
	// Process Module Information.
	ProcessModuleInfo
}

WebAppsClientGetProcessModuleSlotResponse contains the response from method WebAppsClient.GetProcessModuleSlot.

type WebAppsClientGetProcessOptions

type WebAppsClientGetProcessOptions struct {
}

WebAppsClientGetProcessOptions contains the optional parameters for the WebAppsClient.GetProcess method.

type WebAppsClientGetProcessResponse

type WebAppsClientGetProcessResponse struct {
	// Process Information.
	ProcessInfo
}

WebAppsClientGetProcessResponse contains the response from method WebAppsClient.GetProcess.

type WebAppsClientGetProcessSlotOptions

type WebAppsClientGetProcessSlotOptions struct {
}

WebAppsClientGetProcessSlotOptions contains the optional parameters for the WebAppsClient.GetProcessSlot method.

type WebAppsClientGetProcessSlotResponse

type WebAppsClientGetProcessSlotResponse struct {
	// Process Information.
	ProcessInfo
}

WebAppsClientGetProcessSlotResponse contains the response from method WebAppsClient.GetProcessSlot.

type WebAppsClientGetProductionSiteDeploymentStatusResponse

type WebAppsClientGetProductionSiteDeploymentStatusResponse struct {
	// Deployment status response payload.
	CsmDeploymentStatus
}

WebAppsClientGetProductionSiteDeploymentStatusResponse contains the response from method WebAppsClient.BeginGetProductionSiteDeploymentStatus.

type WebAppsClientGetPublicCertificateOptions

type WebAppsClientGetPublicCertificateOptions struct {
}

WebAppsClientGetPublicCertificateOptions contains the optional parameters for the WebAppsClient.GetPublicCertificate method.

type WebAppsClientGetPublicCertificateResponse

type WebAppsClientGetPublicCertificateResponse struct {
	// Public certificate object
	PublicCertificate
}

WebAppsClientGetPublicCertificateResponse contains the response from method WebAppsClient.GetPublicCertificate.

type WebAppsClientGetPublicCertificateSlotOptions

type WebAppsClientGetPublicCertificateSlotOptions struct {
}

WebAppsClientGetPublicCertificateSlotOptions contains the optional parameters for the WebAppsClient.GetPublicCertificateSlot method.

type WebAppsClientGetPublicCertificateSlotResponse

type WebAppsClientGetPublicCertificateSlotResponse struct {
	// Public certificate object
	PublicCertificate
}

WebAppsClientGetPublicCertificateSlotResponse contains the response from method WebAppsClient.GetPublicCertificateSlot.

type WebAppsClientGetRelayServiceConnectionOptions

type WebAppsClientGetRelayServiceConnectionOptions struct {
}

WebAppsClientGetRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.GetRelayServiceConnection method.

type WebAppsClientGetRelayServiceConnectionResponse

type WebAppsClientGetRelayServiceConnectionResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientGetRelayServiceConnectionResponse contains the response from method WebAppsClient.GetRelayServiceConnection.

type WebAppsClientGetRelayServiceConnectionSlotOptions

type WebAppsClientGetRelayServiceConnectionSlotOptions struct {
}

WebAppsClientGetRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetRelayServiceConnectionSlot method.

type WebAppsClientGetRelayServiceConnectionSlotResponse

type WebAppsClientGetRelayServiceConnectionSlotResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientGetRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.GetRelayServiceConnectionSlot.

type WebAppsClientGetResponse

type WebAppsClientGetResponse struct {
	// A web app, a mobile app backend, or an API app.
	Site
}

WebAppsClientGetResponse contains the response from method WebAppsClient.Get.

type WebAppsClientGetScmAllowedOptions

type WebAppsClientGetScmAllowedOptions struct {
}

WebAppsClientGetScmAllowedOptions contains the optional parameters for the WebAppsClient.GetScmAllowed method.

type WebAppsClientGetScmAllowedResponse

type WebAppsClientGetScmAllowedResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetScmAllowedResponse contains the response from method WebAppsClient.GetScmAllowed.

type WebAppsClientGetScmAllowedSlotOptions

type WebAppsClientGetScmAllowedSlotOptions struct {
}

WebAppsClientGetScmAllowedSlotOptions contains the optional parameters for the WebAppsClient.GetScmAllowedSlot method.

type WebAppsClientGetScmAllowedSlotResponse

type WebAppsClientGetScmAllowedSlotResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientGetScmAllowedSlotResponse contains the response from method WebAppsClient.GetScmAllowedSlot.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReference method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse struct {
	// Description of site key vault references.
	APIKVReference
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceResponse contains the response from method WebAppsClient.GetSiteConnectionStringKeyVaultReference.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotOptions contains the optional parameters for the WebAppsClient.GetSiteConnectionStringKeyVaultReferenceSlot method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse

type WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse struct {
	// Description of site key vault references.
	APIKVReference
}

WebAppsClientGetSiteConnectionStringKeyVaultReferenceSlotResponse contains the response from method WebAppsClient.GetSiteConnectionStringKeyVaultReferenceSlot.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesOptions contains the optional parameters for the WebAppsClient.NewGetSiteConnectionStringKeyVaultReferencesPager method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesResponse contains the response from method WebAppsClient.NewGetSiteConnectionStringKeyVaultReferencesPager.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions struct {
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotOptions contains the optional parameters for the WebAppsClient.NewGetSiteConnectionStringKeyVaultReferencesSlotPager method.

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse

type WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse struct {
	APIKVReferenceCollection
}

WebAppsClientGetSiteConnectionStringKeyVaultReferencesSlotResponse contains the response from method WebAppsClient.NewGetSiteConnectionStringKeyVaultReferencesSlotPager.

type WebAppsClientGetSiteExtensionOptions

type WebAppsClientGetSiteExtensionOptions struct {
}

WebAppsClientGetSiteExtensionOptions contains the optional parameters for the WebAppsClient.GetSiteExtension method.

type WebAppsClientGetSiteExtensionResponse

type WebAppsClientGetSiteExtensionResponse struct {
	// Site Extension Information.
	SiteExtensionInfo
}

WebAppsClientGetSiteExtensionResponse contains the response from method WebAppsClient.GetSiteExtension.

type WebAppsClientGetSiteExtensionSlotOptions

type WebAppsClientGetSiteExtensionSlotOptions struct {
}

WebAppsClientGetSiteExtensionSlotOptions contains the optional parameters for the WebAppsClient.GetSiteExtensionSlot method.

type WebAppsClientGetSiteExtensionSlotResponse

type WebAppsClientGetSiteExtensionSlotResponse struct {
	// Site Extension Information.
	SiteExtensionInfo
}

WebAppsClientGetSiteExtensionSlotResponse contains the response from method WebAppsClient.GetSiteExtensionSlot.

type WebAppsClientGetSitePhpErrorLogFlagOptions

type WebAppsClientGetSitePhpErrorLogFlagOptions struct {
}

WebAppsClientGetSitePhpErrorLogFlagOptions contains the optional parameters for the WebAppsClient.GetSitePhpErrorLogFlag method.

type WebAppsClientGetSitePhpErrorLogFlagResponse

type WebAppsClientGetSitePhpErrorLogFlagResponse struct {
	// Used for getting PHP error logging flag.
	SitePhpErrorLogFlag
}

WebAppsClientGetSitePhpErrorLogFlagResponse contains the response from method WebAppsClient.GetSitePhpErrorLogFlag.

type WebAppsClientGetSitePhpErrorLogFlagSlotOptions

type WebAppsClientGetSitePhpErrorLogFlagSlotOptions struct {
}

WebAppsClientGetSitePhpErrorLogFlagSlotOptions contains the optional parameters for the WebAppsClient.GetSitePhpErrorLogFlagSlot method.

type WebAppsClientGetSitePhpErrorLogFlagSlotResponse

type WebAppsClientGetSitePhpErrorLogFlagSlotResponse struct {
	// Used for getting PHP error logging flag.
	SitePhpErrorLogFlag
}

WebAppsClientGetSitePhpErrorLogFlagSlotResponse contains the response from method WebAppsClient.GetSitePhpErrorLogFlagSlot.

type WebAppsClientGetSlotOptions

type WebAppsClientGetSlotOptions struct {
}

WebAppsClientGetSlotOptions contains the optional parameters for the WebAppsClient.GetSlot method.

type WebAppsClientGetSlotResponse

type WebAppsClientGetSlotResponse struct {
	// A web app, a mobile app backend, or an API app.
	Site
}

WebAppsClientGetSlotResponse contains the response from method WebAppsClient.GetSlot.

type WebAppsClientGetSlotSiteDeploymentStatusSlotResponse

type WebAppsClientGetSlotSiteDeploymentStatusSlotResponse struct {
	// Deployment status response payload.
	CsmDeploymentStatus
}

WebAppsClientGetSlotSiteDeploymentStatusSlotResponse contains the response from method WebAppsClient.BeginGetSlotSiteDeploymentStatusSlot.

type WebAppsClientGetSourceControlOptions

type WebAppsClientGetSourceControlOptions struct {
}

WebAppsClientGetSourceControlOptions contains the optional parameters for the WebAppsClient.GetSourceControl method.

type WebAppsClientGetSourceControlResponse

type WebAppsClientGetSourceControlResponse struct {
	// Source control configuration for an app.
	SiteSourceControl
}

WebAppsClientGetSourceControlResponse contains the response from method WebAppsClient.GetSourceControl.

type WebAppsClientGetSourceControlSlotOptions

type WebAppsClientGetSourceControlSlotOptions struct {
}

WebAppsClientGetSourceControlSlotOptions contains the optional parameters for the WebAppsClient.GetSourceControlSlot method.

type WebAppsClientGetSourceControlSlotResponse

type WebAppsClientGetSourceControlSlotResponse struct {
	// Source control configuration for an app.
	SiteSourceControl
}

WebAppsClientGetSourceControlSlotResponse contains the response from method WebAppsClient.GetSourceControlSlot.

type WebAppsClientGetSwiftVirtualNetworkConnectionOptions

type WebAppsClientGetSwiftVirtualNetworkConnectionOptions struct {
}

WebAppsClientGetSwiftVirtualNetworkConnectionOptions contains the optional parameters for the WebAppsClient.GetSwiftVirtualNetworkConnection method.

type WebAppsClientGetSwiftVirtualNetworkConnectionResponse

type WebAppsClientGetSwiftVirtualNetworkConnectionResponse struct {
	// Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.
	SwiftVirtualNetwork
}

WebAppsClientGetSwiftVirtualNetworkConnectionResponse contains the response from method WebAppsClient.GetSwiftVirtualNetworkConnection.

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions struct {
}

WebAppsClientGetSwiftVirtualNetworkConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetSwiftVirtualNetworkConnectionSlot method.

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse

type WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse struct {
	// Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.
	SwiftVirtualNetwork
}

WebAppsClientGetSwiftVirtualNetworkConnectionSlotResponse contains the response from method WebAppsClient.GetSwiftVirtualNetworkConnectionSlot.

type WebAppsClientGetTriggeredWebJobHistoryOptions

type WebAppsClientGetTriggeredWebJobHistoryOptions struct {
}

WebAppsClientGetTriggeredWebJobHistoryOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobHistory method.

type WebAppsClientGetTriggeredWebJobHistoryResponse

type WebAppsClientGetTriggeredWebJobHistoryResponse struct {
	// Triggered Web Job History. List of Triggered Web Job Run Information elements.
	TriggeredJobHistory
}

WebAppsClientGetTriggeredWebJobHistoryResponse contains the response from method WebAppsClient.GetTriggeredWebJobHistory.

type WebAppsClientGetTriggeredWebJobHistorySlotOptions

type WebAppsClientGetTriggeredWebJobHistorySlotOptions struct {
}

WebAppsClientGetTriggeredWebJobHistorySlotOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobHistorySlot method.

type WebAppsClientGetTriggeredWebJobHistorySlotResponse

type WebAppsClientGetTriggeredWebJobHistorySlotResponse struct {
	// Triggered Web Job History. List of Triggered Web Job Run Information elements.
	TriggeredJobHistory
}

WebAppsClientGetTriggeredWebJobHistorySlotResponse contains the response from method WebAppsClient.GetTriggeredWebJobHistorySlot.

type WebAppsClientGetTriggeredWebJobOptions

type WebAppsClientGetTriggeredWebJobOptions struct {
}

WebAppsClientGetTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJob method.

type WebAppsClientGetTriggeredWebJobResponse

type WebAppsClientGetTriggeredWebJobResponse struct {
	// Triggered Web Job Information.
	TriggeredWebJob
}

WebAppsClientGetTriggeredWebJobResponse contains the response from method WebAppsClient.GetTriggeredWebJob.

type WebAppsClientGetTriggeredWebJobSlotOptions

type WebAppsClientGetTriggeredWebJobSlotOptions struct {
}

WebAppsClientGetTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetTriggeredWebJobSlot method.

type WebAppsClientGetTriggeredWebJobSlotResponse

type WebAppsClientGetTriggeredWebJobSlotResponse struct {
	// Triggered Web Job Information.
	TriggeredWebJob
}

WebAppsClientGetTriggeredWebJobSlotResponse contains the response from method WebAppsClient.GetTriggeredWebJobSlot.

type WebAppsClientGetVnetConnectionGatewayOptions

type WebAppsClientGetVnetConnectionGatewayOptions struct {
}

WebAppsClientGetVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionGateway method.

type WebAppsClientGetVnetConnectionGatewayResponse

type WebAppsClientGetVnetConnectionGatewayResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

WebAppsClientGetVnetConnectionGatewayResponse contains the response from method WebAppsClient.GetVnetConnectionGateway.

type WebAppsClientGetVnetConnectionGatewaySlotOptions

type WebAppsClientGetVnetConnectionGatewaySlotOptions struct {
}

WebAppsClientGetVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionGatewaySlot method.

type WebAppsClientGetVnetConnectionGatewaySlotResponse

type WebAppsClientGetVnetConnectionGatewaySlotResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

WebAppsClientGetVnetConnectionGatewaySlotResponse contains the response from method WebAppsClient.GetVnetConnectionGatewaySlot.

type WebAppsClientGetVnetConnectionOptions

type WebAppsClientGetVnetConnectionOptions struct {
}

WebAppsClientGetVnetConnectionOptions contains the optional parameters for the WebAppsClient.GetVnetConnection method.

type WebAppsClientGetVnetConnectionResponse

type WebAppsClientGetVnetConnectionResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

WebAppsClientGetVnetConnectionResponse contains the response from method WebAppsClient.GetVnetConnection.

type WebAppsClientGetVnetConnectionSlotOptions

type WebAppsClientGetVnetConnectionSlotOptions struct {
}

WebAppsClientGetVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.GetVnetConnectionSlot method.

type WebAppsClientGetVnetConnectionSlotResponse

type WebAppsClientGetVnetConnectionSlotResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

WebAppsClientGetVnetConnectionSlotResponse contains the response from method WebAppsClient.GetVnetConnectionSlot.

type WebAppsClientGetWebJobOptions

type WebAppsClientGetWebJobOptions struct {
}

WebAppsClientGetWebJobOptions contains the optional parameters for the WebAppsClient.GetWebJob method.

type WebAppsClientGetWebJobResponse

type WebAppsClientGetWebJobResponse struct {
	// Web Job Information.
	WebJob
}

WebAppsClientGetWebJobResponse contains the response from method WebAppsClient.GetWebJob.

type WebAppsClientGetWebJobSlotOptions

type WebAppsClientGetWebJobSlotOptions struct {
}

WebAppsClientGetWebJobSlotOptions contains the optional parameters for the WebAppsClient.GetWebJobSlot method.

type WebAppsClientGetWebJobSlotResponse

type WebAppsClientGetWebJobSlotResponse struct {
	// Web Job Information.
	WebJob
}

WebAppsClientGetWebJobSlotResponse contains the response from method WebAppsClient.GetWebJobSlot.

type WebAppsClientGetWebSiteContainerLogsOptions

type WebAppsClientGetWebSiteContainerLogsOptions struct {
}

WebAppsClientGetWebSiteContainerLogsOptions contains the optional parameters for the WebAppsClient.GetWebSiteContainerLogs method.

type WebAppsClientGetWebSiteContainerLogsResponse

type WebAppsClientGetWebSiteContainerLogsResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetWebSiteContainerLogsResponse contains the response from method WebAppsClient.GetWebSiteContainerLogs.

type WebAppsClientGetWebSiteContainerLogsSlotOptions

type WebAppsClientGetWebSiteContainerLogsSlotOptions struct {
}

WebAppsClientGetWebSiteContainerLogsSlotOptions contains the optional parameters for the WebAppsClient.GetWebSiteContainerLogsSlot method.

type WebAppsClientGetWebSiteContainerLogsSlotResponse

type WebAppsClientGetWebSiteContainerLogsSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientGetWebSiteContainerLogsSlotResponse contains the response from method WebAppsClient.GetWebSiteContainerLogsSlot.

type WebAppsClientGetWorkflowOptions added in v2.1.0

type WebAppsClientGetWorkflowOptions struct {
}

WebAppsClientGetWorkflowOptions contains the optional parameters for the WebAppsClient.GetWorkflow method.

type WebAppsClientGetWorkflowResponse added in v2.1.0

type WebAppsClientGetWorkflowResponse struct {
	// Workflow properties definition.
	WorkflowEnvelope
}

WebAppsClientGetWorkflowResponse contains the response from method WebAppsClient.GetWorkflow.

type WebAppsClientInstallSiteExtensionResponse

type WebAppsClientInstallSiteExtensionResponse struct {
	// Site Extension Information.
	SiteExtensionInfo
}

WebAppsClientInstallSiteExtensionResponse contains the response from method WebAppsClient.BeginInstallSiteExtension.

type WebAppsClientInstallSiteExtensionSlotResponse

type WebAppsClientInstallSiteExtensionSlotResponse struct {
	// Site Extension Information.
	SiteExtensionInfo
}

WebAppsClientInstallSiteExtensionSlotResponse contains the response from method WebAppsClient.BeginInstallSiteExtensionSlot.

type WebAppsClientIsCloneableOptions

type WebAppsClientIsCloneableOptions struct {
}

WebAppsClientIsCloneableOptions contains the optional parameters for the WebAppsClient.IsCloneable method.

type WebAppsClientIsCloneableResponse

type WebAppsClientIsCloneableResponse struct {
	// Represents whether or not an app is cloneable.
	SiteCloneability
}

WebAppsClientIsCloneableResponse contains the response from method WebAppsClient.IsCloneable.

type WebAppsClientIsCloneableSlotOptions

type WebAppsClientIsCloneableSlotOptions struct {
}

WebAppsClientIsCloneableSlotOptions contains the optional parameters for the WebAppsClient.IsCloneableSlot method.

type WebAppsClientIsCloneableSlotResponse

type WebAppsClientIsCloneableSlotResponse struct {
	// Represents whether or not an app is cloneable.
	SiteCloneability
}

WebAppsClientIsCloneableSlotResponse contains the response from method WebAppsClient.IsCloneableSlot.

type WebAppsClientListApplicationSettingsOptions

type WebAppsClientListApplicationSettingsOptions struct {
}

WebAppsClientListApplicationSettingsOptions contains the optional parameters for the WebAppsClient.ListApplicationSettings method.

type WebAppsClientListApplicationSettingsResponse

type WebAppsClientListApplicationSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientListApplicationSettingsResponse contains the response from method WebAppsClient.ListApplicationSettings.

type WebAppsClientListApplicationSettingsSlotOptions

type WebAppsClientListApplicationSettingsSlotOptions struct {
}

WebAppsClientListApplicationSettingsSlotOptions contains the optional parameters for the WebAppsClient.ListApplicationSettingsSlot method.

type WebAppsClientListApplicationSettingsSlotResponse

type WebAppsClientListApplicationSettingsSlotResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientListApplicationSettingsSlotResponse contains the response from method WebAppsClient.ListApplicationSettingsSlot.

type WebAppsClientListAzureStorageAccountsOptions

type WebAppsClientListAzureStorageAccountsOptions struct {
}

WebAppsClientListAzureStorageAccountsOptions contains the optional parameters for the WebAppsClient.ListAzureStorageAccounts method.

type WebAppsClientListAzureStorageAccountsResponse

type WebAppsClientListAzureStorageAccountsResponse struct {
	// AzureStorageInfo dictionary resource.
	AzureStoragePropertyDictionaryResource
}

WebAppsClientListAzureStorageAccountsResponse contains the response from method WebAppsClient.ListAzureStorageAccounts.

type WebAppsClientListAzureStorageAccountsSlotOptions

type WebAppsClientListAzureStorageAccountsSlotOptions struct {
}

WebAppsClientListAzureStorageAccountsSlotOptions contains the optional parameters for the WebAppsClient.ListAzureStorageAccountsSlot method.

type WebAppsClientListAzureStorageAccountsSlotResponse

type WebAppsClientListAzureStorageAccountsSlotResponse struct {
	// AzureStorageInfo dictionary resource.
	AzureStoragePropertyDictionaryResource
}

WebAppsClientListAzureStorageAccountsSlotResponse contains the response from method WebAppsClient.ListAzureStorageAccountsSlot.

type WebAppsClientListBackupStatusSecretsOptions

type WebAppsClientListBackupStatusSecretsOptions struct {
}

WebAppsClientListBackupStatusSecretsOptions contains the optional parameters for the WebAppsClient.ListBackupStatusSecrets method.

type WebAppsClientListBackupStatusSecretsResponse

type WebAppsClientListBackupStatusSecretsResponse struct {
	// Backup description.
	BackupItem
}

WebAppsClientListBackupStatusSecretsResponse contains the response from method WebAppsClient.ListBackupStatusSecrets.

type WebAppsClientListBackupStatusSecretsSlotOptions

type WebAppsClientListBackupStatusSecretsSlotOptions struct {
}

WebAppsClientListBackupStatusSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListBackupStatusSecretsSlot method.

type WebAppsClientListBackupStatusSecretsSlotResponse

type WebAppsClientListBackupStatusSecretsSlotResponse struct {
	// Backup description.
	BackupItem
}

WebAppsClientListBackupStatusSecretsSlotResponse contains the response from method WebAppsClient.ListBackupStatusSecretsSlot.

type WebAppsClientListBackupsOptions

type WebAppsClientListBackupsOptions struct {
}

WebAppsClientListBackupsOptions contains the optional parameters for the WebAppsClient.NewListBackupsPager method.

type WebAppsClientListBackupsResponse

type WebAppsClientListBackupsResponse struct {
	// Collection of backup items.
	BackupItemCollection
}

WebAppsClientListBackupsResponse contains the response from method WebAppsClient.NewListBackupsPager.

type WebAppsClientListBackupsSlotOptions

type WebAppsClientListBackupsSlotOptions struct {
}

WebAppsClientListBackupsSlotOptions contains the optional parameters for the WebAppsClient.NewListBackupsSlotPager method.

type WebAppsClientListBackupsSlotResponse

type WebAppsClientListBackupsSlotResponse struct {
	// Collection of backup items.
	BackupItemCollection
}

WebAppsClientListBackupsSlotResponse contains the response from method WebAppsClient.NewListBackupsSlotPager.

type WebAppsClientListBasicPublishingCredentialsPoliciesOptions

type WebAppsClientListBasicPublishingCredentialsPoliciesOptions struct {
}

WebAppsClientListBasicPublishingCredentialsPoliciesOptions contains the optional parameters for the WebAppsClient.NewListBasicPublishingCredentialsPoliciesPager method.

type WebAppsClientListBasicPublishingCredentialsPoliciesResponse

type WebAppsClientListBasicPublishingCredentialsPoliciesResponse struct {
	// Publishing Credentials Policies entity collection ARM resource.
	PublishingCredentialsPoliciesCollection
}

WebAppsClientListBasicPublishingCredentialsPoliciesResponse contains the response from method WebAppsClient.NewListBasicPublishingCredentialsPoliciesPager.

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions struct {
}

WebAppsClientListBasicPublishingCredentialsPoliciesSlotOptions contains the optional parameters for the WebAppsClient.NewListBasicPublishingCredentialsPoliciesSlotPager method.

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse

type WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse struct {
	// Publishing Credentials Policies entity collection ARM resource.
	PublishingCredentialsPoliciesCollection
}

WebAppsClientListBasicPublishingCredentialsPoliciesSlotResponse contains the response from method WebAppsClient.NewListBasicPublishingCredentialsPoliciesSlotPager.

type WebAppsClientListByResourceGroupOptions

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.NewListByResourceGroupPager method.

type WebAppsClientListByResourceGroupResponse

type WebAppsClientListByResourceGroupResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

WebAppsClientListByResourceGroupResponse contains the response from method WebAppsClient.NewListByResourceGroupPager.

type WebAppsClientListConfigurationSnapshotInfoOptions

type WebAppsClientListConfigurationSnapshotInfoOptions struct {
}

WebAppsClientListConfigurationSnapshotInfoOptions contains the optional parameters for the WebAppsClient.NewListConfigurationSnapshotInfoPager method.

type WebAppsClientListConfigurationSnapshotInfoResponse

type WebAppsClientListConfigurationSnapshotInfoResponse struct {
	// Collection of metadata for the app configuration snapshots that can be restored.
	SiteConfigurationSnapshotInfoCollection
}

WebAppsClientListConfigurationSnapshotInfoResponse contains the response from method WebAppsClient.NewListConfigurationSnapshotInfoPager.

type WebAppsClientListConfigurationSnapshotInfoSlotOptions

type WebAppsClientListConfigurationSnapshotInfoSlotOptions struct {
}

WebAppsClientListConfigurationSnapshotInfoSlotOptions contains the optional parameters for the WebAppsClient.NewListConfigurationSnapshotInfoSlotPager method.

type WebAppsClientListConfigurationSnapshotInfoSlotResponse

type WebAppsClientListConfigurationSnapshotInfoSlotResponse struct {
	// Collection of metadata for the app configuration snapshots that can be restored.
	SiteConfigurationSnapshotInfoCollection
}

WebAppsClientListConfigurationSnapshotInfoSlotResponse contains the response from method WebAppsClient.NewListConfigurationSnapshotInfoSlotPager.

type WebAppsClientListConfigurationsOptions

type WebAppsClientListConfigurationsOptions struct {
}

WebAppsClientListConfigurationsOptions contains the optional parameters for the WebAppsClient.NewListConfigurationsPager method.

type WebAppsClientListConfigurationsResponse

type WebAppsClientListConfigurationsResponse struct {
	// Collection of site configurations.
	SiteConfigResourceCollection
}

WebAppsClientListConfigurationsResponse contains the response from method WebAppsClient.NewListConfigurationsPager.

type WebAppsClientListConfigurationsSlotOptions

type WebAppsClientListConfigurationsSlotOptions struct {
}

WebAppsClientListConfigurationsSlotOptions contains the optional parameters for the WebAppsClient.NewListConfigurationsSlotPager method.

type WebAppsClientListConfigurationsSlotResponse

type WebAppsClientListConfigurationsSlotResponse struct {
	// Collection of site configurations.
	SiteConfigResourceCollection
}

WebAppsClientListConfigurationsSlotResponse contains the response from method WebAppsClient.NewListConfigurationsSlotPager.

type WebAppsClientListConnectionStringsOptions

type WebAppsClientListConnectionStringsOptions struct {
}

WebAppsClientListConnectionStringsOptions contains the optional parameters for the WebAppsClient.ListConnectionStrings method.

type WebAppsClientListConnectionStringsResponse

type WebAppsClientListConnectionStringsResponse struct {
	// String dictionary resource.
	ConnectionStringDictionary
}

WebAppsClientListConnectionStringsResponse contains the response from method WebAppsClient.ListConnectionStrings.

type WebAppsClientListConnectionStringsSlotOptions

type WebAppsClientListConnectionStringsSlotOptions struct {
}

WebAppsClientListConnectionStringsSlotOptions contains the optional parameters for the WebAppsClient.ListConnectionStringsSlot method.

type WebAppsClientListConnectionStringsSlotResponse

type WebAppsClientListConnectionStringsSlotResponse struct {
	// String dictionary resource.
	ConnectionStringDictionary
}

WebAppsClientListConnectionStringsSlotResponse contains the response from method WebAppsClient.ListConnectionStringsSlot.

type WebAppsClientListContinuousWebJobsOptions

type WebAppsClientListContinuousWebJobsOptions struct {
}

WebAppsClientListContinuousWebJobsOptions contains the optional parameters for the WebAppsClient.NewListContinuousWebJobsPager method.

type WebAppsClientListContinuousWebJobsResponse

type WebAppsClientListContinuousWebJobsResponse struct {
	// Collection of Kudu continuous web job information elements.
	ContinuousWebJobCollection
}

WebAppsClientListContinuousWebJobsResponse contains the response from method WebAppsClient.NewListContinuousWebJobsPager.

type WebAppsClientListContinuousWebJobsSlotOptions

type WebAppsClientListContinuousWebJobsSlotOptions struct {
}

WebAppsClientListContinuousWebJobsSlotOptions contains the optional parameters for the WebAppsClient.NewListContinuousWebJobsSlotPager method.

type WebAppsClientListContinuousWebJobsSlotResponse

type WebAppsClientListContinuousWebJobsSlotResponse struct {
	// Collection of Kudu continuous web job information elements.
	ContinuousWebJobCollection
}

WebAppsClientListContinuousWebJobsSlotResponse contains the response from method WebAppsClient.NewListContinuousWebJobsSlotPager.

type WebAppsClientListDeploymentLogOptions

type WebAppsClientListDeploymentLogOptions struct {
}

WebAppsClientListDeploymentLogOptions contains the optional parameters for the WebAppsClient.ListDeploymentLog method.

type WebAppsClientListDeploymentLogResponse

type WebAppsClientListDeploymentLogResponse struct {
	// User credentials used for publishing activity.
	Deployment
}

WebAppsClientListDeploymentLogResponse contains the response from method WebAppsClient.ListDeploymentLog.

type WebAppsClientListDeploymentLogSlotOptions

type WebAppsClientListDeploymentLogSlotOptions struct {
}

WebAppsClientListDeploymentLogSlotOptions contains the optional parameters for the WebAppsClient.ListDeploymentLogSlot method.

type WebAppsClientListDeploymentLogSlotResponse

type WebAppsClientListDeploymentLogSlotResponse struct {
	// User credentials used for publishing activity.
	Deployment
}

WebAppsClientListDeploymentLogSlotResponse contains the response from method WebAppsClient.ListDeploymentLogSlot.

type WebAppsClientListDeploymentsOptions

type WebAppsClientListDeploymentsOptions struct {
}

WebAppsClientListDeploymentsOptions contains the optional parameters for the WebAppsClient.NewListDeploymentsPager method.

type WebAppsClientListDeploymentsResponse

type WebAppsClientListDeploymentsResponse struct {
	// Collection of app deployments.
	DeploymentCollection
}

WebAppsClientListDeploymentsResponse contains the response from method WebAppsClient.NewListDeploymentsPager.

type WebAppsClientListDeploymentsSlotOptions

type WebAppsClientListDeploymentsSlotOptions struct {
}

WebAppsClientListDeploymentsSlotOptions contains the optional parameters for the WebAppsClient.NewListDeploymentsSlotPager method.

type WebAppsClientListDeploymentsSlotResponse

type WebAppsClientListDeploymentsSlotResponse struct {
	// Collection of app deployments.
	DeploymentCollection
}

WebAppsClientListDeploymentsSlotResponse contains the response from method WebAppsClient.NewListDeploymentsSlotPager.

type WebAppsClientListDomainOwnershipIdentifiersOptions

type WebAppsClientListDomainOwnershipIdentifiersOptions struct {
}

WebAppsClientListDomainOwnershipIdentifiersOptions contains the optional parameters for the WebAppsClient.NewListDomainOwnershipIdentifiersPager method.

type WebAppsClientListDomainOwnershipIdentifiersResponse

type WebAppsClientListDomainOwnershipIdentifiersResponse struct {
	// Collection of identifiers.
	IdentifierCollection
}

WebAppsClientListDomainOwnershipIdentifiersResponse contains the response from method WebAppsClient.NewListDomainOwnershipIdentifiersPager.

type WebAppsClientListDomainOwnershipIdentifiersSlotOptions

type WebAppsClientListDomainOwnershipIdentifiersSlotOptions struct {
}

WebAppsClientListDomainOwnershipIdentifiersSlotOptions contains the optional parameters for the WebAppsClient.NewListDomainOwnershipIdentifiersSlotPager method.

type WebAppsClientListDomainOwnershipIdentifiersSlotResponse

type WebAppsClientListDomainOwnershipIdentifiersSlotResponse struct {
	// Collection of identifiers.
	IdentifierCollection
}

WebAppsClientListDomainOwnershipIdentifiersSlotResponse contains the response from method WebAppsClient.NewListDomainOwnershipIdentifiersSlotPager.

type WebAppsClientListFunctionKeysOptions

type WebAppsClientListFunctionKeysOptions struct {
}

WebAppsClientListFunctionKeysOptions contains the optional parameters for the WebAppsClient.ListFunctionKeys method.

type WebAppsClientListFunctionKeysResponse

type WebAppsClientListFunctionKeysResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientListFunctionKeysResponse contains the response from method WebAppsClient.ListFunctionKeys.

type WebAppsClientListFunctionKeysSlotOptions

type WebAppsClientListFunctionKeysSlotOptions struct {
}

WebAppsClientListFunctionKeysSlotOptions contains the optional parameters for the WebAppsClient.ListFunctionKeysSlot method.

type WebAppsClientListFunctionKeysSlotResponse

type WebAppsClientListFunctionKeysSlotResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientListFunctionKeysSlotResponse contains the response from method WebAppsClient.ListFunctionKeysSlot.

type WebAppsClientListFunctionSecretsOptions

type WebAppsClientListFunctionSecretsOptions struct {
}

WebAppsClientListFunctionSecretsOptions contains the optional parameters for the WebAppsClient.ListFunctionSecrets method.

type WebAppsClientListFunctionSecretsResponse

type WebAppsClientListFunctionSecretsResponse struct {
	// Function secrets.
	FunctionSecrets
}

WebAppsClientListFunctionSecretsResponse contains the response from method WebAppsClient.ListFunctionSecrets.

type WebAppsClientListFunctionSecretsSlotOptions

type WebAppsClientListFunctionSecretsSlotOptions struct {
}

WebAppsClientListFunctionSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListFunctionSecretsSlot method.

type WebAppsClientListFunctionSecretsSlotResponse

type WebAppsClientListFunctionSecretsSlotResponse struct {
	// Function secrets.
	FunctionSecrets
}

WebAppsClientListFunctionSecretsSlotResponse contains the response from method WebAppsClient.ListFunctionSecretsSlot.

type WebAppsClientListFunctionsOptions

type WebAppsClientListFunctionsOptions struct {
}

WebAppsClientListFunctionsOptions contains the optional parameters for the WebAppsClient.NewListFunctionsPager method.

type WebAppsClientListFunctionsResponse

type WebAppsClientListFunctionsResponse struct {
	// Collection of Kudu function information elements.
	FunctionEnvelopeCollection
}

WebAppsClientListFunctionsResponse contains the response from method WebAppsClient.NewListFunctionsPager.

type WebAppsClientListHostKeysOptions

type WebAppsClientListHostKeysOptions struct {
}

WebAppsClientListHostKeysOptions contains the optional parameters for the WebAppsClient.ListHostKeys method.

type WebAppsClientListHostKeysResponse

type WebAppsClientListHostKeysResponse struct {
	// Functions host level keys.
	HostKeys
}

WebAppsClientListHostKeysResponse contains the response from method WebAppsClient.ListHostKeys.

type WebAppsClientListHostKeysSlotOptions

type WebAppsClientListHostKeysSlotOptions struct {
}

WebAppsClientListHostKeysSlotOptions contains the optional parameters for the WebAppsClient.ListHostKeysSlot method.

type WebAppsClientListHostKeysSlotResponse

type WebAppsClientListHostKeysSlotResponse struct {
	// Functions host level keys.
	HostKeys
}

WebAppsClientListHostKeysSlotResponse contains the response from method WebAppsClient.ListHostKeysSlot.

type WebAppsClientListHostNameBindingsOptions

type WebAppsClientListHostNameBindingsOptions struct {
}

WebAppsClientListHostNameBindingsOptions contains the optional parameters for the WebAppsClient.NewListHostNameBindingsPager method.

type WebAppsClientListHostNameBindingsResponse

type WebAppsClientListHostNameBindingsResponse struct {
	// Collection of hostname bindings.
	HostNameBindingCollection
}

WebAppsClientListHostNameBindingsResponse contains the response from method WebAppsClient.NewListHostNameBindingsPager.

type WebAppsClientListHostNameBindingsSlotOptions

type WebAppsClientListHostNameBindingsSlotOptions struct {
}

WebAppsClientListHostNameBindingsSlotOptions contains the optional parameters for the WebAppsClient.NewListHostNameBindingsSlotPager method.

type WebAppsClientListHostNameBindingsSlotResponse

type WebAppsClientListHostNameBindingsSlotResponse struct {
	// Collection of hostname bindings.
	HostNameBindingCollection
}

WebAppsClientListHostNameBindingsSlotResponse contains the response from method WebAppsClient.NewListHostNameBindingsSlotPager.

type WebAppsClientListHybridConnectionsOptions

type WebAppsClientListHybridConnectionsOptions struct {
}

WebAppsClientListHybridConnectionsOptions contains the optional parameters for the WebAppsClient.ListHybridConnections method.

type WebAppsClientListHybridConnectionsResponse

type WebAppsClientListHybridConnectionsResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientListHybridConnectionsResponse contains the response from method WebAppsClient.ListHybridConnections.

type WebAppsClientListHybridConnectionsSlotOptions

type WebAppsClientListHybridConnectionsSlotOptions struct {
}

WebAppsClientListHybridConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListHybridConnectionsSlot method.

type WebAppsClientListHybridConnectionsSlotResponse

type WebAppsClientListHybridConnectionsSlotResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientListHybridConnectionsSlotResponse contains the response from method WebAppsClient.ListHybridConnectionsSlot.

type WebAppsClientListInstanceFunctionsSlotOptions

type WebAppsClientListInstanceFunctionsSlotOptions struct {
}

WebAppsClientListInstanceFunctionsSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceFunctionsSlotPager method.

type WebAppsClientListInstanceFunctionsSlotResponse

type WebAppsClientListInstanceFunctionsSlotResponse struct {
	// Collection of Kudu function information elements.
	FunctionEnvelopeCollection
}

WebAppsClientListInstanceFunctionsSlotResponse contains the response from method WebAppsClient.NewListInstanceFunctionsSlotPager.

type WebAppsClientListInstanceIdentifiersOptions

type WebAppsClientListInstanceIdentifiersOptions struct {
}

WebAppsClientListInstanceIdentifiersOptions contains the optional parameters for the WebAppsClient.NewListInstanceIdentifiersPager method.

type WebAppsClientListInstanceIdentifiersResponse

type WebAppsClientListInstanceIdentifiersResponse struct {
	// Collection of app instances.
	WebAppInstanceStatusCollection
}

WebAppsClientListInstanceIdentifiersResponse contains the response from method WebAppsClient.NewListInstanceIdentifiersPager.

type WebAppsClientListInstanceIdentifiersSlotOptions

type WebAppsClientListInstanceIdentifiersSlotOptions struct {
}

WebAppsClientListInstanceIdentifiersSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceIdentifiersSlotPager method.

type WebAppsClientListInstanceIdentifiersSlotResponse

type WebAppsClientListInstanceIdentifiersSlotResponse struct {
	// Collection of app instances.
	WebAppInstanceStatusCollection
}

WebAppsClientListInstanceIdentifiersSlotResponse contains the response from method WebAppsClient.NewListInstanceIdentifiersSlotPager.

type WebAppsClientListInstanceProcessModulesOptions

type WebAppsClientListInstanceProcessModulesOptions struct {
}

WebAppsClientListInstanceProcessModulesOptions contains the optional parameters for the WebAppsClient.NewListInstanceProcessModulesPager method.

type WebAppsClientListInstanceProcessModulesResponse

type WebAppsClientListInstanceProcessModulesResponse struct {
	// Collection of Kudu thread information elements.
	ProcessModuleInfoCollection
}

WebAppsClientListInstanceProcessModulesResponse contains the response from method WebAppsClient.NewListInstanceProcessModulesPager.

type WebAppsClientListInstanceProcessModulesSlotOptions

type WebAppsClientListInstanceProcessModulesSlotOptions struct {
}

WebAppsClientListInstanceProcessModulesSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceProcessModulesSlotPager method.

type WebAppsClientListInstanceProcessModulesSlotResponse

type WebAppsClientListInstanceProcessModulesSlotResponse struct {
	// Collection of Kudu thread information elements.
	ProcessModuleInfoCollection
}

WebAppsClientListInstanceProcessModulesSlotResponse contains the response from method WebAppsClient.NewListInstanceProcessModulesSlotPager.

type WebAppsClientListInstanceProcessThreadsOptions

type WebAppsClientListInstanceProcessThreadsOptions struct {
}

WebAppsClientListInstanceProcessThreadsOptions contains the optional parameters for the WebAppsClient.NewListInstanceProcessThreadsPager method.

type WebAppsClientListInstanceProcessThreadsResponse

type WebAppsClientListInstanceProcessThreadsResponse struct {
	// Collection of Kudu thread information elements.
	ProcessThreadInfoCollection
}

WebAppsClientListInstanceProcessThreadsResponse contains the response from method WebAppsClient.NewListInstanceProcessThreadsPager.

type WebAppsClientListInstanceProcessThreadsSlotOptions

type WebAppsClientListInstanceProcessThreadsSlotOptions struct {
}

WebAppsClientListInstanceProcessThreadsSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceProcessThreadsSlotPager method.

type WebAppsClientListInstanceProcessThreadsSlotResponse

type WebAppsClientListInstanceProcessThreadsSlotResponse struct {
	// Collection of Kudu thread information elements.
	ProcessThreadInfoCollection
}

WebAppsClientListInstanceProcessThreadsSlotResponse contains the response from method WebAppsClient.NewListInstanceProcessThreadsSlotPager.

type WebAppsClientListInstanceProcessesOptions

type WebAppsClientListInstanceProcessesOptions struct {
}

WebAppsClientListInstanceProcessesOptions contains the optional parameters for the WebAppsClient.NewListInstanceProcessesPager method.

type WebAppsClientListInstanceProcessesResponse

type WebAppsClientListInstanceProcessesResponse struct {
	// Collection of Kudu process information elements.
	ProcessInfoCollection
}

WebAppsClientListInstanceProcessesResponse contains the response from method WebAppsClient.NewListInstanceProcessesPager.

type WebAppsClientListInstanceProcessesSlotOptions

type WebAppsClientListInstanceProcessesSlotOptions struct {
}

WebAppsClientListInstanceProcessesSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceProcessesSlotPager method.

type WebAppsClientListInstanceProcessesSlotResponse

type WebAppsClientListInstanceProcessesSlotResponse struct {
	// Collection of Kudu process information elements.
	ProcessInfoCollection
}

WebAppsClientListInstanceProcessesSlotResponse contains the response from method WebAppsClient.NewListInstanceProcessesSlotPager.

type WebAppsClientListInstanceWorkflowsSlotOptions added in v2.1.0

type WebAppsClientListInstanceWorkflowsSlotOptions struct {
}

WebAppsClientListInstanceWorkflowsSlotOptions contains the optional parameters for the WebAppsClient.NewListInstanceWorkflowsSlotPager method.

type WebAppsClientListInstanceWorkflowsSlotResponse added in v2.1.0

type WebAppsClientListInstanceWorkflowsSlotResponse struct {
	// Collection of Kudu workflow information elements.
	WorkflowEnvelopeCollection
}

WebAppsClientListInstanceWorkflowsSlotResponse contains the response from method WebAppsClient.NewListInstanceWorkflowsSlotPager.

type WebAppsClientListMetadataOptions

type WebAppsClientListMetadataOptions struct {
}

WebAppsClientListMetadataOptions contains the optional parameters for the WebAppsClient.ListMetadata method.

type WebAppsClientListMetadataResponse

type WebAppsClientListMetadataResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientListMetadataResponse contains the response from method WebAppsClient.ListMetadata.

type WebAppsClientListMetadataSlotOptions

type WebAppsClientListMetadataSlotOptions struct {
}

WebAppsClientListMetadataSlotOptions contains the optional parameters for the WebAppsClient.ListMetadataSlot method.

type WebAppsClientListMetadataSlotResponse

type WebAppsClientListMetadataSlotResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientListMetadataSlotResponse contains the response from method WebAppsClient.ListMetadataSlot.

type WebAppsClientListNetworkFeaturesOptions

type WebAppsClientListNetworkFeaturesOptions struct {
}

WebAppsClientListNetworkFeaturesOptions contains the optional parameters for the WebAppsClient.ListNetworkFeatures method.

type WebAppsClientListNetworkFeaturesResponse

type WebAppsClientListNetworkFeaturesResponse struct {
	// Full view of network features for an app (presently VNET integration and Hybrid Connections).
	NetworkFeatures
}

WebAppsClientListNetworkFeaturesResponse contains the response from method WebAppsClient.ListNetworkFeatures.

type WebAppsClientListNetworkFeaturesSlotOptions

type WebAppsClientListNetworkFeaturesSlotOptions struct {
}

WebAppsClientListNetworkFeaturesSlotOptions contains the optional parameters for the WebAppsClient.ListNetworkFeaturesSlot method.

type WebAppsClientListNetworkFeaturesSlotResponse

type WebAppsClientListNetworkFeaturesSlotResponse struct {
	// Full view of network features for an app (presently VNET integration and Hybrid Connections).
	NetworkFeatures
}

WebAppsClientListNetworkFeaturesSlotResponse contains the response from method WebAppsClient.ListNetworkFeaturesSlot.

type WebAppsClientListOptions

type WebAppsClientListOptions struct {
}

WebAppsClientListOptions contains the optional parameters for the WebAppsClient.NewListPager method.

type WebAppsClientListPerfMonCountersOptions

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.NewListPerfMonCountersPager method.

type WebAppsClientListPerfMonCountersResponse

type WebAppsClientListPerfMonCountersResponse struct {
	// Collection of performance monitor counters.
	PerfMonCounterCollection
}

WebAppsClientListPerfMonCountersResponse contains the response from method WebAppsClient.NewListPerfMonCountersPager.

type WebAppsClientListPerfMonCountersSlotOptions

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.NewListPerfMonCountersSlotPager method.

type WebAppsClientListPerfMonCountersSlotResponse

type WebAppsClientListPerfMonCountersSlotResponse struct {
	// Collection of performance monitor counters.
	PerfMonCounterCollection
}

WebAppsClientListPerfMonCountersSlotResponse contains the response from method WebAppsClient.NewListPerfMonCountersSlotPager.

type WebAppsClientListPremierAddOnsOptions

type WebAppsClientListPremierAddOnsOptions struct {
}

WebAppsClientListPremierAddOnsOptions contains the optional parameters for the WebAppsClient.ListPremierAddOns method.

type WebAppsClientListPremierAddOnsResponse

type WebAppsClientListPremierAddOnsResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientListPremierAddOnsResponse contains the response from method WebAppsClient.ListPremierAddOns.

type WebAppsClientListPremierAddOnsSlotOptions

type WebAppsClientListPremierAddOnsSlotOptions struct {
}

WebAppsClientListPremierAddOnsSlotOptions contains the optional parameters for the WebAppsClient.ListPremierAddOnsSlot method.

type WebAppsClientListPremierAddOnsSlotResponse

type WebAppsClientListPremierAddOnsSlotResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientListPremierAddOnsSlotResponse contains the response from method WebAppsClient.ListPremierAddOnsSlot.

type WebAppsClientListProcessModulesOptions

type WebAppsClientListProcessModulesOptions struct {
}

WebAppsClientListProcessModulesOptions contains the optional parameters for the WebAppsClient.NewListProcessModulesPager method.

type WebAppsClientListProcessModulesResponse

type WebAppsClientListProcessModulesResponse struct {
	// Collection of Kudu thread information elements.
	ProcessModuleInfoCollection
}

WebAppsClientListProcessModulesResponse contains the response from method WebAppsClient.NewListProcessModulesPager.

type WebAppsClientListProcessModulesSlotOptions

type WebAppsClientListProcessModulesSlotOptions struct {
}

WebAppsClientListProcessModulesSlotOptions contains the optional parameters for the WebAppsClient.NewListProcessModulesSlotPager method.

type WebAppsClientListProcessModulesSlotResponse

type WebAppsClientListProcessModulesSlotResponse struct {
	// Collection of Kudu thread information elements.
	ProcessModuleInfoCollection
}

WebAppsClientListProcessModulesSlotResponse contains the response from method WebAppsClient.NewListProcessModulesSlotPager.

type WebAppsClientListProcessThreadsOptions

type WebAppsClientListProcessThreadsOptions struct {
}

WebAppsClientListProcessThreadsOptions contains the optional parameters for the WebAppsClient.NewListProcessThreadsPager method.

type WebAppsClientListProcessThreadsResponse

type WebAppsClientListProcessThreadsResponse struct {
	// Collection of Kudu thread information elements.
	ProcessThreadInfoCollection
}

WebAppsClientListProcessThreadsResponse contains the response from method WebAppsClient.NewListProcessThreadsPager.

type WebAppsClientListProcessThreadsSlotOptions

type WebAppsClientListProcessThreadsSlotOptions struct {
}

WebAppsClientListProcessThreadsSlotOptions contains the optional parameters for the WebAppsClient.NewListProcessThreadsSlotPager method.

type WebAppsClientListProcessThreadsSlotResponse

type WebAppsClientListProcessThreadsSlotResponse struct {
	// Collection of Kudu thread information elements.
	ProcessThreadInfoCollection
}

WebAppsClientListProcessThreadsSlotResponse contains the response from method WebAppsClient.NewListProcessThreadsSlotPager.

type WebAppsClientListProcessesOptions

type WebAppsClientListProcessesOptions struct {
}

WebAppsClientListProcessesOptions contains the optional parameters for the WebAppsClient.NewListProcessesPager method.

type WebAppsClientListProcessesResponse

type WebAppsClientListProcessesResponse struct {
	// Collection of Kudu process information elements.
	ProcessInfoCollection
}

WebAppsClientListProcessesResponse contains the response from method WebAppsClient.NewListProcessesPager.

type WebAppsClientListProcessesSlotOptions

type WebAppsClientListProcessesSlotOptions struct {
}

WebAppsClientListProcessesSlotOptions contains the optional parameters for the WebAppsClient.NewListProcessesSlotPager method.

type WebAppsClientListProcessesSlotResponse

type WebAppsClientListProcessesSlotResponse struct {
	// Collection of Kudu process information elements.
	ProcessInfoCollection
}

WebAppsClientListProcessesSlotResponse contains the response from method WebAppsClient.NewListProcessesSlotPager.

type WebAppsClientListProductionSiteDeploymentStatusesOptions

type WebAppsClientListProductionSiteDeploymentStatusesOptions struct {
}

WebAppsClientListProductionSiteDeploymentStatusesOptions contains the optional parameters for the WebAppsClient.NewListProductionSiteDeploymentStatusesPager method.

type WebAppsClientListProductionSiteDeploymentStatusesResponse

type WebAppsClientListProductionSiteDeploymentStatusesResponse struct {
	// Deployment status collection ARM resource.
	CsmDeploymentStatusCollection
}

WebAppsClientListProductionSiteDeploymentStatusesResponse contains the response from method WebAppsClient.NewListProductionSiteDeploymentStatusesPager.

type WebAppsClientListPublicCertificatesOptions

type WebAppsClientListPublicCertificatesOptions struct {
}

WebAppsClientListPublicCertificatesOptions contains the optional parameters for the WebAppsClient.NewListPublicCertificatesPager method.

type WebAppsClientListPublicCertificatesResponse

type WebAppsClientListPublicCertificatesResponse struct {
	// Collection of public certificates
	PublicCertificateCollection
}

WebAppsClientListPublicCertificatesResponse contains the response from method WebAppsClient.NewListPublicCertificatesPager.

type WebAppsClientListPublicCertificatesSlotOptions

type WebAppsClientListPublicCertificatesSlotOptions struct {
}

WebAppsClientListPublicCertificatesSlotOptions contains the optional parameters for the WebAppsClient.NewListPublicCertificatesSlotPager method.

type WebAppsClientListPublicCertificatesSlotResponse

type WebAppsClientListPublicCertificatesSlotResponse struct {
	// Collection of public certificates
	PublicCertificateCollection
}

WebAppsClientListPublicCertificatesSlotResponse contains the response from method WebAppsClient.NewListPublicCertificatesSlotPager.

type WebAppsClientListPublishingCredentialsResponse

type WebAppsClientListPublishingCredentialsResponse struct {
	// User credentials used for publishing activity.
	User
}

WebAppsClientListPublishingCredentialsResponse contains the response from method WebAppsClient.BeginListPublishingCredentials.

type WebAppsClientListPublishingCredentialsSlotResponse

type WebAppsClientListPublishingCredentialsSlotResponse struct {
	// User credentials used for publishing activity.
	User
}

WebAppsClientListPublishingCredentialsSlotResponse contains the response from method WebAppsClient.BeginListPublishingCredentialsSlot.

type WebAppsClientListPublishingProfileXMLWithSecretsOptions

type WebAppsClientListPublishingProfileXMLWithSecretsOptions struct {
}

WebAppsClientListPublishingProfileXMLWithSecretsOptions contains the optional parameters for the WebAppsClient.ListPublishingProfileXMLWithSecrets method.

type WebAppsClientListPublishingProfileXMLWithSecretsResponse

type WebAppsClientListPublishingProfileXMLWithSecretsResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientListPublishingProfileXMLWithSecretsResponse contains the response from method WebAppsClient.ListPublishingProfileXMLWithSecrets.

type WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions

type WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions struct {
}

WebAppsClientListPublishingProfileXMLWithSecretsSlotOptions contains the optional parameters for the WebAppsClient.ListPublishingProfileXMLWithSecretsSlot method.

type WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse

type WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse struct {
	// Body contains the streaming response.
	Body io.ReadCloser
}

WebAppsClientListPublishingProfileXMLWithSecretsSlotResponse contains the response from method WebAppsClient.ListPublishingProfileXMLWithSecretsSlot.

type WebAppsClientListRelayServiceConnectionsOptions

type WebAppsClientListRelayServiceConnectionsOptions struct {
}

WebAppsClientListRelayServiceConnectionsOptions contains the optional parameters for the WebAppsClient.ListRelayServiceConnections method.

type WebAppsClientListRelayServiceConnectionsResponse

type WebAppsClientListRelayServiceConnectionsResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientListRelayServiceConnectionsResponse contains the response from method WebAppsClient.ListRelayServiceConnections.

type WebAppsClientListRelayServiceConnectionsSlotOptions

type WebAppsClientListRelayServiceConnectionsSlotOptions struct {
}

WebAppsClientListRelayServiceConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListRelayServiceConnectionsSlot method.

type WebAppsClientListRelayServiceConnectionsSlotResponse

type WebAppsClientListRelayServiceConnectionsSlotResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientListRelayServiceConnectionsSlotResponse contains the response from method WebAppsClient.ListRelayServiceConnectionsSlot.

type WebAppsClientListResponse

type WebAppsClientListResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

WebAppsClientListResponse contains the response from method WebAppsClient.NewListPager.

type WebAppsClientListSiteBackupsOptions

type WebAppsClientListSiteBackupsOptions struct {
}

WebAppsClientListSiteBackupsOptions contains the optional parameters for the WebAppsClient.NewListSiteBackupsPager method.

type WebAppsClientListSiteBackupsResponse

type WebAppsClientListSiteBackupsResponse struct {
	// Collection of backup items.
	BackupItemCollection
}

WebAppsClientListSiteBackupsResponse contains the response from method WebAppsClient.NewListSiteBackupsPager.

type WebAppsClientListSiteBackupsSlotOptions

type WebAppsClientListSiteBackupsSlotOptions struct {
}

WebAppsClientListSiteBackupsSlotOptions contains the optional parameters for the WebAppsClient.NewListSiteBackupsSlotPager method.

type WebAppsClientListSiteBackupsSlotResponse

type WebAppsClientListSiteBackupsSlotResponse struct {
	// Collection of backup items.
	BackupItemCollection
}

WebAppsClientListSiteBackupsSlotResponse contains the response from method WebAppsClient.NewListSiteBackupsSlotPager.

type WebAppsClientListSiteExtensionsOptions

type WebAppsClientListSiteExtensionsOptions struct {
}

WebAppsClientListSiteExtensionsOptions contains the optional parameters for the WebAppsClient.NewListSiteExtensionsPager method.

type WebAppsClientListSiteExtensionsResponse

type WebAppsClientListSiteExtensionsResponse struct {
	// Collection of Kudu site extension information elements.
	SiteExtensionInfoCollection
}

WebAppsClientListSiteExtensionsResponse contains the response from method WebAppsClient.NewListSiteExtensionsPager.

type WebAppsClientListSiteExtensionsSlotOptions

type WebAppsClientListSiteExtensionsSlotOptions struct {
}

WebAppsClientListSiteExtensionsSlotOptions contains the optional parameters for the WebAppsClient.NewListSiteExtensionsSlotPager method.

type WebAppsClientListSiteExtensionsSlotResponse

type WebAppsClientListSiteExtensionsSlotResponse struct {
	// Collection of Kudu site extension information elements.
	SiteExtensionInfoCollection
}

WebAppsClientListSiteExtensionsSlotResponse contains the response from method WebAppsClient.NewListSiteExtensionsSlotPager.

type WebAppsClientListSitePushSettingsOptions

type WebAppsClientListSitePushSettingsOptions struct {
}

WebAppsClientListSitePushSettingsOptions contains the optional parameters for the WebAppsClient.ListSitePushSettings method.

type WebAppsClientListSitePushSettingsResponse

type WebAppsClientListSitePushSettingsResponse struct {
	// Push settings for the App.
	PushSettings
}

WebAppsClientListSitePushSettingsResponse contains the response from method WebAppsClient.ListSitePushSettings.

type WebAppsClientListSitePushSettingsSlotOptions

type WebAppsClientListSitePushSettingsSlotOptions struct {
}

WebAppsClientListSitePushSettingsSlotOptions contains the optional parameters for the WebAppsClient.ListSitePushSettingsSlot method.

type WebAppsClientListSitePushSettingsSlotResponse

type WebAppsClientListSitePushSettingsSlotResponse struct {
	// Push settings for the App.
	PushSettings
}

WebAppsClientListSitePushSettingsSlotResponse contains the response from method WebAppsClient.ListSitePushSettingsSlot.

type WebAppsClientListSlotConfigurationNamesOptions

type WebAppsClientListSlotConfigurationNamesOptions struct {
}

WebAppsClientListSlotConfigurationNamesOptions contains the optional parameters for the WebAppsClient.ListSlotConfigurationNames method.

type WebAppsClientListSlotConfigurationNamesResponse

type WebAppsClientListSlotConfigurationNamesResponse struct {
	// Slot Config names azure resource.
	SlotConfigNamesResource
}

WebAppsClientListSlotConfigurationNamesResponse contains the response from method WebAppsClient.ListSlotConfigurationNames.

type WebAppsClientListSlotDifferencesFromProductionOptions

type WebAppsClientListSlotDifferencesFromProductionOptions struct {
}

WebAppsClientListSlotDifferencesFromProductionOptions contains the optional parameters for the WebAppsClient.NewListSlotDifferencesFromProductionPager method.

type WebAppsClientListSlotDifferencesFromProductionResponse

type WebAppsClientListSlotDifferencesFromProductionResponse struct {
	// Collection of slot differences.
	SlotDifferenceCollection
}

WebAppsClientListSlotDifferencesFromProductionResponse contains the response from method WebAppsClient.NewListSlotDifferencesFromProductionPager.

type WebAppsClientListSlotDifferencesSlotOptions

type WebAppsClientListSlotDifferencesSlotOptions struct {
}

WebAppsClientListSlotDifferencesSlotOptions contains the optional parameters for the WebAppsClient.NewListSlotDifferencesSlotPager method.

type WebAppsClientListSlotDifferencesSlotResponse

type WebAppsClientListSlotDifferencesSlotResponse struct {
	// Collection of slot differences.
	SlotDifferenceCollection
}

WebAppsClientListSlotDifferencesSlotResponse contains the response from method WebAppsClient.NewListSlotDifferencesSlotPager.

type WebAppsClientListSlotSiteDeploymentStatusesSlotOptions

type WebAppsClientListSlotSiteDeploymentStatusesSlotOptions struct {
}

WebAppsClientListSlotSiteDeploymentStatusesSlotOptions contains the optional parameters for the WebAppsClient.NewListSlotSiteDeploymentStatusesSlotPager method.

type WebAppsClientListSlotSiteDeploymentStatusesSlotResponse

type WebAppsClientListSlotSiteDeploymentStatusesSlotResponse struct {
	// Deployment status collection ARM resource.
	CsmDeploymentStatusCollection
}

WebAppsClientListSlotSiteDeploymentStatusesSlotResponse contains the response from method WebAppsClient.NewListSlotSiteDeploymentStatusesSlotPager.

type WebAppsClientListSlotsOptions

type WebAppsClientListSlotsOptions struct {
}

WebAppsClientListSlotsOptions contains the optional parameters for the WebAppsClient.NewListSlotsPager method.

type WebAppsClientListSlotsResponse

type WebAppsClientListSlotsResponse struct {
	// Collection of App Service apps.
	WebAppCollection
}

WebAppsClientListSlotsResponse contains the response from method WebAppsClient.NewListSlotsPager.

type WebAppsClientListSnapshotsFromDRSecondaryOptions

type WebAppsClientListSnapshotsFromDRSecondaryOptions struct {
}

WebAppsClientListSnapshotsFromDRSecondaryOptions contains the optional parameters for the WebAppsClient.NewListSnapshotsFromDRSecondaryPager method.

type WebAppsClientListSnapshotsFromDRSecondaryResponse

type WebAppsClientListSnapshotsFromDRSecondaryResponse struct {
	// Collection of snapshots which can be used to revert an app to a previous time.
	SnapshotCollection
}

WebAppsClientListSnapshotsFromDRSecondaryResponse contains the response from method WebAppsClient.NewListSnapshotsFromDRSecondaryPager.

type WebAppsClientListSnapshotsFromDRSecondarySlotOptions

type WebAppsClientListSnapshotsFromDRSecondarySlotOptions struct {
}

WebAppsClientListSnapshotsFromDRSecondarySlotOptions contains the optional parameters for the WebAppsClient.NewListSnapshotsFromDRSecondarySlotPager method.

type WebAppsClientListSnapshotsFromDRSecondarySlotResponse

type WebAppsClientListSnapshotsFromDRSecondarySlotResponse struct {
	// Collection of snapshots which can be used to revert an app to a previous time.
	SnapshotCollection
}

WebAppsClientListSnapshotsFromDRSecondarySlotResponse contains the response from method WebAppsClient.NewListSnapshotsFromDRSecondarySlotPager.

type WebAppsClientListSnapshotsOptions

type WebAppsClientListSnapshotsOptions struct {
}

WebAppsClientListSnapshotsOptions contains the optional parameters for the WebAppsClient.NewListSnapshotsPager method.

type WebAppsClientListSnapshotsResponse

type WebAppsClientListSnapshotsResponse struct {
	// Collection of snapshots which can be used to revert an app to a previous time.
	SnapshotCollection
}

WebAppsClientListSnapshotsResponse contains the response from method WebAppsClient.NewListSnapshotsPager.

type WebAppsClientListSnapshotsSlotOptions

type WebAppsClientListSnapshotsSlotOptions struct {
}

WebAppsClientListSnapshotsSlotOptions contains the optional parameters for the WebAppsClient.NewListSnapshotsSlotPager method.

type WebAppsClientListSnapshotsSlotResponse

type WebAppsClientListSnapshotsSlotResponse struct {
	// Collection of snapshots which can be used to revert an app to a previous time.
	SnapshotCollection
}

WebAppsClientListSnapshotsSlotResponse contains the response from method WebAppsClient.NewListSnapshotsSlotPager.

type WebAppsClientListSyncFunctionTriggersOptions

type WebAppsClientListSyncFunctionTriggersOptions struct {
}

WebAppsClientListSyncFunctionTriggersOptions contains the optional parameters for the WebAppsClient.ListSyncFunctionTriggers method.

type WebAppsClientListSyncFunctionTriggersResponse

type WebAppsClientListSyncFunctionTriggersResponse struct {
	// Function secrets.
	FunctionSecrets
}

WebAppsClientListSyncFunctionTriggersResponse contains the response from method WebAppsClient.ListSyncFunctionTriggers.

type WebAppsClientListSyncFunctionTriggersSlotOptions

type WebAppsClientListSyncFunctionTriggersSlotOptions struct {
}

WebAppsClientListSyncFunctionTriggersSlotOptions contains the optional parameters for the WebAppsClient.ListSyncFunctionTriggersSlot method.

type WebAppsClientListSyncFunctionTriggersSlotResponse

type WebAppsClientListSyncFunctionTriggersSlotResponse struct {
	// Function secrets.
	FunctionSecrets
}

WebAppsClientListSyncFunctionTriggersSlotResponse contains the response from method WebAppsClient.ListSyncFunctionTriggersSlot.

type WebAppsClientListSyncStatusOptions

type WebAppsClientListSyncStatusOptions struct {
}

WebAppsClientListSyncStatusOptions contains the optional parameters for the WebAppsClient.ListSyncStatus method.

type WebAppsClientListSyncStatusResponse

type WebAppsClientListSyncStatusResponse struct {
}

WebAppsClientListSyncStatusResponse contains the response from method WebAppsClient.ListSyncStatus.

type WebAppsClientListSyncStatusSlotOptions

type WebAppsClientListSyncStatusSlotOptions struct {
}

WebAppsClientListSyncStatusSlotOptions contains the optional parameters for the WebAppsClient.ListSyncStatusSlot method.

type WebAppsClientListSyncStatusSlotResponse

type WebAppsClientListSyncStatusSlotResponse struct {
}

WebAppsClientListSyncStatusSlotResponse contains the response from method WebAppsClient.ListSyncStatusSlot.

type WebAppsClientListTriggeredWebJobHistoryOptions

type WebAppsClientListTriggeredWebJobHistoryOptions struct {
}

WebAppsClientListTriggeredWebJobHistoryOptions contains the optional parameters for the WebAppsClient.NewListTriggeredWebJobHistoryPager method.

type WebAppsClientListTriggeredWebJobHistoryResponse

type WebAppsClientListTriggeredWebJobHistoryResponse struct {
	// Collection of Kudu continuous web job information elements.
	TriggeredJobHistoryCollection
}

WebAppsClientListTriggeredWebJobHistoryResponse contains the response from method WebAppsClient.NewListTriggeredWebJobHistoryPager.

type WebAppsClientListTriggeredWebJobHistorySlotOptions

type WebAppsClientListTriggeredWebJobHistorySlotOptions struct {
}

WebAppsClientListTriggeredWebJobHistorySlotOptions contains the optional parameters for the WebAppsClient.NewListTriggeredWebJobHistorySlotPager method.

type WebAppsClientListTriggeredWebJobHistorySlotResponse

type WebAppsClientListTriggeredWebJobHistorySlotResponse struct {
	// Collection of Kudu continuous web job information elements.
	TriggeredJobHistoryCollection
}

WebAppsClientListTriggeredWebJobHistorySlotResponse contains the response from method WebAppsClient.NewListTriggeredWebJobHistorySlotPager.

type WebAppsClientListTriggeredWebJobsOptions

type WebAppsClientListTriggeredWebJobsOptions struct {
}

WebAppsClientListTriggeredWebJobsOptions contains the optional parameters for the WebAppsClient.NewListTriggeredWebJobsPager method.

type WebAppsClientListTriggeredWebJobsResponse

type WebAppsClientListTriggeredWebJobsResponse struct {
	// Collection of Kudu continuous web job information elements.
	TriggeredWebJobCollection
}

WebAppsClientListTriggeredWebJobsResponse contains the response from method WebAppsClient.NewListTriggeredWebJobsPager.

type WebAppsClientListTriggeredWebJobsSlotOptions

type WebAppsClientListTriggeredWebJobsSlotOptions struct {
}

WebAppsClientListTriggeredWebJobsSlotOptions contains the optional parameters for the WebAppsClient.NewListTriggeredWebJobsSlotPager method.

type WebAppsClientListTriggeredWebJobsSlotResponse

type WebAppsClientListTriggeredWebJobsSlotResponse struct {
	// Collection of Kudu continuous web job information elements.
	TriggeredWebJobCollection
}

WebAppsClientListTriggeredWebJobsSlotResponse contains the response from method WebAppsClient.NewListTriggeredWebJobsSlotPager.

type WebAppsClientListUsagesOptions

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.NewListUsagesPager method.

type WebAppsClientListUsagesResponse

type WebAppsClientListUsagesResponse struct {
	// Collection of CSM usage quotas.
	CsmUsageQuotaCollection
}

WebAppsClientListUsagesResponse contains the response from method WebAppsClient.NewListUsagesPager.

type WebAppsClientListUsagesSlotOptions

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.NewListUsagesSlotPager method.

type WebAppsClientListUsagesSlotResponse

type WebAppsClientListUsagesSlotResponse struct {
	// Collection of CSM usage quotas.
	CsmUsageQuotaCollection
}

WebAppsClientListUsagesSlotResponse contains the response from method WebAppsClient.NewListUsagesSlotPager.

type WebAppsClientListVnetConnectionsOptions

type WebAppsClientListVnetConnectionsOptions struct {
}

WebAppsClientListVnetConnectionsOptions contains the optional parameters for the WebAppsClient.ListVnetConnections method.

type WebAppsClientListVnetConnectionsResponse

type WebAppsClientListVnetConnectionsResponse struct {
	// Array of VnetInfoResource
	VnetInfoResourceArray []*VnetInfoResource
}

WebAppsClientListVnetConnectionsResponse contains the response from method WebAppsClient.ListVnetConnections.

type WebAppsClientListVnetConnectionsSlotOptions

type WebAppsClientListVnetConnectionsSlotOptions struct {
}

WebAppsClientListVnetConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListVnetConnectionsSlot method.

type WebAppsClientListVnetConnectionsSlotResponse

type WebAppsClientListVnetConnectionsSlotResponse struct {
	// Array of VnetInfoResource
	VnetInfoResourceArray []*VnetInfoResource
}

WebAppsClientListVnetConnectionsSlotResponse contains the response from method WebAppsClient.ListVnetConnectionsSlot.

type WebAppsClientListWebJobsOptions

type WebAppsClientListWebJobsOptions struct {
}

WebAppsClientListWebJobsOptions contains the optional parameters for the WebAppsClient.NewListWebJobsPager method.

type WebAppsClientListWebJobsResponse

type WebAppsClientListWebJobsResponse struct {
	// Collection of Kudu web job information elements.
	WebJobCollection
}

WebAppsClientListWebJobsResponse contains the response from method WebAppsClient.NewListWebJobsPager.

type WebAppsClientListWebJobsSlotOptions

type WebAppsClientListWebJobsSlotOptions struct {
}

WebAppsClientListWebJobsSlotOptions contains the optional parameters for the WebAppsClient.NewListWebJobsSlotPager method.

type WebAppsClientListWebJobsSlotResponse

type WebAppsClientListWebJobsSlotResponse struct {
	// Collection of Kudu web job information elements.
	WebJobCollection
}

WebAppsClientListWebJobsSlotResponse contains the response from method WebAppsClient.NewListWebJobsSlotPager.

type WebAppsClientListWorkflowsConnectionsOptions added in v2.1.0

type WebAppsClientListWorkflowsConnectionsOptions struct {
}

WebAppsClientListWorkflowsConnectionsOptions contains the optional parameters for the WebAppsClient.ListWorkflowsConnections method.

type WebAppsClientListWorkflowsConnectionsResponse added in v2.1.0

type WebAppsClientListWorkflowsConnectionsResponse struct {
	// Workflow properties definition.
	WorkflowEnvelope
}

WebAppsClientListWorkflowsConnectionsResponse contains the response from method WebAppsClient.ListWorkflowsConnections.

type WebAppsClientListWorkflowsConnectionsSlotOptions added in v2.1.0

type WebAppsClientListWorkflowsConnectionsSlotOptions struct {
}

WebAppsClientListWorkflowsConnectionsSlotOptions contains the optional parameters for the WebAppsClient.ListWorkflowsConnectionsSlot method.

type WebAppsClientListWorkflowsConnectionsSlotResponse added in v2.1.0

type WebAppsClientListWorkflowsConnectionsSlotResponse struct {
	// Workflow properties definition.
	WorkflowEnvelope
}

WebAppsClientListWorkflowsConnectionsSlotResponse contains the response from method WebAppsClient.ListWorkflowsConnectionsSlot.

type WebAppsClientListWorkflowsOptions added in v2.1.0

type WebAppsClientListWorkflowsOptions struct {
}

WebAppsClientListWorkflowsOptions contains the optional parameters for the WebAppsClient.NewListWorkflowsPager method.

type WebAppsClientListWorkflowsResponse added in v2.1.0

type WebAppsClientListWorkflowsResponse struct {
	// Collection of Kudu workflow information elements.
	WorkflowEnvelopeCollection
}

WebAppsClientListWorkflowsResponse contains the response from method WebAppsClient.NewListWorkflowsPager.

type WebAppsClientMigrateMySQLResponse

type WebAppsClientMigrateMySQLResponse struct {
	// An operation on a resource.
	Operation
}

WebAppsClientMigrateMySQLResponse contains the response from method WebAppsClient.BeginMigrateMySQL.

type WebAppsClientMigrateStorageResponse

type WebAppsClientMigrateStorageResponse struct {
	// Response for a migration of app content request.
	StorageMigrationResponse
}

WebAppsClientMigrateStorageResponse contains the response from method WebAppsClient.BeginMigrateStorage.

type WebAppsClientPutPrivateAccessVnetOptions

type WebAppsClientPutPrivateAccessVnetOptions struct {
}

WebAppsClientPutPrivateAccessVnetOptions contains the optional parameters for the WebAppsClient.PutPrivateAccessVnet method.

type WebAppsClientPutPrivateAccessVnetResponse

type WebAppsClientPutPrivateAccessVnetResponse struct {
	// Description of the parameters of Private Access for a Web Site.
	PrivateAccess
}

WebAppsClientPutPrivateAccessVnetResponse contains the response from method WebAppsClient.PutPrivateAccessVnet.

type WebAppsClientPutPrivateAccessVnetSlotOptions

type WebAppsClientPutPrivateAccessVnetSlotOptions struct {
}

WebAppsClientPutPrivateAccessVnetSlotOptions contains the optional parameters for the WebAppsClient.PutPrivateAccessVnetSlot method.

type WebAppsClientPutPrivateAccessVnetSlotResponse

type WebAppsClientPutPrivateAccessVnetSlotResponse struct {
	// Description of the parameters of Private Access for a Web Site.
	PrivateAccess
}

WebAppsClientPutPrivateAccessVnetSlotResponse contains the response from method WebAppsClient.PutPrivateAccessVnetSlot.

type WebAppsClientRecoverSiteConfigurationSnapshotOptions

type WebAppsClientRecoverSiteConfigurationSnapshotOptions struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotOptions contains the optional parameters for the WebAppsClient.RecoverSiteConfigurationSnapshot method.

type WebAppsClientRecoverSiteConfigurationSnapshotResponse

type WebAppsClientRecoverSiteConfigurationSnapshotResponse struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotResponse contains the response from method WebAppsClient.RecoverSiteConfigurationSnapshot.

type WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions

type WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotSlotOptions contains the optional parameters for the WebAppsClient.RecoverSiteConfigurationSnapshotSlot method.

type WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse

type WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse struct {
}

WebAppsClientRecoverSiteConfigurationSnapshotSlotResponse contains the response from method WebAppsClient.RecoverSiteConfigurationSnapshotSlot.

type WebAppsClientResetProductionSlotConfigOptions

type WebAppsClientResetProductionSlotConfigOptions struct {
}

WebAppsClientResetProductionSlotConfigOptions contains the optional parameters for the WebAppsClient.ResetProductionSlotConfig method.

type WebAppsClientResetProductionSlotConfigResponse

type WebAppsClientResetProductionSlotConfigResponse struct {
}

WebAppsClientResetProductionSlotConfigResponse contains the response from method WebAppsClient.ResetProductionSlotConfig.

type WebAppsClientResetSlotConfigurationSlotOptions

type WebAppsClientResetSlotConfigurationSlotOptions struct {
}

WebAppsClientResetSlotConfigurationSlotOptions contains the optional parameters for the WebAppsClient.ResetSlotConfigurationSlot method.

type WebAppsClientResetSlotConfigurationSlotResponse

type WebAppsClientResetSlotConfigurationSlotResponse struct {
}

WebAppsClientResetSlotConfigurationSlotResponse contains the response from method WebAppsClient.ResetSlotConfigurationSlot.

type WebAppsClientRestartOptions

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

type WebAppsClientRestartResponse struct {
}

WebAppsClientRestartResponse contains the response from method WebAppsClient.Restart.

type WebAppsClientRestartSlotOptions

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

type WebAppsClientRestartSlotResponse struct {
}

WebAppsClientRestartSlotResponse contains the response from method WebAppsClient.RestartSlot.

type WebAppsClientRestoreFromBackupBlobResponse

type WebAppsClientRestoreFromBackupBlobResponse struct {
}

WebAppsClientRestoreFromBackupBlobResponse contains the response from method WebAppsClient.BeginRestoreFromBackupBlob.

type WebAppsClientRestoreFromBackupBlobSlotResponse

type WebAppsClientRestoreFromBackupBlobSlotResponse struct {
}

WebAppsClientRestoreFromBackupBlobSlotResponse contains the response from method WebAppsClient.BeginRestoreFromBackupBlobSlot.

type WebAppsClientRestoreFromDeletedAppResponse

type WebAppsClientRestoreFromDeletedAppResponse struct {
}

WebAppsClientRestoreFromDeletedAppResponse contains the response from method WebAppsClient.BeginRestoreFromDeletedApp.

type WebAppsClientRestoreFromDeletedAppSlotResponse

type WebAppsClientRestoreFromDeletedAppSlotResponse struct {
}

WebAppsClientRestoreFromDeletedAppSlotResponse contains the response from method WebAppsClient.BeginRestoreFromDeletedAppSlot.

type WebAppsClientRestoreResponse

type WebAppsClientRestoreResponse struct {
}

WebAppsClientRestoreResponse contains the response from method WebAppsClient.BeginRestore.

type WebAppsClientRestoreSlotResponse

type WebAppsClientRestoreSlotResponse struct {
}

WebAppsClientRestoreSlotResponse contains the response from method WebAppsClient.BeginRestoreSlot.

type WebAppsClientRestoreSnapshotResponse

type WebAppsClientRestoreSnapshotResponse struct {
}

WebAppsClientRestoreSnapshotResponse contains the response from method WebAppsClient.BeginRestoreSnapshot.

type WebAppsClientRestoreSnapshotSlotResponse

type WebAppsClientRestoreSnapshotSlotResponse struct {
}

WebAppsClientRestoreSnapshotSlotResponse contains the response from method WebAppsClient.BeginRestoreSnapshotSlot.

type WebAppsClientRunTriggeredWebJobOptions

type WebAppsClientRunTriggeredWebJobOptions struct {
}

WebAppsClientRunTriggeredWebJobOptions contains the optional parameters for the WebAppsClient.RunTriggeredWebJob method.

type WebAppsClientRunTriggeredWebJobResponse

type WebAppsClientRunTriggeredWebJobResponse struct {
}

WebAppsClientRunTriggeredWebJobResponse contains the response from method WebAppsClient.RunTriggeredWebJob.

type WebAppsClientRunTriggeredWebJobSlotOptions

type WebAppsClientRunTriggeredWebJobSlotOptions struct {
}

WebAppsClientRunTriggeredWebJobSlotOptions contains the optional parameters for the WebAppsClient.RunTriggeredWebJobSlot method.

type WebAppsClientRunTriggeredWebJobSlotResponse

type WebAppsClientRunTriggeredWebJobSlotResponse struct {
}

WebAppsClientRunTriggeredWebJobSlotResponse contains the response from method WebAppsClient.RunTriggeredWebJobSlot.

type WebAppsClientStartContinuousWebJobOptions

type WebAppsClientStartContinuousWebJobOptions struct {
}

WebAppsClientStartContinuousWebJobOptions contains the optional parameters for the WebAppsClient.StartContinuousWebJob method.

type WebAppsClientStartContinuousWebJobResponse

type WebAppsClientStartContinuousWebJobResponse struct {
}

WebAppsClientStartContinuousWebJobResponse contains the response from method WebAppsClient.StartContinuousWebJob.

type WebAppsClientStartContinuousWebJobSlotOptions

type WebAppsClientStartContinuousWebJobSlotOptions struct {
}

WebAppsClientStartContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.StartContinuousWebJobSlot method.

type WebAppsClientStartContinuousWebJobSlotResponse

type WebAppsClientStartContinuousWebJobSlotResponse struct {
}

WebAppsClientStartContinuousWebJobSlotResponse contains the response from method WebAppsClient.StartContinuousWebJobSlot.

type WebAppsClientStartNetworkTraceResponse

type WebAppsClientStartNetworkTraceResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartNetworkTraceResponse contains the response from method WebAppsClient.BeginStartNetworkTrace.

func (*WebAppsClientStartNetworkTraceResponse) UnmarshalJSON

func (w *WebAppsClientStartNetworkTraceResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartNetworkTraceResponse.

type WebAppsClientStartNetworkTraceSlotResponse

type WebAppsClientStartNetworkTraceSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartNetworkTraceSlotResponse contains the response from method WebAppsClient.BeginStartNetworkTraceSlot.

func (*WebAppsClientStartNetworkTraceSlotResponse) UnmarshalJSON

func (w *WebAppsClientStartNetworkTraceSlotResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartNetworkTraceSlotResponse.

type WebAppsClientStartOptions

type WebAppsClientStartOptions struct {
}

WebAppsClientStartOptions contains the optional parameters for the WebAppsClient.Start method.

type WebAppsClientStartResponse

type WebAppsClientStartResponse struct {
}

WebAppsClientStartResponse contains the response from method WebAppsClient.Start.

type WebAppsClientStartSlotOptions

type WebAppsClientStartSlotOptions struct {
}

WebAppsClientStartSlotOptions contains the optional parameters for the WebAppsClient.StartSlot method.

type WebAppsClientStartSlotResponse

type WebAppsClientStartSlotResponse struct {
}

WebAppsClientStartSlotResponse contains the response from method WebAppsClient.StartSlot.

type WebAppsClientStartWebSiteNetworkTraceOperationResponse

type WebAppsClientStartWebSiteNetworkTraceOperationResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartWebSiteNetworkTraceOperationResponse contains the response from method WebAppsClient.BeginStartWebSiteNetworkTraceOperation.

func (*WebAppsClientStartWebSiteNetworkTraceOperationResponse) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartWebSiteNetworkTraceOperationResponse.

type WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse

type WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse struct {
	// Array of NetworkTrace
	NetworkTraceArray []*NetworkTrace
}

WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse contains the response from method WebAppsClient.BeginStartWebSiteNetworkTraceOperationSlot.

func (*WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppsClientStartWebSiteNetworkTraceOperationSlotResponse.

type WebAppsClientStartWebSiteNetworkTraceOptions

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

type WebAppsClientStartWebSiteNetworkTraceResponse struct {
	Value *string
}

WebAppsClientStartWebSiteNetworkTraceResponse contains the response from method WebAppsClient.StartWebSiteNetworkTrace.

type WebAppsClientStartWebSiteNetworkTraceSlotOptions

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

type WebAppsClientStartWebSiteNetworkTraceSlotResponse struct {
	Value *string
}

WebAppsClientStartWebSiteNetworkTraceSlotResponse contains the response from method WebAppsClient.StartWebSiteNetworkTraceSlot.

type WebAppsClientStopContinuousWebJobOptions

type WebAppsClientStopContinuousWebJobOptions struct {
}

WebAppsClientStopContinuousWebJobOptions contains the optional parameters for the WebAppsClient.StopContinuousWebJob method.

type WebAppsClientStopContinuousWebJobResponse

type WebAppsClientStopContinuousWebJobResponse struct {
}

WebAppsClientStopContinuousWebJobResponse contains the response from method WebAppsClient.StopContinuousWebJob.

type WebAppsClientStopContinuousWebJobSlotOptions

type WebAppsClientStopContinuousWebJobSlotOptions struct {
}

WebAppsClientStopContinuousWebJobSlotOptions contains the optional parameters for the WebAppsClient.StopContinuousWebJobSlot method.

type WebAppsClientStopContinuousWebJobSlotResponse

type WebAppsClientStopContinuousWebJobSlotResponse struct {
}

WebAppsClientStopContinuousWebJobSlotResponse contains the response from method WebAppsClient.StopContinuousWebJobSlot.

type WebAppsClientStopNetworkTraceOptions

type WebAppsClientStopNetworkTraceOptions struct {
}

WebAppsClientStopNetworkTraceOptions contains the optional parameters for the WebAppsClient.StopNetworkTrace method.

type WebAppsClientStopNetworkTraceResponse

type WebAppsClientStopNetworkTraceResponse struct {
}

WebAppsClientStopNetworkTraceResponse contains the response from method WebAppsClient.StopNetworkTrace.

type WebAppsClientStopNetworkTraceSlotOptions

type WebAppsClientStopNetworkTraceSlotOptions struct {
}

WebAppsClientStopNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StopNetworkTraceSlot method.

type WebAppsClientStopNetworkTraceSlotResponse

type WebAppsClientStopNetworkTraceSlotResponse struct {
}

WebAppsClientStopNetworkTraceSlotResponse contains the response from method WebAppsClient.StopNetworkTraceSlot.

type WebAppsClientStopOptions

type WebAppsClientStopOptions struct {
}

WebAppsClientStopOptions contains the optional parameters for the WebAppsClient.Stop method.

type WebAppsClientStopResponse

type WebAppsClientStopResponse struct {
}

WebAppsClientStopResponse contains the response from method WebAppsClient.Stop.

type WebAppsClientStopSlotOptions

type WebAppsClientStopSlotOptions struct {
}

WebAppsClientStopSlotOptions contains the optional parameters for the WebAppsClient.StopSlot method.

type WebAppsClientStopSlotResponse

type WebAppsClientStopSlotResponse struct {
}

WebAppsClientStopSlotResponse contains the response from method WebAppsClient.StopSlot.

type WebAppsClientStopWebSiteNetworkTraceOptions

type WebAppsClientStopWebSiteNetworkTraceOptions struct {
}

WebAppsClientStopWebSiteNetworkTraceOptions contains the optional parameters for the WebAppsClient.StopWebSiteNetworkTrace method.

type WebAppsClientStopWebSiteNetworkTraceResponse

type WebAppsClientStopWebSiteNetworkTraceResponse struct {
}

WebAppsClientStopWebSiteNetworkTraceResponse contains the response from method WebAppsClient.StopWebSiteNetworkTrace.

type WebAppsClientStopWebSiteNetworkTraceSlotOptions

type WebAppsClientStopWebSiteNetworkTraceSlotOptions struct {
}

WebAppsClientStopWebSiteNetworkTraceSlotOptions contains the optional parameters for the WebAppsClient.StopWebSiteNetworkTraceSlot method.

type WebAppsClientStopWebSiteNetworkTraceSlotResponse

type WebAppsClientStopWebSiteNetworkTraceSlotResponse struct {
}

WebAppsClientStopWebSiteNetworkTraceSlotResponse contains the response from method WebAppsClient.StopWebSiteNetworkTraceSlot.

type WebAppsClientSwapSlotResponse

type WebAppsClientSwapSlotResponse struct {
}

WebAppsClientSwapSlotResponse contains the response from method WebAppsClient.BeginSwapSlot.

type WebAppsClientSwapSlotWithProductionResponse

type WebAppsClientSwapSlotWithProductionResponse struct {
}

WebAppsClientSwapSlotWithProductionResponse contains the response from method WebAppsClient.BeginSwapSlotWithProduction.

type WebAppsClientSyncFunctionTriggersOptions

type WebAppsClientSyncFunctionTriggersOptions struct {
}

WebAppsClientSyncFunctionTriggersOptions contains the optional parameters for the WebAppsClient.SyncFunctionTriggers method.

type WebAppsClientSyncFunctionTriggersResponse

type WebAppsClientSyncFunctionTriggersResponse struct {
}

WebAppsClientSyncFunctionTriggersResponse contains the response from method WebAppsClient.SyncFunctionTriggers.

type WebAppsClientSyncFunctionTriggersSlotOptions

type WebAppsClientSyncFunctionTriggersSlotOptions struct {
}

WebAppsClientSyncFunctionTriggersSlotOptions contains the optional parameters for the WebAppsClient.SyncFunctionTriggersSlot method.

type WebAppsClientSyncFunctionTriggersSlotResponse

type WebAppsClientSyncFunctionTriggersSlotResponse struct {
}

WebAppsClientSyncFunctionTriggersSlotResponse contains the response from method WebAppsClient.SyncFunctionTriggersSlot.

type WebAppsClientSyncFunctionsOptions

type WebAppsClientSyncFunctionsOptions struct {
}

WebAppsClientSyncFunctionsOptions contains the optional parameters for the WebAppsClient.SyncFunctions method.

type WebAppsClientSyncFunctionsResponse

type WebAppsClientSyncFunctionsResponse struct {
}

WebAppsClientSyncFunctionsResponse contains the response from method WebAppsClient.SyncFunctions.

type WebAppsClientSyncFunctionsSlotOptions

type WebAppsClientSyncFunctionsSlotOptions struct {
}

WebAppsClientSyncFunctionsSlotOptions contains the optional parameters for the WebAppsClient.SyncFunctionsSlot method.

type WebAppsClientSyncFunctionsSlotResponse

type WebAppsClientSyncFunctionsSlotResponse struct {
}

WebAppsClientSyncFunctionsSlotResponse contains the response from method WebAppsClient.SyncFunctionsSlot.

type WebAppsClientSyncRepositoryOptions

type WebAppsClientSyncRepositoryOptions struct {
}

WebAppsClientSyncRepositoryOptions contains the optional parameters for the WebAppsClient.SyncRepository method.

type WebAppsClientSyncRepositoryResponse

type WebAppsClientSyncRepositoryResponse struct {
}

WebAppsClientSyncRepositoryResponse contains the response from method WebAppsClient.SyncRepository.

type WebAppsClientSyncRepositorySlotOptions

type WebAppsClientSyncRepositorySlotOptions struct {
}

WebAppsClientSyncRepositorySlotOptions contains the optional parameters for the WebAppsClient.SyncRepositorySlot method.

type WebAppsClientSyncRepositorySlotResponse

type WebAppsClientSyncRepositorySlotResponse struct {
}

WebAppsClientSyncRepositorySlotResponse contains the response from method WebAppsClient.SyncRepositorySlot.

type WebAppsClientUpdateApplicationSettingsOptions

type WebAppsClientUpdateApplicationSettingsOptions struct {
}

WebAppsClientUpdateApplicationSettingsOptions contains the optional parameters for the WebAppsClient.UpdateApplicationSettings method.

type WebAppsClientUpdateApplicationSettingsResponse

type WebAppsClientUpdateApplicationSettingsResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientUpdateApplicationSettingsResponse contains the response from method WebAppsClient.UpdateApplicationSettings.

type WebAppsClientUpdateApplicationSettingsSlotOptions

type WebAppsClientUpdateApplicationSettingsSlotOptions struct {
}

WebAppsClientUpdateApplicationSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateApplicationSettingsSlot method.

type WebAppsClientUpdateApplicationSettingsSlotResponse

type WebAppsClientUpdateApplicationSettingsSlotResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientUpdateApplicationSettingsSlotResponse contains the response from method WebAppsClient.UpdateApplicationSettingsSlot.

type WebAppsClientUpdateAuthSettingsOptions

type WebAppsClientUpdateAuthSettingsOptions struct {
}

WebAppsClientUpdateAuthSettingsOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettings method.

type WebAppsClientUpdateAuthSettingsResponse

type WebAppsClientUpdateAuthSettingsResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization feature.
	SiteAuthSettings
}

WebAppsClientUpdateAuthSettingsResponse contains the response from method WebAppsClient.UpdateAuthSettings.

type WebAppsClientUpdateAuthSettingsSlotOptions

type WebAppsClientUpdateAuthSettingsSlotOptions struct {
}

WebAppsClientUpdateAuthSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettingsSlot method.

type WebAppsClientUpdateAuthSettingsSlotResponse

type WebAppsClientUpdateAuthSettingsSlotResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization feature.
	SiteAuthSettings
}

WebAppsClientUpdateAuthSettingsSlotResponse contains the response from method WebAppsClient.UpdateAuthSettingsSlot.

type WebAppsClientUpdateAuthSettingsV2Options

type WebAppsClientUpdateAuthSettingsV2Options struct {
}

WebAppsClientUpdateAuthSettingsV2Options contains the optional parameters for the WebAppsClient.UpdateAuthSettingsV2 method.

type WebAppsClientUpdateAuthSettingsV2Response

type WebAppsClientUpdateAuthSettingsV2Response struct {
	// Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
	SiteAuthSettingsV2
}

WebAppsClientUpdateAuthSettingsV2Response contains the response from method WebAppsClient.UpdateAuthSettingsV2.

type WebAppsClientUpdateAuthSettingsV2SlotOptions

type WebAppsClientUpdateAuthSettingsV2SlotOptions struct {
}

WebAppsClientUpdateAuthSettingsV2SlotOptions contains the optional parameters for the WebAppsClient.UpdateAuthSettingsV2Slot method.

type WebAppsClientUpdateAuthSettingsV2SlotResponse

type WebAppsClientUpdateAuthSettingsV2SlotResponse struct {
	// Configuration settings for the Azure App Service Authentication / Authorization V2 feature.
	SiteAuthSettingsV2
}

WebAppsClientUpdateAuthSettingsV2SlotResponse contains the response from method WebAppsClient.UpdateAuthSettingsV2Slot.

type WebAppsClientUpdateAzureStorageAccountsOptions

type WebAppsClientUpdateAzureStorageAccountsOptions struct {
}

WebAppsClientUpdateAzureStorageAccountsOptions contains the optional parameters for the WebAppsClient.UpdateAzureStorageAccounts method.

type WebAppsClientUpdateAzureStorageAccountsResponse

type WebAppsClientUpdateAzureStorageAccountsResponse struct {
	// AzureStorageInfo dictionary resource.
	AzureStoragePropertyDictionaryResource
}

WebAppsClientUpdateAzureStorageAccountsResponse contains the response from method WebAppsClient.UpdateAzureStorageAccounts.

type WebAppsClientUpdateAzureStorageAccountsSlotOptions

type WebAppsClientUpdateAzureStorageAccountsSlotOptions struct {
}

WebAppsClientUpdateAzureStorageAccountsSlotOptions contains the optional parameters for the WebAppsClient.UpdateAzureStorageAccountsSlot method.

type WebAppsClientUpdateAzureStorageAccountsSlotResponse

type WebAppsClientUpdateAzureStorageAccountsSlotResponse struct {
	// AzureStorageInfo dictionary resource.
	AzureStoragePropertyDictionaryResource
}

WebAppsClientUpdateAzureStorageAccountsSlotResponse contains the response from method WebAppsClient.UpdateAzureStorageAccountsSlot.

type WebAppsClientUpdateBackupConfigurationOptions

type WebAppsClientUpdateBackupConfigurationOptions struct {
}

WebAppsClientUpdateBackupConfigurationOptions contains the optional parameters for the WebAppsClient.UpdateBackupConfiguration method.

type WebAppsClientUpdateBackupConfigurationResponse

type WebAppsClientUpdateBackupConfigurationResponse struct {
	// Description of a backup which will be performed.
	BackupRequest
}

WebAppsClientUpdateBackupConfigurationResponse contains the response from method WebAppsClient.UpdateBackupConfiguration.

type WebAppsClientUpdateBackupConfigurationSlotOptions

type WebAppsClientUpdateBackupConfigurationSlotOptions struct {
}

WebAppsClientUpdateBackupConfigurationSlotOptions contains the optional parameters for the WebAppsClient.UpdateBackupConfigurationSlot method.

type WebAppsClientUpdateBackupConfigurationSlotResponse

type WebAppsClientUpdateBackupConfigurationSlotResponse struct {
	// Description of a backup which will be performed.
	BackupRequest
}

WebAppsClientUpdateBackupConfigurationSlotResponse contains the response from method WebAppsClient.UpdateBackupConfigurationSlot.

type WebAppsClientUpdateConfigurationOptions

type WebAppsClientUpdateConfigurationOptions struct {
}

WebAppsClientUpdateConfigurationOptions contains the optional parameters for the WebAppsClient.UpdateConfiguration method.

type WebAppsClientUpdateConfigurationResponse

type WebAppsClientUpdateConfigurationResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientUpdateConfigurationResponse contains the response from method WebAppsClient.UpdateConfiguration.

type WebAppsClientUpdateConfigurationSlotOptions

type WebAppsClientUpdateConfigurationSlotOptions struct {
}

WebAppsClientUpdateConfigurationSlotOptions contains the optional parameters for the WebAppsClient.UpdateConfigurationSlot method.

type WebAppsClientUpdateConfigurationSlotResponse

type WebAppsClientUpdateConfigurationSlotResponse struct {
	// Web app configuration ARM resource.
	SiteConfigResource
}

WebAppsClientUpdateConfigurationSlotResponse contains the response from method WebAppsClient.UpdateConfigurationSlot.

type WebAppsClientUpdateConnectionStringsOptions

type WebAppsClientUpdateConnectionStringsOptions struct {
}

WebAppsClientUpdateConnectionStringsOptions contains the optional parameters for the WebAppsClient.UpdateConnectionStrings method.

type WebAppsClientUpdateConnectionStringsResponse

type WebAppsClientUpdateConnectionStringsResponse struct {
	// String dictionary resource.
	ConnectionStringDictionary
}

WebAppsClientUpdateConnectionStringsResponse contains the response from method WebAppsClient.UpdateConnectionStrings.

type WebAppsClientUpdateConnectionStringsSlotOptions

type WebAppsClientUpdateConnectionStringsSlotOptions struct {
}

WebAppsClientUpdateConnectionStringsSlotOptions contains the optional parameters for the WebAppsClient.UpdateConnectionStringsSlot method.

type WebAppsClientUpdateConnectionStringsSlotResponse

type WebAppsClientUpdateConnectionStringsSlotResponse struct {
	// String dictionary resource.
	ConnectionStringDictionary
}

WebAppsClientUpdateConnectionStringsSlotResponse contains the response from method WebAppsClient.UpdateConnectionStringsSlot.

type WebAppsClientUpdateDiagnosticLogsConfigOptions

type WebAppsClientUpdateDiagnosticLogsConfigOptions struct {
}

WebAppsClientUpdateDiagnosticLogsConfigOptions contains the optional parameters for the WebAppsClient.UpdateDiagnosticLogsConfig method.

type WebAppsClientUpdateDiagnosticLogsConfigResponse

type WebAppsClientUpdateDiagnosticLogsConfigResponse struct {
	// Configuration of App Service site logs.
	SiteLogsConfig
}

WebAppsClientUpdateDiagnosticLogsConfigResponse contains the response from method WebAppsClient.UpdateDiagnosticLogsConfig.

type WebAppsClientUpdateDiagnosticLogsConfigSlotOptions

type WebAppsClientUpdateDiagnosticLogsConfigSlotOptions struct {
}

WebAppsClientUpdateDiagnosticLogsConfigSlotOptions contains the optional parameters for the WebAppsClient.UpdateDiagnosticLogsConfigSlot method.

type WebAppsClientUpdateDiagnosticLogsConfigSlotResponse

type WebAppsClientUpdateDiagnosticLogsConfigSlotResponse struct {
	// Configuration of App Service site logs.
	SiteLogsConfig
}

WebAppsClientUpdateDiagnosticLogsConfigSlotResponse contains the response from method WebAppsClient.UpdateDiagnosticLogsConfigSlot.

type WebAppsClientUpdateDomainOwnershipIdentifierOptions

type WebAppsClientUpdateDomainOwnershipIdentifierOptions struct {
}

WebAppsClientUpdateDomainOwnershipIdentifierOptions contains the optional parameters for the WebAppsClient.UpdateDomainOwnershipIdentifier method.

type WebAppsClientUpdateDomainOwnershipIdentifierResponse

type WebAppsClientUpdateDomainOwnershipIdentifierResponse struct {
	// A domain specific resource identifier.
	Identifier
}

WebAppsClientUpdateDomainOwnershipIdentifierResponse contains the response from method WebAppsClient.UpdateDomainOwnershipIdentifier.

type WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions

type WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions struct {
}

WebAppsClientUpdateDomainOwnershipIdentifierSlotOptions contains the optional parameters for the WebAppsClient.UpdateDomainOwnershipIdentifierSlot method.

type WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse

type WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse struct {
	// A domain specific resource identifier.
	Identifier
}

WebAppsClientUpdateDomainOwnershipIdentifierSlotResponse contains the response from method WebAppsClient.UpdateDomainOwnershipIdentifierSlot.

type WebAppsClientUpdateFtpAllowedOptions

type WebAppsClientUpdateFtpAllowedOptions struct {
}

WebAppsClientUpdateFtpAllowedOptions contains the optional parameters for the WebAppsClient.UpdateFtpAllowed method.

type WebAppsClientUpdateFtpAllowedResponse

type WebAppsClientUpdateFtpAllowedResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateFtpAllowedResponse contains the response from method WebAppsClient.UpdateFtpAllowed.

type WebAppsClientUpdateFtpAllowedSlotOptions

type WebAppsClientUpdateFtpAllowedSlotOptions struct {
}

WebAppsClientUpdateFtpAllowedSlotOptions contains the optional parameters for the WebAppsClient.UpdateFtpAllowedSlot method.

type WebAppsClientUpdateFtpAllowedSlotResponse

type WebAppsClientUpdateFtpAllowedSlotResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateFtpAllowedSlotResponse contains the response from method WebAppsClient.UpdateFtpAllowedSlot.

type WebAppsClientUpdateHybridConnectionOptions

type WebAppsClientUpdateHybridConnectionOptions struct {
}

WebAppsClientUpdateHybridConnectionOptions contains the optional parameters for the WebAppsClient.UpdateHybridConnection method.

type WebAppsClientUpdateHybridConnectionResponse

type WebAppsClientUpdateHybridConnectionResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientUpdateHybridConnectionResponse contains the response from method WebAppsClient.UpdateHybridConnection.

type WebAppsClientUpdateHybridConnectionSlotOptions

type WebAppsClientUpdateHybridConnectionSlotOptions struct {
}

WebAppsClientUpdateHybridConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateHybridConnectionSlot method.

type WebAppsClientUpdateHybridConnectionSlotResponse

type WebAppsClientUpdateHybridConnectionSlotResponse struct {
	// Hybrid Connection contract. This is used to configure a Hybrid Connection.
	HybridConnection
}

WebAppsClientUpdateHybridConnectionSlotResponse contains the response from method WebAppsClient.UpdateHybridConnectionSlot.

type WebAppsClientUpdateMetadataOptions

type WebAppsClientUpdateMetadataOptions struct {
}

WebAppsClientUpdateMetadataOptions contains the optional parameters for the WebAppsClient.UpdateMetadata method.

type WebAppsClientUpdateMetadataResponse

type WebAppsClientUpdateMetadataResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientUpdateMetadataResponse contains the response from method WebAppsClient.UpdateMetadata.

type WebAppsClientUpdateMetadataSlotOptions

type WebAppsClientUpdateMetadataSlotOptions struct {
}

WebAppsClientUpdateMetadataSlotOptions contains the optional parameters for the WebAppsClient.UpdateMetadataSlot method.

type WebAppsClientUpdateMetadataSlotResponse

type WebAppsClientUpdateMetadataSlotResponse struct {
	// String dictionary resource.
	StringDictionary
}

WebAppsClientUpdateMetadataSlotResponse contains the response from method WebAppsClient.UpdateMetadataSlot.

type WebAppsClientUpdateOptions

type WebAppsClientUpdateOptions struct {
}

WebAppsClientUpdateOptions contains the optional parameters for the WebAppsClient.Update method.

type WebAppsClientUpdatePremierAddOnOptions

type WebAppsClientUpdatePremierAddOnOptions struct {
}

WebAppsClientUpdatePremierAddOnOptions contains the optional parameters for the WebAppsClient.UpdatePremierAddOn method.

type WebAppsClientUpdatePremierAddOnResponse

type WebAppsClientUpdatePremierAddOnResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientUpdatePremierAddOnResponse contains the response from method WebAppsClient.UpdatePremierAddOn.

type WebAppsClientUpdatePremierAddOnSlotOptions

type WebAppsClientUpdatePremierAddOnSlotOptions struct {
}

WebAppsClientUpdatePremierAddOnSlotOptions contains the optional parameters for the WebAppsClient.UpdatePremierAddOnSlot method.

type WebAppsClientUpdatePremierAddOnSlotResponse

type WebAppsClientUpdatePremierAddOnSlotResponse struct {
	// Premier add-on.
	PremierAddOn
}

WebAppsClientUpdatePremierAddOnSlotResponse contains the response from method WebAppsClient.UpdatePremierAddOnSlot.

type WebAppsClientUpdateRelayServiceConnectionOptions

type WebAppsClientUpdateRelayServiceConnectionOptions struct {
}

WebAppsClientUpdateRelayServiceConnectionOptions contains the optional parameters for the WebAppsClient.UpdateRelayServiceConnection method.

type WebAppsClientUpdateRelayServiceConnectionResponse

type WebAppsClientUpdateRelayServiceConnectionResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientUpdateRelayServiceConnectionResponse contains the response from method WebAppsClient.UpdateRelayServiceConnection.

type WebAppsClientUpdateRelayServiceConnectionSlotOptions

type WebAppsClientUpdateRelayServiceConnectionSlotOptions struct {
}

WebAppsClientUpdateRelayServiceConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateRelayServiceConnectionSlot method.

type WebAppsClientUpdateRelayServiceConnectionSlotResponse

type WebAppsClientUpdateRelayServiceConnectionSlotResponse struct {
	// Hybrid Connection for an App Service app.
	RelayServiceConnectionEntity
}

WebAppsClientUpdateRelayServiceConnectionSlotResponse contains the response from method WebAppsClient.UpdateRelayServiceConnectionSlot.

type WebAppsClientUpdateResponse

type WebAppsClientUpdateResponse struct {
	// A web app, a mobile app backend, or an API app.
	Site
}

WebAppsClientUpdateResponse contains the response from method WebAppsClient.Update.

type WebAppsClientUpdateScmAllowedOptions

type WebAppsClientUpdateScmAllowedOptions struct {
}

WebAppsClientUpdateScmAllowedOptions contains the optional parameters for the WebAppsClient.UpdateScmAllowed method.

type WebAppsClientUpdateScmAllowedResponse

type WebAppsClientUpdateScmAllowedResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateScmAllowedResponse contains the response from method WebAppsClient.UpdateScmAllowed.

type WebAppsClientUpdateScmAllowedSlotOptions

type WebAppsClientUpdateScmAllowedSlotOptions struct {
}

WebAppsClientUpdateScmAllowedSlotOptions contains the optional parameters for the WebAppsClient.UpdateScmAllowedSlot method.

type WebAppsClientUpdateScmAllowedSlotResponse

type WebAppsClientUpdateScmAllowedSlotResponse struct {
	// Publishing Credentials Policies parameters.
	CsmPublishingCredentialsPoliciesEntity
}

WebAppsClientUpdateScmAllowedSlotResponse contains the response from method WebAppsClient.UpdateScmAllowedSlot.

type WebAppsClientUpdateSitePushSettingsOptions

type WebAppsClientUpdateSitePushSettingsOptions struct {
}

WebAppsClientUpdateSitePushSettingsOptions contains the optional parameters for the WebAppsClient.UpdateSitePushSettings method.

type WebAppsClientUpdateSitePushSettingsResponse

type WebAppsClientUpdateSitePushSettingsResponse struct {
	// Push settings for the App.
	PushSettings
}

WebAppsClientUpdateSitePushSettingsResponse contains the response from method WebAppsClient.UpdateSitePushSettings.

type WebAppsClientUpdateSitePushSettingsSlotOptions

type WebAppsClientUpdateSitePushSettingsSlotOptions struct {
}

WebAppsClientUpdateSitePushSettingsSlotOptions contains the optional parameters for the WebAppsClient.UpdateSitePushSettingsSlot method.

type WebAppsClientUpdateSitePushSettingsSlotResponse

type WebAppsClientUpdateSitePushSettingsSlotResponse struct {
	// Push settings for the App.
	PushSettings
}

WebAppsClientUpdateSitePushSettingsSlotResponse contains the response from method WebAppsClient.UpdateSitePushSettingsSlot.

type WebAppsClientUpdateSlotConfigurationNamesOptions

type WebAppsClientUpdateSlotConfigurationNamesOptions struct {
}

WebAppsClientUpdateSlotConfigurationNamesOptions contains the optional parameters for the WebAppsClient.UpdateSlotConfigurationNames method.

type WebAppsClientUpdateSlotConfigurationNamesResponse

type WebAppsClientUpdateSlotConfigurationNamesResponse struct {
	// Slot Config names azure resource.
	SlotConfigNamesResource
}

WebAppsClientUpdateSlotConfigurationNamesResponse contains the response from method WebAppsClient.UpdateSlotConfigurationNames.

type WebAppsClientUpdateSlotOptions

type WebAppsClientUpdateSlotOptions struct {
}

WebAppsClientUpdateSlotOptions contains the optional parameters for the WebAppsClient.UpdateSlot method.

type WebAppsClientUpdateSlotResponse

type WebAppsClientUpdateSlotResponse struct {
	// A web app, a mobile app backend, or an API app.
	Site
}

WebAppsClientUpdateSlotResponse contains the response from method WebAppsClient.UpdateSlot.

type WebAppsClientUpdateSourceControlOptions

type WebAppsClientUpdateSourceControlOptions struct {
}

WebAppsClientUpdateSourceControlOptions contains the optional parameters for the WebAppsClient.UpdateSourceControl method.

type WebAppsClientUpdateSourceControlResponse

type WebAppsClientUpdateSourceControlResponse struct {
	// Source control configuration for an app.
	SiteSourceControl
}

WebAppsClientUpdateSourceControlResponse contains the response from method WebAppsClient.UpdateSourceControl.

type WebAppsClientUpdateSourceControlSlotOptions

type WebAppsClientUpdateSourceControlSlotOptions struct {
}

WebAppsClientUpdateSourceControlSlotOptions contains the optional parameters for the WebAppsClient.UpdateSourceControlSlot method.

type WebAppsClientUpdateSourceControlSlotResponse

type WebAppsClientUpdateSourceControlSlotResponse struct {
	// Source control configuration for an app.
	SiteSourceControl
}

WebAppsClientUpdateSourceControlSlotResponse contains the response from method WebAppsClient.UpdateSourceControlSlot.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions struct {
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckOptions contains the optional parameters for the WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheck method.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse struct {
	// Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.
	SwiftVirtualNetwork
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckResponse contains the response from method WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheck.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions struct {
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptions contains the optional parameters for the WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheckSlot method.

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse

type WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse struct {
	// Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.
	SwiftVirtualNetwork
}

WebAppsClientUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse contains the response from method WebAppsClient.UpdateSwiftVirtualNetworkConnectionWithCheckSlot.

type WebAppsClientUpdateVnetConnectionGatewayOptions

type WebAppsClientUpdateVnetConnectionGatewayOptions struct {
}

WebAppsClientUpdateVnetConnectionGatewayOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionGateway method.

type WebAppsClientUpdateVnetConnectionGatewayResponse

type WebAppsClientUpdateVnetConnectionGatewayResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

WebAppsClientUpdateVnetConnectionGatewayResponse contains the response from method WebAppsClient.UpdateVnetConnectionGateway.

type WebAppsClientUpdateVnetConnectionGatewaySlotOptions

type WebAppsClientUpdateVnetConnectionGatewaySlotOptions struct {
}

WebAppsClientUpdateVnetConnectionGatewaySlotOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionGatewaySlot method.

type WebAppsClientUpdateVnetConnectionGatewaySlotResponse

type WebAppsClientUpdateVnetConnectionGatewaySlotResponse struct {
	// The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.
	VnetGateway
}

WebAppsClientUpdateVnetConnectionGatewaySlotResponse contains the response from method WebAppsClient.UpdateVnetConnectionGatewaySlot.

type WebAppsClientUpdateVnetConnectionOptions

type WebAppsClientUpdateVnetConnectionOptions struct {
}

WebAppsClientUpdateVnetConnectionOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnection method.

type WebAppsClientUpdateVnetConnectionResponse

type WebAppsClientUpdateVnetConnectionResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

WebAppsClientUpdateVnetConnectionResponse contains the response from method WebAppsClient.UpdateVnetConnection.

type WebAppsClientUpdateVnetConnectionSlotOptions

type WebAppsClientUpdateVnetConnectionSlotOptions struct {
}

WebAppsClientUpdateVnetConnectionSlotOptions contains the optional parameters for the WebAppsClient.UpdateVnetConnectionSlot method.

type WebAppsClientUpdateVnetConnectionSlotResponse

type WebAppsClientUpdateVnetConnectionSlotResponse struct {
	// Virtual Network information ARM resource.
	VnetInfoResource
}

WebAppsClientUpdateVnetConnectionSlotResponse contains the response from method WebAppsClient.UpdateVnetConnectionSlot.

type WebJob

type WebJob struct {
	// Kind of resource.
	Kind *string

	// WebJob resource specific properties
	Properties *WebJobProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

WebJob - Web Job Information.

func (WebJob) MarshalJSON

func (w WebJob) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebJob.

func (*WebJob) UnmarshalJSON

func (w *WebJob) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebJob.

type WebJobCollection

type WebJobCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WebJob

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

WebJobCollection - Collection of Kudu web job information elements.

func (WebJobCollection) MarshalJSON

func (w WebJobCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebJobCollection.

func (*WebJobCollection) UnmarshalJSON

func (w *WebJobCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebJobCollection.

type WebJobProperties

type WebJobProperties struct {
	// Error information.
	Error *string

	// Extra Info URL.
	ExtraInfoURL *string

	// Run command.
	RunCommand *string

	// Job settings.
	Settings map[string]any

	// Job URL.
	URL *string

	// Using SDK?
	UsingSdk *bool

	// Job type.
	WebJobType *WebJobType
}

WebJobProperties - WebJob resource specific properties

func (WebJobProperties) MarshalJSON

func (w WebJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebJobProperties.

func (*WebJobProperties) UnmarshalJSON

func (w *WebJobProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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

	// WebSiteInstanceStatus resource specific properties
	Properties *WebSiteInstanceStatusProperties

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

func (WebSiteInstanceStatus) MarshalJSON

func (w WebSiteInstanceStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSiteInstanceStatus.

func (*WebSiteInstanceStatus) UnmarshalJSON

func (w *WebSiteInstanceStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebSiteInstanceStatus.

type WebSiteInstanceStatusProperties

type WebSiteInstanceStatusProperties struct {
	// Link to the console to web app instance
	ConsoleURL *string

	// Dictionary of
	Containers map[string]*ContainerInfo

	// Link to the Diagnose and Solve Portal
	DetectorURL *string

	// Link to the console to web app instance
	HealthCheckURL *string
	State          *SiteRuntimeState

	// Link to the GetStatusApi in Kudu
	StatusURL *string
}

WebSiteInstanceStatusProperties - WebSiteInstanceStatus resource specific properties

func (WebSiteInstanceStatusProperties) MarshalJSON

func (w WebSiteInstanceStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebSiteInstanceStatusProperties.

func (*WebSiteInstanceStatusProperties) UnmarshalJSON

func (w *WebSiteInstanceStatusProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller 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 - Description for Check if a resource name is available. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • request - Name availability request.
  • options - WebSiteManagementClientCheckNameAvailabilityOptions contains the optional parameters for the WebSiteManagementClient.CheckNameAvailability method.

func (*WebSiteManagementClient) GetPublishingUser

GetPublishingUser - Description for Gets publishing user If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientGetPublishingUserOptions contains the optional parameters for the WebSiteManagementClient.GetPublishingUser method.

func (*WebSiteManagementClient) GetSourceControl

GetSourceControl - Description for Gets source control token If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • sourceControlType - Type of source control
  • options - WebSiteManagementClientGetSourceControlOptions contains the optional parameters for the WebSiteManagementClient.GetSourceControl method.

func (*WebSiteManagementClient) GetSubscriptionDeploymentLocations

GetSubscriptionDeploymentLocations - Description for Gets list of available geo regions plus ministamps If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientGetSubscriptionDeploymentLocationsOptions contains the optional parameters for the WebSiteManagementClient.GetSubscriptionDeploymentLocations method.

func (*WebSiteManagementClient) ListSKUs

ListSKUs - Description for List all SKUs. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListSKUsOptions contains the optional parameters for the WebSiteManagementClient.ListSKUs method.

func (*WebSiteManagementClient) Move

Move - Description for Move resources between resource groups. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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) NewListAseRegionsPager added in v2.3.0

NewListAseRegionsPager - Description for get a list of available ASE regions and its supported Skus.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListAseRegionsOptions contains the optional parameters for the WebSiteManagementClient.NewListAseRegionsPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListAseRegions.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebSiteManagementClient().NewListAseRegionsPager(nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.AseRegionCollection = armappservice.AseRegionCollection{
	// 	Value: []*armappservice.AseRegion{
	// 		{
	// 			Type: to.Ptr("Microsoft.Web/aseRegions"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions"),
	// 			Properties: &armappservice.AseRegionProperties{
	// 				AvailableOS: []*string{
	// 					to.Ptr("Windows"),
	// 					to.Ptr("Linux"),
	// 					to.Ptr("HyperV")},
	// 					AvailableSKU: []*string{
	// 						to.Ptr("I1v2"),
	// 						to.Ptr("I2v2"),
	// 						to.Ptr("I3v2")},
	// 						DedicatedHost: to.Ptr(true),
	// 						DisplayName: to.Ptr("southcentralus"),
	// 						Standard: to.Ptr(true),
	// 						ZoneRedundant: to.Ptr(true),
	// 					},
	// 				},
	// 				{
	// 					Type: to.Ptr("Microsoft.Web/aseRegions"),
	// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions"),
	// 					Properties: &armappservice.AseRegionProperties{
	// 						AvailableOS: []*string{
	// 							to.Ptr("Windows"),
	// 							to.Ptr("Linux")},
	// 							AvailableSKU: []*string{
	// 								to.Ptr("I1v4"),
	// 								to.Ptr("I2v2"),
	// 								to.Ptr("I3v2")},
	// 								DedicatedHost: to.Ptr(true),
	// 								DisplayName: to.Ptr("northcentralus"),
	// 								Standard: to.Ptr(true),
	// 								ZoneRedundant: to.Ptr(true),
	// 							},
	// 					}},
	// 				}
}
Output:

func (*WebSiteManagementClient) NewListBillingMetersPager

NewListBillingMetersPager - Description for Gets a list of meters for a given location.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListBillingMetersOptions contains the optional parameters for the WebSiteManagementClient.NewListBillingMetersPager method.

func (*WebSiteManagementClient) NewListCustomHostNameSitesPager

NewListCustomHostNameSitesPager - Get custom hostnames under this subscription

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListCustomHostNameSitesOptions contains the optional parameters for the WebSiteManagementClient.NewListCustomHostNameSitesPager method.
Example (GetCustomHostnamesUnderSubscription)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListCustomHostNameSites.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebSiteManagementClient().NewListCustomHostNameSitesPager(&armappservice.WebSiteManagementClientListCustomHostNameSitesOptions{Hostname: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CustomHostnameSitesCollection = armappservice.CustomHostnameSitesCollection{
	// 	Value: []*armappservice.CustomHostnameSites{
	// 		{
	// 			Name: to.Ptr("mywebapp.azurewebsites.net"),
	// 			Type: to.Ptr("Microsoft.Web/customhostnameSites"),
	// 			ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/mywebapp.azurewebsites.net"),
	// 			Properties: &armappservice.CustomHostnameSitesProperties{
	// 				CustomHostname: to.Ptr("mywebapp.azurewebsites.net"),
	// 				Region: to.Ptr("West US"),
	// 				SiteResourceIDs: []*armappservice.Identifier{
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus-rg/providers/Microsoft.Web/sites/mywebapp"),
	// 				}},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("www.example.com"),
	// 			Type: to.Ptr("Microsoft.Web/customhostnameSites"),
	// 			ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com"),
	// 			Properties: &armappservice.CustomHostnameSitesProperties{
	// 				CustomHostname: to.Ptr("www.example.com"),
	// 				Region: to.Ptr("West US 2"),
	// 				SiteResourceIDs: []*armappservice.Identifier{
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app1"),
	// 					},
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app2"),
	// 					},
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app3"),
	// 				}},
	// 			},
	// 	}},
	// }
}
Output:

Example (GetSpecificCustomHostnameUnderSubscription)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/ListCustomSpecificHostNameSites.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWebSiteManagementClient().NewListCustomHostNameSitesPager(&armappservice.WebSiteManagementClientListCustomHostNameSitesOptions{Hostname: to.Ptr("www.example.com")})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.CustomHostnameSitesCollection = armappservice.CustomHostnameSitesCollection{
	// 	Value: []*armappservice.CustomHostnameSites{
	// 		{
	// 			Name: to.Ptr("www.example.com"),
	// 			Type: to.Ptr("Microsoft.Web/customhostnameSites"),
	// 			ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com"),
	// 			Properties: &armappservice.CustomHostnameSitesProperties{
	// 				CustomHostname: to.Ptr("www.example.com"),
	// 				Region: to.Ptr("West US 2"),
	// 				SiteResourceIDs: []*armappservice.Identifier{
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app1"),
	// 					},
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app2"),
	// 					},
	// 					{
	// 						ID: to.Ptr("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app3"),
	// 				}},
	// 			},
	// 	}},
	// }
}
Output:

func (*WebSiteManagementClient) NewListGeoRegionsPager

NewListGeoRegionsPager - Description for Get a list of available geographical regions.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListGeoRegionsOptions contains the optional parameters for the WebSiteManagementClient.NewListGeoRegionsPager method.

func (*WebSiteManagementClient) NewListPremierAddOnOffersPager

NewListPremierAddOnOffersPager - Description for List all premier add-on offers.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListPremierAddOnOffersOptions contains the optional parameters for the WebSiteManagementClient.NewListPremierAddOnOffersPager method.

func (*WebSiteManagementClient) NewListSiteIdentifiersAssignedToHostNamePager

NewListSiteIdentifiersAssignedToHostNamePager - Description for List all apps that are assigned to a hostname.

Generated from API version 2023-01-01

  • nameIdentifier - Hostname information.
  • options - WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions contains the optional parameters for the WebSiteManagementClient.NewListSiteIdentifiersAssignedToHostNamePager method.

func (*WebSiteManagementClient) NewListSourceControlsPager

NewListSourceControlsPager - Description for Gets the source controls available for Azure websites.

Generated from API version 2023-01-01

  • options - WebSiteManagementClientListSourceControlsOptions contains the optional parameters for the WebSiteManagementClient.NewListSourceControlsPager method.

func (*WebSiteManagementClient) UpdatePublishingUser

UpdatePublishingUser - Description for Updates publishing user If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • userDetails - Details of publishing user
  • options - WebSiteManagementClientUpdatePublishingUserOptions contains the optional parameters for the WebSiteManagementClient.UpdatePublishingUser method.

func (*WebSiteManagementClient) UpdateSourceControl

UpdateSourceControl - Description for Updates source control token If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Validate if a resource can be created. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for Validate whether a resource can be moved. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-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 - Description for 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 2023-01-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/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/VerifyHostingEnvironmentVnet.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWebSiteManagementClient().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)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.VnetValidationFailureDetails = armappservice.VnetValidationFailureDetails{
// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/verifyHostingEnvironmentVnet"),
// 	Properties: &armappservice.VnetValidationFailureDetailsProperties{
// 		Failed: to.Ptr(false),
// 		FailedTests: []*armappservice.VnetValidationTestFailure{
// 		},
// 	},
// }
Output:

type WebSiteManagementClientCheckNameAvailabilityOptions

type WebSiteManagementClientCheckNameAvailabilityOptions struct {
}

WebSiteManagementClientCheckNameAvailabilityOptions contains the optional parameters for the WebSiteManagementClient.CheckNameAvailability method.

type WebSiteManagementClientCheckNameAvailabilityResponse

type WebSiteManagementClientCheckNameAvailabilityResponse struct {
	// Information regarding availability of a resource name.
	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 credentials used for publishing activity.
	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 {
	// The source control OAuth token.
	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 {
	// List of available locations (regions or App Service Environments) for
	// deployment of App Service resources.
	DeploymentLocations
}

WebSiteManagementClientGetSubscriptionDeploymentLocationsResponse contains the response from method WebSiteManagementClient.GetSubscriptionDeploymentLocations.

type WebSiteManagementClientListAseRegionsOptions added in v2.3.0

type WebSiteManagementClientListAseRegionsOptions struct {
}

WebSiteManagementClientListAseRegionsOptions contains the optional parameters for the WebSiteManagementClient.NewListAseRegionsPager method.

type WebSiteManagementClientListAseRegionsResponse added in v2.3.0

type WebSiteManagementClientListAseRegionsResponse struct {
	// Collection of ASE regions.
	AseRegionCollection
}

WebSiteManagementClientListAseRegionsResponse contains the response from method WebSiteManagementClient.NewListAseRegionsPager.

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.NewListBillingMetersPager method.

type WebSiteManagementClientListBillingMetersResponse

type WebSiteManagementClientListBillingMetersResponse struct {
	// Collection of Billing Meters
	BillingMeterCollection
}

WebSiteManagementClientListBillingMetersResponse contains the response from method WebSiteManagementClient.NewListBillingMetersPager.

type WebSiteManagementClientListCustomHostNameSitesOptions

type WebSiteManagementClientListCustomHostNameSitesOptions struct {
	// Specific hostname
	Hostname *string
}

WebSiteManagementClientListCustomHostNameSitesOptions contains the optional parameters for the WebSiteManagementClient.NewListCustomHostNameSitesPager method.

type WebSiteManagementClientListCustomHostNameSitesResponse

type WebSiteManagementClientListCustomHostNameSitesResponse struct {
	// Collection of custom hostname sites
	CustomHostnameSitesCollection
}

WebSiteManagementClientListCustomHostNameSitesResponse contains the response from method WebSiteManagementClient.NewListCustomHostNameSitesPager.

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.NewListGeoRegionsPager method.

type WebSiteManagementClientListGeoRegionsResponse

type WebSiteManagementClientListGeoRegionsResponse struct {
	// Collection of geographical regions.
	GeoRegionCollection
}

WebSiteManagementClientListGeoRegionsResponse contains the response from method WebSiteManagementClient.NewListGeoRegionsPager.

type WebSiteManagementClientListPremierAddOnOffersOptions

type WebSiteManagementClientListPremierAddOnOffersOptions struct {
}

WebSiteManagementClientListPremierAddOnOffersOptions contains the optional parameters for the WebSiteManagementClient.NewListPremierAddOnOffersPager method.

type WebSiteManagementClientListPremierAddOnOffersResponse

type WebSiteManagementClientListPremierAddOnOffersResponse struct {
	// Collection of premier add-on offers.
	PremierAddOnOfferCollection
}

WebSiteManagementClientListPremierAddOnOffersResponse contains the response from method WebSiteManagementClient.NewListPremierAddOnOffersPager.

type WebSiteManagementClientListSKUsOptions

type WebSiteManagementClientListSKUsOptions struct {
}

WebSiteManagementClientListSKUsOptions contains the optional parameters for the WebSiteManagementClient.ListSKUs method.

type WebSiteManagementClientListSKUsResponse

type WebSiteManagementClientListSKUsResponse struct {
	// Collection of SKU information.
	SKUInfos
}

WebSiteManagementClientListSKUsResponse contains the response from method WebSiteManagementClient.ListSKUs.

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions struct {
}

WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptions contains the optional parameters for the WebSiteManagementClient.NewListSiteIdentifiersAssignedToHostNamePager method.

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse

type WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse struct {
	// Collection of identifiers.
	IdentifierCollection
}

WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse contains the response from method WebSiteManagementClient.NewListSiteIdentifiersAssignedToHostNamePager.

type WebSiteManagementClientListSourceControlsOptions

type WebSiteManagementClientListSourceControlsOptions struct {
}

WebSiteManagementClientListSourceControlsOptions contains the optional parameters for the WebSiteManagementClient.NewListSourceControlsPager method.

type WebSiteManagementClientListSourceControlsResponse

type WebSiteManagementClientListSourceControlsResponse struct {
	// Collection of source controls.
	SourceControlCollection
}

WebSiteManagementClientListSourceControlsResponse contains the response from method WebSiteManagementClient.NewListSourceControlsPager.

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 credentials used for publishing activity.
	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 {
	// The source control OAuth token.
	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 {
	// Describes the result of resource validation.
	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 {
	// A class that describes the reason for a validation failure.
	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

	// READ-ONLY; true if the stack version is auto-updated; otherwise, false.
	IsAutoUpdate *bool

	// READ-ONLY; true if the stack is deprecated; otherwise, false.
	IsDeprecated *bool

	// READ-ONLY; true if the minor version is early-access; otherwise, false.
	IsEarlyAccess *bool

	// READ-ONLY; true if the stack should be hidden; otherwise, false.
	IsHidden *bool

	// READ-ONLY; true if the stack is in preview; otherwise, false.
	IsPreview *bool

	// READ-ONLY; Java container (runtime only).
	JavaContainer *string

	// READ-ONLY; Java container version (runtime only).
	JavaContainerVersion *string
}

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

	// Number of instances in the worker pool.
	WorkerCount *int32

	// VM size of the worker pool instances.
	WorkerSize *string

	// Worker size ID for referencing this worker pool.
	WorkerSizeID *int32

	// READ-ONLY; Names of all instances in the worker pool (read only).
	InstanceNames []*string
}

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.

func (*WorkerPool) UnmarshalJSON

func (w *WorkerPool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkerPool.

type WorkerPoolCollection

type WorkerPoolCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WorkerPoolResource

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

WorkerPoolCollection - Collection of worker pools.

func (WorkerPoolCollection) MarshalJSON

func (w WorkerPoolCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkerPoolCollection.

func (*WorkerPoolCollection) UnmarshalJSON

func (w *WorkerPoolCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkerPoolCollection.

type WorkerPoolResource

type WorkerPoolResource struct {
	// Kind of resource.
	Kind *string

	// Core resource properties
	Properties *WorkerPool

	// Description of a SKU for a scalable resource.
	SKU *SKUDescription

	// READ-ONLY; Resource Id.
	ID *string

	// READ-ONLY; Resource Name.
	Name *string

	// READ-ONLY; Resource type.
	Type *string
}

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.

func (*WorkerPoolResource) UnmarshalJSON

func (w *WorkerPoolResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkerPoolResource.

type WorkerSizeOptions

type WorkerSizeOptions string

WorkerSizeOptions - Size of the machines.

const (
	WorkerSizeOptionsD1               WorkerSizeOptions = "D1"
	WorkerSizeOptionsD2               WorkerSizeOptions = "D2"
	WorkerSizeOptionsD3               WorkerSizeOptions = "D3"
	WorkerSizeOptionsDefault          WorkerSizeOptions = "Default"
	WorkerSizeOptionsLarge            WorkerSizeOptions = "Large"
	WorkerSizeOptionsLargeV3          WorkerSizeOptions = "LargeV3"
	WorkerSizeOptionsMedium           WorkerSizeOptions = "Medium"
	WorkerSizeOptionsMediumV3         WorkerSizeOptions = "MediumV3"
	WorkerSizeOptionsNestedSmall      WorkerSizeOptions = "NestedSmall"
	WorkerSizeOptionsNestedSmallLinux WorkerSizeOptions = "NestedSmallLinux"
	WorkerSizeOptionsSmall            WorkerSizeOptions = "Small"
	WorkerSizeOptionsSmallV3          WorkerSizeOptions = "SmallV3"
)

func PossibleWorkerSizeOptionsValues

func PossibleWorkerSizeOptionsValues() []WorkerSizeOptions

PossibleWorkerSizeOptionsValues returns the possible values for the WorkerSizeOptions const type.

type Workflow

type Workflow struct {
	// Managed service identity.
	Identity *ManagedServiceIdentity

	// The resource location.
	Location *string

	// The workflow properties.
	Properties *WorkflowProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

Workflow - The workflow type.

func (Workflow) MarshalJSON

func (w Workflow) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Workflow.

func (*Workflow) UnmarshalJSON

func (w *Workflow) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Workflow.

type WorkflowArtifacts added in v2.1.0

type WorkflowArtifacts struct {
	// Application settings of the workflow.
	AppSettings any

	// Files of the app.
	Files map[string]any

	// Files of the app to delete.
	FilesToDelete []*string
}

WorkflowArtifacts - The workflow filter.

func (WorkflowArtifacts) MarshalJSON added in v2.1.0

func (w WorkflowArtifacts) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowArtifacts.

func (*WorkflowArtifacts) UnmarshalJSON added in v2.1.0

func (w *WorkflowArtifacts) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowArtifacts.

type WorkflowEnvelope added in v2.1.0

type WorkflowEnvelope struct {
	// The resource kind.
	Kind *string

	// The resource location.
	Location *string

	// Additional workflow properties.
	Properties *WorkflowEnvelopeProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowEnvelope - Workflow properties definition.

func (WorkflowEnvelope) MarshalJSON added in v2.1.0

func (w WorkflowEnvelope) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowEnvelope.

func (*WorkflowEnvelope) UnmarshalJSON added in v2.1.0

func (w *WorkflowEnvelope) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowEnvelope.

type WorkflowEnvelopeCollection added in v2.1.0

type WorkflowEnvelopeCollection struct {
	// REQUIRED; Collection of resources.
	Value []*WorkflowEnvelope

	// READ-ONLY; Link to next page of resources.
	NextLink *string
}

WorkflowEnvelopeCollection - Collection of Kudu workflow information elements.

func (WorkflowEnvelopeCollection) MarshalJSON added in v2.1.0

func (w WorkflowEnvelopeCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowEnvelopeCollection.

func (*WorkflowEnvelopeCollection) UnmarshalJSON added in v2.1.0

func (w *WorkflowEnvelopeCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowEnvelopeCollection.

type WorkflowEnvelopeProperties added in v2.1.0

type WorkflowEnvelopeProperties struct {
	// Gets or sets the files.
	Files map[string]any

	// Gets or sets the state of the workflow.
	FlowState *WorkflowState

	// Gets or sets workflow health.
	Health *WorkflowHealth
}

WorkflowEnvelopeProperties - Additional workflow properties.

func (WorkflowEnvelopeProperties) MarshalJSON added in v2.1.0

func (w WorkflowEnvelopeProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowEnvelopeProperties.

func (*WorkflowEnvelopeProperties) UnmarshalJSON added in v2.1.0

func (w *WorkflowEnvelopeProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowEnvelopeProperties.

type WorkflowFilter

type WorkflowFilter struct {
	// The state of workflows.
	State *WorkflowState
}

WorkflowFilter - The workflow filter.

func (WorkflowFilter) MarshalJSON

func (w WorkflowFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowFilter.

func (*WorkflowFilter) UnmarshalJSON

func (w *WorkflowFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowFilter.

type WorkflowHealth added in v2.1.0

type WorkflowHealth struct {
	// REQUIRED; Gets or sets the workflow health state.
	State *WorkflowHealthState

	// Gets or sets the workflow error.
	Error *ErrorEntity
}

WorkflowHealth - Represents the workflow health.

func (WorkflowHealth) MarshalJSON added in v2.1.0

func (w WorkflowHealth) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowHealth.

func (*WorkflowHealth) UnmarshalJSON added in v2.1.0

func (w *WorkflowHealth) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowHealth.

type WorkflowHealthState added in v2.1.0

type WorkflowHealthState string

WorkflowHealthState - Gets or sets the workflow health state.

const (
	WorkflowHealthStateHealthy      WorkflowHealthState = "Healthy"
	WorkflowHealthStateNotSpecified WorkflowHealthState = "NotSpecified"
	WorkflowHealthStateUnhealthy    WorkflowHealthState = "Unhealthy"
	WorkflowHealthStateUnknown      WorkflowHealthState = "Unknown"
)

func PossibleWorkflowHealthStateValues added in v2.1.0

func PossibleWorkflowHealthStateValues() []WorkflowHealthState

PossibleWorkflowHealthStateValues returns the possible values for the WorkflowHealthState const type.

type WorkflowListResult

type WorkflowListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of workflows.
	Value []*Workflow
}

WorkflowListResult - The list of workflows.

func (WorkflowListResult) MarshalJSON

func (w WorkflowListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowListResult.

func (*WorkflowListResult) UnmarshalJSON

func (w *WorkflowListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowListResult.

type WorkflowOutputParameter

type WorkflowOutputParameter struct {
	// The description.
	Description *string

	// The metadata.
	Metadata any

	// The type.
	Type *ParameterType

	// The value.
	Value any

	// READ-ONLY; Gets the error.
	Error any
}

WorkflowOutputParameter - The workflow output parameter.

func (WorkflowOutputParameter) MarshalJSON

func (w WorkflowOutputParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowOutputParameter.

func (*WorkflowOutputParameter) UnmarshalJSON

func (w *WorkflowOutputParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowOutputParameter.

type WorkflowParameter

type WorkflowParameter struct {
	// The description.
	Description *string

	// The metadata.
	Metadata any

	// The type.
	Type *ParameterType

	// The value.
	Value any
}

WorkflowParameter - The workflow parameters.

func (WorkflowParameter) MarshalJSON

func (w WorkflowParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowParameter.

func (*WorkflowParameter) UnmarshalJSON

func (w *WorkflowParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowParameter.

type WorkflowProperties

type WorkflowProperties struct {
	// The access control configuration.
	AccessControl *FlowAccessControlConfiguration

	// The definition.
	Definition any

	// The endpoints configuration.
	EndpointsConfiguration *FlowEndpointsConfiguration

	// The integration account.
	IntegrationAccount *ResourceReference

	// The integration service environment.
	IntegrationServiceEnvironment *ResourceReference

	// The workflow kind.
	Kind *Kind

	// The parameters.
	Parameters map[string]*WorkflowParameter

	// The state.
	State *WorkflowState

	// READ-ONLY; Gets the access endpoint.
	AccessEndpoint *string

	// READ-ONLY; Gets the changed time.
	ChangedTime *time.Time

	// READ-ONLY; Gets the created time.
	CreatedTime *time.Time

	// READ-ONLY; Gets the provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// READ-ONLY; The sku.
	SKU *WorkflowSKU

	// READ-ONLY; Gets the version.
	Version *string
}

WorkflowProperties - The workflow properties.

func (WorkflowProperties) MarshalJSON

func (w WorkflowProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowProperties.

func (*WorkflowProperties) UnmarshalJSON

func (w *WorkflowProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowProperties.

type WorkflowProvisioningState

type WorkflowProvisioningState string

WorkflowProvisioningState - The workflow provisioning state.

const (
	WorkflowProvisioningStateAccepted      WorkflowProvisioningState = "Accepted"
	WorkflowProvisioningStateCanceled      WorkflowProvisioningState = "Canceled"
	WorkflowProvisioningStateCompleted     WorkflowProvisioningState = "Completed"
	WorkflowProvisioningStateCreated       WorkflowProvisioningState = "Created"
	WorkflowProvisioningStateCreating      WorkflowProvisioningState = "Creating"
	WorkflowProvisioningStateDeleted       WorkflowProvisioningState = "Deleted"
	WorkflowProvisioningStateDeleting      WorkflowProvisioningState = "Deleting"
	WorkflowProvisioningStateFailed        WorkflowProvisioningState = "Failed"
	WorkflowProvisioningStateInProgress    WorkflowProvisioningState = "InProgress"
	WorkflowProvisioningStateMoving        WorkflowProvisioningState = "Moving"
	WorkflowProvisioningStateNotSpecified  WorkflowProvisioningState = "NotSpecified"
	WorkflowProvisioningStatePending       WorkflowProvisioningState = "Pending"
	WorkflowProvisioningStateReady         WorkflowProvisioningState = "Ready"
	WorkflowProvisioningStateRegistered    WorkflowProvisioningState = "Registered"
	WorkflowProvisioningStateRegistering   WorkflowProvisioningState = "Registering"
	WorkflowProvisioningStateRenewing      WorkflowProvisioningState = "Renewing"
	WorkflowProvisioningStateRunning       WorkflowProvisioningState = "Running"
	WorkflowProvisioningStateSucceeded     WorkflowProvisioningState = "Succeeded"
	WorkflowProvisioningStateUnregistered  WorkflowProvisioningState = "Unregistered"
	WorkflowProvisioningStateUnregistering WorkflowProvisioningState = "Unregistering"
	WorkflowProvisioningStateUpdating      WorkflowProvisioningState = "Updating"
	WorkflowProvisioningStateWaiting       WorkflowProvisioningState = "Waiting"
)

func PossibleWorkflowProvisioningStateValues

func PossibleWorkflowProvisioningStateValues() []WorkflowProvisioningState

PossibleWorkflowProvisioningStateValues returns the possible values for the WorkflowProvisioningState const type.

type WorkflowResource

type WorkflowResource struct {
	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowResource - The base resource type.

func (WorkflowResource) MarshalJSON

func (w WorkflowResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowResource.

func (*WorkflowResource) UnmarshalJSON

func (w *WorkflowResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowResource.

type WorkflowRun

type WorkflowRun struct {
	// The workflow run properties.
	Properties *WorkflowRunProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow run name.
	Name *string

	// READ-ONLY; Gets the workflow run type.
	Type *string
}

WorkflowRun - The workflow run.

func (WorkflowRun) MarshalJSON

func (w WorkflowRun) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRun.

func (*WorkflowRun) UnmarshalJSON

func (w *WorkflowRun) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRun.

type WorkflowRunAction

type WorkflowRunAction struct {
	// The workflow run action properties.
	Properties *WorkflowRunActionProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow run action name.
	Name *string

	// READ-ONLY; Gets the workflow run action type.
	Type *string
}

WorkflowRunAction - The workflow run action.

func (WorkflowRunAction) MarshalJSON

func (w WorkflowRunAction) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunAction.

func (*WorkflowRunAction) UnmarshalJSON

func (w *WorkflowRunAction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunAction.

type WorkflowRunActionFilter

type WorkflowRunActionFilter struct {
	// The status of workflow run action.
	Status *WorkflowStatus
}

WorkflowRunActionFilter - The workflow run action filter.

func (WorkflowRunActionFilter) MarshalJSON

func (w WorkflowRunActionFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionFilter.

func (*WorkflowRunActionFilter) UnmarshalJSON

func (w *WorkflowRunActionFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionFilter.

type WorkflowRunActionListResult

type WorkflowRunActionListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow run actions.
	Value []*WorkflowRunAction
}

WorkflowRunActionListResult - The list of workflow run actions.

func (WorkflowRunActionListResult) MarshalJSON

func (w WorkflowRunActionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionListResult.

func (*WorkflowRunActionListResult) UnmarshalJSON

func (w *WorkflowRunActionListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionListResult.

type WorkflowRunActionProperties

type WorkflowRunActionProperties struct {
	// The correlation properties.
	Correlation *RunActionCorrelation

	// Gets the retry histories.
	RetryHistory []*RetryHistory

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowRunActionProperties - The workflow run action properties.

func (WorkflowRunActionProperties) MarshalJSON

func (w WorkflowRunActionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionProperties.

func (*WorkflowRunActionProperties) UnmarshalJSON

func (w *WorkflowRunActionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionProperties.

type WorkflowRunActionRepetitionDefinition

type WorkflowRunActionRepetitionDefinition struct {
	// REQUIRED; The workflow run action repetition properties definition.
	Properties *WorkflowRunActionRepetitionProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowRunActionRepetitionDefinition - The workflow run action repetition definition.

func (WorkflowRunActionRepetitionDefinition) MarshalJSON

func (w WorkflowRunActionRepetitionDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionRepetitionDefinition.

func (*WorkflowRunActionRepetitionDefinition) UnmarshalJSON

func (w *WorkflowRunActionRepetitionDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionRepetitionDefinition.

type WorkflowRunActionRepetitionDefinitionCollection

type WorkflowRunActionRepetitionDefinitionCollection struct {
	// The link used to get the next page of recommendations.
	NextLink *string
	Value    []*WorkflowRunActionRepetitionDefinition
}

WorkflowRunActionRepetitionDefinitionCollection - A collection of workflow run action repetitions.

func (WorkflowRunActionRepetitionDefinitionCollection) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionRepetitionDefinitionCollection.

func (*WorkflowRunActionRepetitionDefinitionCollection) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionRepetitionDefinitionCollection.

type WorkflowRunActionRepetitionProperties

type WorkflowRunActionRepetitionProperties struct {
	// The workflow scope repetition code.
	Code *string

	// The correlation properties.
	Correlation *RunActionCorrelation

	// The end time of the workflow scope repetition.
	EndTime *time.Time

	// Anything
	Error          any
	IterationCount *int32

	// The repetition indexes.
	RepetitionIndexes []*RepetitionIndex

	// Gets the retry histories.
	RetryHistory []*RetryHistory

	// The start time of the workflow scope repetition.
	StartTime *time.Time

	// The status of the workflow scope repetition.
	Status *WorkflowStatus

	// READ-ONLY; Gets the inputs.
	Inputs any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the outputs.
	Outputs any

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowRunActionRepetitionProperties - The workflow run action repetition properties definition.

func (WorkflowRunActionRepetitionProperties) MarshalJSON

func (w WorkflowRunActionRepetitionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionRepetitionProperties.

func (*WorkflowRunActionRepetitionProperties) UnmarshalJSON

func (w *WorkflowRunActionRepetitionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionRepetitionProperties.

type WorkflowRunActionRepetitionsClient

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

WorkflowRunActionRepetitionsClient contains the methods for the WorkflowRunActionRepetitions group. Don't use this type directly, use NewWorkflowRunActionRepetitionsClient() instead.

func NewWorkflowRunActionRepetitionsClient

func NewWorkflowRunActionRepetitionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionRepetitionsClient, error)

NewWorkflowRunActionRepetitionsClient creates a new instance of WorkflowRunActionRepetitionsClient 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 (*WorkflowRunActionRepetitionsClient) Get

func (client *WorkflowRunActionRepetitionsClient) Get(ctx context.Context, resourceGroupName string, name string, workflowName string, runName string, actionName string, repetitionName string, options *WorkflowRunActionRepetitionsClientGetOptions) (WorkflowRunActionRepetitionsClientGetResponse, error)

Get - Get a workflow run action repetition. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionRepetitions_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowRunActionRepetitionsClient().Get(ctx, "testResourceGroup", "test-name", "testFlow", "08586776228332053161046300351", "testAction", "000001", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowRunActionRepetitionDefinition = armappservice.WorkflowRunActionRepetitionDefinition{
// 	Name: to.Ptr("000001"),
// 	Type: to.Ptr("/workflows/runs/actions/repetitions"),
// 	ID: to.Ptr("/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001"),
// 	Properties: &armappservice.WorkflowRunActionRepetitionProperties{
// 		Code: to.Ptr("OK"),
// 		Correlation: &armappservice.RunActionCorrelation{
// 			ClientTrackingID: to.Ptr("08586775357427610445444523191"),
// 			ActionTrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
// 		},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.101Z"); return t}()),
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.092Z"); return t}()),
// 		Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
// 		InputsLink: &armappservice.ContentLink{
// 			ContentHash: &armappservice.ContentHash{
// 				Algorithm: to.Ptr("md5"),
// 				Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
// 			},
// 			ContentSize: to.Ptr[int64](6),
// 			ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
// 			URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M"),
// 		},
// 		OutputsLink: &armappservice.ContentLink{
// 			ContentHash: &armappservice.ContentHash{
// 				Algorithm: to.Ptr("md5"),
// 				Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
// 			},
// 			ContentSize: to.Ptr[int64](6),
// 			ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
// 			URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw"),
// 		},
// 		TrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
// 		RepetitionIndexes: []*armappservice.RepetitionIndex{
// 			{
// 				ItemIndex: to.Ptr[int32](1),
// 				ScopeName: to.Ptr("For_each"),
// 		}},
// 	},
// }
Output:

func (*WorkflowRunActionRepetitionsClient) NewListExpressionTracesPager

func (client *WorkflowRunActionRepetitionsClient) NewListExpressionTracesPager(resourceGroupName string, name string, workflowName string, runName string, actionName string, repetitionName string, options *WorkflowRunActionRepetitionsClientListExpressionTracesOptions) *runtime.Pager[WorkflowRunActionRepetitionsClientListExpressionTracesResponse]

NewListExpressionTracesPager - Lists a workflow run expression trace.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionRepetitionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListExpressionTracesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunActionRepetitionsClient().NewListExpressionTracesPager("testResourceGroup", "test-name", "testFlow", "08586776228332053161046300351", "testAction", "000001", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Inputs {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ExpressionTraces = armappservice.ExpressionTraces{
	// 	Inputs: []*armappservice.ExpressionRoot{
	// 		{
	// 			Text: to.Ptr("items('For_each')?['OccuringLocation']?['Environment']"),
	// 			Value: "PROD",
	// 			Path: to.Ptr(""),
	// 	}},
	// }
}
Output:

func (*WorkflowRunActionRepetitionsClient) NewListPager

NewListPager - Get all of a workflow run action repetitions.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionRepetitions_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunActionRepetitionsClient().NewListPager("testResourceGroup", "test-name", "testFlow", "08586776228332053161046300351", "testAction", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowRunActionRepetitionDefinitionCollection = armappservice.WorkflowRunActionRepetitionDefinitionCollection{
	// 	Value: []*armappservice.WorkflowRunActionRepetitionDefinition{
	// 		{
	// 			Name: to.Ptr("000000"),
	// 			Type: to.Ptr("/workflows/runs/actions/repetitions"),
	// 			ID: to.Ptr("/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000"),
	// 			Properties: &armappservice.WorkflowRunActionRepetitionProperties{
	// 				Code: to.Ptr("OK"),
	// 				Correlation: &armappservice.RunActionCorrelation{
	// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
	// 					ActionTrackingID: to.Ptr("0d8152bb-e198-44a9-bde8-5138eea16dd4"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.226Z"); return t}()),
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.217Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 				InputsLink: &armappservice.ContentLink{
	// 					ContentHash: &armappservice.ContentHash{
	// 						Algorithm: to.Ptr("md5"),
	// 						Value: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
	// 					},
	// 					ContentSize: to.Ptr[int64](8),
	// 					ContentVersion: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
	// 					URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA"),
	// 				},
	// 				OutputsLink: &armappservice.ContentLink{
	// 					ContentHash: &armappservice.ContentHash{
	// 						Algorithm: to.Ptr("md5"),
	// 						Value: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
	// 					},
	// 					ContentSize: to.Ptr[int64](8),
	// 					ContentVersion: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
	// 					URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0"),
	// 				},
	// 				TrackingID: to.Ptr("0d8152bb-e198-44a9-bde8-5138eea16dd4"),
	// 				RepetitionIndexes: []*armappservice.RepetitionIndex{
	// 					{
	// 						ItemIndex: to.Ptr[int32](0),
	// 						ScopeName: to.Ptr("For_each"),
	// 				}},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("000001"),
	// 			Type: to.Ptr("/workflows/runs/actions/repetitions"),
	// 			ID: to.Ptr("/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001"),
	// 			Properties: &armappservice.WorkflowRunActionRepetitionProperties{
	// 				Code: to.Ptr("OK"),
	// 				Correlation: &armappservice.RunActionCorrelation{
	// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
	// 					ActionTrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.101Z"); return t}()),
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.092Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 				InputsLink: &armappservice.ContentLink{
	// 					ContentHash: &armappservice.ContentHash{
	// 						Algorithm: to.Ptr("md5"),
	// 						Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 					},
	// 					ContentSize: to.Ptr[int64](6),
	// 					ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 					URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M"),
	// 				},
	// 				OutputsLink: &armappservice.ContentLink{
	// 					ContentHash: &armappservice.ContentHash{
	// 						Algorithm: to.Ptr("md5"),
	// 						Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 					},
	// 					ContentSize: to.Ptr[int64](6),
	// 					ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 					URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw"),
	// 				},
	// 				TrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
	// 				RepetitionIndexes: []*armappservice.RepetitionIndex{
	// 					{
	// 						ItemIndex: to.Ptr[int32](1),
	// 						ScopeName: to.Ptr("For_each"),
	// 				}},
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowRunActionRepetitionsClientGetOptions

type WorkflowRunActionRepetitionsClientGetOptions struct {
}

WorkflowRunActionRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.Get method.

type WorkflowRunActionRepetitionsClientGetResponse

type WorkflowRunActionRepetitionsClientGetResponse struct {
	// The workflow run action repetition definition.
	WorkflowRunActionRepetitionDefinition
}

WorkflowRunActionRepetitionsClientGetResponse contains the response from method WorkflowRunActionRepetitionsClient.Get.

type WorkflowRunActionRepetitionsClientListExpressionTracesOptions

type WorkflowRunActionRepetitionsClientListExpressionTracesOptions struct {
}

WorkflowRunActionRepetitionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListExpressionTracesPager method.

type WorkflowRunActionRepetitionsClientListExpressionTracesResponse

type WorkflowRunActionRepetitionsClientListExpressionTracesResponse struct {
	// The expression traces.
	ExpressionTraces
}

WorkflowRunActionRepetitionsClientListExpressionTracesResponse contains the response from method WorkflowRunActionRepetitionsClient.NewListExpressionTracesPager.

type WorkflowRunActionRepetitionsClientListOptions

type WorkflowRunActionRepetitionsClientListOptions struct {
}

WorkflowRunActionRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListPager method.

type WorkflowRunActionRepetitionsClientListResponse

type WorkflowRunActionRepetitionsClientListResponse struct {
	// A collection of workflow run action repetitions.
	WorkflowRunActionRepetitionDefinitionCollection
}

WorkflowRunActionRepetitionsClientListResponse contains the response from method WorkflowRunActionRepetitionsClient.NewListPager.

type WorkflowRunActionRepetitionsRequestHistoriesClient

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

WorkflowRunActionRepetitionsRequestHistoriesClient contains the methods for the WorkflowRunActionRepetitionsRequestHistories group. Don't use this type directly, use NewWorkflowRunActionRepetitionsRequestHistoriesClient() instead.

func NewWorkflowRunActionRepetitionsRequestHistoriesClient

func NewWorkflowRunActionRepetitionsRequestHistoriesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionRepetitionsRequestHistoriesClient, error)

NewWorkflowRunActionRepetitionsRequestHistoriesClient creates a new instance of WorkflowRunActionRepetitionsRequestHistoriesClient 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 (*WorkflowRunActionRepetitionsRequestHistoriesClient) Get

Get - Gets a workflow run repetition request history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • requestHistoryName - The request history name.
  • options - WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowRunActionRepetitionsRequestHistoriesClient().Get(ctx, "test-resource-group", "test-name", "test-workflow", "08586776228332053161046300351", "HTTP_Webhook", "000001", "08586611142732800686", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RequestHistory = armappservice.RequestHistory{
// 	Name: to.Ptr("08586611142732800686"),
// 	Type: to.Ptr("/workflows/runs/actions/requestHistories"),
// 	ID: to.Ptr("/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686"),
// 	Properties: &armappservice.RequestHistoryProperties{
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:52.186Z"); return t}()),
// 		Response: &armappservice.Response{
// 			BodyLink: &armappservice.ContentLink{
// 				ContentHash: &armappservice.ContentHash{
// 					Algorithm: to.Ptr("md5"),
// 					Value: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
// 				},
// 				ContentSize: to.Ptr[int64](137),
// 				ContentVersion: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
// 				URI: to.Ptr("https://tempuri.org"),
// 			},
// 			Headers: map[string]any{
// 				"Cache-Control": "private",
// 				"Date": "Thu, 25 Oct 2018 18:36:51 GMT",
// 				"Location": "http://www.bing.com/",
// 				"Server": "Microsoft-IIS/10.0",
// 				"X-AspNet-Version": "4.0.30319",
// 				"X-Powered-By": "ASP.NET",
// 			},
// 			StatusCode: to.Ptr[int32](302),
// 		},
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:51.920Z"); return t}()),
// 		Request: &armappservice.Request{
// 			Method: to.Ptr("GET"),
// 			Headers: map[string]any{
// 				"Accept-Language": "en-US",
// 				"User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
// 				"x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8",
// 				"x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
// 				"x-ms-client-tracking-id": "08586611142736787787412824395CU21",
// 				"x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
// 				"x-ms-execution-location": "brazilsouth",
// 				"x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
// 				"x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
// 				"x-ms-workflow-name": "test-workflow",
// 				"x-ms-workflow-operation-name": "HTTP_Webhook",
// 				"x-ms-workflow-resourcegroup-name": "test-resource-group",
// 				"x-ms-workflow-run-id": "08586611142736787787412824395CU21",
// 				"x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
// 				"x-ms-workflow-subscription-capacity": "Large",
// 				"x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
// 				"x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
// 				"x-ms-workflow-version": "08586611142904036539",
// 			},
// 			URI: to.Ptr("http://tempuri.org"),
// 		},
// 	},
// }
Output:

func (*WorkflowRunActionRepetitionsRequestHistoriesClient) NewListPager

NewListPager - List a workflow run repetition request history.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionRepetitionsRequestHistoriesClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunActionRepetitionsRequestHistoriesClient().NewListPager("test-resource-group", "test-name", "test-workflow", "08586776228332053161046300351", "HTTP_Webhook", "000001", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.RequestHistoryListResult = armappservice.RequestHistoryListResult{
	// 	Value: []*armappservice.RequestHistory{
	// 		{
	// 			Name: to.Ptr("08586611142732800686"),
	// 			Type: to.Ptr("/workflows/runs/actions/requestHistories"),
	// 			ID: to.Ptr("/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686"),
	// 			Properties: &armappservice.RequestHistoryProperties{
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:52.186Z"); return t}()),
	// 				Response: &armappservice.Response{
	// 					BodyLink: &armappservice.ContentLink{
	// 						ContentHash: &armappservice.ContentHash{
	// 							Algorithm: to.Ptr("md5"),
	// 							Value: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
	// 						},
	// 						ContentSize: to.Ptr[int64](137),
	// 						ContentVersion: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
	// 						URI: to.Ptr("https://tempuri.org"),
	// 					},
	// 					Headers: map[string]any{
	// 						"Cache-Control": "private",
	// 						"Date": "Thu, 25 Oct 2018 18:36:51 GMT",
	// 						"Location": "http://www.bing.com/",
	// 						"Server": "Microsoft-IIS/10.0",
	// 						"X-AspNet-Version": "4.0.30319",
	// 						"X-Powered-By": "ASP.NET",
	// 					},
	// 					StatusCode: to.Ptr[int32](302),
	// 				},
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:51.920Z"); return t}()),
	// 				Request: &armappservice.Request{
	// 					Method: to.Ptr("GET"),
	// 					Headers: map[string]any{
	// 						"Accept-Language": "en-US",
	// 						"User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
	// 						"x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8",
	// 						"x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 						"x-ms-client-tracking-id": "08586611142736787787412824395CU21",
	// 						"x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 						"x-ms-execution-location": "brazilsouth",
	// 						"x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 						"x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
	// 						"x-ms-workflow-name": "test-workflow",
	// 						"x-ms-workflow-operation-name": "HTTP_Webhook",
	// 						"x-ms-workflow-resourcegroup-name": "test-resource-group",
	// 						"x-ms-workflow-run-id": "08586611142736787787412824395CU21",
	// 						"x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
	// 						"x-ms-workflow-subscription-capacity": "Large",
	// 						"x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
	// 						"x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
	// 						"x-ms-workflow-version": "08586611142904036539",
	// 					},
	// 					URI: to.Ptr("http://tempuri.org"),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions

type WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions struct {
}

WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.Get method.

type WorkflowRunActionRepetitionsRequestHistoriesClientGetResponse

type WorkflowRunActionRepetitionsRequestHistoriesClientGetResponse struct {
	// The request history.
	RequestHistory
}

WorkflowRunActionRepetitionsRequestHistoriesClientGetResponse contains the response from method WorkflowRunActionRepetitionsRequestHistoriesClient.Get.

type WorkflowRunActionRepetitionsRequestHistoriesClientListOptions

type WorkflowRunActionRepetitionsRequestHistoriesClientListOptions struct {
}

WorkflowRunActionRepetitionsRequestHistoriesClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.NewListPager method.

type WorkflowRunActionRepetitionsRequestHistoriesClientListResponse

type WorkflowRunActionRepetitionsRequestHistoriesClientListResponse struct {
	// The list of workflow request histories.
	RequestHistoryListResult
}

WorkflowRunActionRepetitionsRequestHistoriesClientListResponse contains the response from method WorkflowRunActionRepetitionsRequestHistoriesClient.NewListPager.

type WorkflowRunActionScopeRepetitionsClient

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

WorkflowRunActionScopeRepetitionsClient contains the methods for the WorkflowRunActionScopeRepetitions group. Don't use this type directly, use NewWorkflowRunActionScopeRepetitionsClient() instead.

func NewWorkflowRunActionScopeRepetitionsClient

func NewWorkflowRunActionScopeRepetitionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionScopeRepetitionsClient, error)

NewWorkflowRunActionScopeRepetitionsClient creates a new instance of WorkflowRunActionScopeRepetitionsClient 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 (*WorkflowRunActionScopeRepetitionsClient) Get

Get - Get a workflow run action scoped repetition. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionScopeRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionScopeRepetitions_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowRunActionScopeRepetitionsClient().Get(ctx, "testResourceGroup", "test-name", "testFlow", "08586776228332053161046300351", "for_each", "000000", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowRunActionRepetitionDefinition = armappservice.WorkflowRunActionRepetitionDefinition{
// 	Name: to.Ptr("000000"),
// 	Type: to.Ptr("/workflows/runs/actions/scopeRepetitions"),
// 	ID: to.Ptr("/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000"),
// 	Properties: &armappservice.WorkflowRunActionRepetitionProperties{
// 		Code: to.Ptr("NotSpecified"),
// 		Correlation: &armappservice.RunActionCorrelation{
// 			ClientTrackingID: to.Ptr("08586775357427610445444523191"),
// 			ActionTrackingID: to.Ptr("5c0e7c24-4891-44e8-b631-8084c5531dd5"),
// 		},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.624Z"); return t}()),
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.209Z"); return t}()),
// 		Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
// 		RepetitionIndexes: []*armappservice.RepetitionIndex{
// 			{
// 				ItemIndex: to.Ptr[int32](0),
// 				ScopeName: to.Ptr("For_each"),
// 		}},
// 	},
// }
Output:

func (*WorkflowRunActionScopeRepetitionsClient) NewListPager

NewListPager - List the workflow run action scoped repetitions.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionScopeRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActionScopeRepetitions_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunActionScopeRepetitionsClient().NewListPager("testResourceGroup", "test-name", "testFlow", "08586776228332053161046300351", "for_each", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowRunActionRepetitionDefinitionCollection = armappservice.WorkflowRunActionRepetitionDefinitionCollection{
	// 	Value: []*armappservice.WorkflowRunActionRepetitionDefinition{
	// 		{
	// 			Name: to.Ptr("000000"),
	// 			Type: to.Ptr("/workflows/runs/actions/scopeRepetitions"),
	// 			ID: to.Ptr("/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000"),
	// 			Properties: &armappservice.WorkflowRunActionRepetitionProperties{
	// 				Code: to.Ptr("NotSpecified"),
	// 				Correlation: &armappservice.RunActionCorrelation{
	// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
	// 					ActionTrackingID: to.Ptr("5c0e7c24-4891-44e8-b631-8084c5531dd5"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.624Z"); return t}()),
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.209Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 				RepetitionIndexes: []*armappservice.RepetitionIndex{
	// 					{
	// 						ItemIndex: to.Ptr[int32](0),
	// 						ScopeName: to.Ptr("For_each"),
	// 				}},
	// 			},
	// 		},
	// 		{
	// 			Name: to.Ptr("000001"),
	// 			Type: to.Ptr("/workflows/runs/actions/scopeRepetitions"),
	// 			ID: to.Ptr("/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000001"),
	// 			Properties: &armappservice.WorkflowRunActionRepetitionProperties{
	// 				Code: to.Ptr("NotSpecified"),
	// 				Correlation: &armappservice.RunActionCorrelation{
	// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
	// 					ActionTrackingID: to.Ptr("1682d0bd-7189-4478-b333-fe364a80bd69"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.227Z"); return t}()),
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.068Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 				RepetitionIndexes: []*armappservice.RepetitionIndex{
	// 					{
	// 						ItemIndex: to.Ptr[int32](1),
	// 						ScopeName: to.Ptr("For_each"),
	// 				}},
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowRunActionScopeRepetitionsClientGetOptions

type WorkflowRunActionScopeRepetitionsClientGetOptions struct {
}

WorkflowRunActionScopeRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.Get method.

type WorkflowRunActionScopeRepetitionsClientGetResponse

type WorkflowRunActionScopeRepetitionsClientGetResponse struct {
	// The workflow run action repetition definition.
	WorkflowRunActionRepetitionDefinition
}

WorkflowRunActionScopeRepetitionsClientGetResponse contains the response from method WorkflowRunActionScopeRepetitionsClient.Get.

type WorkflowRunActionScopeRepetitionsClientListOptions

type WorkflowRunActionScopeRepetitionsClientListOptions struct {
}

WorkflowRunActionScopeRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.NewListPager method.

type WorkflowRunActionScopeRepetitionsClientListResponse

type WorkflowRunActionScopeRepetitionsClientListResponse struct {
	// A collection of workflow run action repetitions.
	WorkflowRunActionRepetitionDefinitionCollection
}

WorkflowRunActionScopeRepetitionsClientListResponse contains the response from method WorkflowRunActionScopeRepetitionsClient.NewListPager.

type WorkflowRunActionsClient

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

WorkflowRunActionsClient contains the methods for the WorkflowRunActions group. Don't use this type directly, use NewWorkflowRunActionsClient() instead.

func NewWorkflowRunActionsClient

func NewWorkflowRunActionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionsClient, error)

NewWorkflowRunActionsClient creates a new instance of WorkflowRunActionsClient 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 (*WorkflowRunActionsClient) Get

func (client *WorkflowRunActionsClient) Get(ctx context.Context, resourceGroupName string, name string, workflowName string, runName string, actionName string, options *WorkflowRunActionsClientGetOptions) (WorkflowRunActionsClientGetResponse, error)

Get - Gets a workflow run action. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionsClientGetOptions contains the optional parameters for the WorkflowRunActionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActions_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowRunActionsClient().Get(ctx, "test-resource-group", "test-name", "test-workflow", "08586676746934337772206998657CU22", "HTTP", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowRunAction = armappservice.WorkflowRunAction{
// 	ID: to.Ptr("/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP"),
// 	Name: to.Ptr("HTTP"),
// 	Type: to.Ptr("/workflows/runs/actions"),
// 	Properties: &armappservice.WorkflowRunActionProperties{
// 		Code: to.Ptr("OK"),
// 		Correlation: &armappservice.RunActionCorrelation{
// 			ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
// 			ActionTrackingID: to.Ptr("56063357-45dd-4278-9be5-8220ce0cc9ca"),
// 		},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.545Z"); return t}()),
// 		InputsLink: &armappservice.ContentLink{
// 			ContentSize: to.Ptr[int64](138),
// 			URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co"),
// 		},
// 		OutputsLink: &armappservice.ContentLink{
// 			ContentSize: to.Ptr[int64](15660),
// 			URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0"),
// 		},
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.305Z"); return t}()),
// 		Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
// 	},
// }
Output:

func (*WorkflowRunActionsClient) NewListExpressionTracesPager

func (client *WorkflowRunActionsClient) NewListExpressionTracesPager(resourceGroupName string, name string, workflowName string, runName string, actionName string, options *WorkflowRunActionsClientListExpressionTracesOptions) *runtime.Pager[WorkflowRunActionsClientListExpressionTracesResponse]

NewListExpressionTracesPager - Lists a workflow run expression trace.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionsClient.NewListExpressionTracesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActions_ListExpressionTraces.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunActionsClient().NewListExpressionTracesPager("testResourceGroup", "test-name", "testFlow", "08586776228332053161046300351", "testAction", nil)
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Inputs {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.ExpressionTraces = armappservice.ExpressionTraces{
	// 	Inputs: []*armappservice.ExpressionRoot{
	// 		{
	// 			Text: to.Ptr("add(4, 4)"),
	// 			Value: float64(8),
	// 			Path: to.Ptr(""),
	// 	}},
	// }
}
Output:

func (*WorkflowRunActionsClient) NewListPager

func (client *WorkflowRunActionsClient) NewListPager(resourceGroupName string, name string, workflowName string, runName string, options *WorkflowRunActionsClientListOptions) *runtime.Pager[WorkflowRunActionsClientListResponse]

NewListPager - Gets a list of workflow run actions.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • options - WorkflowRunActionsClientListOptions contains the optional parameters for the WorkflowRunActionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRunActions_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunActionsClient().NewListPager("test-resource-group", "test-name", "test-workflow", "08586676746934337772206998657CU22", &armappservice.WorkflowRunActionsClientListOptions{Top: nil,
	Filter: nil,
})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowRunActionListResult = armappservice.WorkflowRunActionListResult{
	// 	Value: []*armappservice.WorkflowRunAction{
	// 		{
	// 			ID: to.Ptr("/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP"),
	// 			Name: to.Ptr("HTTP"),
	// 			Type: to.Ptr("/workflows/runs/actions"),
	// 			Properties: &armappservice.WorkflowRunActionProperties{
	// 				Code: to.Ptr("OK"),
	// 				Correlation: &armappservice.RunActionCorrelation{
	// 					ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 					ActionTrackingID: to.Ptr("56063357-45dd-4278-9be5-8220ce0cc9ca"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.545Z"); return t}()),
	// 				InputsLink: &armappservice.ContentLink{
	// 					ContentSize: to.Ptr[int64](138),
	// 					URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co"),
	// 				},
	// 				OutputsLink: &armappservice.ContentLink{
	// 					ContentSize: to.Ptr[int64](15660),
	// 					URI: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0"),
	// 				},
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.305Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowRunActionsClientGetOptions

type WorkflowRunActionsClientGetOptions struct {
}

WorkflowRunActionsClientGetOptions contains the optional parameters for the WorkflowRunActionsClient.Get method.

type WorkflowRunActionsClientGetResponse

type WorkflowRunActionsClientGetResponse struct {
	// The workflow run action.
	WorkflowRunAction
}

WorkflowRunActionsClientGetResponse contains the response from method WorkflowRunActionsClient.Get.

type WorkflowRunActionsClientListExpressionTracesOptions

type WorkflowRunActionsClientListExpressionTracesOptions struct {
}

WorkflowRunActionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionsClient.NewListExpressionTracesPager method.

type WorkflowRunActionsClientListExpressionTracesResponse

type WorkflowRunActionsClientListExpressionTracesResponse struct {
	// The expression traces.
	ExpressionTraces
}

WorkflowRunActionsClientListExpressionTracesResponse contains the response from method WorkflowRunActionsClient.NewListExpressionTracesPager.

type WorkflowRunActionsClientListOptions

type WorkflowRunActionsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: Status.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowRunActionsClientListOptions contains the optional parameters for the WorkflowRunActionsClient.NewListPager method.

type WorkflowRunActionsClientListResponse

type WorkflowRunActionsClientListResponse struct {
	// The list of workflow run actions.
	WorkflowRunActionListResult
}

WorkflowRunActionsClientListResponse contains the response from method WorkflowRunActionsClient.NewListPager.

type WorkflowRunFilter

type WorkflowRunFilter struct {
	// The status of workflow run.
	Status *WorkflowStatus
}

WorkflowRunFilter - The workflow run filter.

func (WorkflowRunFilter) MarshalJSON

func (w WorkflowRunFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunFilter.

func (*WorkflowRunFilter) UnmarshalJSON

func (w *WorkflowRunFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunFilter.

type WorkflowRunListResult

type WorkflowRunListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow runs.
	Value []*WorkflowRun
}

WorkflowRunListResult - The list of workflow runs.

func (WorkflowRunListResult) MarshalJSON

func (w WorkflowRunListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunListResult.

func (*WorkflowRunListResult) UnmarshalJSON

func (w *WorkflowRunListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunListResult.

type WorkflowRunProperties

type WorkflowRunProperties struct {
	// The run correlation.
	Correlation *Correlation

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the correlation id.
	CorrelationID *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; Gets the outputs.
	Outputs map[string]*WorkflowOutputParameter

	// READ-ONLY; Gets the response of the flow run.
	Response *WorkflowRunTrigger

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the fired trigger.
	Trigger *WorkflowRunTrigger

	// READ-ONLY; Gets the wait end time.
	WaitEndTime *time.Time

	// READ-ONLY; Gets the reference to workflow version.
	Workflow *ResourceReference
}

WorkflowRunProperties - The workflow run properties.

func (WorkflowRunProperties) MarshalJSON

func (w WorkflowRunProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunProperties.

func (*WorkflowRunProperties) UnmarshalJSON

func (w *WorkflowRunProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunProperties.

type WorkflowRunTrigger

type WorkflowRunTrigger struct {
	// The run correlation.
	Correlation *Correlation

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; Gets the inputs.
	Inputs any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the name.
	Name *string

	// READ-ONLY; Gets the outputs.
	Outputs any

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the scheduled time.
	ScheduledTime *time.Time

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowRunTrigger - The workflow run trigger.

func (WorkflowRunTrigger) MarshalJSON

func (w WorkflowRunTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunTrigger.

func (*WorkflowRunTrigger) UnmarshalJSON

func (w *WorkflowRunTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunTrigger.

type WorkflowRunsClient

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

WorkflowRunsClient contains the methods for the WorkflowRuns group. Don't use this type directly, use NewWorkflowRunsClient() instead.

func NewWorkflowRunsClient

func NewWorkflowRunsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunsClient, error)

NewWorkflowRunsClient creates a new instance of WorkflowRunsClient 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 (*WorkflowRunsClient) Cancel

func (client *WorkflowRunsClient) Cancel(ctx context.Context, resourceGroupName string, name string, workflowName string, runName string, options *WorkflowRunsClientCancelOptions) (WorkflowRunsClientCancelResponse, error)

Cancel - Cancels a workflow run. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • options - WorkflowRunsClientCancelOptions contains the optional parameters for the WorkflowRunsClient.Cancel method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRuns_Cancel.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWorkflowRunsClient().Cancel(ctx, "test-resource-group", "test-name", "test-workflow", "08586676746934337772206998657CU22", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WorkflowRunsClient) Get

func (client *WorkflowRunsClient) Get(ctx context.Context, resourceGroupName string, name string, workflowName string, runName string, options *WorkflowRunsClientGetOptions) (WorkflowRunsClientGetResponse, error)

Get - Gets a workflow run. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • options - WorkflowRunsClientGetOptions contains the optional parameters for the WorkflowRunsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRuns_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowRunsClient().Get(ctx, "test-resource-group", "test-name", "test-workflow", "08586676746934337772206998657CU22", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowRun = armappservice.WorkflowRun{
// 	ID: to.Ptr("/workflows/test-workflow/runs/08586676746934337772206998657CU22"),
// 	Name: to.Ptr("08586676746934337772206998657CU22"),
// 	Type: to.Ptr("workflows/runs"),
// 	Properties: &armappservice.WorkflowRunProperties{
// 		Correlation: &armappservice.Correlation{
// 			ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
// 		},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.577Z"); return t}()),
// 		Outputs: map[string]*armappservice.WorkflowOutputParameter{
// 		},
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
// 		Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
// 		Trigger: &armappservice.WorkflowRunTrigger{
// 			Name: to.Ptr("Recurrence"),
// 			Code: to.Ptr("OK"),
// 			Correlation: &armappservice.Correlation{
// 				ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
// 			},
// 			EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
// 			ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
// 			StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
// 			Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
// 		},
// 		WaitEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
// 		Workflow: &armappservice.ResourceReference{
// 			Name: to.Ptr("08586676754160363885"),
// 			Type: to.Ptr("workflows/versions"),
// 			ID: to.Ptr("/workflows/test-workflow/versions/08586676754160363885"),
// 		},
// 	},
// }
Output:

func (*WorkflowRunsClient) NewListPager

func (client *WorkflowRunsClient) NewListPager(resourceGroupName string, name string, workflowName string, options *WorkflowRunsClientListOptions) *runtime.Pager[WorkflowRunsClientListResponse]

NewListPager - Gets a list of workflow runs.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • options - WorkflowRunsClientListOptions contains the optional parameters for the WorkflowRunsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowRuns_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowRunsClient().NewListPager("test-resource-group", "test-name", "test-workflow", &armappservice.WorkflowRunsClientListOptions{Top: nil,
	Filter: nil,
})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowRunListResult = armappservice.WorkflowRunListResult{
	// 	Value: []*armappservice.WorkflowRun{
	// 		{
	// 			ID: to.Ptr("workflows/test-workflow/runs/08586676746934337772206998657CU22"),
	// 			Name: to.Ptr("08586676746934337772206998657CU22"),
	// 			Type: to.Ptr("workflows/runs"),
	// 			Properties: &armappservice.WorkflowRunProperties{
	// 				Correlation: &armappservice.Correlation{
	// 					ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.577Z"); return t}()),
	// 				Outputs: map[string]*armappservice.WorkflowOutputParameter{
	// 				},
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 				Trigger: &armappservice.WorkflowRunTrigger{
	// 					Name: to.Ptr("Recurrence"),
	// 					Code: to.Ptr("OK"),
	// 					Correlation: &armappservice.Correlation{
	// 						ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 					},
	// 					EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
	// 					ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
	// 					StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
	// 					Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 				},
	// 				WaitEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
	// 				Workflow: &armappservice.ResourceReference{
	// 					Name: to.Ptr("08586676754160363885"),
	// 					Type: to.Ptr("workflows/versions"),
	// 					ID: to.Ptr("workflows/test-workflow/versions/08586676754160363885"),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowRunsClientCancelOptions

type WorkflowRunsClientCancelOptions struct {
}

WorkflowRunsClientCancelOptions contains the optional parameters for the WorkflowRunsClient.Cancel method.

type WorkflowRunsClientCancelResponse

type WorkflowRunsClientCancelResponse struct {
}

WorkflowRunsClientCancelResponse contains the response from method WorkflowRunsClient.Cancel.

type WorkflowRunsClientGetOptions

type WorkflowRunsClientGetOptions struct {
}

WorkflowRunsClientGetOptions contains the optional parameters for the WorkflowRunsClient.Get method.

type WorkflowRunsClientGetResponse

type WorkflowRunsClientGetResponse struct {
	// The workflow run.
	WorkflowRun
}

WorkflowRunsClientGetResponse contains the response from method WorkflowRunsClient.Get.

type WorkflowRunsClientListOptions

type WorkflowRunsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowRunsClientListOptions contains the optional parameters for the WorkflowRunsClient.NewListPager method.

type WorkflowRunsClientListResponse

type WorkflowRunsClientListResponse struct {
	// The list of workflow runs.
	WorkflowRunListResult
}

WorkflowRunsClientListResponse contains the response from method WorkflowRunsClient.NewListPager.

type WorkflowSKU

type WorkflowSKU struct {
	// REQUIRED; The name.
	Name *WorkflowSKUName

	// The reference to plan.
	Plan *ResourceReference
}

WorkflowSKU - The sku type.

func (WorkflowSKU) MarshalJSON

func (w WorkflowSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowSKU.

func (*WorkflowSKU) UnmarshalJSON

func (w *WorkflowSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowSKU.

type WorkflowSKUName

type WorkflowSKUName string

WorkflowSKUName - The sku name.

const (
	WorkflowSKUNameBasic        WorkflowSKUName = "Basic"
	WorkflowSKUNameFree         WorkflowSKUName = "Free"
	WorkflowSKUNameNotSpecified WorkflowSKUName = "NotSpecified"
	WorkflowSKUNamePremium      WorkflowSKUName = "Premium"
	WorkflowSKUNameShared       WorkflowSKUName = "Shared"
	WorkflowSKUNameStandard     WorkflowSKUName = "Standard"
)

func PossibleWorkflowSKUNameValues

func PossibleWorkflowSKUNameValues() []WorkflowSKUName

PossibleWorkflowSKUNameValues returns the possible values for the WorkflowSKUName const type.

type WorkflowState

type WorkflowState string

WorkflowState - The workflow state.

const (
	WorkflowStateCompleted    WorkflowState = "Completed"
	WorkflowStateDeleted      WorkflowState = "Deleted"
	WorkflowStateDisabled     WorkflowState = "Disabled"
	WorkflowStateEnabled      WorkflowState = "Enabled"
	WorkflowStateNotSpecified WorkflowState = "NotSpecified"
	WorkflowStateSuspended    WorkflowState = "Suspended"
)

func PossibleWorkflowStateValues

func PossibleWorkflowStateValues() []WorkflowState

PossibleWorkflowStateValues returns the possible values for the WorkflowState const type.

type WorkflowStatus

type WorkflowStatus string

WorkflowStatus - The workflow status.

const (
	WorkflowStatusAborted      WorkflowStatus = "Aborted"
	WorkflowStatusCancelled    WorkflowStatus = "Cancelled"
	WorkflowStatusFailed       WorkflowStatus = "Failed"
	WorkflowStatusFaulted      WorkflowStatus = "Faulted"
	WorkflowStatusIgnored      WorkflowStatus = "Ignored"
	WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified"
	WorkflowStatusPaused       WorkflowStatus = "Paused"
	WorkflowStatusRunning      WorkflowStatus = "Running"
	WorkflowStatusSkipped      WorkflowStatus = "Skipped"
	WorkflowStatusSucceeded    WorkflowStatus = "Succeeded"
	WorkflowStatusSuspended    WorkflowStatus = "Suspended"
	WorkflowStatusTimedOut     WorkflowStatus = "TimedOut"
	WorkflowStatusWaiting      WorkflowStatus = "Waiting"
)

func PossibleWorkflowStatusValues

func PossibleWorkflowStatusValues() []WorkflowStatus

PossibleWorkflowStatusValues returns the possible values for the WorkflowStatus const type.

type WorkflowTrigger

type WorkflowTrigger struct {
	// The workflow trigger properties.
	Properties *WorkflowTriggerProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow trigger name.
	Name *string

	// READ-ONLY; Gets the workflow trigger type.
	Type *string
}

WorkflowTrigger - The workflow trigger.

func (WorkflowTrigger) MarshalJSON

func (w WorkflowTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTrigger.

func (*WorkflowTrigger) UnmarshalJSON

func (w *WorkflowTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTrigger.

type WorkflowTriggerCallbackURL

type WorkflowTriggerCallbackURL struct {
	// Gets the workflow trigger callback URL query parameters.
	Queries *WorkflowTriggerListCallbackURLQueries

	// Gets the workflow trigger callback URL relative path parameters.
	RelativePathParameters []*string

	// READ-ONLY; Gets the workflow trigger callback URL base path.
	BasePath *string

	// READ-ONLY; Gets the workflow trigger callback URL HTTP method.
	Method *string

	// READ-ONLY; Gets the workflow trigger callback URL relative path.
	RelativePath *string

	// READ-ONLY; Gets the workflow trigger callback URL.
	Value *string
}

WorkflowTriggerCallbackURL - The workflow trigger callback URL.

func (WorkflowTriggerCallbackURL) MarshalJSON

func (w WorkflowTriggerCallbackURL) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerCallbackURL.

func (*WorkflowTriggerCallbackURL) UnmarshalJSON

func (w *WorkflowTriggerCallbackURL) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerCallbackURL.

type WorkflowTriggerFilter

type WorkflowTriggerFilter struct {
	// The state of workflow trigger.
	State *WorkflowState
}

WorkflowTriggerFilter - The workflow trigger filter.

func (WorkflowTriggerFilter) MarshalJSON

func (w WorkflowTriggerFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerFilter.

func (*WorkflowTriggerFilter) UnmarshalJSON

func (w *WorkflowTriggerFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerFilter.

type WorkflowTriggerHistoriesClient

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

WorkflowTriggerHistoriesClient contains the methods for the WorkflowTriggerHistories group. Don't use this type directly, use NewWorkflowTriggerHistoriesClient() instead.

func NewWorkflowTriggerHistoriesClient

func NewWorkflowTriggerHistoriesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowTriggerHistoriesClient, error)

NewWorkflowTriggerHistoriesClient creates a new instance of WorkflowTriggerHistoriesClient 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 (*WorkflowTriggerHistoriesClient) BeginResubmit

func (client *WorkflowTriggerHistoriesClient) BeginResubmit(ctx context.Context, resourceGroupName string, name string, workflowName string, triggerName string, historyName string, options *WorkflowTriggerHistoriesClientBeginResubmitOptions) (*runtime.Poller[WorkflowTriggerHistoriesClientResubmitResponse], error)

BeginResubmit - Resubmits a workflow run based on the trigger history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • historyName - The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.
  • options - WorkflowTriggerHistoriesClientBeginResubmitOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.BeginResubmit method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggerHistories_Resubmit.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWorkflowTriggerHistoriesClient().BeginResubmit(ctx, "testResourceGroup", "test-name", "testWorkflowName", "testTriggerName", "testHistoryName", 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 (*WorkflowTriggerHistoriesClient) Get

func (client *WorkflowTriggerHistoriesClient) Get(ctx context.Context, resourceGroupName string, name string, workflowName string, triggerName string, historyName string, options *WorkflowTriggerHistoriesClientGetOptions) (WorkflowTriggerHistoriesClientGetResponse, error)

Get - Gets a workflow trigger history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • historyName - The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.
  • options - WorkflowTriggerHistoriesClientGetOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggerHistories_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowTriggerHistoriesClient().Get(ctx, "testResourceGroup", "test-name", "testWorkflowName", "testTriggerName", "08586676746934337772206998657CU22", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowTriggerHistory = armappservice.WorkflowTriggerHistory{
// 	ID: to.Ptr("/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22"),
// 	Name: to.Ptr("08586676746934337772206998657CU22"),
// 	Type: to.Ptr("/workflows/triggers/histories"),
// 	Properties: &armappservice.WorkflowTriggerHistoryProperties{
// 		Code: to.Ptr("OK"),
// 		Correlation: &armappservice.Correlation{
// 			ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
// 		},
// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.298Z"); return t}()),
// 		Fired: to.Ptr(true),
// 		Run: &armappservice.ResourceReference{
// 			Name: to.Ptr("08586676746934337772206998657CU22"),
// 			Type: to.Ptr("/workflows/runs"),
// 			ID: to.Ptr("/workflows/testWorkflowName/runs/08586676746934337772206998657CU22"),
// 		},
// 		ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
// 		Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
// 	},
// }
Output:

func (*WorkflowTriggerHistoriesClient) NewListPager

func (client *WorkflowTriggerHistoriesClient) NewListPager(resourceGroupName string, name string, workflowName string, triggerName string, options *WorkflowTriggerHistoriesClientListOptions) *runtime.Pager[WorkflowTriggerHistoriesClientListResponse]

NewListPager - Gets a list of workflow trigger histories.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggerHistoriesClientListOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggerHistories_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowTriggerHistoriesClient().NewListPager("testResourceGroup", "test-name", "testWorkflowName", "testTriggerName", &armappservice.WorkflowTriggerHistoriesClientListOptions{Top: nil,
	Filter: nil,
})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowTriggerHistoryListResult = armappservice.WorkflowTriggerHistoryListResult{
	// 	Value: []*armappservice.WorkflowTriggerHistory{
	// 		{
	// 			ID: to.Ptr("/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22"),
	// 			Name: to.Ptr("08586676746934337772206998657CU22"),
	// 			Type: to.Ptr("/workflows/triggers/histories"),
	// 			Properties: &armappservice.WorkflowTriggerHistoryProperties{
	// 				Code: to.Ptr("OK"),
	// 				Correlation: &armappservice.Correlation{
	// 					ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 				},
	// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.298Z"); return t}()),
	// 				Fired: to.Ptr(true),
	// 				Run: &armappservice.ResourceReference{
	// 					Name: to.Ptr("08586676746934337772206998657CU22"),
	// 					Type: to.Ptr("/workflows/runs"),
	// 					ID: to.Ptr("/workflows/testWorkflowName/runs/08586676746934337772206998657CU22"),
	// 				},
	// 				ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
	// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
	// 				Status: to.Ptr(armappservice.WorkflowStatusSucceeded),
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowTriggerHistoriesClientBeginResubmitOptions

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

WorkflowTriggerHistoriesClientBeginResubmitOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.BeginResubmit method.

type WorkflowTriggerHistoriesClientGetOptions

type WorkflowTriggerHistoriesClientGetOptions struct {
}

WorkflowTriggerHistoriesClientGetOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Get method.

type WorkflowTriggerHistoriesClientGetResponse

type WorkflowTriggerHistoriesClientGetResponse struct {
	// The workflow trigger history.
	WorkflowTriggerHistory
}

WorkflowTriggerHistoriesClientGetResponse contains the response from method WorkflowTriggerHistoriesClient.Get.

type WorkflowTriggerHistoriesClientListOptions

type WorkflowTriggerHistoriesClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowTriggerHistoriesClientListOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.NewListPager method.

type WorkflowTriggerHistoriesClientListResponse

type WorkflowTriggerHistoriesClientListResponse struct {
	// The list of workflow trigger histories.
	WorkflowTriggerHistoryListResult
}

WorkflowTriggerHistoriesClientListResponse contains the response from method WorkflowTriggerHistoriesClient.NewListPager.

type WorkflowTriggerHistoriesClientResubmitResponse

type WorkflowTriggerHistoriesClientResubmitResponse struct {
}

WorkflowTriggerHistoriesClientResubmitResponse contains the response from method WorkflowTriggerHistoriesClient.BeginResubmit.

type WorkflowTriggerHistory

type WorkflowTriggerHistory struct {
	// Gets the workflow trigger history properties.
	Properties *WorkflowTriggerHistoryProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow trigger history name.
	Name *string

	// READ-ONLY; Gets the workflow trigger history type.
	Type *string
}

WorkflowTriggerHistory - The workflow trigger history.

func (WorkflowTriggerHistory) MarshalJSON

func (w WorkflowTriggerHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistory.

func (*WorkflowTriggerHistory) UnmarshalJSON

func (w *WorkflowTriggerHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistory.

type WorkflowTriggerHistoryFilter

type WorkflowTriggerHistoryFilter struct {
	// The status of workflow trigger history.
	Status *WorkflowStatus
}

WorkflowTriggerHistoryFilter - The workflow trigger history filter.

func (WorkflowTriggerHistoryFilter) MarshalJSON

func (w WorkflowTriggerHistoryFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistoryFilter.

func (*WorkflowTriggerHistoryFilter) UnmarshalJSON

func (w *WorkflowTriggerHistoryFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistoryFilter.

type WorkflowTriggerHistoryListResult

type WorkflowTriggerHistoryListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow trigger histories.
	Value []*WorkflowTriggerHistory
}

WorkflowTriggerHistoryListResult - The list of workflow trigger histories.

func (WorkflowTriggerHistoryListResult) MarshalJSON

func (w WorkflowTriggerHistoryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistoryListResult.

func (*WorkflowTriggerHistoryListResult) UnmarshalJSON

func (w *WorkflowTriggerHistoryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistoryListResult.

type WorkflowTriggerHistoryProperties

type WorkflowTriggerHistoryProperties struct {
	// The run correlation.
	Correlation *Correlation

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; The value indicating whether trigger was fired.
	Fired *bool

	// READ-ONLY; Gets the link to input parameters.
	InputsLink *ContentLink

	// READ-ONLY; Gets the link to output parameters.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the reference to workflow run.
	Run *ResourceReference

	// READ-ONLY; The scheduled time.
	ScheduledTime *time.Time

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowTriggerHistoryProperties - The workflow trigger history properties.

func (WorkflowTriggerHistoryProperties) MarshalJSON

func (w WorkflowTriggerHistoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistoryProperties.

func (*WorkflowTriggerHistoryProperties) UnmarshalJSON

func (w *WorkflowTriggerHistoryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistoryProperties.

type WorkflowTriggerListCallbackURLQueries

type WorkflowTriggerListCallbackURLQueries struct {
	// The api version.
	APIVersion *string

	// The SAS timestamp.
	Se *string

	// The SAS signature.
	Sig *string

	// The SAS permissions.
	Sp *string

	// The SAS version.
	Sv *string
}

WorkflowTriggerListCallbackURLQueries - Gets the workflow trigger callback URL query parameters.

func (WorkflowTriggerListCallbackURLQueries) MarshalJSON

func (w WorkflowTriggerListCallbackURLQueries) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerListCallbackURLQueries.

func (*WorkflowTriggerListCallbackURLQueries) UnmarshalJSON

func (w *WorkflowTriggerListCallbackURLQueries) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerListCallbackURLQueries.

type WorkflowTriggerListResult

type WorkflowTriggerListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow triggers.
	Value []*WorkflowTrigger
}

WorkflowTriggerListResult - The list of workflow triggers.

func (WorkflowTriggerListResult) MarshalJSON

func (w WorkflowTriggerListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerListResult.

func (*WorkflowTriggerListResult) UnmarshalJSON

func (w *WorkflowTriggerListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerListResult.

type WorkflowTriggerProperties

type WorkflowTriggerProperties struct {
	// READ-ONLY; Gets the changed time.
	ChangedTime *time.Time

	// READ-ONLY; Gets the created time.
	CreatedTime *time.Time

	// READ-ONLY; Gets the last execution time.
	LastExecutionTime *time.Time

	// READ-ONLY; Gets the next execution time.
	NextExecutionTime *time.Time

	// READ-ONLY; Gets the provisioning state.
	ProvisioningState *WorkflowTriggerProvisioningState

	// READ-ONLY; Gets the workflow trigger recurrence.
	Recurrence *WorkflowTriggerRecurrence

	// READ-ONLY; Gets the state.
	State *WorkflowState

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the reference to workflow.
	Workflow *ResourceReference
}

WorkflowTriggerProperties - The workflow trigger properties.

func (WorkflowTriggerProperties) MarshalJSON

func (w WorkflowTriggerProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerProperties.

func (*WorkflowTriggerProperties) UnmarshalJSON

func (w *WorkflowTriggerProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerProperties.

type WorkflowTriggerProvisioningState

type WorkflowTriggerProvisioningState string

WorkflowTriggerProvisioningState - The workflow trigger provisioning state.

const (
	WorkflowTriggerProvisioningStateAccepted      WorkflowTriggerProvisioningState = "Accepted"
	WorkflowTriggerProvisioningStateCanceled      WorkflowTriggerProvisioningState = "Canceled"
	WorkflowTriggerProvisioningStateCompleted     WorkflowTriggerProvisioningState = "Completed"
	WorkflowTriggerProvisioningStateCreated       WorkflowTriggerProvisioningState = "Created"
	WorkflowTriggerProvisioningStateCreating      WorkflowTriggerProvisioningState = "Creating"
	WorkflowTriggerProvisioningStateDeleted       WorkflowTriggerProvisioningState = "Deleted"
	WorkflowTriggerProvisioningStateDeleting      WorkflowTriggerProvisioningState = "Deleting"
	WorkflowTriggerProvisioningStateFailed        WorkflowTriggerProvisioningState = "Failed"
	WorkflowTriggerProvisioningStateMoving        WorkflowTriggerProvisioningState = "Moving"
	WorkflowTriggerProvisioningStateNotSpecified  WorkflowTriggerProvisioningState = "NotSpecified"
	WorkflowTriggerProvisioningStateReady         WorkflowTriggerProvisioningState = "Ready"
	WorkflowTriggerProvisioningStateRegistered    WorkflowTriggerProvisioningState = "Registered"
	WorkflowTriggerProvisioningStateRegistering   WorkflowTriggerProvisioningState = "Registering"
	WorkflowTriggerProvisioningStateRunning       WorkflowTriggerProvisioningState = "Running"
	WorkflowTriggerProvisioningStateSucceeded     WorkflowTriggerProvisioningState = "Succeeded"
	WorkflowTriggerProvisioningStateUnregistered  WorkflowTriggerProvisioningState = "Unregistered"
	WorkflowTriggerProvisioningStateUnregistering WorkflowTriggerProvisioningState = "Unregistering"
	WorkflowTriggerProvisioningStateUpdating      WorkflowTriggerProvisioningState = "Updating"
)

func PossibleWorkflowTriggerProvisioningStateValues

func PossibleWorkflowTriggerProvisioningStateValues() []WorkflowTriggerProvisioningState

PossibleWorkflowTriggerProvisioningStateValues returns the possible values for the WorkflowTriggerProvisioningState const type.

type WorkflowTriggerRecurrence

type WorkflowTriggerRecurrence struct {
	// The end time.
	EndTime *string

	// The frequency.
	Frequency *RecurrenceFrequency

	// The interval.
	Interval *int32

	// The recurrence schedule.
	Schedule *RecurrenceSchedule

	// The start time.
	StartTime *string

	// The time zone.
	TimeZone *string
}

WorkflowTriggerRecurrence - The workflow trigger recurrence.

func (WorkflowTriggerRecurrence) MarshalJSON

func (w WorkflowTriggerRecurrence) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerRecurrence.

func (*WorkflowTriggerRecurrence) UnmarshalJSON

func (w *WorkflowTriggerRecurrence) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerRecurrence.

type WorkflowTriggersClient

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

WorkflowTriggersClient contains the methods for the WorkflowTriggers group. Don't use this type directly, use NewWorkflowTriggersClient() instead.

func NewWorkflowTriggersClient

func NewWorkflowTriggersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowTriggersClient, error)

NewWorkflowTriggersClient creates a new instance of WorkflowTriggersClient 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 (*WorkflowTriggersClient) BeginRun

func (client *WorkflowTriggersClient) BeginRun(ctx context.Context, resourceGroupName string, name string, workflowName string, triggerName string, options *WorkflowTriggersClientBeginRunOptions) (*runtime.Poller[WorkflowTriggersClientRunResponse], error)

BeginRun - Runs a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientBeginRunOptions contains the optional parameters for the WorkflowTriggersClient.BeginRun method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggers_Run.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewWorkflowTriggersClient().BeginRun(ctx, "test-resource-group", "test-name", "test-workflow", "recurrence", 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 (*WorkflowTriggersClient) Get

func (client *WorkflowTriggersClient) Get(ctx context.Context, resourceGroupName string, name string, workflowName string, triggerName string, options *WorkflowTriggersClientGetOptions) (WorkflowTriggersClientGetResponse, error)

Get - Gets a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientGetOptions contains the optional parameters for the WorkflowTriggersClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggers_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowTriggersClient().Get(ctx, "test-resource-group", "test-name", "test-workflow", "manual", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowTrigger = armappservice.WorkflowTrigger{
// 	ID: to.Ptr("/workflows/test-workflow/triggers/manual"),
// 	Name: to.Ptr("manual"),
// 	Type: to.Ptr("/workflows/triggers"),
// 	Properties: &armappservice.WorkflowTriggerProperties{
// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T18:47:49.528Z"); return t}()),
// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T17:32:30.249Z"); return t}()),
// 		ProvisioningState: to.Ptr(armappservice.WorkflowTriggerProvisioningStateSucceeded),
// 		State: to.Ptr(armappservice.WorkflowStateEnabled),
// 		Workflow: &armappservice.ResourceReference{
// 			Name: to.Ptr("08586676800160476478"),
// 			Type: to.Ptr("/workflows/versions"),
// 			ID: to.Ptr("/workflows/test-workflow/versions/08586676800160476478"),
// 		},
// 	},
// }
Output:

func (*WorkflowTriggersClient) GetSchemaJSON

func (client *WorkflowTriggersClient) GetSchemaJSON(ctx context.Context, resourceGroupName string, name string, workflowName string, triggerName string, options *WorkflowTriggersClientGetSchemaJSONOptions) (WorkflowTriggersClientGetSchemaJSONResponse, error)

GetSchemaJSON - Get the trigger schema as JSON. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientGetSchemaJSONOptions contains the optional parameters for the WorkflowTriggersClient.GetSchemaJSON method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggers_GetSchemaJson.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowTriggersClient().GetSchemaJSON(ctx, "testResourceGroup", "test-name", "testWorkflow", "testTrigger", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.JSONSchema = armappservice.JSONSchema{
// 	Content: to.Ptr("JsonContent"),
// 	Title: to.Ptr("JsonTitle"),
// }
Output:

func (*WorkflowTriggersClient) ListCallbackURL

func (client *WorkflowTriggersClient) ListCallbackURL(ctx context.Context, resourceGroupName string, name string, workflowName string, triggerName string, options *WorkflowTriggersClientListCallbackURLOptions) (WorkflowTriggersClientListCallbackURLResponse, error)

ListCallbackURL - Get the callback URL for a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowTriggersClient.ListCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggers_ListCallbackUrl.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowTriggersClient().ListCallbackURL(ctx, "test-resource-group", "test-name", "test-workflow", "manual", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowTriggerCallbackURL = armappservice.WorkflowTriggerCallbackURL{
// 	Method: to.Ptr("POST"),
// 	BasePath: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke"),
// 	Queries: &armappservice.WorkflowTriggerListCallbackURLQueries{
// 		APIVersion: to.Ptr("2018-07-01-preview"),
// 		Sig: to.Ptr("IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk"),
// 		Sp: to.Ptr("/versions/08587100027316071865/triggers/manualTrigger/run"),
// 		Sv: to.Ptr("1.0"),
// 	},
// 	Value: to.Ptr("https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk"),
// }
Output:

func (*WorkflowTriggersClient) NewListPager

func (client *WorkflowTriggersClient) NewListPager(resourceGroupName string, name string, workflowName string, options *WorkflowTriggersClientListOptions) *runtime.Pager[WorkflowTriggersClientListResponse]

NewListPager - Gets a list of workflow triggers.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • options - WorkflowTriggersClientListOptions contains the optional parameters for the WorkflowTriggersClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowTriggers_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowTriggersClient().NewListPager("test-resource-group", "test-name", "test-workflow", &armappservice.WorkflowTriggersClientListOptions{Top: nil,
	Filter: nil,
})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowTriggerListResult = armappservice.WorkflowTriggerListResult{
	// 	Value: []*armappservice.WorkflowTrigger{
	// 		{
	// 			ID: to.Ptr("/workflows/test-workflow/triggers/manual"),
	// 			Name: to.Ptr("manual"),
	// 			Type: to.Ptr("/workflows/triggers"),
	// 			Properties: &armappservice.WorkflowTriggerProperties{
	// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T18:47:49.528Z"); return t}()),
	// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T17:32:30.249Z"); return t}()),
	// 				ProvisioningState: to.Ptr(armappservice.WorkflowTriggerProvisioningStateSucceeded),
	// 				State: to.Ptr(armappservice.WorkflowStateEnabled),
	// 				Workflow: &armappservice.ResourceReference{
	// 					Name: to.Ptr("08586676800160476478"),
	// 					Type: to.Ptr("/workflows/versions"),
	// 					ID: to.Ptr("/workflows/test-workflow/versions/08586676800160476478"),
	// 				},
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowTriggersClientBeginRunOptions

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

WorkflowTriggersClientBeginRunOptions contains the optional parameters for the WorkflowTriggersClient.BeginRun method.

type WorkflowTriggersClientGetOptions

type WorkflowTriggersClientGetOptions struct {
}

WorkflowTriggersClientGetOptions contains the optional parameters for the WorkflowTriggersClient.Get method.

type WorkflowTriggersClientGetResponse

type WorkflowTriggersClientGetResponse struct {
	// The workflow trigger.
	WorkflowTrigger
}

WorkflowTriggersClientGetResponse contains the response from method WorkflowTriggersClient.Get.

type WorkflowTriggersClientGetSchemaJSONOptions

type WorkflowTriggersClientGetSchemaJSONOptions struct {
}

WorkflowTriggersClientGetSchemaJSONOptions contains the optional parameters for the WorkflowTriggersClient.GetSchemaJSON method.

type WorkflowTriggersClientGetSchemaJSONResponse

type WorkflowTriggersClientGetSchemaJSONResponse struct {
	// The JSON schema.
	JSONSchema
}

WorkflowTriggersClientGetSchemaJSONResponse contains the response from method WorkflowTriggersClient.GetSchemaJSON.

type WorkflowTriggersClientListCallbackURLOptions

type WorkflowTriggersClientListCallbackURLOptions struct {
}

WorkflowTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowTriggersClient.ListCallbackURL method.

type WorkflowTriggersClientListCallbackURLResponse

type WorkflowTriggersClientListCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

WorkflowTriggersClientListCallbackURLResponse contains the response from method WorkflowTriggersClient.ListCallbackURL.

type WorkflowTriggersClientListOptions

type WorkflowTriggersClientListOptions struct {
	// The filter to apply on the operation.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowTriggersClientListOptions contains the optional parameters for the WorkflowTriggersClient.NewListPager method.

type WorkflowTriggersClientListResponse

type WorkflowTriggersClientListResponse struct {
	// The list of workflow triggers.
	WorkflowTriggerListResult
}

WorkflowTriggersClientListResponse contains the response from method WorkflowTriggersClient.NewListPager.

type WorkflowTriggersClientRunResponse

type WorkflowTriggersClientRunResponse struct {
}

WorkflowTriggersClientRunResponse contains the response from method WorkflowTriggersClient.BeginRun.

type WorkflowVersion

type WorkflowVersion struct {
	// The resource location.
	Location *string

	// The workflow version properties.
	Properties *WorkflowVersionProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowVersion - The workflow version.

func (WorkflowVersion) MarshalJSON

func (w WorkflowVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowVersion.

func (*WorkflowVersion) UnmarshalJSON

func (w *WorkflowVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowVersion.

type WorkflowVersionListResult

type WorkflowVersionListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow versions.
	Value []*WorkflowVersion
}

WorkflowVersionListResult - The list of workflow versions.

func (WorkflowVersionListResult) MarshalJSON

func (w WorkflowVersionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowVersionListResult.

func (*WorkflowVersionListResult) UnmarshalJSON

func (w *WorkflowVersionListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowVersionListResult.

type WorkflowVersionProperties

type WorkflowVersionProperties struct {
	// The access control configuration.
	AccessControl *FlowAccessControlConfiguration

	// The definition.
	Definition any

	// The endpoints configuration.
	EndpointsConfiguration *FlowEndpointsConfiguration

	// The integration account.
	IntegrationAccount *ResourceReference

	// The parameters.
	Parameters map[string]*WorkflowParameter

	// The state.
	State *WorkflowState

	// READ-ONLY; Gets the access endpoint.
	AccessEndpoint *string

	// READ-ONLY; Gets the changed time.
	ChangedTime *time.Time

	// READ-ONLY; Gets the created time.
	CreatedTime *time.Time

	// READ-ONLY; The provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// READ-ONLY; The sku.
	SKU *WorkflowSKU

	// READ-ONLY; Gets the version.
	Version *string
}

WorkflowVersionProperties - The workflow version properties.

func (WorkflowVersionProperties) MarshalJSON

func (w WorkflowVersionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowVersionProperties.

func (*WorkflowVersionProperties) UnmarshalJSON

func (w *WorkflowVersionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowVersionProperties.

type WorkflowVersionsClient

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

WorkflowVersionsClient contains the methods for the WorkflowVersions group. Don't use this type directly, use NewWorkflowVersionsClient() instead.

func NewWorkflowVersionsClient

func NewWorkflowVersionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowVersionsClient, error)

NewWorkflowVersionsClient creates a new instance of WorkflowVersionsClient 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 (*WorkflowVersionsClient) Get

func (client *WorkflowVersionsClient) Get(ctx context.Context, resourceGroupName string, name string, workflowName string, versionID string, options *WorkflowVersionsClientGetOptions) (WorkflowVersionsClientGetResponse, error)

Get - Gets a workflow version. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • versionID - The workflow versionId.
  • options - WorkflowVersionsClientGetOptions contains the optional parameters for the WorkflowVersionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowVersions_Get.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewWorkflowVersionsClient().Get(ctx, "test-resource-group", "test-name", "test-workflow", "08586676824806722526", nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.WorkflowVersion = armappservice.WorkflowVersion{
// 	Name: to.Ptr("test-workflow"),
// 	Type: to.Ptr("/workflows/versions"),
// 	ID: to.Ptr("/workflows/test-workflow"),
// 	Properties: &armappservice.WorkflowVersionProperties{
// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
// 		Definition: map[string]any{
// 			"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
// 			"actions":map[string]any{
// 			},
// 			"contentVersion": "1.0.0.0",
// 			"outputs":map[string]any{
// 			},
// 			"parameters":map[string]any{
// 			},
// 			"triggers":map[string]any{
// 			},
// 		},
// 		EndpointsConfiguration: &armappservice.FlowEndpointsConfiguration{
// 			Connector: &armappservice.FlowEndpoints{
// 				OutgoingIPAddresses: []*armappservice.IPAddress{
// 				},
// 			},
// 			Workflow: &armappservice.FlowEndpoints{
// 				AccessEndpointIPAddresses: []*armappservice.IPAddress{
// 				},
// 				OutgoingIPAddresses: []*armappservice.IPAddress{
// 				},
// 			},
// 		},
// 		Parameters: map[string]*armappservice.WorkflowParameter{
// 		},
// 		Version: to.Ptr("08586677515911718341"),
// 	},
// }
Output:

func (*WorkflowVersionsClient) NewListPager

func (client *WorkflowVersionsClient) NewListPager(resourceGroupName string, name string, workflowName string, options *WorkflowVersionsClientListOptions) *runtime.Pager[WorkflowVersionsClientListResponse]

NewListPager - Gets a list of workflow versions.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • options - WorkflowVersionsClientListOptions contains the optional parameters for the WorkflowVersionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/WorkflowVersions_List.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
pager := clientFactory.NewWorkflowVersionsClient().NewListPager("test-resource-group", "test-name", "test-workflow", &armappservice.WorkflowVersionsClientListOptions{Top: nil})
for pager.More() {
	page, err := pager.NextPage(ctx)
	if err != nil {
		log.Fatalf("failed to advance page: %v", err)
	}
	for _, v := range page.Value {
		// You could use page here. We use blank identifier for just demo purposes.
		_ = v
	}
	// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// page.WorkflowVersionListResult = armappservice.WorkflowVersionListResult{
	// 	Value: []*armappservice.WorkflowVersion{
	// 		{
	// 			Name: to.Ptr("test-workflow"),
	// 			Type: to.Ptr("/workflows/versions"),
	// 			ID: to.Ptr("/workflows/test-workflow"),
	// 			Properties: &armappservice.WorkflowVersionProperties{
	// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
	// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
	// 				Definition: map[string]any{
	// 					"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
	// 					"actions":map[string]any{
	// 					},
	// 					"contentVersion": "1.0.0.0",
	// 					"outputs":map[string]any{
	// 					},
	// 					"parameters":map[string]any{
	// 					},
	// 					"triggers":map[string]any{
	// 					},
	// 				},
	// 				EndpointsConfiguration: &armappservice.FlowEndpointsConfiguration{
	// 					Connector: &armappservice.FlowEndpoints{
	// 						OutgoingIPAddresses: []*armappservice.IPAddress{
	// 						},
	// 					},
	// 					Workflow: &armappservice.FlowEndpoints{
	// 						AccessEndpointIPAddresses: []*armappservice.IPAddress{
	// 						},
	// 						OutgoingIPAddresses: []*armappservice.IPAddress{
	// 						},
	// 					},
	// 				},
	// 				Parameters: map[string]*armappservice.WorkflowParameter{
	// 				},
	// 				Version: to.Ptr("08586677515911718341"),
	// 			},
	// 	}},
	// }
}
Output:

type WorkflowVersionsClientGetOptions

type WorkflowVersionsClientGetOptions struct {
}

WorkflowVersionsClientGetOptions contains the optional parameters for the WorkflowVersionsClient.Get method.

type WorkflowVersionsClientGetResponse

type WorkflowVersionsClientGetResponse struct {
	// The workflow version.
	WorkflowVersion
}

WorkflowVersionsClientGetResponse contains the response from method WorkflowVersionsClient.Get.

type WorkflowVersionsClientListOptions

type WorkflowVersionsClientListOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

WorkflowVersionsClientListOptions contains the optional parameters for the WorkflowVersionsClient.NewListPager method.

type WorkflowVersionsClientListResponse

type WorkflowVersionsClientListResponse struct {
	// The list of workflow versions.
	WorkflowVersionListResult
}

WorkflowVersionsClientListResponse contains the response from method WorkflowVersionsClient.NewListPager.

type WorkflowsClient

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

WorkflowsClient contains the methods for the Workflows group. Don't use this type directly, use NewWorkflowsClient() instead.

func NewWorkflowsClient

func NewWorkflowsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowsClient, error)

NewWorkflowsClient creates a new instance of WorkflowsClient 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 (*WorkflowsClient) RegenerateAccessKey

func (client *WorkflowsClient) RegenerateAccessKey(ctx context.Context, resourceGroupName string, name string, workflowName string, keyType RegenerateActionParameter, options *WorkflowsClientRegenerateAccessKeyOptions) (WorkflowsClientRegenerateAccessKeyResponse, error)

RegenerateAccessKey - Regenerates the callback URL access key for request triggers. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • keyType - The access key type.
  • options - WorkflowsClientRegenerateAccessKeyOptions contains the optional parameters for the WorkflowsClient.RegenerateAccessKey method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Workflows_RegenerateAccessKey.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWorkflowsClient().RegenerateAccessKey(ctx, "testResourceGroup", "test-name", "testWorkflowName", armappservice.RegenerateActionParameter{
	KeyType: to.Ptr(armappservice.KeyTypePrimary),
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

func (*WorkflowsClient) Validate

func (client *WorkflowsClient) Validate(ctx context.Context, resourceGroupName string, name string, workflowName string, validate Workflow, options *WorkflowsClientValidateOptions) (WorkflowsClientValidateResponse, error)

Validate - Validates the workflow definition. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-01-01

  • resourceGroupName - Name of the resource group to which the resource belongs.
  • name - Site name.
  • workflowName - The workflow name.
  • validate - The workflow.
  • options - WorkflowsClientValidateOptions contains the optional parameters for the WorkflowsClient.Validate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/738ab25fe76324897f273645906d4a0415068a6c/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/examples/Workflows_Validate.json

cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armappservice.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
	log.Fatalf("failed to create client: %v", err)
}
_, err = clientFactory.NewWorkflowsClient().Validate(ctx, "test-resource-group", "test-name", "test-workflow", armappservice.Workflow{
	Properties: &armappservice.WorkflowProperties{
		Definition: map[string]any{
			"$schema":        "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
			"actions":        map[string]any{},
			"contentVersion": "1.0.0.0",
			"outputs":        map[string]any{},
			"parameters":     map[string]any{},
			"triggers":       map[string]any{},
		},
		Kind: to.Ptr(armappservice.KindStateful),
	},
}, nil)
if err != nil {
	log.Fatalf("failed to finish the request: %v", err)
}
Output:

type WorkflowsClientRegenerateAccessKeyOptions

type WorkflowsClientRegenerateAccessKeyOptions struct {
}

WorkflowsClientRegenerateAccessKeyOptions contains the optional parameters for the WorkflowsClient.RegenerateAccessKey method.

type WorkflowsClientRegenerateAccessKeyResponse

type WorkflowsClientRegenerateAccessKeyResponse struct {
}

WorkflowsClientRegenerateAccessKeyResponse contains the response from method WorkflowsClient.RegenerateAccessKey.

type WorkflowsClientValidateOptions

type WorkflowsClientValidateOptions struct {
}

WorkflowsClientValidateOptions contains the optional parameters for the WorkflowsClient.Validate method.

type WorkflowsClientValidateResponse

type WorkflowsClientValidateResponse struct {
}

WorkflowsClientValidateResponse contains the response from method WorkflowsClient.Validate.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL