provider

package
v0.20240110.1151535 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/web/2022-09-01/provider Documentation

The provider SDK allows for interaction with the Azure Resource Manager Service web (API Version 2022-09-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-sdk/resource-manager/web/2022-09-01/provider"

Client Initialization

client := provider.NewProviderClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ProviderClient.GetAvailableStacks

ctx := context.TODO()


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

Example Usage: ProviderClient.GetAvailableStacksOnPrem

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

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

Example Usage: ProviderClient.GetFunctionAppStacks

ctx := context.TODO()


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

Example Usage: ProviderClient.GetFunctionAppStacksForLocation

ctx := context.TODO()
id := provider.NewLocationID("locationValue")

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

Example Usage: ProviderClient.GetWebAppStacks

ctx := context.TODO()


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

Example Usage: ProviderClient.GetWebAppStacksForLocation

ctx := context.TODO()
id := provider.NewLocationID("locationValue")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForProviderOsTypeSelected

func PossibleValuesForProviderOsTypeSelected() []string

func PossibleValuesForProviderStackOsType

func PossibleValuesForProviderStackOsType() []string

func PossibleValuesForStackPreferredOs

func PossibleValuesForStackPreferredOs() []string

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

Types

type AppInsightsWebAppStackSettings

type AppInsightsWebAppStackSettings struct {
	IsDefaultOff *bool `json:"isDefaultOff,omitempty"`
	IsSupported  *bool `json:"isSupported,omitempty"`
}

type ApplicationStack

type ApplicationStack struct {
	Dependency    *string              `json:"dependency,omitempty"`
	Display       *string              `json:"display,omitempty"`
	Frameworks    *[]ApplicationStack  `json:"frameworks,omitempty"`
	IsDeprecated  *[]ApplicationStack  `json:"isDeprecated,omitempty"`
	MajorVersions *[]StackMajorVersion `json:"majorVersions,omitempty"`
	Name          *string              `json:"name,omitempty"`
}

type ApplicationStackResource

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

type ApplicationStackResourceOperationPredicate

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

func (ApplicationStackResourceOperationPredicate) Matches

type FunctionAppMajorVersion

type FunctionAppMajorVersion struct {
	DisplayText   *string                    `json:"displayText,omitempty"`
	MinorVersions *[]FunctionAppMinorVersion `json:"minorVersions,omitempty"`
	Value         *string                    `json:"value,omitempty"`
}

type FunctionAppMinorVersion

type FunctionAppMinorVersion struct {
	DisplayText   *string              `json:"displayText,omitempty"`
	StackSettings *FunctionAppRuntimes `json:"stackSettings,omitempty"`
	Value         *string              `json:"value,omitempty"`
}

type FunctionAppRuntimeSettings

type FunctionAppRuntimeSettings struct {
	AppInsightsSettings                 *AppInsightsWebAppStackSettings  `json:"appInsightsSettings,omitempty"`
	AppSettingsDictionary               *map[string]string               `json:"appSettingsDictionary,omitempty"`
	EndOfLifeDate                       *string                          `json:"endOfLifeDate,omitempty"`
	GitHubActionSettings                *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty"`
	IsAutoUpdate                        *bool                            `json:"isAutoUpdate,omitempty"`
	IsDefault                           *bool                            `json:"isDefault,omitempty"`
	IsDeprecated                        *bool                            `json:"isDeprecated,omitempty"`
	IsEarlyAccess                       *bool                            `json:"isEarlyAccess,omitempty"`
	IsHidden                            *bool                            `json:"isHidden,omitempty"`
	IsPreview                           *bool                            `json:"isPreview,omitempty"`
	RemoteDebuggingSupported            *bool                            `json:"remoteDebuggingSupported,omitempty"`
	RuntimeVersion                      *string                          `json:"runtimeVersion,omitempty"`
	SiteConfigPropertiesDictionary      *SiteConfigPropertiesDictionary  `json:"siteConfigPropertiesDictionary,omitempty"`
	SupportedFunctionsExtensionVersions *[]string                        `json:"supportedFunctionsExtensionVersions,omitempty"`
}

func (*FunctionAppRuntimeSettings) GetEndOfLifeDateAsTime

func (o *FunctionAppRuntimeSettings) GetEndOfLifeDateAsTime() (*time.Time, error)

func (*FunctionAppRuntimeSettings) SetEndOfLifeDateAsTime

func (o *FunctionAppRuntimeSettings) SetEndOfLifeDateAsTime(input time.Time)

type FunctionAppRuntimes

type FunctionAppRuntimes struct {
	LinuxRuntimeSettings   *FunctionAppRuntimeSettings `json:"linuxRuntimeSettings,omitempty"`
	WindowsRuntimeSettings *FunctionAppRuntimeSettings `json:"windowsRuntimeSettings,omitempty"`
}

type FunctionAppStack

type FunctionAppStack struct {
	Id         *string                     `json:"id,omitempty"`
	Kind       *string                     `json:"kind,omitempty"`
	Location   *string                     `json:"location,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *FunctionAppStackProperties `json:"properties,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type FunctionAppStackOperationPredicate

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

func (FunctionAppStackOperationPredicate) Matches

type FunctionAppStackProperties

type FunctionAppStackProperties struct {
	DisplayText   *string                    `json:"displayText,omitempty"`
	MajorVersions *[]FunctionAppMajorVersion `json:"majorVersions,omitempty"`
	PreferredOs   *StackPreferredOs          `json:"preferredOs,omitempty"`
	Value         *string                    `json:"value,omitempty"`
}

type GetAvailableStacksCompleteResult

type GetAvailableStacksCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ApplicationStackResource
}

type GetAvailableStacksOnPremCompleteResult

type GetAvailableStacksOnPremCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ApplicationStackResource
}

