appserviceplans

package
v0.20240404.1145457 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-01-01/appserviceplans Documentation

The appserviceplans SDK allows for interaction with the Azure Resource Manager Service web (API Version 2023-01-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-01-01/appserviceplans"

Client Initialization

client := appserviceplans.NewAppServicePlansClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AppServicePlansClient.CreateOrUpdate

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

payload := appserviceplans.AppServicePlan{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AppServicePlansClient.CreateOrUpdateVnetRoute

ctx := context.TODO()
id := appserviceplans.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue", "routeValue")

payload := appserviceplans.VnetRoute{
	// ...
}


read, err := client.CreateOrUpdateVnetRoute(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.Delete

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.DeleteHybridConnection

ctx := context.TODO()
id := appserviceplans.NewHybridConnectionNamespaceRelayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "hybridConnectionNamespaceValue", "relayValue")

read, err := client.DeleteHybridConnection(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.DeleteVnetRoute

ctx := context.TODO()
id := appserviceplans.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue", "routeValue")

read, err := client.DeleteVnetRoute(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.Get

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.GetHybridConnection

ctx := context.TODO()
id := appserviceplans.NewHybridConnectionNamespaceRelayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "hybridConnectionNamespaceValue", "relayValue")

read, err := client.GetHybridConnection(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.GetHybridConnectionPlanLimit

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.GetHybridConnectionPlanLimit(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.GetRouteForVnet

ctx := context.TODO()
id := appserviceplans.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue", "routeValue")

read, err := client.GetRouteForVnet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.GetServerFarmSkus

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.GetServerFarmSkus(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.GetVnetFromServerFarm

ctx := context.TODO()
id := appserviceplans.NewServerFarmVirtualNetworkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue")

read, err := client.GetVnetFromServerFarm(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.GetVnetGateway

ctx := context.TODO()
id := appserviceplans.NewVirtualNetworkConnectionGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue", "gatewayValue")

read, err := client.GetVnetGateway(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.List

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id, appserviceplans.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, appserviceplans.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServicePlansClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServicePlansClient.ListCapabilities

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.ListCapabilities(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.ListHybridConnectionKeys

ctx := context.TODO()
id := appserviceplans.NewHybridConnectionNamespaceRelayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "hybridConnectionNamespaceValue", "relayValue")

read, err := client.ListHybridConnectionKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.ListHybridConnections

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

// alternatively `client.ListHybridConnections(ctx, id)` can be used to do batched pagination
items, err := client.ListHybridConnectionsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServicePlansClient.ListRoutesForVnet

ctx := context.TODO()
id := appserviceplans.NewServerFarmVirtualNetworkConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue")

read, err := client.ListRoutesForVnet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.ListUsages

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

// alternatively `client.ListUsages(ctx, id, appserviceplans.DefaultListUsagesOperationOptions())` can be used to do batched pagination
items, err := client.ListUsagesComplete(ctx, id, appserviceplans.DefaultListUsagesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServicePlansClient.ListVnets

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.ListVnets(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.ListWebApps

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

// alternatively `client.ListWebApps(ctx, id, appserviceplans.DefaultListWebAppsOperationOptions())` can be used to do batched pagination
items, err := client.ListWebAppsComplete(ctx, id, appserviceplans.DefaultListWebAppsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServicePlansClient.ListWebAppsByHybridConnection

ctx := context.TODO()
id := appserviceplans.NewHybridConnectionNamespaceRelayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "hybridConnectionNamespaceValue", "relayValue")

// alternatively `client.ListWebAppsByHybridConnection(ctx, id)` can be used to do batched pagination
items, err := client.ListWebAppsByHybridConnectionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServicePlansClient.RebootWorker

ctx := context.TODO()
id := appserviceplans.NewWorkerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "workerValue")

read, err := client.RebootWorker(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.RestartWebApps

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

read, err := client.RestartWebApps(ctx, id, appserviceplans.DefaultRestartWebAppsOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.Update

ctx := context.TODO()
id := commonids.NewAppServicePlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue")

payload := appserviceplans.AppServicePlanPatchResource{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.UpdateVnetGateway

ctx := context.TODO()
id := appserviceplans.NewVirtualNetworkConnectionGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue", "gatewayValue")

payload := appserviceplans.VnetGateway{
	// ...
}


read, err := client.UpdateVnetGateway(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServicePlansClient.UpdateVnetRoute

ctx := context.TODO()
id := appserviceplans.NewRouteID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverFarmValue", "virtualNetworkConnectionValue", "routeValue")

payload := appserviceplans.VnetRoute{
	// ...
}


read, err := client.UpdateVnetRoute(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAutoHealActionType

func PossibleValuesForAutoHealActionType() []string

func PossibleValuesForAzureStorageState

func PossibleValuesForAzureStorageState() []string

func PossibleValuesForAzureStorageType

func PossibleValuesForAzureStorageType() []string

func PossibleValuesForClientCertMode

func PossibleValuesForClientCertMode() []string

func PossibleValuesForConnectionStringType

func PossibleValuesForConnectionStringType() []string

func PossibleValuesForDaprLogLevel

func PossibleValuesForDaprLogLevel() []string

func PossibleValuesForDefaultAction

func PossibleValuesForDefaultAction() []string

func PossibleValuesForFtpsState

func PossibleValuesForFtpsState() []string

func PossibleValuesForHostType

func PossibleValuesForHostType() []string

func PossibleValuesForIPFilterTag

func PossibleValuesForIPFilterTag() []string

func PossibleValuesForManagedPipelineMode

func PossibleValuesForManagedPipelineMode() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForRedundancyMode

func PossibleValuesForRedundancyMode() []string

func PossibleValuesForRouteType

func PossibleValuesForRouteType() []string

func PossibleValuesForScmType

func PossibleValuesForScmType() []string

func PossibleValuesForSiteAvailabilityState

func PossibleValuesForSiteAvailabilityState() []string

func PossibleValuesForSiteLoadBalancing

func PossibleValuesForSiteLoadBalancing() []string

func PossibleValuesForSslState

func PossibleValuesForSslState() []string

func PossibleValuesForStatusOptions

func PossibleValuesForStatusOptions() []string

func PossibleValuesForSupportedTlsVersions

func PossibleValuesForSupportedTlsVersions() []string

func PossibleValuesForTlsCipherSuites

func PossibleValuesForTlsCipherSuites() []string

func PossibleValuesForUsageState

func PossibleValuesForUsageState() []string

func ValidateHybridConnectionNamespaceRelayID

func ValidateHybridConnectionNamespaceRelayID(input interface{}, key string) (warnings []string, errors []error)

ValidateHybridConnectionNamespaceRelayID checks that 'input' can be parsed as a Hybrid Connection Namespace Relay ID

func ValidateRouteID

func ValidateRouteID(input interface{}, key string) (warnings []string, errors []error)

ValidateRouteID checks that 'input' can be parsed as a Route ID

func ValidateServerFarmVirtualNetworkConnectionID

func ValidateServerFarmVirtualNetworkConnectionID(input interface{}, key string) (warnings []string, errors []error)

ValidateServerFarmVirtualNetworkConnectionID checks that 'input' can be parsed as a Server Farm Virtual Network Connection ID

func ValidateVirtualNetworkConnectionGatewayID

func ValidateVirtualNetworkConnectionGatewayID(input interface{}, key string) (warnings []string, errors []error)

ValidateVirtualNetworkConnectionGatewayID checks that 'input' can be parsed as a Virtual Network Connection Gateway ID

func ValidateWorkerID

func ValidateWorkerID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkerID checks that 'input' can be parsed as a Worker ID

Types

type ApiDefinitionInfo

type ApiDefinitionInfo struct {
	Url *string `json:"url,omitempty"`
}

type ApiManagementConfig

type ApiManagementConfig struct {
	Id *string `json:"id,omitempty"`
}

type AppServicePlan

type AppServicePlan struct {
	ExtendedLocation *ExtendedLocation         `json:"extendedLocation,omitempty"`
	Id               *string                   `json:"id,omitempty"`
	Kind             *string                   `json:"kind,omitempty"`
	Location         string                    `json:"location"`
	Name             *string                   `json:"name,omitempty"`
	Properties       *AppServicePlanProperties `json:"properties,omitempty"`
	Sku              *SkuDescription           `json:"sku,omitempty"`
	Tags             *map[string]string        `json:"tags,omitempty"`
	Type             *string                   `json:"type,omitempty"`
}

type AppServicePlanOperationPredicate

type AppServicePlanOperationPredicate struct {
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (AppServicePlanOperationPredicate) Matches

type AppServicePlanPatchResource

type AppServicePlanPatchResource struct {
	Id         *string                                `json:"id,omitempty"`
	Kind       *string                                `json:"kind,omitempty"`
	Name       *string                                `json:"name,omitempty"`
	Properties *AppServicePlanPatchResourceProperties `json:"properties,omitempty"`
	Type       *string                                `json:"type,omitempty"`
}

type AppServicePlanPatchResourceProperties

type AppServicePlanPatchResourceProperties struct {
	ElasticScaleEnabled       *bool                      `json:"elasticScaleEnabled,omitempty"`
	FreeOfferExpirationTime   *string                    `json:"freeOfferExpirationTime,omitempty"`
	GeoRegion                 *string                    `json:"geoRegion,omitempty"`
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
	HyperV                    *bool                      `json:"hyperV,omitempty"`
	IsSpot                    *bool                      `json:"isSpot,omitempty"`
	IsXenon                   *bool                      `json:"isXenon,omitempty"`
	KubeEnvironmentProfile    *KubeEnvironmentProfile    `json:"kubeEnvironmentProfile,omitempty"`
	MaximumElasticWorkerCount *int64                     `json:"maximumElasticWorkerCount,omitempty"`
	MaximumNumberOfWorkers    *int64                     `json:"maximumNumberOfWorkers,omitempty"`
	NumberOfSites             *int64                     `json:"numberOfSites,omitempty"`
	NumberOfWorkers           *int64                     `json:"numberOfWorkers,omitempty"`
	PerSiteScaling            *bool                      `json:"perSiteScaling,omitempty"`
	ProvisioningState         *ProvisioningState         `json:"provisioningState,omitempty"`
	Reserved                  *bool                      `json:"reserved,omitempty"`
	ResourceGroup             *string                    `json:"resourceGroup,omitempty"`
	SpotExpirationTime        *string                    `json:"spotExpirationTime,omitempty"`
	Status                    *StatusOptions             `json:"status,omitempty"`
	Subscription              *string                    `json:"subscription,omitempty"`
	TargetWorkerCount         *int64                     `json:"targetWorkerCount,omitempty"`
	TargetWorkerSizeId        *int64                     `json:"targetWorkerSizeId,omitempty"`
	WorkerTierName            *string                    `json:"workerTierName,omitempty"`
	ZoneRedundant             *bool                      `json:"zoneRedundant,omitempty"`
}

func (*AppServicePlanPatchResourceProperties) GetFreeOfferExpirationTimeAsTime

func (o *AppServicePlanPatchResourceProperties) GetFreeOfferExpirationTimeAsTime() (*time.Time, error)

func (*AppServicePlanPatchResourceProperties) GetSpotExpirationTimeAsTime

func (o *AppServicePlanPatchResourceProperties) GetSpotExpirationTimeAsTime() (*time.Time, error)

func (*AppServicePlanPatchResourceProperties) SetFreeOfferExpirationTimeAsTime

func (o *AppServicePlanPatchResourceProperties) SetFreeOfferExpirationTimeAsTime(input time.Time)

func (*AppServicePlanPatchResourceProperties) SetSpotExpirationTimeAsTime

func (o *AppServicePlanPatchResourceProperties) SetSpotExpirationTimeAsTime(input time.Time)

type AppServicePlanProperties

type AppServicePlanProperties struct {
	ElasticScaleEnabled       *bool                      `json:"elasticScaleEnabled,omitempty"`
	FreeOfferExpirationTime   *string                    `json:"freeOfferExpirationTime,omitempty"`
	GeoRegion                 *string                    `json:"geoRegion,omitempty"`
	HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
	HyperV                    *bool                      `json:"hyperV,omitempty"`
	IsSpot                    *bool                      `json:"isSpot,omitempty"`
	IsXenon                   *bool                      `json:"isXenon,omitempty"`
	KubeEnvironmentProfile    *KubeEnvironmentProfile    `json:"kubeEnvironmentProfile,omitempty"`
	MaximumElasticWorkerCount *int64                     `json:"maximumElasticWorkerCount,omitempty"`
	MaximumNumberOfWorkers    *int64                     `json:"maximumNumberOfWorkers,omitempty"`
	NumberOfSites             *int64                     `json:"numberOfSites,omitempty"`
	NumberOfWorkers           *int64                     `json:"numberOfWorkers,omitempty"`
	PerSiteScaling            *bool                      `json:"perSiteScaling,omitempty"`
	ProvisioningState         *ProvisioningState         `json:"provisioningState,omitempty"`
	Reserved                  *bool                      `json:"reserved,omitempty"`
	ResourceGroup             *string                    `json:"resourceGroup,omitempty"`
	SpotExpirationTime        *string                    `json:"spotExpirationTime,omitempty"`
	Status                    *StatusOptions             `json:"status,omitempty"`
	Subscription              *string                    `json:"subscription,omitempty"`
	TargetWorkerCount         *int64                     `json:"targetWorkerCount,omitempty"`
	TargetWorkerSizeId        *int64                     `json:"targetWorkerSizeId,omitempty"`
	WorkerTierName            *string                    `json:"workerTierName,omitempty"`
	ZoneRedundant             *bool                      `json:"zoneRedundant,omitempty"`
}

func (*AppServicePlanProperties) GetFreeOfferExpirationTimeAsTime

func (o *AppServicePlanProperties) GetFreeOfferExpirationTimeAsTime() (*time.Time, error)

func (*AppServicePlanProperties) GetSpotExpirationTimeAsTime

func (o *AppServicePlanProperties) GetSpotExpirationTimeAsTime() (*time.Time, error)

func (*AppServicePlanProperties) SetFreeOfferExpirationTimeAsTime

func (o *AppServicePlanProperties) SetFreeOfferExpirationTimeAsTime(input time.Time)

func (*AppServicePlanProperties) SetSpotExpirationTimeAsTime

func (o *AppServicePlanProperties) SetSpotExpirationTimeAsTime(input time.Time)

type AppServicePlansClient

type AppServicePlansClient struct {
	Client *resourcemanager.Client
}

func NewAppServicePlansClientWithBaseURI

func NewAppServicePlansClientWithBaseURI(sdkApi sdkEnv.Api) (*AppServicePlansClient, error)

func (AppServicePlansClient) CreateOrUpdate

CreateOrUpdate ...

func (AppServicePlansClient) CreateOrUpdateThenPoll

func (c AppServicePlansClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.AppServicePlanId, input AppServicePlan) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (AppServicePlansClient) CreateOrUpdateVnetRoute

func (c AppServicePlansClient) CreateOrUpdateVnetRoute(ctx context.Context, id RouteId, input VnetRoute) (result CreateOrUpdateVnetRouteOperationResponse, err error)

CreateOrUpdateVnetRoute ...

func (AppServicePlansClient) Delete

Delete ...

func (AppServicePlansClient) DeleteHybridConnection

DeleteHybridConnection ...

func (AppServicePlansClient) DeleteVnetRoute

func (c AppServicePlansClient) DeleteVnetRoute(ctx context.Context, id RouteId) (result DeleteVnetRouteOperationResponse, err error)

DeleteVnetRoute ...

func (AppServicePlansClient) Get

Get ...

func (AppServicePlansClient) GetHybridConnection

GetHybridConnection ...

func (AppServicePlansClient) GetHybridConnectionPlanLimit

GetHybridConnectionPlanLimit ...

func (AppServicePlansClient) GetRouteForVnet

func (c AppServicePlansClient) GetRouteForVnet(ctx context.Context, id RouteId) (result GetRouteForVnetOperationResponse, err error)

GetRouteForVnet ...

func (AppServicePlansClient) GetServerFarmSkus

GetServerFarmSkus ...

func (AppServicePlansClient) GetVnetFromServerFarm

GetVnetFromServerFarm ...

func (AppServicePlansClient) GetVnetGateway

GetVnetGateway ...

func (AppServicePlansClient) List

List ...

func (AppServicePlansClient) ListByResourceGroup

ListByResourceGroup ...

func (AppServicePlansClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (AppServicePlansClient) ListByResourceGroupCompleteMatchingPredicate

func (c AppServicePlansClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AppServicePlanOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServicePlansClient) ListCapabilities

ListCapabilities ...

func (AppServicePlansClient) ListComplete

ListComplete retrieves all the results into a single object

func (AppServicePlansClient) ListCompleteMatchingPredicate

func (c AppServicePlansClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate AppServicePlanOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServicePlansClient) ListHybridConnectionKeys

ListHybridConnectionKeys ...

func (AppServicePlansClient) ListHybridConnections

ListHybridConnections ...

func (AppServicePlansClient) ListHybridConnectionsComplete

ListHybridConnectionsComplete retrieves all the results into a single object

func (AppServicePlansClient) ListHybridConnectionsCompleteMatchingPredicate

func (c AppServicePlansClient) ListHybridConnectionsCompleteMatchingPredicate(ctx context.Context, id commonids.AppServicePlanId, predicate HybridConnectionOperationPredicate) (result ListHybridConnectionsCompleteResult, err error)

ListHybridConnectionsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServicePlansClient) ListRoutesForVnet

ListRoutesForVnet ...

func (AppServicePlansClient) ListUsages

ListUsages ...

func (AppServicePlansClient) ListUsagesComplete

ListUsagesComplete retrieves all the results into a single object

func (AppServicePlansClient) ListUsagesCompleteMatchingPredicate

func (c AppServicePlansClient) ListUsagesCompleteMatchingPredicate(ctx context.Context, id commonids.AppServicePlanId, options ListUsagesOperationOptions, predicate CsmUsageQuotaOperationPredicate) (result ListUsagesCompleteResult, err error)

ListUsagesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServicePlansClient) ListVnets

ListVnets ...

func (AppServicePlansClient) ListWebApps

ListWebApps ...

func (AppServicePlansClient) ListWebAppsByHybridConnection

ListWebAppsByHybridConnection ...

func (AppServicePlansClient) ListWebAppsByHybridConnectionComplete

func (c AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx context.Context, id HybridConnectionNamespaceRelayId) (result ListWebAppsByHybridConnectionCompleteResult, err error)

ListWebAppsByHybridConnectionComplete retrieves all the results into a single object

func (AppServicePlansClient) ListWebAppsComplete

ListWebAppsComplete retrieves all the results into a single object

func (AppServicePlansClient) ListWebAppsCompleteMatchingPredicate

func (c AppServicePlansClient) ListWebAppsCompleteMatchingPredicate(ctx context.Context, id commonids.AppServicePlanId, options ListWebAppsOperationOptions, predicate SiteOperationPredicate) (result ListWebAppsCompleteResult, err error)

ListWebAppsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServicePlansClient) RebootWorker

func (c AppServicePlansClient) RebootWorker(ctx context.Context, id WorkerId) (result RebootWorkerOperationResponse, err error)

RebootWorker ...

func (AppServicePlansClient) RestartWebApps

RestartWebApps ...

func (AppServicePlansClient) Update

Update ...

func (AppServicePlansClient) UpdateVnetGateway

UpdateVnetGateway ...

func (AppServicePlansClient) UpdateVnetRoute

func (c AppServicePlansClient) UpdateVnetRoute(ctx context.Context, id RouteId, input VnetRoute) (result UpdateVnetRouteOperationResponse, err error)

UpdateVnetRoute ...

type AutoHealActionType

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

func (*AutoHealActionType) UnmarshalJSON

func (s *AutoHealActionType) UnmarshalJSON(bytes []byte) error

type AutoHealActions

type AutoHealActions struct {
	ActionType              *AutoHealActionType   `json:"actionType,omitempty"`
	CustomAction            *AutoHealCustomAction `json:"customAction,omitempty"`
	MinProcessExecutionTime *string               `json:"minProcessExecutionTime,omitempty"`
}

type AutoHealCustomAction

type AutoHealCustomAction struct {
	Exe        *string `json:"exe,omitempty"`
	Parameters *string `json:"parameters,omitempty"`
}

type AutoHealRules

type AutoHealRules struct {
	Actions  *AutoHealActions  `json:"actions,omitempty"`
	Triggers *AutoHealTriggers `json:"triggers,omitempty"`
}

type AutoHealTriggers

type AutoHealTriggers struct {
	PrivateBytesInKB     *int64                          `json:"privateBytesInKB,omitempty"`
	Requests             *RequestsBasedTrigger           `json:"requests,omitempty"`
	SlowRequests         *SlowRequestsBasedTrigger       `json:"slowRequests,omitempty"`
	SlowRequestsWithPath *[]SlowRequestsBasedTrigger     `json:"slowRequestsWithPath,omitempty"`
	StatusCodes          *[]StatusCodesBasedTrigger      `json:"statusCodes,omitempty"`
	StatusCodesRange     *[]StatusCodesRangeBasedTrigger `json:"statusCodesRange,omitempty"`
}

type AzureStorageInfoValue

type AzureStorageInfoValue struct {
	AccessKey   *string            `json:"accessKey,omitempty"`
	AccountName *string            `json:"accountName,omitempty"`
	MountPath   *string            `json:"mountPath,omitempty"`
	ShareName   *string            `json:"shareName,omitempty"`
	State       *AzureStorageState `json:"state,omitempty"`
	Type        *AzureStorageType  `json:"type,omitempty"`
}

type AzureStorageState

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

func (*AzureStorageState) UnmarshalJSON

func (s *AzureStorageState) UnmarshalJSON(bytes []byte) error

type AzureStorageType

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

func (*AzureStorageType) UnmarshalJSON

func (s *AzureStorageType) UnmarshalJSON(bytes []byte) error

type Capability

type Capability struct {
	Name   *string `json:"name,omitempty"`
	Reason *string `json:"reason,omitempty"`
	Value  *string `json:"value,omitempty"`
}

type ClientCertMode

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

func (*ClientCertMode) UnmarshalJSON

func (s *ClientCertMode) UnmarshalJSON(bytes []byte) error

type CloningInfo

type CloningInfo struct {
	AppSettingsOverrides      *map[string]string `json:"appSettingsOverrides,omitempty"`
	CloneCustomHostNames      *bool              `json:"cloneCustomHostNames,omitempty"`
	CloneSourceControl        *bool              `json:"cloneSourceControl,omitempty"`
	ConfigureLoadBalancing    *bool              `json:"configureLoadBalancing,omitempty"`
	CorrelationId             *string            `json:"correlationId,omitempty"`
	HostingEnvironment        *string            `json:"hostingEnvironment,omitempty"`
	Overwrite                 *bool              `json:"overwrite,omitempty"`
	SourceWebAppId            string             `json:"sourceWebAppId"`
	SourceWebAppLocation      *string            `json:"sourceWebAppLocation,omitempty"`
	TrafficManagerProfileId   *string            `json:"trafficManagerProfileId,omitempty"`
	TrafficManagerProfileName *string            `json:"trafficManagerProfileName,omitempty"`
}

type ConnStringInfo

type ConnStringInfo struct {
	ConnectionString *string               `json:"connectionString,omitempty"`
	Name             *string               `json:"name,omitempty"`
	Type             *ConnectionStringType `json:"type,omitempty"`
}

type ConnectionStringType

type ConnectionStringType string
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 (*ConnectionStringType) UnmarshalJSON

func (s *ConnectionStringType) UnmarshalJSON(bytes []byte) error

type CorsSettings

type CorsSettings struct {
	AllowedOrigins     *[]string `json:"allowedOrigins,omitempty"`
	SupportCredentials *bool     `json:"supportCredentials,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServicePlan
}

type CreateOrUpdateVnetRouteOperationResponse

type CreateOrUpdateVnetRouteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VnetRoute
}

type CsmUsageQuota

type CsmUsageQuota struct {
	CurrentValue  *int64             `json:"currentValue,omitempty"`
	Limit         *int64             `json:"limit,omitempty"`
	Name          *LocalizableString `json:"name,omitempty"`
	NextResetTime *string            `json:"nextResetTime,omitempty"`
	Unit          *string            `json:"unit,omitempty"`
}

func (*CsmUsageQuota) GetNextResetTimeAsTime

func (o *CsmUsageQuota) GetNextResetTimeAsTime() (*time.Time, error)

func (*CsmUsageQuota) SetNextResetTimeAsTime

func (o *CsmUsageQuota) SetNextResetTimeAsTime(input time.Time)

type CsmUsageQuotaOperationPredicate

type CsmUsageQuotaOperationPredicate struct {
	CurrentValue  *int64
	Limit         *int64
	NextResetTime *string
	Unit          *string
}

func (CsmUsageQuotaOperationPredicate) Matches

type DaprConfig

type DaprConfig struct {
	AppId              *string       `json:"appId,omitempty"`
	AppPort            *int64        `json:"appPort,omitempty"`
	EnableApiLogging   *bool         `json:"enableApiLogging,omitempty"`
	Enabled            *bool         `json:"enabled,omitempty"`
	HTTPMaxRequestSize *int64        `json:"httpMaxRequestSize,omitempty"`
	HTTPReadBufferSize *int64        `json:"httpReadBufferSize,omitempty"`
	LogLevel           *DaprLogLevel `json:"logLevel,omitempty"`
}

type DaprLogLevel

type DaprLogLevel string
const (
	DaprLogLevelDebug DaprLogLevel = "debug"
	DaprLogLevelError DaprLogLevel = "error"
	DaprLogLevelInfo  DaprLogLevel = "info"
	DaprLogLevelWarn  DaprLogLevel = "warn"
)

func (*DaprLogLevel) UnmarshalJSON

func (s *DaprLogLevel) UnmarshalJSON(bytes []byte) error

type DefaultAction

type DefaultAction string
const (
	DefaultActionAllow DefaultAction = "Allow"
	DefaultActionDeny  DefaultAction = "Deny"
)

func (*DefaultAction) UnmarshalJSON

func (s *DefaultAction) UnmarshalJSON(bytes []byte) error

type DeleteHybridConnectionOperationResponse

type DeleteHybridConnectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteVnetRouteOperationResponse

type DeleteVnetRouteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type Experiments

type Experiments struct {
	RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"`
}

type ExtendedLocation

type ExtendedLocation struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type FtpsState

type FtpsState string
const (
	FtpsStateAllAllowed FtpsState = "AllAllowed"
	FtpsStateDisabled   FtpsState = "Disabled"
	FtpsStateFtpsOnly   FtpsState = "FtpsOnly"
)

func (*FtpsState) UnmarshalJSON

func (s *FtpsState) UnmarshalJSON(bytes []byte) error

type GetHybridConnectionOperationResponse

type GetHybridConnectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *HybridConnection
}

type GetHybridConnectionPlanLimitOperationResponse

type GetHybridConnectionPlanLimitOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *HybridConnectionLimits
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServicePlan
}

type GetRouteForVnetOperationResponse

type GetRouteForVnetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VnetRoute
}

type GetServerFarmSkusOperationResponse

type GetServerFarmSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *interface{}
}

type GetVnetFromServerFarmOperationResponse

type GetVnetFromServerFarmOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VnetInfoResource
}

type GetVnetGatewayOperationResponse

type GetVnetGatewayOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VnetGateway
}

type HandlerMapping

type HandlerMapping struct {
	Arguments       *string `json:"arguments,omitempty"`
	Extension       *string `json:"extension,omitempty"`
	ScriptProcessor *string `json:"scriptProcessor,omitempty"`
}

type HostNameSslState

type HostNameSslState struct {
	HostType   *HostType `json:"hostType,omitempty"`
	Name       *string   `json:"name,omitempty"`
	SslState   *SslState `json:"sslState,omitempty"`
	Thumbprint *string   `json:"thumbprint,omitempty"`
	ToUpdate   *bool     `json:"toUpdate,omitempty"`
	VirtualIP  *string   `json:"virtualIP,omitempty"`
}

type HostType

type HostType string
const (
	HostTypeRepository HostType = "Repository"
	HostTypeStandard   HostType = "Standard"
)

func (*HostType) UnmarshalJSON

func (s *HostType) UnmarshalJSON(bytes []byte) error

type HostingEnvironmentProfile

type HostingEnvironmentProfile struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type HybridConnection

type HybridConnection struct {
	Id         *string                     `json:"id,omitempty"`
	Kind       *string                     `json:"kind,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *HybridConnectionProperties `json:"properties,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type HybridConnectionKey

type HybridConnectionKey struct {
	Id         *string                        `json:"id,omitempty"`
	Kind       *string                        `json:"kind,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *HybridConnectionKeyProperties `json:"properties,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type HybridConnectionKeyProperties

type HybridConnectionKeyProperties struct {
	SendKeyName  *string `json:"sendKeyName,omitempty"`
	SendKeyValue *string `json:"sendKeyValue,omitempty"`
}

type HybridConnectionLimits

type HybridConnectionLimits struct {
	Id         *string                           `json:"id,omitempty"`
	Kind       *string                           `json:"kind,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *HybridConnectionLimitsProperties `json:"properties,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type HybridConnectionLimitsProperties

type HybridConnectionLimitsProperties struct {
	Current *int64 `json:"current,omitempty"`
	Maximum *int64 `json:"maximum,omitempty"`
}

type HybridConnectionNamespaceRelayId

type HybridConnectionNamespaceRelayId struct {
	SubscriptionId                string
	ResourceGroupName             string
	ServerFarmName                string
	HybridConnectionNamespaceName string
	RelayName                     string
}

HybridConnectionNamespaceRelayId is a struct representing the Resource ID for a Hybrid Connection Namespace Relay

func NewHybridConnectionNamespaceRelayID

func NewHybridConnectionNamespaceRelayID(subscriptionId string, resourceGroupName string, serverFarmName string, hybridConnectionNamespaceName string, relayName string) HybridConnectionNamespaceRelayId

NewHybridConnectionNamespaceRelayID returns a new HybridConnectionNamespaceRelayId struct

func ParseHybridConnectionNamespaceRelayID

func ParseHybridConnectionNamespaceRelayID(input string) (*HybridConnectionNamespaceRelayId, error)

ParseHybridConnectionNamespaceRelayID parses 'input' into a HybridConnectionNamespaceRelayId

func ParseHybridConnectionNamespaceRelayIDInsensitively

func ParseHybridConnectionNamespaceRelayIDInsensitively(input string) (*HybridConnectionNamespaceRelayId, error)

ParseHybridConnectionNamespaceRelayIDInsensitively parses 'input' case-insensitively into a HybridConnectionNamespaceRelayId note: this method should only be used for API response data and not user input

func (*HybridConnectionNamespaceRelayId) FromParseResult

func (HybridConnectionNamespaceRelayId) ID

ID returns the formatted Hybrid Connection Namespace Relay ID

func (HybridConnectionNamespaceRelayId) Segments

Segments returns a slice of Resource ID Segments which comprise this Hybrid Connection Namespace Relay ID

func (HybridConnectionNamespaceRelayId) String

String returns a human-readable description of this Hybrid Connection Namespace Relay ID

type HybridConnectionOperationPredicate

type HybridConnectionOperationPredicate struct {
	Id   *string
	Kind *string
	Name *string
	Type *string
}

func (HybridConnectionOperationPredicate) Matches

type HybridConnectionProperties

type HybridConnectionProperties struct {
	Hostname            *string `json:"hostname,omitempty"`
	Port                *int64  `json:"port,omitempty"`
	RelayArmUri         *string `json:"relayArmUri,omitempty"`
	RelayName           *string `json:"relayName,omitempty"`
	SendKeyName         *string `json:"sendKeyName,omitempty"`
	SendKeyValue        *string `json:"sendKeyValue,omitempty"`
	ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"`
	ServiceBusSuffix    *string `json:"serviceBusSuffix,omitempty"`
}

type IPFilterTag

type IPFilterTag string
const (
	IPFilterTagDefault    IPFilterTag = "Default"
	IPFilterTagServiceTag IPFilterTag = "ServiceTag"
	IPFilterTagXffProxy   IPFilterTag = "XffProxy"
)

func (*IPFilterTag) UnmarshalJSON

func (s *IPFilterTag) UnmarshalJSON(bytes []byte) error

type IPSecurityRestriction

type IPSecurityRestriction struct {
	Action               *string              `json:"action,omitempty"`
	Description          *string              `json:"description,omitempty"`
	Headers              *map[string][]string `json:"headers,omitempty"`
	IPAddress            *string              `json:"ipAddress,omitempty"`
	Name                 *string              `json:"name,omitempty"`
	Priority             *int64               `json:"priority,omitempty"`
	SubnetMask           *string              `json:"subnetMask,omitempty"`
	SubnetTrafficTag     *int64               `json:"subnetTrafficTag,omitempty"`
	Tag                  *IPFilterTag         `json:"tag,omitempty"`
	VnetSubnetResourceId *string              `json:"vnetSubnetResourceId,omitempty"`
	VnetTrafficTag       *int64               `json:"vnetTrafficTag,omitempty"`
}

type KubeEnvironmentProfile

type KubeEnvironmentProfile struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AppServicePlan
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AppServicePlan
}

type ListCapabilitiesOperationResponse

type ListCapabilitiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Capability
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AppServicePlan
}

type ListHybridConnectionKeysOperationResponse

type ListHybridConnectionKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *HybridConnectionKey
}

type ListHybridConnectionsCompleteResult

type ListHybridConnectionsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []HybridConnection
}

type ListHybridConnectionsOperationResponse

type ListHybridConnectionsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]HybridConnection
}

type ListOperationOptions

type ListOperationOptions struct {
	Detailed *bool
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AppServicePlan
}

type ListRoutesForVnetOperationResponse

type ListRoutesForVnetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VnetRoute
}

type ListUsagesCompleteResult

type ListUsagesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []CsmUsageQuota
}

type ListUsagesOperationOptions

type ListUsagesOperationOptions struct {
	Filter *string
}

func DefaultListUsagesOperationOptions

func DefaultListUsagesOperationOptions() ListUsagesOperationOptions

func (ListUsagesOperationOptions) ToHeaders

func (o ListUsagesOperationOptions) ToHeaders() *client.Headers

func (ListUsagesOperationOptions) ToOData

func (o ListUsagesOperationOptions) ToOData() *odata.Query

func (ListUsagesOperationOptions) ToQuery

type ListUsagesOperationResponse

type ListUsagesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]CsmUsageQuota
}