type GetAvailableStacksOnPremOperationOptions

type GetAvailableStacksOnPremOperationOptions struct {
	OsTypeSelected *ProviderOsTypeSelected
}

func DefaultGetAvailableStacksOnPremOperationOptions

func DefaultGetAvailableStacksOnPremOperationOptions() GetAvailableStacksOnPremOperationOptions

func (GetAvailableStacksOnPremOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetAvailableStacksOnPremOperationOptions) ToOData added in v0.20230725.1205316

func (GetAvailableStacksOnPremOperationOptions) ToQuery added in v0.20230725.1205316

type GetAvailableStacksOnPremOperationResponse

type GetAvailableStacksOnPremOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ApplicationStackResource
}

type GetAvailableStacksOperationOptions

type GetAvailableStacksOperationOptions struct {
	OsTypeSelected *ProviderOsTypeSelected
}

func DefaultGetAvailableStacksOperationOptions

func DefaultGetAvailableStacksOperationOptions() GetAvailableStacksOperationOptions

func (GetAvailableStacksOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetAvailableStacksOperationOptions) ToOData added in v0.20230725.1205316

func (GetAvailableStacksOperationOptions) ToQuery added in v0.20230725.1205316

type GetAvailableStacksOperationResponse

type GetAvailableStacksOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ApplicationStackResource
}

type GetFunctionAppStacksCompleteResult

type GetFunctionAppStacksCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []FunctionAppStack
}

type GetFunctionAppStacksForLocationCompleteResult

type GetFunctionAppStacksForLocationCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []FunctionAppStack
}

type GetFunctionAppStacksForLocationOperationOptions

type GetFunctionAppStacksForLocationOperationOptions struct {
	StackOsType *ProviderStackOsType
}

func DefaultGetFunctionAppStacksForLocationOperationOptions

func DefaultGetFunctionAppStacksForLocationOperationOptions() GetFunctionAppStacksForLocationOperationOptions

func (GetFunctionAppStacksForLocationOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetFunctionAppStacksForLocationOperationOptions) ToOData added in v0.20230725.1205316

func (GetFunctionAppStacksForLocationOperationOptions) ToQuery added in v0.20230725.1205316

type GetFunctionAppStacksForLocationOperationResponse

type GetFunctionAppStacksForLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FunctionAppStack
}

type GetFunctionAppStacksOperationOptions

type GetFunctionAppStacksOperationOptions struct {
	StackOsType *ProviderStackOsType
}

func DefaultGetFunctionAppStacksOperationOptions

func DefaultGetFunctionAppStacksOperationOptions() GetFunctionAppStacksOperationOptions

func (GetFunctionAppStacksOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetFunctionAppStacksOperationOptions) ToOData added in v0.20230725.1205316

func (GetFunctionAppStacksOperationOptions) ToQuery added in v0.20230725.1205316

type GetFunctionAppStacksOperationResponse

type GetFunctionAppStacksOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FunctionAppStack
}

type GetWebAppStacksCompleteResult

type GetWebAppStacksCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WebAppStack
}

type GetWebAppStacksForLocationCompleteResult

type GetWebAppStacksForLocationCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WebAppStack
}

type GetWebAppStacksForLocationOperationOptions

type GetWebAppStacksForLocationOperationOptions struct {
	StackOsType *ProviderStackOsType
}

func DefaultGetWebAppStacksForLocationOperationOptions

func DefaultGetWebAppStacksForLocationOperationOptions() GetWebAppStacksForLocationOperationOptions

func (GetWebAppStacksForLocationOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetWebAppStacksForLocationOperationOptions) ToOData added in v0.20230725.1205316

func (GetWebAppStacksForLocationOperationOptions) ToQuery added in v0.20230725.1205316

type GetWebAppStacksForLocationOperationResponse

type GetWebAppStacksForLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WebAppStack
}

type GetWebAppStacksOperationOptions

type GetWebAppStacksOperationOptions struct {
	StackOsType *ProviderStackOsType
}

func DefaultGetWebAppStacksOperationOptions

func DefaultGetWebAppStacksOperationOptions() GetWebAppStacksOperationOptions

func (GetWebAppStacksOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetWebAppStacksOperationOptions) ToOData added in v0.20230725.1205316

func (GetWebAppStacksOperationOptions) ToQuery added in v0.20230725.1205316

type GetWebAppStacksOperationResponse

type GetWebAppStacksOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WebAppStack
}

type GitHubActionWebAppStackSettings

type GitHubActionWebAppStackSettings struct {
	IsSupported      *bool   `json:"isSupported,omitempty"`
	SupportedVersion *string `json:"supportedVersion,omitempty"`
}

type LinuxJavaContainerSettings

type LinuxJavaContainerSettings struct {
	EndOfLifeDate *string `json:"endOfLifeDate,omitempty"`
	IsAutoUpdate  *bool   `json:"isAutoUpdate,omitempty"`
	IsDeprecated  *bool   `json:"isDeprecated,omitempty"`
	IsEarlyAccess *bool   `json:"isEarlyAccess,omitempty"`
	IsHidden      *bool   `json:"isHidden,omitempty"`
	IsPreview     *bool   `json:"isPreview,omitempty"`
	Java11Runtime *string `json:"java11Runtime,omitempty"`
	Java8Runtime  *string `json:"java8Runtime,omitempty"`
}

func (*LinuxJavaContainerSettings) GetEndOfLifeDateAsTime

func (o *LinuxJavaContainerSettings) GetEndOfLifeDateAsTime() (*time.Time, error)

func (*LinuxJavaContainerSettings) SetEndOfLifeDateAsTime

func (o *LinuxJavaContainerSettings) SetEndOfLifeDateAsTime(input time.Time)

type LocationId

type LocationId struct {
	LocationName string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (*LocationId) FromParseResult added in v0.20231127.1171502

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type ProviderClient

type ProviderClient struct {
	Client *resourcemanager.Client
}

func NewProviderClientWithBaseURI

func NewProviderClientWithBaseURI(sdkApi sdkEnv.Api) (*ProviderClient, error)

func (ProviderClient) GetAvailableStacks

GetAvailableStacks ...

func (ProviderClient) GetAvailableStacksComplete

GetAvailableStacksComplete retrieves all the results into a single object

func (ProviderClient) GetAvailableStacksCompleteMatchingPredicate

func (c ProviderClient) GetAvailableStacksCompleteMatchingPredicate(ctx context.Context, options GetAvailableStacksOperationOptions, predicate ApplicationStackResourceOperationPredicate) (result GetAvailableStacksCompleteResult, err error)

GetAvailableStacksCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProviderClient) GetAvailableStacksOnPrem

GetAvailableStacksOnPrem ...

func (ProviderClient) GetAvailableStacksOnPremComplete

GetAvailableStacksOnPremComplete retrieves all the results into a single object

func (ProviderClient) GetAvailableStacksOnPremCompleteMatchingPredicate

GetAvailableStacksOnPremCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProviderClient) GetFunctionAppStacks

GetFunctionAppStacks ...

func (ProviderClient) GetFunctionAppStacksComplete

GetFunctionAppStacksComplete retrieves all the results into a single object

func (ProviderClient) GetFunctionAppStacksCompleteMatchingPredicate

func (c ProviderClient) GetFunctionAppStacksCompleteMatchingPredicate(ctx context.Context, options GetFunctionAppStacksOperationOptions, predicate FunctionAppStackOperationPredicate) (result GetFunctionAppStacksCompleteResult, err error)

GetFunctionAppStacksCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProviderClient) GetFunctionAppStacksForLocation

GetFunctionAppStacksForLocation ...