type ListVnetsOperationResponse

type ListVnetsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VnetInfoResource
}

type ListWebAppsByHybridConnectionCompleteResult

type ListWebAppsByHybridConnectionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type ListWebAppsByHybridConnectionOperationResponse

type ListWebAppsByHybridConnectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type ListWebAppsCompleteResult

type ListWebAppsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Site
}

type ListWebAppsOperationOptions

type ListWebAppsOperationOptions struct {
	Filter *string
	Top    *string
}

func DefaultListWebAppsOperationOptions

func DefaultListWebAppsOperationOptions() ListWebAppsOperationOptions

func (ListWebAppsOperationOptions) ToHeaders

func (ListWebAppsOperationOptions) ToOData

func (ListWebAppsOperationOptions) ToQuery

type ListWebAppsOperationResponse

type ListWebAppsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Site
}

type LocalizableString

type LocalizableString struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

type ManagedPipelineMode

type ManagedPipelineMode string
const (
	ManagedPipelineModeClassic    ManagedPipelineMode = "Classic"
	ManagedPipelineModeIntegrated ManagedPipelineMode = "Integrated"
)

func (*ManagedPipelineMode) UnmarshalJSON

func (s *ManagedPipelineMode) UnmarshalJSON(bytes []byte) error

type NameValuePair