func (ProviderClient) GetFunctionAppStacksForLocationComplete

GetFunctionAppStacksForLocationComplete retrieves all the results into a single object

func (ProviderClient) GetFunctionAppStacksForLocationCompleteMatchingPredicate

func (c ProviderClient) GetFunctionAppStacksForLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, options GetFunctionAppStacksForLocationOperationOptions, predicate FunctionAppStackOperationPredicate) (result GetFunctionAppStacksForLocationCompleteResult, err error)

GetFunctionAppStacksForLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProviderClient) GetWebAppStacks

GetWebAppStacks ...

func (ProviderClient) GetWebAppStacksComplete

GetWebAppStacksComplete retrieves all the results into a single object

func (ProviderClient) GetWebAppStacksCompleteMatchingPredicate

func (c ProviderClient) GetWebAppStacksCompleteMatchingPredicate(ctx context.Context, options GetWebAppStacksOperationOptions, predicate WebAppStackOperationPredicate) (result GetWebAppStacksCompleteResult, err error)

GetWebAppStacksCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProviderClient) GetWebAppStacksForLocation

GetWebAppStacksForLocation ...

func (ProviderClient) GetWebAppStacksForLocationComplete

GetWebAppStacksForLocationComplete retrieves all the results into a single object

func (ProviderClient) GetWebAppStacksForLocationCompleteMatchingPredicate

func (c ProviderClient) GetWebAppStacksForLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, options GetWebAppStacksForLocationOperationOptions, predicate WebAppStackOperationPredicate) (result GetWebAppStacksForLocationCompleteResult, err error)

GetWebAppStacksForLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ProviderOsTypeSelected

type ProviderOsTypeSelected string
const (
	ProviderOsTypeSelectedAll              ProviderOsTypeSelected = "All"
	ProviderOsTypeSelectedLinux            ProviderOsTypeSelected = "Linux"
	ProviderOsTypeSelectedLinuxFunctions   ProviderOsTypeSelected = "LinuxFunctions"
	ProviderOsTypeSelectedWindows          ProviderOsTypeSelected = "Windows"
	ProviderOsTypeSelectedWindowsFunctions ProviderOsTypeSelected = "WindowsFunctions"
)

func (*ProviderOsTypeSelected) UnmarshalJSON added in v0.20230725.1205316

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

type ProviderStackOsType

type ProviderStackOsType string
const (
	ProviderStackOsTypeAll     ProviderStackOsType = "All"
	ProviderStackOsTypeLinux   ProviderStackOsType = "Linux"
	ProviderStackOsTypeWindows ProviderStackOsType = "Windows"
)

func (*ProviderStackOsType) UnmarshalJSON added in v0.20230725.1205316

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

type SiteConfigPropertiesDictionary

type SiteConfigPropertiesDictionary struct {
	JavaVersion           *string `json:"javaVersion,omitempty"`
	LinuxFxVersion        *string `json:"linuxFxVersion,omitempty"`
	PowerShellVersion     *string `json:"powerShellVersion,omitempty"`
	Use32BitWorkerProcess *bool   `json:"use32BitWorkerProcess,omitempty"`
}

type StackMajorVersion

type StackMajorVersion struct {
	AppSettingsDictionary          *map[string]interface{} `json:"appSettingsDictionary,omitempty"`
	ApplicationInsights            *bool                   `json:"applicationInsights,omitempty"`
	DisplayVersion                 *string                 `json:"displayVersion,omitempty"`
	IsDefault                      *bool                   `json:"isDefault,omitempty"`
	IsDeprecated                   *bool                   `json:"isDeprecated,omitempty"`
	IsHidden                       *bool                   `json:"isHidden,omitempty"`
	IsPreview                      *bool                   `json:"isPreview,omitempty"`
	MinorVersions                  *[]StackMinorVersion    `json:"minorVersions,omitempty"`
	RuntimeVersion                 *string                 `json:"runtimeVersion,omitempty"`
	SiteConfigPropertiesDictionary *map[string]interface{} `json:"siteConfigPropertiesDictionary,omitempty"`
}

type StackMinorVersion

type StackMinorVersion struct {
	DisplayVersion           *string `json:"displayVersion,omitempty"`
	IsDefault                *bool   `json:"isDefault,omitempty"`
	IsRemoteDebuggingEnabled *bool   `json:"isRemoteDebuggingEnabled,omitempty"`
	RuntimeVersion           *string `json:"runtimeVersion,omitempty"`
}

type StackPreferredOs

type StackPreferredOs string
const (
	StackPreferredOsLinux   StackPreferredOs = "Linux"
	StackPreferredOsWindows StackPreferredOs = "Windows"
)

func (*StackPreferredOs) UnmarshalJSON added in v0.20230725.1205316

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

type WebAppMajorVersion

type WebAppMajorVersion struct {
	DisplayText   *string               `json:"displayText,omitempty"`
	MinorVersions *[]WebAppMinorVersion `json:"minorVersions,omitempty"`
	Value         *string               `json:"value,omitempty"`
}

type WebAppMinorVersion

type WebAppMinorVersion struct {
	DisplayText   *string         `json:"displayText,omitempty"`
	StackSettings *WebAppRuntimes `json:"stackSettings,omitempty"`
	Value         *string         `json:"value,omitempty"`
}

type WebAppRuntimeSettings

type WebAppRuntimeSettings struct {
	AppInsightsSettings      *AppInsightsWebAppStackSettings  `json:"appInsightsSettings,omitempty"`
	EndOfLifeDate            *string                          `json:"endOfLifeDate,omitempty"`
	GitHubActionSettings     *GitHubActionWebAppStackSettings `json:"gitHubActionSettings,omitempty"`
	IsAutoUpdate             *bool                            `json:"isAutoUpdate,omitempty"`
	IsDeprecated             *bool                            `json:"isDeprecated,omitempty"`
	IsEarlyAccess            *bool                            `json:"isEarlyAccess,omitempty"`
	IsHidden                 *bool                            `json:"isHidden,omitempty"`
	IsPreview                *bool                            `json:"isPreview,omitempty"`
	RemoteDebuggingSupported *bool                            `json:"remoteDebuggingSupported,omitempty"`
	RuntimeVersion           *string                          `json:"runtimeVersion,omitempty"`
}

func (*WebAppRuntimeSettings) GetEndOfLifeDateAsTime

func (o *WebAppRuntimeSettings) GetEndOfLifeDateAsTime() (*time.Time, error)

func (*WebAppRuntimeSettings) SetEndOfLifeDateAsTime

func (o *WebAppRuntimeSettings) SetEndOfLifeDateAsTime(input time.Time)

type WebAppRuntimes

type WebAppRuntimes struct {
	LinuxContainerSettings   *LinuxJavaContainerSettings   `json:"linuxContainerSettings,omitempty"`
	LinuxRuntimeSettings     *WebAppRuntimeSettings        `json:"linuxRuntimeSettings,omitempty"`
	WindowsContainerSettings *WindowsJavaContainerSettings `json:"windowsContainerSettings,omitempty"`
	WindowsRuntimeSettings   *WebAppRuntimeSettings        `json:"windowsRuntimeSettings,omitempty"`
}

type WebAppStack

type WebAppStack struct {
	Id         *string                `json:"id,omitempty"`
	Kind       *string                `json:"kind,omitempty"`
	Location   *string                `json:"location,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *WebAppStackProperties `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type WebAppStackOperationPredicate

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

func (WebAppStackOperationPredicate) Matches

type WebAppStackProperties

type WebAppStackProperties struct {
	DisplayText   *string               `json:"displayText,omitempty"`
	MajorVersions *[]WebAppMajorVersion `json:"majorVersions,omitempty"`
	PreferredOs   *StackPreferredOs     `json:"preferredOs,omitempty"`
	Value         *string               `json:"value,omitempty"`
}

type WindowsJavaContainerSettings

type WindowsJavaContainerSettings struct {
	EndOfLifeDate        *string `json:"endOfLifeDate,omitempty"`
	IsAutoUpdate         *bool   `json:"isAutoUpdate,omitempty"`
	IsDeprecated         *bool   `json:"isDeprecated,omitempty"`
	IsEarlyAccess        *bool   `json:"isEarlyAccess,omitempty"`
	IsHidden             *bool   `json:"isHidden,omitempty"`
	IsPreview            *bool   `json:"isPreview,omitempty"`
	JavaContainer        *string `json:"javaContainer,omitempty"`
	JavaContainerVersion *string `json:"javaContainerVersion,omitempty"`
}

func (*WindowsJavaContainerSettings) GetEndOfLifeDateAsTime

func (o *WindowsJavaContainerSettings) GetEndOfLifeDateAsTime() (*time.Time, error)

func (*WindowsJavaContainerSettings) SetEndOfLifeDateAsTime

func (o *WindowsJavaContainerSettings) SetEndOfLifeDateAsTime(input time.Time)

Jump to

Keyboard shortcuts

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