type NameValuePair struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled   ProvisioningState = "Canceled"
	ProvisioningStateDeleting   ProvisioningState = "Deleting"
	ProvisioningStateFailed     ProvisioningState = "Failed"
	ProvisioningStateInProgress ProvisioningState = "InProgress"
	ProvisioningStateSucceeded  ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type PushSettings

type PushSettings struct {
	Id         *string                 `json:"id,omitempty"`
	Kind       *string                 `json:"kind,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	Properties *PushSettingsProperties `json:"properties,omitempty"`
	Type       *string                 `json:"type,omitempty"`
}

type PushSettingsProperties

type PushSettingsProperties struct {
	DynamicTagsJson   *string `json:"dynamicTagsJson,omitempty"`
	IsPushEnabled     bool    `json:"isPushEnabled"`
	TagWhitelistJson  *string `json:"tagWhitelistJson,omitempty"`
	TagsRequiringAuth *string `json:"tagsRequiringAuth,omitempty"`
}

type RampUpRule

type RampUpRule struct {
	ActionHostName            *string  `json:"actionHostName,omitempty"`
	ChangeDecisionCallbackUrl *string  `json:"changeDecisionCallbackUrl,omitempty"`
	ChangeIntervalInMinutes   *int64   `json:"changeIntervalInMinutes,omitempty"`
	ChangeStep                *float64 `json:"changeStep,omitempty"`
	MaxReroutePercentage      *float64 `json:"maxReroutePercentage,omitempty"`
	MinReroutePercentage      *float64 `json:"minReroutePercentage,omitempty"`
	Name                      *string  `json:"name,omitempty"`
	ReroutePercentage         *float64 `json:"reroutePercentage,omitempty"`
}

type RebootWorkerOperationResponse

type RebootWorkerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RedundancyMode

type RedundancyMode string
const (
	RedundancyModeActiveActive RedundancyMode = "ActiveActive"
	RedundancyModeFailover     RedundancyMode = "Failover"
	RedundancyModeGeoRedundant RedundancyMode = "GeoRedundant"
	RedundancyModeManual       RedundancyMode = "Manual"
	RedundancyModeNone         RedundancyMode = "None"
)

func (*RedundancyMode) UnmarshalJSON

func (s *RedundancyMode) UnmarshalJSON(bytes []byte) error

type RequestsBasedTrigger

type RequestsBasedTrigger struct {
	Count        *int64  `json:"count,omitempty"`
	TimeInterval *string `json:"timeInterval,omitempty"`
}

type ResourceConfig

type ResourceConfig struct {
	Cpu    *float64 `json:"cpu,omitempty"`
	Memory *string  `json:"memory,omitempty"`
}

type RestartWebAppsOperationOptions

type RestartWebAppsOperationOptions struct {
	SoftRestart *bool
}

func DefaultRestartWebAppsOperationOptions

func DefaultRestartWebAppsOperationOptions() RestartWebAppsOperationOptions

func (RestartWebAppsOperationOptions) ToHeaders

func (RestartWebAppsOperationOptions) ToOData

func (RestartWebAppsOperationOptions) ToQuery

type RestartWebAppsOperationResponse

type RestartWebAppsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RouteId

type RouteId struct {
	SubscriptionId               string
	ResourceGroupName            string
	ServerFarmName               string
	VirtualNetworkConnectionName string
	RouteName                    string
}

RouteId is a struct representing the Resource ID for a Route

func NewRouteID

func NewRouteID(subscriptionId string, resourceGroupName string, serverFarmName string, virtualNetworkConnectionName string, routeName string) RouteId

NewRouteID returns a new RouteId struct

func ParseRouteID

func ParseRouteID(input string) (*RouteId, error)

ParseRouteID parses 'input' into a RouteId

func ParseRouteIDInsensitively

func ParseRouteIDInsensitively(input string) (*RouteId, error)

ParseRouteIDInsensitively parses 'input' case-insensitively into a RouteId note: this method should only be used for API response data and not user input

func (*RouteId) FromParseResult

func (id *RouteId) FromParseResult(input resourceids.ParseResult) error

func (RouteId) ID

func (id RouteId) ID() string

ID returns the formatted Route ID

func (RouteId) Segments

func (id RouteId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Route ID

func (RouteId) String

func (id RouteId) String() string

String returns a human-readable description of this Route ID

type RouteType

type RouteType string
const (
	RouteTypeDefault   RouteType = "DEFAULT"
	RouteTypeINHERITED RouteType = "INHERITED"
	RouteTypeSTATIC    RouteType = "STATIC"
)

func (*RouteType) UnmarshalJSON

func (s *RouteType) UnmarshalJSON(bytes []byte) error

type ScmType

type ScmType string
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 (*ScmType) UnmarshalJSON

func (s *ScmType) UnmarshalJSON(bytes []byte) error

type ServerFarmVirtualNetworkConnectionId

type ServerFarmVirtualNetworkConnectionId struct {
	SubscriptionId               string
	ResourceGroupName            string
	ServerFarmName               string
	VirtualNetworkConnectionName string
}

ServerFarmVirtualNetworkConnectionId is a struct representing the Resource ID for a Server Farm Virtual Network Connection

func NewServerFarmVirtualNetworkConnectionID

func NewServerFarmVirtualNetworkConnectionID(subscriptionId string, resourceGroupName string, serverFarmName string, virtualNetworkConnectionName string) ServerFarmVirtualNetworkConnectionId

NewServerFarmVirtualNetworkConnectionID returns a new ServerFarmVirtualNetworkConnectionId struct

func ParseServerFarmVirtualNetworkConnectionID

func ParseServerFarmVirtualNetworkConnectionID(input string) (*ServerFarmVirtualNetworkConnectionId, error)

ParseServerFarmVirtualNetworkConnectionID parses 'input' into a ServerFarmVirtualNetworkConnectionId

func ParseServerFarmVirtualNetworkConnectionIDInsensitively

func ParseServerFarmVirtualNetworkConnectionIDInsensitively(input string) (*ServerFarmVirtualNetworkConnectionId, error)

ParseServerFarmVirtualNetworkConnectionIDInsensitively parses 'input' case-insensitively into a ServerFarmVirtualNetworkConnectionId note: this method should only be used for API response data and not user input

func (*ServerFarmVirtualNetworkConnectionId) FromParseResult

func (ServerFarmVirtualNetworkConnectionId) ID

ID returns the formatted Server Farm Virtual Network Connection ID

func (ServerFarmVirtualNetworkConnectionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Server Farm Virtual Network Connection ID

func (ServerFarmVirtualNetworkConnectionId) String

String returns a human-readable description of this Server Farm Virtual Network Connection ID

type Site

type Site struct {
	ExtendedLocation *ExtendedLocation                  `json:"extendedLocation,omitempty"`
	Id               *string                            `json:"id,omitempty"`
	Identity         *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Kind             *string                            `json:"kind,omitempty"`
	Location         string                             `json:"location"`
	Name             *string                            `json:"name,omitempty"`
	Properties       *SiteProperties                    `json:"properties,omitempty"`
	Tags             *map[string]string                 `json:"tags,omitempty"`
	Type             *string                            `json:"type,omitempty"`
}

type SiteAvailabilityState

type SiteAvailabilityState string
const (
	SiteAvailabilityStateDisasterRecoveryMode SiteAvailabilityState = "DisasterRecoveryMode"
	SiteAvailabilityStateLimited              SiteAvailabilityState = "Limited"
	SiteAvailabilityStateNormal               SiteAvailabilityState = "Normal"
)

func (*SiteAvailabilityState) UnmarshalJSON

func (s *SiteAvailabilityState) UnmarshalJSON(bytes []byte) error

type SiteConfig

type SiteConfig struct {
	AcrUseManagedIdentityCreds             *bool                             `json:"acrUseManagedIdentityCreds,omitempty"`
	AcrUserManagedIdentityID               *string                           `json:"acrUserManagedIdentityID,omitempty"`
	AlwaysOn                               *bool                             `json:"alwaysOn,omitempty"`
	ApiDefinition                          *ApiDefinitionInfo                `json:"apiDefinition,omitempty"`
	ApiManagementConfig                    *ApiManagementConfig              `json:"apiManagementConfig,omitempty"`
	AppCommandLine                         *string                           `json:"appCommandLine,omitempty"`
	AppSettings                            *[]NameValuePair                  `json:"appSettings,omitempty"`
	AutoHealEnabled                        *bool                             `json:"autoHealEnabled,omitempty"`
	AutoHealRules                          *AutoHealRules                    `json:"autoHealRules,omitempty"`
	AutoSwapSlotName                       *string                           `json:"autoSwapSlotName,omitempty"`
	AzureStorageAccounts                   *map[string]AzureStorageInfoValue `json:"azureStorageAccounts,omitempty"`
	ConnectionStrings                      *[]ConnStringInfo                 `json:"connectionStrings,omitempty"`
	Cors                                   *CorsSettings                     `json:"cors,omitempty"`
	DefaultDocuments                       *[]string                         `json:"defaultDocuments,omitempty"`
	DetailedErrorLoggingEnabled            *bool                             `json:"detailedErrorLoggingEnabled,omitempty"`
	DocumentRoot                           *string                           `json:"documentRoot,omitempty"`
	ElasticWebAppScaleLimit                *int64                            `json:"elasticWebAppScaleLimit,omitempty"`
	Experiments                            *Experiments                      `json:"experiments,omitempty"`
	FtpsState                              *FtpsState                        `json:"ftpsState,omitempty"`
	FunctionAppScaleLimit                  *int64                            `json:"functionAppScaleLimit,omitempty"`
	FunctionsRuntimeScaleMonitoringEnabled *bool                             `json:"functionsRuntimeScaleMonitoringEnabled,omitempty"`
	HTTP20Enabled                          *bool                             `json:"http20Enabled,omitempty"`
	HTTPLoggingEnabled                     *bool                             `json:"httpLoggingEnabled,omitempty"`
	HandlerMappings                        *[]HandlerMapping                 `json:"handlerMappings,omitempty"`
	HealthCheckPath                        *string                           `json:"healthCheckPath,omitempty"`
	IPSecurityRestrictions                 *[]IPSecurityRestriction          `json:"ipSecurityRestrictions,omitempty"`
	IPSecurityRestrictionsDefaultAction    *DefaultAction                    `json:"ipSecurityRestrictionsDefaultAction,omitempty"`
	JavaContainer                          *string                           `json:"javaContainer,omitempty"`
	JavaContainerVersion                   *string                           `json:"javaContainerVersion,omitempty"`
	JavaVersion                            *string                           `json:"javaVersion,omitempty"`
	KeyVaultReferenceIdentity              *string                           `json:"keyVaultReferenceIdentity,omitempty"`
	Limits                                 *SiteLimits                       `json:"limits,omitempty"`
	LinuxFxVersion                         *string                           `json:"linuxFxVersion,omitempty"`
	LoadBalancing                          *SiteLoadBalancing                `json:"loadBalancing,omitempty"`
	LocalMySqlEnabled                      *bool                             `json:"localMySqlEnabled,omitempty"`
	LogsDirectorySizeLimit                 *int64                            `json:"logsDirectorySizeLimit,omitempty"`
	MachineKey                             *SiteMachineKey                   `json:"machineKey,omitempty"`
	ManagedPipelineMode                    *ManagedPipelineMode              `json:"managedPipelineMode,omitempty"`
	ManagedServiceIdentityId               *int64                            `json:"managedServiceIdentityId,omitempty"`
	Metadata                               *[]NameValuePair                  `json:"metadata,omitempty"`
	MinTlsCipherSuite                      *TlsCipherSuites                  `json:"minTlsCipherSuite,omitempty"`
	MinTlsVersion                          *SupportedTlsVersions             `json:"minTlsVersion,omitempty"`
	MinimumElasticInstanceCount            *int64                            `json:"minimumElasticInstanceCount,omitempty"`
	NetFrameworkVersion                    *string                           `json:"netFrameworkVersion,omitempty"`
	NodeVersion                            *string                           `json:"nodeVersion,omitempty"`
	NumberOfWorkers                        *int64                            `json:"numberOfWorkers,omitempty"`
	PhpVersion                             *string                           `json:"phpVersion,omitempty"`
	PowerShellVersion                      *string                           `json:"powerShellVersion,omitempty"`
	PreWarmedInstanceCount                 *int64                            `json:"preWarmedInstanceCount,omitempty"`
	PublicNetworkAccess                    *string                           `json:"publicNetworkAccess,omitempty"`
	PublishingUsername                     *string                           `json:"publishingUsername,omitempty"`
	Push                                   *PushSettings                     `json:"push,omitempty"`
	PythonVersion                          *string                           `json:"pythonVersion,omitempty"`
	RemoteDebuggingEnabled                 *bool                             `json:"remoteDebuggingEnabled,omitempty"`
	RemoteDebuggingVersion                 *string                           `json:"remoteDebuggingVersion,omitempty"`
	RequestTracingEnabled                  *bool                             `json:"requestTracingEnabled,omitempty"`
	RequestTracingExpirationTime           *string                           `json:"requestTracingExpirationTime,omitempty"`
	ScmIPSecurityRestrictions              *[]IPSecurityRestriction          `json:"scmIpSecurityRestrictions,omitempty"`
	ScmIPSecurityRestrictionsDefaultAction *DefaultAction                    `json:"scmIpSecurityRestrictionsDefaultAction,omitempty"`
	ScmIPSecurityRestrictionsUseMain       *bool                             `json:"scmIpSecurityRestrictionsUseMain,omitempty"`
	ScmMinTlsVersion                       *SupportedTlsVersions             `json:"scmMinTlsVersion,omitempty"`
	ScmType                                *ScmType                          `json:"scmType,omitempty"`
	TracingOptions                         *string                           `json:"tracingOptions,omitempty"`
	Use32BitWorkerProcess                  *bool                             `json:"use32BitWorkerProcess,omitempty"`
	VirtualApplications                    *[]VirtualApplication             `json:"virtualApplications,omitempty"`
	VnetName                               *string                           `json:"vnetName,omitempty"`
	VnetPrivatePortsCount                  *int64                            `json:"vnetPrivatePortsCount,omitempty"`
	VnetRouteAllEnabled                    *bool                             `json:"vnetRouteAllEnabled,omitempty"`
	WebSocketsEnabled                      *bool                             `json:"webSocketsEnabled,omitempty"`
	WebsiteTimeZone                        *string                           `json:"websiteTimeZone,omitempty"`
	WindowsFxVersion                       *string                           `json:"windowsFxVersion,omitempty"`
	XManagedServiceIdentityId              *int64                            `json:"xManagedServiceIdentityId,omitempty"`
}

func (*SiteConfig) GetRequestTracingExpirationTimeAsTime

func (o *SiteConfig) GetRequestTracingExpirationTimeAsTime() (*time.Time, error)

func (*SiteConfig) SetRequestTracingExpirationTimeAsTime

func (o *SiteConfig) SetRequestTracingExpirationTimeAsTime(input time.Time)

type SiteLimits

type SiteLimits struct {
	MaxDiskSizeInMb  *int64   `json:"maxDiskSizeInMb,omitempty"`
	MaxMemoryInMb    *int64   `json:"maxMemoryInMb,omitempty"`
	MaxPercentageCPU *float64 `json:"maxPercentageCpu,omitempty"`
}

type SiteLoadBalancing

type SiteLoadBalancing string
const (
	SiteLoadBalancingLeastRequests        SiteLoadBalancing = "LeastRequests"
	SiteLoadBalancingLeastResponseTime    SiteLoadBalancing = "LeastResponseTime"
	SiteLoadBalancingPerSiteRoundRobin    SiteLoadBalancing = "PerSiteRoundRobin"
	SiteLoadBalancingRequestHash          SiteLoadBalancing = "RequestHash"
	SiteLoadBalancingWeightedRoundRobin   SiteLoadBalancing = "WeightedRoundRobin"
	SiteLoadBalancingWeightedTotalTraffic SiteLoadBalancing = "WeightedTotalTraffic"
)

func (*SiteLoadBalancing) UnmarshalJSON

func (s *SiteLoadBalancing) UnmarshalJSON(bytes []byte) error

type SiteMachineKey

type SiteMachineKey struct {
	Decryption    *string `json:"decryption,omitempty"`
	DecryptionKey *string `json:"decryptionKey,omitempty"`
	Validation    *string `json:"validation,omitempty"`
	ValidationKey *string `json:"validationKey,omitempty"`
}

type SiteOperationPredicate

type SiteOperationPredicate struct {
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (SiteOperationPredicate) Matches

func (p SiteOperationPredicate) Matches(input Site) bool

type SiteProperties

type SiteProperties struct {
	AvailabilityState           *SiteAvailabilityState     `json:"availabilityState,omitempty"`
	ClientAffinityEnabled       *bool                      `json:"clientAffinityEnabled,omitempty"`
	ClientCertEnabled           *bool                      `json:"clientCertEnabled,omitempty"`
	ClientCertExclusionPaths    *string                    `json:"clientCertExclusionPaths,omitempty"`
	ClientCertMode              *ClientCertMode            `json:"clientCertMode,omitempty"`
	CloningInfo                 *CloningInfo               `json:"cloningInfo,omitempty"`
	ContainerSize               *int64                     `json:"containerSize,omitempty"`
	CustomDomainVerificationId  *string                    `json:"customDomainVerificationId,omitempty"`
	DailyMemoryTimeQuota        *int64                     `json:"dailyMemoryTimeQuota,omitempty"`
	DaprConfig                  *DaprConfig                `json:"daprConfig,omitempty"`
	DefaultHostName             *string                    `json:"defaultHostName,omitempty"`
	Enabled                     *bool                      `json:"enabled,omitempty"`
	EnabledHostNames            *[]string                  `json:"enabledHostNames,omitempty"`
	HTTPSOnly                   *bool                      `json:"httpsOnly,omitempty"`
	HostNameSslStates           *[]HostNameSslState        `json:"hostNameSslStates,omitempty"`
	HostNames                   *[]string                  `json:"hostNames,omitempty"`
	HostNamesDisabled           *bool                      `json:"hostNamesDisabled,omitempty"`
	HostingEnvironmentProfile   *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
	HyperV                      *bool                      `json:"hyperV,omitempty"`
	InProgressOperationId       *string                    `json:"inProgressOperationId,omitempty"`
	IsDefaultContainer          *bool                      `json:"isDefaultContainer,omitempty"`
	IsXenon                     *bool                      `json:"isXenon,omitempty"`
	KeyVaultReferenceIdentity   *string                    `json:"keyVaultReferenceIdentity,omitempty"`
	LastModifiedTimeUtc         *string                    `json:"lastModifiedTimeUtc,omitempty"`
	ManagedEnvironmentId        *string                    `json:"managedEnvironmentId,omitempty"`
	MaxNumberOfWorkers          *int64                     `json:"maxNumberOfWorkers,omitempty"`
	OutboundIPAddresses         *string                    `json:"outboundIpAddresses,omitempty"`
	PossibleOutboundIPAddresses *string                    `json:"possibleOutboundIpAddresses,omitempty"`
	PublicNetworkAccess         *string                    `json:"publicNetworkAccess,omitempty"`
	RedundancyMode              *RedundancyMode            `json:"redundancyMode,omitempty"`
	RepositorySiteName          *string                    `json:"repositorySiteName,omitempty"`
	Reserved                    *bool                      `json:"reserved,omitempty"`
	ResourceConfig              *ResourceConfig            `json:"resourceConfig,omitempty"`
	ResourceGroup               *string                    `json:"resourceGroup,omitempty"`
	ScmSiteAlsoStopped          *bool                      `json:"scmSiteAlsoStopped,omitempty"`
	ServerFarmId                *string                    `json:"serverFarmId,omitempty"`
	SiteConfig                  *SiteConfig                `json:"siteConfig,omitempty"`
	SlotSwapStatus              *SlotSwapStatus            `json:"slotSwapStatus,omitempty"`
	State                       *string                    `json:"state,omitempty"`
	StorageAccountRequired      *bool                      `json:"storageAccountRequired,omitempty"`
	SuspendedTill               *string                    `json:"suspendedTill,omitempty"`
	TargetSwapSlot              *string                    `json:"targetSwapSlot,omitempty"`
	TrafficManagerHostNames     *[]string                  `json:"trafficManagerHostNames,omitempty"`
	UsageState                  *UsageState                `json:"usageState,omitempty"`
	VirtualNetworkSubnetId      *string                    `json:"virtualNetworkSubnetId,omitempty"`
	VnetContentShareEnabled     *bool                      `json:"vnetContentShareEnabled,omitempty"`
	VnetImagePullEnabled        *bool                      `json:"vnetImagePullEnabled,omitempty"`
	VnetRouteAllEnabled         *bool                      `json:"vnetRouteAllEnabled,omitempty"`
	WorkloadProfileName         *string                    `json:"workloadProfileName,omitempty"`
}

func (*SiteProperties) GetLastModifiedTimeUtcAsTime

func (o *SiteProperties) GetLastModifiedTimeUtcAsTime() (*time.Time, error)

func (*SiteProperties) GetSuspendedTillAsTime

func (o *SiteProperties) GetSuspendedTillAsTime() (*time.Time, error)

func (*SiteProperties) SetLastModifiedTimeUtcAsTime

func (o *SiteProperties) SetLastModifiedTimeUtcAsTime(input time.Time)

func (*SiteProperties) SetSuspendedTillAsTime

func (o *SiteProperties) SetSuspendedTillAsTime(input time.Time)

type SkuCapacity

type SkuCapacity struct {
	Default        *int64  `json:"default,omitempty"`
	ElasticMaximum *int64  `json:"elasticMaximum,omitempty"`
	Maximum        *int64  `json:"maximum,omitempty"`
	Minimum        *int64  `json:"minimum,omitempty"`
	ScaleType      *string `json:"scaleType,omitempty"`
}

type SkuDescription

type SkuDescription struct {
	Capabilities *[]Capability `json:"capabilities,omitempty"`
	Capacity     *int64        `json:"capacity,omitempty"`
	Family       *string       `json:"family,omitempty"`
	Locations    *[]string     `json:"locations,omitempty"`
	Name         *string       `json:"name,omitempty"`
	Size         *string       `json:"size,omitempty"`
	SkuCapacity  *SkuCapacity  `json:"skuCapacity,omitempty"`
	Tier         *string       `json:"tier,omitempty"`
}

type SlotSwapStatus

type SlotSwapStatus struct {
	DestinationSlotName *string `json:"destinationSlotName,omitempty"`
	SourceSlotName      *string `json:"sourceSlotName,omitempty"`
	TimestampUtc        *string `json:"timestampUtc,omitempty"`
}

func (*SlotSwapStatus) GetTimestampUtcAsTime

func (o *SlotSwapStatus) GetTimestampUtcAsTime() (*time.Time, error)

func (*SlotSwapStatus) SetTimestampUtcAsTime

func (o *SlotSwapStatus) SetTimestampUtcAsTime(input time.Time)

type SlowRequestsBasedTrigger

type SlowRequestsBasedTrigger struct {
	Count        *int64  `json:"count,omitempty"`
	Path         *string `json:"path,omitempty"`
	TimeInterval *string `json:"timeInterval,omitempty"`
	TimeTaken    *string `json:"timeTaken,omitempty"`
}

type SslState

type SslState string
const (
	SslStateDisabled       SslState = "Disabled"
	SslStateIPBasedEnabled SslState = "IpBasedEnabled"
	SslStateSniEnabled     SslState = "SniEnabled"
)

func (*SslState) UnmarshalJSON

func (s *SslState) UnmarshalJSON(bytes []byte) error

type StatusCodesBasedTrigger

type StatusCodesBasedTrigger struct {
	Count        *int64  `json:"count,omitempty"`
	Path         *string `json:"path,omitempty"`
	Status       *int64  `json:"status,omitempty"`
	SubStatus    *int64  `json:"subStatus,omitempty"`
	TimeInterval *string `json:"timeInterval,omitempty"`
	Win32Status  *int64  `json:"win32Status,omitempty"`
}

type StatusCodesRangeBasedTrigger

type StatusCodesRangeBasedTrigger struct {
	Count        *int64  `json:"count,omitempty"`
	Path         *string `json:"path,omitempty"`
	StatusCodes  *string `json:"statusCodes,omitempty"`
	TimeInterval *string `json:"timeInterval,omitempty"`
}

type StatusOptions

type StatusOptions string
const (
	StatusOptionsCreating StatusOptions = "Creating"
	StatusOptionsPending  StatusOptions = "Pending"
	StatusOptionsReady    StatusOptions = "Ready"
)

func (*StatusOptions) UnmarshalJSON

func (s *StatusOptions) UnmarshalJSON(bytes []byte) error

type SupportedTlsVersions

type SupportedTlsVersions string
const (
	SupportedTlsVersionsOnePointOne  SupportedTlsVersions = "1.1"
	SupportedTlsVersionsOnePointTwo  SupportedTlsVersions = "1.2"
	SupportedTlsVersionsOnePointZero SupportedTlsVersions = "1.0"
)

func (*SupportedTlsVersions) UnmarshalJSON

func (s *SupportedTlsVersions) UnmarshalJSON(bytes []byte) error

type TlsCipherSuites

type TlsCipherSuites string
const (
	TlsCipherSuitesTLSAESOneTwoEightGCMSHATwoFiveSix                  TlsCipherSuites = "TLS_AES_128_GCM_SHA256"
	TlsCipherSuitesTLSAESTwoFiveSixGCMSHAThreeEightFour               TlsCipherSuites = "TLS_AES_256_GCM_SHA384"
	TlsCipherSuitesTLSECDHEECDSAWITHAESOneTwoEightCBCSHATwoFiveSix    TlsCipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
	TlsCipherSuitesTLSECDHEECDSAWITHAESOneTwoEightGCMSHATwoFiveSix    TlsCipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
	TlsCipherSuitesTLSECDHEECDSAWITHAESTwoFiveSixGCMSHAThreeEightFour TlsCipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
	TlsCipherSuitesTLSECDHERSAWITHAESOneTwoEightCBCSHA                TlsCipherSuites = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
	TlsCipherSuitesTLSECDHERSAWITHAESOneTwoEightCBCSHATwoFiveSix      TlsCipherSuites = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
	TlsCipherSuitesTLSECDHERSAWITHAESOneTwoEightGCMSHATwoFiveSix      TlsCipherSuites = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
	TlsCipherSuitesTLSECDHERSAWITHAESTwoFiveSixCBCSHA                 TlsCipherSuites = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
	TlsCipherSuitesTLSECDHERSAWITHAESTwoFiveSixCBCSHAThreeEightFour   TlsCipherSuites = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
	TlsCipherSuitesTLSECDHERSAWITHAESTwoFiveSixGCMSHAThreeEightFour   TlsCipherSuites = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
	TlsCipherSuitesTLSRSAWITHAESOneTwoEightCBCSHA                     TlsCipherSuites = "TLS_RSA_WITH_AES_128_CBC_SHA"
	TlsCipherSuitesTLSRSAWITHAESOneTwoEightCBCSHATwoFiveSix           TlsCipherSuites = "TLS_RSA_WITH_AES_128_CBC_SHA256"
	TlsCipherSuitesTLSRSAWITHAESOneTwoEightGCMSHATwoFiveSix           TlsCipherSuites = "TLS_RSA_WITH_AES_128_GCM_SHA256"
	TlsCipherSuitesTLSRSAWITHAESTwoFiveSixCBCSHA                      TlsCipherSuites = "TLS_RSA_WITH_AES_256_CBC_SHA"
	TlsCipherSuitesTLSRSAWITHAESTwoFiveSixCBCSHATwoFiveSix            TlsCipherSuites = "TLS_RSA_WITH_AES_256_CBC_SHA256"
	TlsCipherSuitesTLSRSAWITHAESTwoFiveSixGCMSHAThreeEightFour        TlsCipherSuites = "TLS_RSA_WITH_AES_256_GCM_SHA384"
)

func (*TlsCipherSuites) UnmarshalJSON

func (s *TlsCipherSuites) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServicePlan
}

type UpdateVnetGatewayOperationResponse

type UpdateVnetGatewayOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VnetGateway
}

type UpdateVnetRouteOperationResponse

type UpdateVnetRouteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VnetRoute
}

type UsageState

type UsageState string
const (
	UsageStateExceeded UsageState = "Exceeded"
	UsageStateNormal   UsageState = "Normal"
)

func (*UsageState) UnmarshalJSON

func (s *UsageState) UnmarshalJSON(bytes []byte) error

type VirtualApplication

type VirtualApplication struct {
	PhysicalPath       *string             `json:"physicalPath,omitempty"`
	PreloadEnabled     *bool               `json:"preloadEnabled,omitempty"`
	VirtualDirectories *[]VirtualDirectory `json:"virtualDirectories,omitempty"`
	VirtualPath        *string             `json:"virtualPath,omitempty"`
}

type VirtualDirectory

type VirtualDirectory struct {
	PhysicalPath *string `json:"physicalPath,omitempty"`
	VirtualPath  *string `json:"virtualPath,omitempty"`
}

type VirtualNetworkConnectionGatewayId

type VirtualNetworkConnectionGatewayId struct {
	SubscriptionId               string
	ResourceGroupName            string
	ServerFarmName               string
	VirtualNetworkConnectionName string
	GatewayName                  string
}

VirtualNetworkConnectionGatewayId is a struct representing the Resource ID for a Virtual Network Connection Gateway

func NewVirtualNetworkConnectionGatewayID

func NewVirtualNetworkConnectionGatewayID(subscriptionId string, resourceGroupName string, serverFarmName string, virtualNetworkConnectionName string, gatewayName string) VirtualNetworkConnectionGatewayId

NewVirtualNetworkConnectionGatewayID returns a new VirtualNetworkConnectionGatewayId struct

func ParseVirtualNetworkConnectionGatewayID

func ParseVirtualNetworkConnectionGatewayID(input string) (*VirtualNetworkConnectionGatewayId, error)

ParseVirtualNetworkConnectionGatewayID parses 'input' into a VirtualNetworkConnectionGatewayId

func ParseVirtualNetworkConnectionGatewayIDInsensitively

func ParseVirtualNetworkConnectionGatewayIDInsensitively(input string) (*VirtualNetworkConnectionGatewayId, error)

ParseVirtualNetworkConnectionGatewayIDInsensitively parses 'input' case-insensitively into a VirtualNetworkConnectionGatewayId note: this method should only be used for API response data and not user input

func (*VirtualNetworkConnectionGatewayId) FromParseResult

func (VirtualNetworkConnectionGatewayId) ID

ID returns the formatted Virtual Network Connection Gateway ID

func (VirtualNetworkConnectionGatewayId) Segments

Segments returns a slice of Resource ID Segments which comprise this Virtual Network Connection Gateway ID

func (VirtualNetworkConnectionGatewayId) String

String returns a human-readable description of this Virtual Network Connection Gateway ID

type VnetGateway

type VnetGateway struct {
	Id         *string                `json:"id,omitempty"`
	Kind       *string                `json:"kind,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *VnetGatewayProperties `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type VnetGatewayProperties

type VnetGatewayProperties struct {
	VnetName      *string `json:"vnetName,omitempty"`
	VpnPackageUri string  `json:"vpnPackageUri"`
}

type VnetInfo

type VnetInfo struct {
	CertBlob       *string      `json:"certBlob,omitempty"`
	CertThumbprint *string      `json:"certThumbprint,omitempty"`
	DnsServers     *string      `json:"dnsServers,omitempty"`
	IsSwift        *bool        `json:"isSwift,omitempty"`
	ResyncRequired *bool        `json:"resyncRequired,omitempty"`
	Routes         *[]VnetRoute `json:"routes,omitempty"`
	VnetResourceId *string      `json:"vnetResourceId,omitempty"`
}

type VnetInfoResource

type VnetInfoResource struct {
	Id         *string   `json:"id,omitempty"`
	Kind       *string   `json:"kind,omitempty"`
	Name       *string   `json:"name,omitempty"`
	Properties *VnetInfo `json:"properties,omitempty"`
	Type       *string   `json:"type,omitempty"`
}

type VnetRoute

type VnetRoute struct {
	Id         *string              `json:"id,omitempty"`
	Kind       *string              `json:"kind,omitempty"`
	Name       *string              `json:"name,omitempty"`
	Properties *VnetRouteProperties `json:"properties,omitempty"`
	Type       *string              `json:"type,omitempty"`
}

type VnetRouteProperties

type VnetRouteProperties struct {
	EndAddress   *string    `json:"endAddress,omitempty"`
	RouteType    *RouteType `json:"routeType,omitempty"`
	StartAddress *string    `json:"startAddress,omitempty"`
}

type WorkerId

type WorkerId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServerFarmName    string
	WorkerName        string
}

WorkerId is a struct representing the Resource ID for a Worker

func NewWorkerID

func NewWorkerID(subscriptionId string, resourceGroupName string, serverFarmName string, workerName string) WorkerId

NewWorkerID returns a new WorkerId struct

func ParseWorkerID

func ParseWorkerID(input string) (*WorkerId, error)

ParseWorkerID parses 'input' into a WorkerId

func ParseWorkerIDInsensitively

func ParseWorkerIDInsensitively(input string) (*WorkerId, error)

ParseWorkerIDInsensitively parses 'input' case-insensitively into a WorkerId note: this method should only be used for API response data and not user input

func (*WorkerId) FromParseResult

func (id *WorkerId) FromParseResult(input resourceids.ParseResult) error

func (WorkerId) ID

func (id WorkerId) ID() string

ID returns the formatted Worker ID

func (WorkerId) Segments

func (id WorkerId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Worker ID

func (WorkerId) String

func (id WorkerId) String() string

String returns a human-readable description of this Worker ID

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL