appplatform

package
v66.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 10 Imported by: 56

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appplatform/armappplatform(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appplatform/armappplatform). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package appplatform implements the Azure ARM Appplatform service API version 2022-05-01-preview.

REST API for Azure Spring Apps

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Appplatform
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type APIPortalCustomDomainProperties

type APIPortalCustomDomainProperties struct {
	// Thumbprint - The thumbprint of bound certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

APIPortalCustomDomainProperties the properties of custom domain for API portal

type APIPortalCustomDomainResource

type APIPortalCustomDomainResource struct {
	autorest.Response `json:"-"`
	Properties        *APIPortalCustomDomainProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

APIPortalCustomDomainResource custom domain of the API portal

func (APIPortalCustomDomainResource) MarshalJSON

func (apcdr APIPortalCustomDomainResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIPortalCustomDomainResource.

type APIPortalCustomDomainResourceCollection

type APIPortalCustomDomainResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of API portal custom domain resources
	Value *[]APIPortalCustomDomainResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

APIPortalCustomDomainResourceCollection object that includes an array of API portal custom domain resources and a possible link for next set

func (APIPortalCustomDomainResourceCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type APIPortalCustomDomainResourceCollectionIterator

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

APIPortalCustomDomainResourceCollectionIterator provides access to a complete listing of APIPortalCustomDomainResource values.

func NewAPIPortalCustomDomainResourceCollectionIterator

func NewAPIPortalCustomDomainResourceCollectionIterator(page APIPortalCustomDomainResourceCollectionPage) APIPortalCustomDomainResourceCollectionIterator

Creates a new instance of the APIPortalCustomDomainResourceCollectionIterator type.

func (*APIPortalCustomDomainResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*APIPortalCustomDomainResourceCollectionIterator) NextWithContext

func (iter *APIPortalCustomDomainResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (APIPortalCustomDomainResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (APIPortalCustomDomainResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (APIPortalCustomDomainResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type APIPortalCustomDomainResourceCollectionPage

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

APIPortalCustomDomainResourceCollectionPage contains a page of APIPortalCustomDomainResource values.

func NewAPIPortalCustomDomainResourceCollectionPage

Creates a new instance of the APIPortalCustomDomainResourceCollectionPage type.

func (*APIPortalCustomDomainResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*APIPortalCustomDomainResourceCollectionPage) NextWithContext

func (page *APIPortalCustomDomainResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (APIPortalCustomDomainResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (APIPortalCustomDomainResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (APIPortalCustomDomainResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type APIPortalCustomDomainsClient

type APIPortalCustomDomainsClient struct {
	BaseClient
}

APIPortalCustomDomainsClient is the REST API for Azure Spring Apps

func NewAPIPortalCustomDomainsClient

func NewAPIPortalCustomDomainsClient(subscriptionID string) APIPortalCustomDomainsClient

NewAPIPortalCustomDomainsClient creates an instance of the APIPortalCustomDomainsClient client.

func NewAPIPortalCustomDomainsClientWithBaseURI

func NewAPIPortalCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) APIPortalCustomDomainsClient

NewAPIPortalCustomDomainsClientWithBaseURI creates an instance of the APIPortalCustomDomainsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (APIPortalCustomDomainsClient) CreateOrUpdate

func (client APIPortalCustomDomainsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, domainName string, APIPortalCustomDomainResource APIPortalCustomDomainResource) (result APIPortalCustomDomainsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the API portal custom domain. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal. domainName - the name of the API portal custom domain. APIPortalCustomDomainResource - the API portal custom domain for the create or update operation

func (APIPortalCustomDomainsClient) CreateOrUpdatePreparer

func (client APIPortalCustomDomainsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, domainName string, APIPortalCustomDomainResource APIPortalCustomDomainResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (APIPortalCustomDomainsClient) CreateOrUpdateResponder

func (client APIPortalCustomDomainsClient) CreateOrUpdateResponder(resp *http.Response) (result APIPortalCustomDomainResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (APIPortalCustomDomainsClient) CreateOrUpdateSender

func (client APIPortalCustomDomainsClient) CreateOrUpdateSender(req *http.Request) (future APIPortalCustomDomainsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (APIPortalCustomDomainsClient) Delete

func (client APIPortalCustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, domainName string) (result APIPortalCustomDomainsDeleteFuture, err error)

Delete delete the API portal custom domain. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal. domainName - the name of the API portal custom domain.

func (APIPortalCustomDomainsClient) DeletePreparer

func (client APIPortalCustomDomainsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, domainName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (APIPortalCustomDomainsClient) DeleteResponder

func (client APIPortalCustomDomainsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (APIPortalCustomDomainsClient) DeleteSender

func (client APIPortalCustomDomainsClient) DeleteSender(req *http.Request) (future APIPortalCustomDomainsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (APIPortalCustomDomainsClient) Get

func (client APIPortalCustomDomainsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, domainName string) (result APIPortalCustomDomainResource, err error)

Get get the API portal custom domain. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal. domainName - the name of the API portal custom domain.

func (APIPortalCustomDomainsClient) GetPreparer

func (client APIPortalCustomDomainsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, domainName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (APIPortalCustomDomainsClient) GetResponder

func (client APIPortalCustomDomainsClient) GetResponder(resp *http.Response) (result APIPortalCustomDomainResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (APIPortalCustomDomainsClient) GetSender

func (client APIPortalCustomDomainsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (APIPortalCustomDomainsClient) List

func (client APIPortalCustomDomainsClient) List(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (result APIPortalCustomDomainResourceCollectionPage, err error)

List handle requests to list all API portal custom domains. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal.

func (APIPortalCustomDomainsClient) ListComplete

func (client APIPortalCustomDomainsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (result APIPortalCustomDomainResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (APIPortalCustomDomainsClient) ListPreparer

func (client APIPortalCustomDomainsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (*http.Request, error)

ListPreparer prepares the List request.

func (APIPortalCustomDomainsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (APIPortalCustomDomainsClient) ListSender

func (client APIPortalCustomDomainsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type APIPortalCustomDomainsCreateOrUpdateFuture

type APIPortalCustomDomainsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(APIPortalCustomDomainsClient) (APIPortalCustomDomainResource, error)
}

APIPortalCustomDomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*APIPortalCustomDomainsCreateOrUpdateFuture) UnmarshalJSON

func (future *APIPortalCustomDomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type APIPortalCustomDomainsDeleteFuture

type APIPortalCustomDomainsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(APIPortalCustomDomainsClient) (autorest.Response, error)
}

APIPortalCustomDomainsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*APIPortalCustomDomainsDeleteFuture) UnmarshalJSON

func (future *APIPortalCustomDomainsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type APIPortalInstance

type APIPortalInstance struct {
	// Name - READ-ONLY; Name of the API portal instance
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the API portal instance
	Status *string `json:"status,omitempty"`
}

APIPortalInstance collection of instances belong to the API portal

func (APIPortalInstance) MarshalJSON

func (API APIPortalInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIPortalInstance.

type APIPortalProperties

type APIPortalProperties struct {
	// ProvisioningState - READ-ONLY; State of the API portal. Possible values include: 'APIPortalProvisioningStateCreating', 'APIPortalProvisioningStateUpdating', 'APIPortalProvisioningStateSucceeded', 'APIPortalProvisioningStateFailed', 'APIPortalProvisioningStateDeleting'
	ProvisioningState APIPortalProvisioningState `json:"provisioningState,omitempty"`
	// Public - Indicates whether the API portal exposes endpoint.
	Public *bool `json:"public,omitempty"`
	// URL - READ-ONLY; URL of the API portal, exposed when 'public' is true.
	URL *string `json:"url,omitempty"`
	// HTTPSOnly - Indicate if only https is allowed.
	HTTPSOnly *bool `json:"httpsOnly,omitempty"`
	// GatewayIds - The array of resource Ids of gateway to integrate with API portal.
	GatewayIds *[]string `json:"gatewayIds,omitempty"`
	// SourceUrls - Collection of OpenAPI source URL locations.
	SourceUrls    *[]string      `json:"sourceUrls,omitempty"`
	SsoProperties *SsoProperties `json:"ssoProperties,omitempty"`
	// ResourceRequests - READ-ONLY; The requested resource quantity for required CPU and Memory.
	ResourceRequests *APIPortalResourceRequests `json:"resourceRequests,omitempty"`
	// Instances - READ-ONLY; Collection of instances belong to API portal.
	Instances *[]APIPortalInstance `json:"instances,omitempty"`
}

APIPortalProperties API portal properties payload

func (APIPortalProperties) MarshalJSON

func (app APIPortalProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIPortalProperties.

type APIPortalProvisioningState

type APIPortalProvisioningState string

APIPortalProvisioningState enumerates the values for api portal provisioning state.

const (
	// APIPortalProvisioningStateCreating ...
	APIPortalProvisioningStateCreating APIPortalProvisioningState = "Creating"
	// APIPortalProvisioningStateDeleting ...
	APIPortalProvisioningStateDeleting APIPortalProvisioningState = "Deleting"
	// APIPortalProvisioningStateFailed ...
	APIPortalProvisioningStateFailed APIPortalProvisioningState = "Failed"
	// APIPortalProvisioningStateSucceeded ...
	APIPortalProvisioningStateSucceeded APIPortalProvisioningState = "Succeeded"
	// APIPortalProvisioningStateUpdating ...
	APIPortalProvisioningStateUpdating APIPortalProvisioningState = "Updating"
)

func PossibleAPIPortalProvisioningStateValues

func PossibleAPIPortalProvisioningStateValues() []APIPortalProvisioningState

PossibleAPIPortalProvisioningStateValues returns an array of possible values for the APIPortalProvisioningState const type.

type APIPortalResource

type APIPortalResource struct {
	autorest.Response `json:"-"`
	Properties        *APIPortalProperties `json:"properties,omitempty"`
	// Sku - Sku of the API portal resource
	Sku *Sku `json:"sku,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

APIPortalResource API portal resource

func (APIPortalResource) MarshalJSON

func (apr APIPortalResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIPortalResource.

type APIPortalResourceCollection

type APIPortalResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of API portal resources
	Value *[]APIPortalResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

APIPortalResourceCollection object that includes an array of API portal resources and a possible link for next set

func (APIPortalResourceCollection) IsEmpty

func (aprc APIPortalResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type APIPortalResourceCollectionIterator

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

APIPortalResourceCollectionIterator provides access to a complete listing of APIPortalResource values.

func NewAPIPortalResourceCollectionIterator

func NewAPIPortalResourceCollectionIterator(page APIPortalResourceCollectionPage) APIPortalResourceCollectionIterator

Creates a new instance of the APIPortalResourceCollectionIterator type.

func (*APIPortalResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*APIPortalResourceCollectionIterator) NextWithContext

func (iter *APIPortalResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (APIPortalResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (APIPortalResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (APIPortalResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type APIPortalResourceCollectionPage

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

APIPortalResourceCollectionPage contains a page of APIPortalResource values.

func NewAPIPortalResourceCollectionPage

Creates a new instance of the APIPortalResourceCollectionPage type.

func (*APIPortalResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*APIPortalResourceCollectionPage) NextWithContext

func (page *APIPortalResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (APIPortalResourceCollectionPage) NotDone

func (page APIPortalResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (APIPortalResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (APIPortalResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type APIPortalResourceRequests

type APIPortalResourceRequests struct {
	// CPU - READ-ONLY; Cpu allocated to each API portal instance
	CPU *string `json:"cpu,omitempty"`
	// Memory - READ-ONLY; Memory allocated to each API portal instance
	Memory *string `json:"memory,omitempty"`
}

APIPortalResourceRequests resource requests of the API portal

func (APIPortalResourceRequests) MarshalJSON

func (aprr APIPortalResourceRequests) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for APIPortalResourceRequests.

type APIPortalsClient

type APIPortalsClient struct {
	BaseClient
}

APIPortalsClient is the REST API for Azure Spring Apps

func NewAPIPortalsClient

func NewAPIPortalsClient(subscriptionID string) APIPortalsClient

NewAPIPortalsClient creates an instance of the APIPortalsClient client.

func NewAPIPortalsClientWithBaseURI

func NewAPIPortalsClientWithBaseURI(baseURI string, subscriptionID string) APIPortalsClient

NewAPIPortalsClientWithBaseURI creates an instance of the APIPortalsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (APIPortalsClient) CreateOrUpdate

func (client APIPortalsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, APIPortalResource APIPortalResource) (result APIPortalsCreateOrUpdateFuture, err error)

CreateOrUpdate create the default API portal or update the existing API portal. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal. APIPortalResource - the API portal for the create or update operation

func (APIPortalsClient) CreateOrUpdatePreparer

func (client APIPortalsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, APIPortalResource APIPortalResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (APIPortalsClient) CreateOrUpdateResponder

func (client APIPortalsClient) CreateOrUpdateResponder(resp *http.Response) (result APIPortalResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (APIPortalsClient) CreateOrUpdateSender

func (client APIPortalsClient) CreateOrUpdateSender(req *http.Request) (future APIPortalsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (APIPortalsClient) Delete

func (client APIPortalsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (result APIPortalsDeleteFuture, err error)

Delete delete the default API portal. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal.

func (APIPortalsClient) DeletePreparer

func (client APIPortalsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (APIPortalsClient) DeleteResponder

func (client APIPortalsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (APIPortalsClient) DeleteSender

func (client APIPortalsClient) DeleteSender(req *http.Request) (future APIPortalsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (APIPortalsClient) Get

func (client APIPortalsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (result APIPortalResource, err error)

Get get the API portal and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal.

func (APIPortalsClient) GetPreparer

func (client APIPortalsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (APIPortalsClient) GetResponder

func (client APIPortalsClient) GetResponder(resp *http.Response) (result APIPortalResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (APIPortalsClient) GetSender

func (client APIPortalsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (APIPortalsClient) List

func (client APIPortalsClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result APIPortalResourceCollectionPage, err error)

List handles requests to list all resources in a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (APIPortalsClient) ListComplete

func (client APIPortalsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result APIPortalResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (APIPortalsClient) ListPreparer

func (client APIPortalsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (APIPortalsClient) ListResponder

func (client APIPortalsClient) ListResponder(resp *http.Response) (result APIPortalResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (APIPortalsClient) ListSender

func (client APIPortalsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (APIPortalsClient) ValidateDomain

func (client APIPortalsClient) ValidateDomain(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, validatePayload CustomDomainValidatePayload) (result CustomDomainValidateResult, err error)

ValidateDomain check the domains are valid as well as not in use. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. APIPortalName - the name of API portal. validatePayload - custom domain payload to be validated

func (APIPortalsClient) ValidateDomainPreparer

func (client APIPortalsClient) ValidateDomainPreparer(ctx context.Context, resourceGroupName string, serviceName string, APIPortalName string, validatePayload CustomDomainValidatePayload) (*http.Request, error)

ValidateDomainPreparer prepares the ValidateDomain request.

func (APIPortalsClient) ValidateDomainResponder

func (client APIPortalsClient) ValidateDomainResponder(resp *http.Response) (result CustomDomainValidateResult, err error)

ValidateDomainResponder handles the response to the ValidateDomain request. The method always closes the http.Response Body.

func (APIPortalsClient) ValidateDomainSender

func (client APIPortalsClient) ValidateDomainSender(req *http.Request) (*http.Response, error)

ValidateDomainSender sends the ValidateDomain request. The method will close the http.Response Body if it receives an error.

type APIPortalsCreateOrUpdateFuture

type APIPortalsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(APIPortalsClient) (APIPortalResource, error)
}

APIPortalsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*APIPortalsCreateOrUpdateFuture) UnmarshalJSON

func (future *APIPortalsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type APIPortalsDeleteFuture

type APIPortalsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(APIPortalsClient) (autorest.Response, error)
}

APIPortalsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*APIPortalsDeleteFuture) UnmarshalJSON

func (future *APIPortalsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ActionType

type ActionType string

ActionType enumerates the values for action type.

const (
	// ActionTypeInternal ...
	ActionTypeInternal ActionType = "Internal"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type ActiveDeploymentCollection

type ActiveDeploymentCollection struct {
	// ActiveDeploymentNames - Collection of Deployment name.
	ActiveDeploymentNames *[]string `json:"activeDeploymentNames,omitempty"`
}

ActiveDeploymentCollection object that includes an array of Deployment resource name and set them as active.

type AppResource

type AppResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the App resource
	Properties *AppResourceProperties `json:"properties,omitempty"`
	// Identity - The Managed Identity type of the app resource
	Identity *ManagedIdentityProperties `json:"identity,omitempty"`
	// Location - The GEO location of the application, always the same with its parent resource
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

AppResource app resource payload

func (AppResource) MarshalJSON

func (ar AppResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppResource.

type AppResourceCollection

type AppResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of App resources
	Value *[]AppResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

AppResourceCollection object that includes an array of App resources and a possible link for next set

func (AppResourceCollection) IsEmpty

func (arc AppResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AppResourceCollectionIterator

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

AppResourceCollectionIterator provides access to a complete listing of AppResource values.

func NewAppResourceCollectionIterator

func NewAppResourceCollectionIterator(page AppResourceCollectionPage) AppResourceCollectionIterator

Creates a new instance of the AppResourceCollectionIterator type.

func (*AppResourceCollectionIterator) Next

func (iter *AppResourceCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AppResourceCollectionIterator) NextWithContext

func (iter *AppResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AppResourceCollectionIterator) NotDone

func (iter AppResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AppResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (AppResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AppResourceCollectionPage

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

AppResourceCollectionPage contains a page of AppResource values.

func NewAppResourceCollectionPage

Creates a new instance of the AppResourceCollectionPage type.

func (*AppResourceCollectionPage) Next

func (page *AppResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AppResourceCollectionPage) NextWithContext

func (page *AppResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AppResourceCollectionPage) NotDone

func (page AppResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AppResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (AppResourceCollectionPage) Values

func (page AppResourceCollectionPage) Values() []AppResource

Values returns the slice of values for the current page or nil if there are no values.

type AppResourceProperties

type AppResourceProperties struct {
	// Public - Indicates whether the App exposes public endpoint
	Public *bool `json:"public,omitempty"`
	// URL - READ-ONLY; URL of the App
	URL *string `json:"url,omitempty"`
	// AddonConfigs - Collection of addons
	AddonConfigs map[string]map[string]interface{} `json:"addonConfigs"`
	// ProvisioningState - READ-ONLY; Provisioning state of the App. Possible values include: 'AppResourceProvisioningStateSucceeded', 'AppResourceProvisioningStateFailed', 'AppResourceProvisioningStateCreating', 'AppResourceProvisioningStateUpdating', 'AppResourceProvisioningStateDeleting'
	ProvisioningState AppResourceProvisioningState `json:"provisioningState,omitempty"`
	// Fqdn - Fully qualified dns Name.
	Fqdn *string `json:"fqdn,omitempty"`
	// HTTPSOnly - Indicate if only https is allowed.
	HTTPSOnly *bool `json:"httpsOnly,omitempty"`
	// TemporaryDisk - Temporary disk settings
	TemporaryDisk *TemporaryDisk `json:"temporaryDisk,omitempty"`
	// PersistentDisk - Persistent disk settings
	PersistentDisk *PersistentDisk `json:"persistentDisk,omitempty"`
	// CustomPersistentDisks - List of custom persistent disks
	CustomPersistentDisks *[]CustomPersistentDiskResource `json:"customPersistentDisks,omitempty"`
	// EnableEndToEndTLS - Indicate if end to end TLS is enabled.
	EnableEndToEndTLS *bool `json:"enableEndToEndTLS,omitempty"`
	// LoadedCertificates - Collection of loaded certificates
	LoadedCertificates *[]LoadedCertificate `json:"loadedCertificates,omitempty"`
	// VnetAddons - Additional App settings in vnet injection instance
	VnetAddons *AppVNetAddons `json:"vnetAddons,omitempty"`
}

AppResourceProperties app resource properties payload

func (AppResourceProperties) MarshalJSON

func (arp AppResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppResourceProperties.

type AppResourceProvisioningState

type AppResourceProvisioningState string

AppResourceProvisioningState enumerates the values for app resource provisioning state.

const (
	// AppResourceProvisioningStateCreating ...
	AppResourceProvisioningStateCreating AppResourceProvisioningState = "Creating"
	// AppResourceProvisioningStateDeleting ...
	AppResourceProvisioningStateDeleting AppResourceProvisioningState = "Deleting"
	// AppResourceProvisioningStateFailed ...
	AppResourceProvisioningStateFailed AppResourceProvisioningState = "Failed"
	// AppResourceProvisioningStateSucceeded ...
	AppResourceProvisioningStateSucceeded AppResourceProvisioningState = "Succeeded"
	// AppResourceProvisioningStateUpdating ...
	AppResourceProvisioningStateUpdating AppResourceProvisioningState = "Updating"
)

func PossibleAppResourceProvisioningStateValues

func PossibleAppResourceProvisioningStateValues() []AppResourceProvisioningState

PossibleAppResourceProvisioningStateValues returns an array of possible values for the AppResourceProvisioningState const type.

type AppVNetAddons

type AppVNetAddons struct {
	// PublicEndpoint - Indicates whether the App in vnet injection instance exposes endpoint which could be accessed from internet.
	PublicEndpoint *bool `json:"publicEndpoint,omitempty"`
	// PublicEndpointURL - READ-ONLY; URL of the App in vnet injection instance which could be accessed from internet
	PublicEndpointURL *string `json:"publicEndpointUrl,omitempty"`
}

AppVNetAddons additional App settings in vnet injection instance

func (AppVNetAddons) MarshalJSON

func (avna AppVNetAddons) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppVNetAddons.

type ApplicationInsightsAgentVersions

type ApplicationInsightsAgentVersions struct {
	// Java - READ-ONLY; Indicates the version of application insight java agent
	Java *string `json:"java,omitempty"`
}

ApplicationInsightsAgentVersions application Insights agent versions properties payload

func (ApplicationInsightsAgentVersions) MarshalJSON

func (aiav ApplicationInsightsAgentVersions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationInsightsAgentVersions.

type AppsClient

type AppsClient struct {
	BaseClient
}

AppsClient is the REST API for Azure Spring Apps

func NewAppsClient

func NewAppsClient(subscriptionID string) AppsClient

NewAppsClient creates an instance of the AppsClient client.

func NewAppsClientWithBaseURI

func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient

NewAppsClientWithBaseURI creates an instance of the AppsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AppsClient) CreateOrUpdate

func (client AppsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource AppResource) (result AppsCreateOrUpdateFuture, err error)

CreateOrUpdate create a new App or update an exiting App. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. appResource - parameters for the create or update operation

func (AppsClient) CreateOrUpdatePreparer

func (client AppsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource AppResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AppsClient) CreateOrUpdateResponder

func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result AppResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AppsClient) CreateOrUpdateSender

func (client AppsClient) CreateOrUpdateSender(req *http.Request) (future AppsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Delete

func (client AppsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, appName string) (result AppsDeleteFuture, err error)

Delete operation to delete an App. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource.

func (AppsClient) DeletePreparer

func (client AppsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AppsClient) DeleteResponder

func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AppsClient) DeleteSender

func (client AppsClient) DeleteSender(req *http.Request) (future AppsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Get

func (client AppsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, syncStatus string) (result AppResource, err error)

Get get an App and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. syncStatus - indicates whether sync status

func (AppsClient) GetPreparer

func (client AppsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, syncStatus string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AppsClient) GetResourceUploadURL

func (client AppsClient) GetResourceUploadURL(ctx context.Context, resourceGroupName string, serviceName string, appName string) (result ResourceUploadDefinition, err error)

GetResourceUploadURL get an resource upload URL for an App, which may be artifacts or source archive. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource.

func (AppsClient) GetResourceUploadURLPreparer

func (client AppsClient) GetResourceUploadURLPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string) (*http.Request, error)

GetResourceUploadURLPreparer prepares the GetResourceUploadURL request.

func (AppsClient) GetResourceUploadURLResponder

func (client AppsClient) GetResourceUploadURLResponder(resp *http.Response) (result ResourceUploadDefinition, err error)

GetResourceUploadURLResponder handles the response to the GetResourceUploadURL request. The method always closes the http.Response Body.

func (AppsClient) GetResourceUploadURLSender

func (client AppsClient) GetResourceUploadURLSender(req *http.Request) (*http.Response, error)

GetResourceUploadURLSender sends the GetResourceUploadURL request. The method will close the http.Response Body if it receives an error.

func (AppsClient) GetResponder

func (client AppsClient) GetResponder(resp *http.Response) (result AppResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AppsClient) GetSender

func (client AppsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AppsClient) List

func (client AppsClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result AppResourceCollectionPage, err error)

List handles requests to list all resources in a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (AppsClient) ListComplete

func (client AppsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result AppResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AppsClient) ListPreparer

func (client AppsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AppsClient) ListResponder

func (client AppsClient) ListResponder(resp *http.Response) (result AppResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AppsClient) ListSender

func (client AppsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AppsClient) SetActiveDeployments

func (client AppsClient) SetActiveDeployments(ctx context.Context, resourceGroupName string, serviceName string, appName string, activeDeploymentCollection ActiveDeploymentCollection) (result AppsSetActiveDeploymentsFuture, err error)

SetActiveDeployments set existing Deployment under the app as active Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. activeDeploymentCollection - a list of Deployment name to be active.

func (AppsClient) SetActiveDeploymentsPreparer

func (client AppsClient) SetActiveDeploymentsPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, activeDeploymentCollection ActiveDeploymentCollection) (*http.Request, error)

SetActiveDeploymentsPreparer prepares the SetActiveDeployments request.

func (AppsClient) SetActiveDeploymentsResponder

func (client AppsClient) SetActiveDeploymentsResponder(resp *http.Response) (result AppResource, err error)

SetActiveDeploymentsResponder handles the response to the SetActiveDeployments request. The method always closes the http.Response Body.

func (AppsClient) SetActiveDeploymentsSender

func (client AppsClient) SetActiveDeploymentsSender(req *http.Request) (future AppsSetActiveDeploymentsFuture, err error)

SetActiveDeploymentsSender sends the SetActiveDeployments request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Update

func (client AppsClient) Update(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource AppResource) (result AppsUpdateFuture, err error)

Update operation to update an exiting App. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. appResource - parameters for the update operation

func (AppsClient) UpdatePreparer

func (client AppsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource AppResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AppsClient) UpdateResponder

func (client AppsClient) UpdateResponder(resp *http.Response) (result AppResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AppsClient) UpdateSender

func (client AppsClient) UpdateSender(req *http.Request) (future AppsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ValidateDomain

func (client AppsClient) ValidateDomain(ctx context.Context, resourceGroupName string, serviceName string, appName string, validatePayload CustomDomainValidatePayload) (result CustomDomainValidateResult, err error)

ValidateDomain check the resource name is valid as well as not in use. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. validatePayload - custom domain payload to be validated

func (AppsClient) ValidateDomainPreparer

func (client AppsClient) ValidateDomainPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, validatePayload CustomDomainValidatePayload) (*http.Request, error)

ValidateDomainPreparer prepares the ValidateDomain request.

func (AppsClient) ValidateDomainResponder

func (client AppsClient) ValidateDomainResponder(resp *http.Response) (result CustomDomainValidateResult, err error)

ValidateDomainResponder handles the response to the ValidateDomain request. The method always closes the http.Response Body.

func (AppsClient) ValidateDomainSender

func (client AppsClient) ValidateDomainSender(req *http.Request) (*http.Response, error)

ValidateDomainSender sends the ValidateDomain request. The method will close the http.Response Body if it receives an error.

type AppsCreateOrUpdateFuture

type AppsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AppsClient) (AppResource, error)
}

AppsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppsCreateOrUpdateFuture) UnmarshalJSON

func (future *AppsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AppsDeleteFuture

type AppsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AppsClient) (autorest.Response, error)
}

AppsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppsDeleteFuture) UnmarshalJSON

func (future *AppsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AppsSetActiveDeploymentsFuture

type AppsSetActiveDeploymentsFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AppsClient) (AppResource, error)
}

AppsSetActiveDeploymentsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppsSetActiveDeploymentsFuture) UnmarshalJSON

func (future *AppsSetActiveDeploymentsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AppsUpdateFuture

type AppsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AppsClient) (AppResource, error)
}

AppsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppsUpdateFuture) UnmarshalJSON

func (future *AppsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AvailableOperations

type AvailableOperations struct {
	autorest.Response `json:"-"`
	// Value - Collection of available operation details
	Value *[]OperationDetail `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

AvailableOperations available operations of the service

func (AvailableOperations) IsEmpty

func (ao AvailableOperations) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableOperationsIterator

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

AvailableOperationsIterator provides access to a complete listing of OperationDetail values.

func NewAvailableOperationsIterator

func NewAvailableOperationsIterator(page AvailableOperationsPage) AvailableOperationsIterator

Creates a new instance of the AvailableOperationsIterator type.

func (*AvailableOperationsIterator) Next

func (iter *AvailableOperationsIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailableOperationsIterator) NextWithContext

func (iter *AvailableOperationsIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AvailableOperationsIterator) NotDone

func (iter AvailableOperationsIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AvailableOperationsIterator) Response

Response returns the raw server response from the last page request.

func (AvailableOperationsIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AvailableOperationsPage

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

AvailableOperationsPage contains a page of OperationDetail values.

func NewAvailableOperationsPage

func NewAvailableOperationsPage(cur AvailableOperations, getNextPage func(context.Context, AvailableOperations) (AvailableOperations, error)) AvailableOperationsPage

Creates a new instance of the AvailableOperationsPage type.

func (*AvailableOperationsPage) Next

func (page *AvailableOperationsPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailableOperationsPage) NextWithContext

func (page *AvailableOperationsPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AvailableOperationsPage) NotDone

func (page AvailableOperationsPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AvailableOperationsPage) Response

Response returns the raw server response from the last page request.

func (AvailableOperationsPage) Values

func (page AvailableOperationsPage) Values() []OperationDetail

Values returns the slice of values for the current page or nil if there are no values.

type AvailableRuntimeVersions

type AvailableRuntimeVersions struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; A list of all supported runtime versions.
	Value *[]SupportedRuntimeVersion `json:"value,omitempty"`
}

AvailableRuntimeVersions ...

func (AvailableRuntimeVersions) MarshalJSON

func (arv AvailableRuntimeVersions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailableRuntimeVersions.

type AzureFileVolume

type AzureFileVolume struct {
	// ShareName - The share name of the Azure File share.
	ShareName *string `json:"shareName,omitempty"`
	// MountPath - The mount path of the persistent disk.
	MountPath *string `json:"mountPath,omitempty"`
	// ReadOnly - Indicates whether the persistent disk is a readOnly one.
	ReadOnly *bool `json:"readOnly,omitempty"`
	// MountOptions - These are the mount options for a persistent disk.
	MountOptions *[]string `json:"mountOptions,omitempty"`
	// Type - Possible values include: 'TypeCustomPersistentDiskProperties', 'TypeAzureFileVolume'
	Type Type `json:"type,omitempty"`
}

AzureFileVolume the properties of the Azure File volume. Azure File shares are mounted as volumes.

func (AzureFileVolume) AsAzureFileVolume

func (afv AzureFileVolume) AsAzureFileVolume() (*AzureFileVolume, bool)

AsAzureFileVolume is the BasicCustomPersistentDiskProperties implementation for AzureFileVolume.

func (AzureFileVolume) AsBasicCustomPersistentDiskProperties

func (afv AzureFileVolume) AsBasicCustomPersistentDiskProperties() (BasicCustomPersistentDiskProperties, bool)

AsBasicCustomPersistentDiskProperties is the BasicCustomPersistentDiskProperties implementation for AzureFileVolume.

func (AzureFileVolume) AsCustomPersistentDiskProperties

func (afv AzureFileVolume) AsCustomPersistentDiskProperties() (*CustomPersistentDiskProperties, bool)

AsCustomPersistentDiskProperties is the BasicCustomPersistentDiskProperties implementation for AzureFileVolume.

func (AzureFileVolume) MarshalJSON

func (afv AzureFileVolume) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFileVolume.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Appplatform.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicCertificateProperties

type BasicCertificateProperties interface {
	AsKeyVaultCertificateProperties() (*KeyVaultCertificateProperties, bool)
	AsContentCertificateProperties() (*ContentCertificateProperties, bool)
	AsCertificateProperties() (*CertificateProperties, bool)
}

BasicCertificateProperties certificate resource payload.

type BasicCustomPersistentDiskProperties

type BasicCustomPersistentDiskProperties interface {
	AsAzureFileVolume() (*AzureFileVolume, bool)
	AsCustomPersistentDiskProperties() (*CustomPersistentDiskProperties, bool)
}

BasicCustomPersistentDiskProperties custom persistent disk resource payload.

type BasicProbeAction

type BasicProbeAction interface {
	AsHTTPGetAction() (*HTTPGetAction, bool)
	AsExecAction() (*ExecAction, bool)
	AsTCPSocketAction() (*TCPSocketAction, bool)
	AsProbeAction() (*ProbeAction, bool)
}

BasicProbeAction the action of the probe.

type BasicStorageProperties

type BasicStorageProperties interface {
	AsStorageAccount() (*StorageAccount, bool)
	AsStorageProperties() (*StorageProperties, bool)
}

BasicStorageProperties storage resource payload.

type BasicUploadedUserSourceInfo

type BasicUploadedUserSourceInfo interface {
	AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)
	AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)
	AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)
	AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)
}

BasicUploadedUserSourceInfo source with uploaded location

type BasicUserSourceInfo

type BasicUserSourceInfo interface {
	AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)
	AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)
	AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)
	AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)
	AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)
	AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)
	AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)
	AsUserSourceInfo() (*UserSourceInfo, bool)
}

BasicUserSourceInfo source information for a deployment

type BindingResource

type BindingResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Binding resource
	Properties *BindingResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BindingResource binding resource payload

func (BindingResource) MarshalJSON

func (br BindingResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BindingResource.

type BindingResourceCollection

type BindingResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Binding resources
	Value *[]BindingResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BindingResourceCollection object that includes an array of Binding resources and a possible link for next set

func (BindingResourceCollection) IsEmpty

func (brc BindingResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BindingResourceCollectionIterator

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

BindingResourceCollectionIterator provides access to a complete listing of BindingResource values.

func NewBindingResourceCollectionIterator

func NewBindingResourceCollectionIterator(page BindingResourceCollectionPage) BindingResourceCollectionIterator

Creates a new instance of the BindingResourceCollectionIterator type.

func (*BindingResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BindingResourceCollectionIterator) NextWithContext

func (iter *BindingResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BindingResourceCollectionIterator) NotDone

func (iter BindingResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BindingResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (BindingResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BindingResourceCollectionPage

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

BindingResourceCollectionPage contains a page of BindingResource values.

func NewBindingResourceCollectionPage

Creates a new instance of the BindingResourceCollectionPage type.

func (*BindingResourceCollectionPage) Next

func (page *BindingResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BindingResourceCollectionPage) NextWithContext

func (page *BindingResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BindingResourceCollectionPage) NotDone

func (page BindingResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BindingResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (BindingResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BindingResourceProperties

type BindingResourceProperties struct {
	// ResourceName - READ-ONLY; The name of the bound resource
	ResourceName *string `json:"resourceName,omitempty"`
	// ResourceType - READ-ONLY; The standard Azure resource type of the bound resource
	ResourceType *string `json:"resourceType,omitempty"`
	// ResourceID - The Azure resource id of the bound resource
	ResourceID *string `json:"resourceId,omitempty"`
	// Key - The key of the bound resource
	Key *string `json:"key,omitempty"`
	// BindingParameters - Binding parameters of the Binding resource
	BindingParameters map[string]interface{} `json:"bindingParameters"`
	// GeneratedProperties - READ-ONLY; The generated Spring Boot property file for this binding. The secret will be deducted.
	GeneratedProperties *string `json:"generatedProperties,omitempty"`
	// CreatedAt - READ-ONLY; Creation time of the Binding resource
	CreatedAt *string `json:"createdAt,omitempty"`
	// UpdatedAt - READ-ONLY; Update time of the Binding resource
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

BindingResourceProperties binding resource properties payload

func (BindingResourceProperties) MarshalJSON

func (brp BindingResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BindingResourceProperties.

type BindingType

type BindingType string

BindingType enumerates the values for binding type.

const (
	// BindingTypeApacheSkyWalking ...
	BindingTypeApacheSkyWalking BindingType = "ApacheSkyWalking"
	// BindingTypeAppDynamics ...
	BindingTypeAppDynamics BindingType = "AppDynamics"
	// BindingTypeApplicationInsights ...
	BindingTypeApplicationInsights BindingType = "ApplicationInsights"
	// BindingTypeDynatrace ...
	BindingTypeDynatrace BindingType = "Dynatrace"
	// BindingTypeElasticAPM ...
	BindingTypeElasticAPM BindingType = "ElasticAPM"
	// BindingTypeNewRelic ...
	BindingTypeNewRelic BindingType = "NewRelic"
)

func PossibleBindingTypeValues

func PossibleBindingTypeValues() []BindingType

PossibleBindingTypeValues returns an array of possible values for the BindingType const type.

type BindingsClient

type BindingsClient struct {
	BaseClient
}

BindingsClient is the REST API for Azure Spring Apps

func NewBindingsClient

func NewBindingsClient(subscriptionID string) BindingsClient

NewBindingsClient creates an instance of the BindingsClient client.

func NewBindingsClientWithBaseURI

func NewBindingsClientWithBaseURI(baseURI string, subscriptionID string) BindingsClient

NewBindingsClientWithBaseURI creates an instance of the BindingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BindingsClient) CreateOrUpdate

func (client BindingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource BindingResource) (result BindingsCreateOrUpdateFuture, err error)

CreateOrUpdate create a new Binding or update an exiting Binding. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. bindingName - the name of the Binding resource. bindingResource - parameters for the create or update operation

func (BindingsClient) CreateOrUpdatePreparer

func (client BindingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource BindingResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BindingsClient) CreateOrUpdateResponder

func (client BindingsClient) CreateOrUpdateResponder(resp *http.Response) (result BindingResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BindingsClient) CreateOrUpdateSender

func (client BindingsClient) CreateOrUpdateSender(req *http.Request) (future BindingsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BindingsClient) Delete

func (client BindingsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string) (result BindingsDeleteFuture, err error)

Delete operation to delete a Binding. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. bindingName - the name of the Binding resource.

func (BindingsClient) DeletePreparer

func (client BindingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BindingsClient) DeleteResponder

func (client BindingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BindingsClient) DeleteSender

func (client BindingsClient) DeleteSender(req *http.Request) (future BindingsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BindingsClient) Get

func (client BindingsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string) (result BindingResource, err error)

Get get a Binding and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. bindingName - the name of the Binding resource.

func (BindingsClient) GetPreparer

func (client BindingsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BindingsClient) GetResponder

func (client BindingsClient) GetResponder(resp *http.Response) (result BindingResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BindingsClient) GetSender

func (client BindingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BindingsClient) List

func (client BindingsClient) List(ctx context.Context, resourceGroupName string, serviceName string, appName string) (result BindingResourceCollectionPage, err error)

List handles requests to list all resources in an App. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource.

func (BindingsClient) ListComplete

func (client BindingsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, appName string) (result BindingResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BindingsClient) ListPreparer

func (client BindingsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BindingsClient) ListResponder

func (client BindingsClient) ListResponder(resp *http.Response) (result BindingResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BindingsClient) ListSender

func (client BindingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (BindingsClient) Update

func (client BindingsClient) Update(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource BindingResource) (result BindingsUpdateFuture, err error)

Update operation to update an exiting Binding. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. bindingName - the name of the Binding resource. bindingResource - parameters for the update operation

func (BindingsClient) UpdatePreparer

func (client BindingsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource BindingResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BindingsClient) UpdateResponder

func (client BindingsClient) UpdateResponder(resp *http.Response) (result BindingResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BindingsClient) UpdateSender

func (client BindingsClient) UpdateSender(req *http.Request) (future BindingsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BindingsCreateOrUpdateFuture

type BindingsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BindingsClient) (BindingResource, error)
}

BindingsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BindingsCreateOrUpdateFuture) UnmarshalJSON

func (future *BindingsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BindingsDeleteFuture

type BindingsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BindingsClient) (autorest.Response, error)
}

BindingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BindingsDeleteFuture) UnmarshalJSON

func (future *BindingsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BindingsUpdateFuture

type BindingsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BindingsClient) (BindingResource, error)
}

BindingsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BindingsUpdateFuture) UnmarshalJSON

func (future *BindingsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Build

type Build struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the build resource
	Properties *BuildProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

Build build resource payload

func (Build) MarshalJSON

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

MarshalJSON is the custom marshaler for Build.

type BuildCollection

type BuildCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Build resources
	Value *[]Build `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BuildCollection object that includes an array of Build resources and a possible link for next set

func (BuildCollection) IsEmpty

func (bc BuildCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BuildCollectionIterator

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

BuildCollectionIterator provides access to a complete listing of Build values.

func NewBuildCollectionIterator

func NewBuildCollectionIterator(page BuildCollectionPage) BuildCollectionIterator

Creates a new instance of the BuildCollectionIterator type.

func (*BuildCollectionIterator) Next

func (iter *BuildCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildCollectionIterator) NextWithContext

func (iter *BuildCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BuildCollectionIterator) NotDone

func (iter BuildCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BuildCollectionIterator) Response

func (iter BuildCollectionIterator) Response() BuildCollection

Response returns the raw server response from the last page request.

func (BuildCollectionIterator) Value

func (iter BuildCollectionIterator) Value() Build

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BuildCollectionPage

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

BuildCollectionPage contains a page of Build values.

func NewBuildCollectionPage

func NewBuildCollectionPage(cur BuildCollection, getNextPage func(context.Context, BuildCollection) (BuildCollection, error)) BuildCollectionPage

Creates a new instance of the BuildCollectionPage type.

func (*BuildCollectionPage) Next

func (page *BuildCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildCollectionPage) NextWithContext

func (page *BuildCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BuildCollectionPage) NotDone

func (page BuildCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BuildCollectionPage) Response

func (page BuildCollectionPage) Response() BuildCollection

Response returns the raw server response from the last page request.

func (BuildCollectionPage) Values

func (page BuildCollectionPage) Values() []Build

Values returns the slice of values for the current page or nil if there are no values.

type BuildProperties

type BuildProperties struct {
	// RelativePath - The relative path of source code
	RelativePath *string `json:"relativePath,omitempty"`
	// Builder - The resource id of builder to build the source code
	Builder *string `json:"builder,omitempty"`
	// AgentPool - The resource id of agent pool
	AgentPool *string `json:"agentPool,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the KPack build result. Possible values include: 'BuildProvisioningStateCreating', 'BuildProvisioningStateUpdating', 'BuildProvisioningStateSucceeded', 'BuildProvisioningStateFailed', 'BuildProvisioningStateDeleting'
	ProvisioningState BuildProvisioningState `json:"provisioningState,omitempty"`
	// Env - The environment variables for this build
	Env map[string]*string `json:"env"`
	// TriggeredBuildResult -  The build result triggered by this build
	TriggeredBuildResult *TriggeredBuildResult `json:"triggeredBuildResult,omitempty"`
	// ResourceRequests - The customized build resource for this build
	ResourceRequests *BuildResourceRequests `json:"resourceRequests,omitempty"`
}

BuildProperties build resource properties payload

func (BuildProperties) MarshalJSON

func (bp BuildProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildProperties.

type BuildProvisioningState

type BuildProvisioningState string

BuildProvisioningState enumerates the values for build provisioning state.

const (
	// BuildProvisioningStateCreating ...
	BuildProvisioningStateCreating BuildProvisioningState = "Creating"
	// BuildProvisioningStateDeleting ...
	BuildProvisioningStateDeleting BuildProvisioningState = "Deleting"
	// BuildProvisioningStateFailed ...
	BuildProvisioningStateFailed BuildProvisioningState = "Failed"
	// BuildProvisioningStateSucceeded ...
	BuildProvisioningStateSucceeded BuildProvisioningState = "Succeeded"
	// BuildProvisioningStateUpdating ...
	BuildProvisioningStateUpdating BuildProvisioningState = "Updating"
)

func PossibleBuildProvisioningStateValues

func PossibleBuildProvisioningStateValues() []BuildProvisioningState

PossibleBuildProvisioningStateValues returns an array of possible values for the BuildProvisioningState const type.

type BuildResourceRequests

type BuildResourceRequests struct {
	// CPU - Optional Cpu allocated to the build resource. 1 core can be represented by 1 or 1000m.
	// The default value is 1, this should not exceed build service agent pool cpu size.
	CPU *string `json:"cpu,omitempty"`
	// Memory - Optional Memory allocated to the build resource. 1 GB can be represented by 1Gi or 1024Mi.
	// The default value is 2Gi, this should not exceed build service agent pool memory size.
	Memory *string `json:"memory,omitempty"`
}

BuildResourceRequests resource request payload of Build Resource.

type BuildResult

type BuildResult struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the build result resource
	Properties *BuildResultProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BuildResult build result resource payload

func (BuildResult) MarshalJSON

func (br BuildResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildResult.

type BuildResultCollection

type BuildResultCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Build result resources
	Value *[]BuildResult `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BuildResultCollection object that includes an array of Build result resources and a possible link for next set

func (BuildResultCollection) IsEmpty

func (brc BuildResultCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BuildResultCollectionIterator

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

BuildResultCollectionIterator provides access to a complete listing of BuildResult values.

func NewBuildResultCollectionIterator

func NewBuildResultCollectionIterator(page BuildResultCollectionPage) BuildResultCollectionIterator

Creates a new instance of the BuildResultCollectionIterator type.

func (*BuildResultCollectionIterator) Next

func (iter *BuildResultCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildResultCollectionIterator) NextWithContext

func (iter *BuildResultCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BuildResultCollectionIterator) NotDone

func (iter BuildResultCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BuildResultCollectionIterator) Response

Response returns the raw server response from the last page request.

func (BuildResultCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BuildResultCollectionPage

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

BuildResultCollectionPage contains a page of BuildResult values.

func NewBuildResultCollectionPage

Creates a new instance of the BuildResultCollectionPage type.

func (*BuildResultCollectionPage) Next

func (page *BuildResultCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildResultCollectionPage) NextWithContext

func (page *BuildResultCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BuildResultCollectionPage) NotDone

func (page BuildResultCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BuildResultCollectionPage) Response

Response returns the raw server response from the last page request.

func (BuildResultCollectionPage) Values

func (page BuildResultCollectionPage) Values() []BuildResult

Values returns the slice of values for the current page or nil if there are no values.

type BuildResultLog

type BuildResultLog struct {
	autorest.Response `json:"-"`
	// BlobURL - The public download URL of this build result log
	BlobURL *string `json:"blobUrl,omitempty"`
}

BuildResultLog build result log resource properties payload

type BuildResultProperties

type BuildResultProperties struct {
	// Name - The name of this build result
	Name *string `json:"name,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the KPack build result. Possible values include: 'BuildResultProvisioningStateQueuing', 'BuildResultProvisioningStateBuilding', 'BuildResultProvisioningStateSucceeded', 'BuildResultProvisioningStateFailed', 'BuildResultProvisioningStateDeleting'
	ProvisioningState BuildResultProvisioningState `json:"provisioningState,omitempty"`
	// BuildPodName - The build pod name which can be used to get the build log streaming.
	BuildPodName *string `json:"buildPodName,omitempty"`
	// BuildStages - READ-ONLY; All of the build stage (init-container and container) resources in build pod.
	BuildStages *[]BuildStageProperties `json:"buildStages,omitempty"`
}

BuildResultProperties build result resource properties payload

func (BuildResultProperties) MarshalJSON

func (brp BuildResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildResultProperties.

type BuildResultProvisioningState

type BuildResultProvisioningState string

BuildResultProvisioningState enumerates the values for build result provisioning state.

const (
	// BuildResultProvisioningStateBuilding ...
	BuildResultProvisioningStateBuilding BuildResultProvisioningState = "Building"
	// BuildResultProvisioningStateDeleting ...
	BuildResultProvisioningStateDeleting BuildResultProvisioningState = "Deleting"
	// BuildResultProvisioningStateFailed ...
	BuildResultProvisioningStateFailed BuildResultProvisioningState = "Failed"
	// BuildResultProvisioningStateQueuing ...
	BuildResultProvisioningStateQueuing BuildResultProvisioningState = "Queuing"
	// BuildResultProvisioningStateSucceeded ...
	BuildResultProvisioningStateSucceeded BuildResultProvisioningState = "Succeeded"
)

func PossibleBuildResultProvisioningStateValues

func PossibleBuildResultProvisioningStateValues() []BuildResultProvisioningState

PossibleBuildResultProvisioningStateValues returns an array of possible values for the BuildResultProvisioningState const type.

type BuildResultUserSourceInfo

type BuildResultUserSourceInfo struct {
	// BuildResultID - Resource id of an existing succeeded build result under the same Spring instance.
	BuildResultID *string `json:"buildResultId,omitempty"`
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

BuildResultUserSourceInfo reference to a build result

func (BuildResultUserSourceInfo) AsBasicUploadedUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsBasicUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsBuildResultUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsCustomContainerUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsJarUploadedUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsSourceUploadedUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsUploadedUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) AsUserSourceInfo

func (brusi BuildResultUserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for BuildResultUserSourceInfo.

func (BuildResultUserSourceInfo) MarshalJSON

func (brusi BuildResultUserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildResultUserSourceInfo.

type BuildService

type BuildService struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the build resource
	Properties *BuildServiceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BuildService build service resource payload

func (BuildService) MarshalJSON

func (bs BuildService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildService.

type BuildServiceAgentPoolClient

type BuildServiceAgentPoolClient struct {
	BaseClient
}

BuildServiceAgentPoolClient is the REST API for Azure Spring Apps

func NewBuildServiceAgentPoolClient

func NewBuildServiceAgentPoolClient(subscriptionID string) BuildServiceAgentPoolClient

NewBuildServiceAgentPoolClient creates an instance of the BuildServiceAgentPoolClient client.

func NewBuildServiceAgentPoolClientWithBaseURI

func NewBuildServiceAgentPoolClientWithBaseURI(baseURI string, subscriptionID string) BuildServiceAgentPoolClient

NewBuildServiceAgentPoolClientWithBaseURI creates an instance of the BuildServiceAgentPoolClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BuildServiceAgentPoolClient) Get

func (client BuildServiceAgentPoolClient) Get(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, agentPoolName string) (result BuildServiceAgentPoolResource, err error)

Get get build service agent pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. agentPoolName - the name of the build service agent pool resource.

func (BuildServiceAgentPoolClient) GetPreparer

func (client BuildServiceAgentPoolClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, agentPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BuildServiceAgentPoolClient) GetResponder

func (client BuildServiceAgentPoolClient) GetResponder(resp *http.Response) (result BuildServiceAgentPoolResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BuildServiceAgentPoolClient) GetSender

func (client BuildServiceAgentPoolClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BuildServiceAgentPoolClient) List

func (client BuildServiceAgentPoolClient) List(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuildServiceAgentPoolResourceCollectionPage, err error)

List list build service agent pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceAgentPoolClient) ListComplete

func (client BuildServiceAgentPoolClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuildServiceAgentPoolResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BuildServiceAgentPoolClient) ListPreparer

func (client BuildServiceAgentPoolClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BuildServiceAgentPoolClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BuildServiceAgentPoolClient) ListSender

func (client BuildServiceAgentPoolClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (BuildServiceAgentPoolClient) UpdatePut

func (client BuildServiceAgentPoolClient) UpdatePut(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, agentPoolName string, agentPoolResource BuildServiceAgentPoolResource) (result BuildServiceAgentPoolUpdatePutFuture, err error)

UpdatePut create or update build service agent pool. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. agentPoolName - the name of the build service agent pool resource. agentPoolResource - parameters for the update operation

func (BuildServiceAgentPoolClient) UpdatePutPreparer

func (client BuildServiceAgentPoolClient) UpdatePutPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, agentPoolName string, agentPoolResource BuildServiceAgentPoolResource) (*http.Request, error)

UpdatePutPreparer prepares the UpdatePut request.

func (BuildServiceAgentPoolClient) UpdatePutResponder

func (client BuildServiceAgentPoolClient) UpdatePutResponder(resp *http.Response) (result BuildServiceAgentPoolResource, err error)

UpdatePutResponder handles the response to the UpdatePut request. The method always closes the http.Response Body.

func (BuildServiceAgentPoolClient) UpdatePutSender

func (client BuildServiceAgentPoolClient) UpdatePutSender(req *http.Request) (future BuildServiceAgentPoolUpdatePutFuture, err error)

UpdatePutSender sends the UpdatePut request. The method will close the http.Response Body if it receives an error.

type BuildServiceAgentPoolProperties

type BuildServiceAgentPoolProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the build service agent pool
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// PoolSize - build service agent pool size properties
	PoolSize *BuildServiceAgentPoolSizeProperties `json:"poolSize,omitempty"`
}

BuildServiceAgentPoolProperties build service agent pool properties

func (BuildServiceAgentPoolProperties) MarshalJSON

func (bsapp BuildServiceAgentPoolProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildServiceAgentPoolProperties.

type BuildServiceAgentPoolResource

type BuildServiceAgentPoolResource struct {
	autorest.Response `json:"-"`
	// Properties - build service agent pool properties
	Properties *BuildServiceAgentPoolProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BuildServiceAgentPoolResource the build service agent pool resource

func (BuildServiceAgentPoolResource) MarshalJSON

func (bsapr BuildServiceAgentPoolResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildServiceAgentPoolResource.

type BuildServiceAgentPoolResourceCollection

type BuildServiceAgentPoolResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of build service agent pool resource
	Value *[]BuildServiceAgentPoolResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BuildServiceAgentPoolResourceCollection object that includes an array of build service agent pool resources and a possible link for next set

func (BuildServiceAgentPoolResourceCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type BuildServiceAgentPoolResourceCollectionIterator

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

BuildServiceAgentPoolResourceCollectionIterator provides access to a complete listing of BuildServiceAgentPoolResource values.

func NewBuildServiceAgentPoolResourceCollectionIterator

func NewBuildServiceAgentPoolResourceCollectionIterator(page BuildServiceAgentPoolResourceCollectionPage) BuildServiceAgentPoolResourceCollectionIterator

Creates a new instance of the BuildServiceAgentPoolResourceCollectionIterator type.

func (*BuildServiceAgentPoolResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildServiceAgentPoolResourceCollectionIterator) NextWithContext

func (iter *BuildServiceAgentPoolResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BuildServiceAgentPoolResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (BuildServiceAgentPoolResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (BuildServiceAgentPoolResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BuildServiceAgentPoolResourceCollectionPage

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

BuildServiceAgentPoolResourceCollectionPage contains a page of BuildServiceAgentPoolResource values.

func NewBuildServiceAgentPoolResourceCollectionPage

Creates a new instance of the BuildServiceAgentPoolResourceCollectionPage type.

func (*BuildServiceAgentPoolResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildServiceAgentPoolResourceCollectionPage) NextWithContext

func (page *BuildServiceAgentPoolResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BuildServiceAgentPoolResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BuildServiceAgentPoolResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (BuildServiceAgentPoolResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BuildServiceAgentPoolSizeProperties

type BuildServiceAgentPoolSizeProperties struct {
	// Name - The name of build service agent pool size
	Name *string `json:"name,omitempty"`
	// CPU - READ-ONLY; The cpu property of build service agent pool size
	CPU *string `json:"cpu,omitempty"`
	// Memory - READ-ONLY; The memory property of build service agent pool size
	Memory *string `json:"memory,omitempty"`
}

BuildServiceAgentPoolSizeProperties build service agent pool size properties

func (BuildServiceAgentPoolSizeProperties) MarshalJSON

func (bsapsp BuildServiceAgentPoolSizeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildServiceAgentPoolSizeProperties.

type BuildServiceAgentPoolUpdatePutFuture

type BuildServiceAgentPoolUpdatePutFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BuildServiceAgentPoolClient) (BuildServiceAgentPoolResource, error)
}

BuildServiceAgentPoolUpdatePutFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BuildServiceAgentPoolUpdatePutFuture) UnmarshalJSON

func (future *BuildServiceAgentPoolUpdatePutFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BuildServiceBuilderClient

type BuildServiceBuilderClient struct {
	BaseClient
}

BuildServiceBuilderClient is the REST API for Azure Spring Apps

func NewBuildServiceBuilderClient

func NewBuildServiceBuilderClient(subscriptionID string) BuildServiceBuilderClient

NewBuildServiceBuilderClient creates an instance of the BuildServiceBuilderClient client.

func NewBuildServiceBuilderClientWithBaseURI

func NewBuildServiceBuilderClientWithBaseURI(baseURI string, subscriptionID string) BuildServiceBuilderClient

NewBuildServiceBuilderClientWithBaseURI creates an instance of the BuildServiceBuilderClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BuildServiceBuilderClient) CreateOrUpdate

func (client BuildServiceBuilderClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, builderResource BuilderResource) (result BuildServiceBuilderCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a KPack builder. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource. builderResource - the target builder for the create or update operation

func (BuildServiceBuilderClient) CreateOrUpdatePreparer

func (client BuildServiceBuilderClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, builderResource BuilderResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BuildServiceBuilderClient) CreateOrUpdateResponder

func (client BuildServiceBuilderClient) CreateOrUpdateResponder(resp *http.Response) (result BuilderResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BuildServiceBuilderClient) CreateOrUpdateSender

func (client BuildServiceBuilderClient) CreateOrUpdateSender(req *http.Request) (future BuildServiceBuilderCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BuildServiceBuilderClient) Delete

func (client BuildServiceBuilderClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (result BuildServiceBuilderDeleteFuture, err error)

Delete delete a KPack builder. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource.

func (BuildServiceBuilderClient) DeletePreparer

func (client BuildServiceBuilderClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BuildServiceBuilderClient) DeleteResponder

func (client BuildServiceBuilderClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BuildServiceBuilderClient) DeleteSender

func (client BuildServiceBuilderClient) DeleteSender(req *http.Request) (future BuildServiceBuilderDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BuildServiceBuilderClient) Get

func (client BuildServiceBuilderClient) Get(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (result BuilderResource, err error)

Get get a KPack builder. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource.

func (BuildServiceBuilderClient) GetPreparer

func (client BuildServiceBuilderClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BuildServiceBuilderClient) GetResponder

func (client BuildServiceBuilderClient) GetResponder(resp *http.Response) (result BuilderResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BuildServiceBuilderClient) GetSender

func (client BuildServiceBuilderClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BuildServiceBuilderClient) List

func (client BuildServiceBuilderClient) List(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuilderResourceCollectionPage, err error)

List list KPack builders result. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceBuilderClient) ListComplete

func (client BuildServiceBuilderClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuilderResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BuildServiceBuilderClient) ListPreparer

func (client BuildServiceBuilderClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BuildServiceBuilderClient) ListResponder

func (client BuildServiceBuilderClient) ListResponder(resp *http.Response) (result BuilderResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BuildServiceBuilderClient) ListSender

func (client BuildServiceBuilderClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BuildServiceBuilderCreateOrUpdateFuture

type BuildServiceBuilderCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BuildServiceBuilderClient) (BuilderResource, error)
}

BuildServiceBuilderCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BuildServiceBuilderCreateOrUpdateFuture) UnmarshalJSON

func (future *BuildServiceBuilderCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BuildServiceBuilderDeleteFuture

type BuildServiceBuilderDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BuildServiceBuilderClient) (autorest.Response, error)
}

BuildServiceBuilderDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BuildServiceBuilderDeleteFuture) UnmarshalJSON

func (future *BuildServiceBuilderDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BuildServiceClient

type BuildServiceClient struct {
	BaseClient
}

BuildServiceClient is the REST API for Azure Spring Apps

func NewBuildServiceClient

func NewBuildServiceClient(subscriptionID string) BuildServiceClient

NewBuildServiceClient creates an instance of the BuildServiceClient client.

func NewBuildServiceClientWithBaseURI

func NewBuildServiceClientWithBaseURI(baseURI string, subscriptionID string) BuildServiceClient

NewBuildServiceClientWithBaseURI creates an instance of the BuildServiceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BuildServiceClient) CreateOrUpdateBuild

func (client BuildServiceClient) CreateOrUpdateBuild(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildParameter Build) (result Build, err error)

CreateOrUpdateBuild create or update a KPack build. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. buildName - the name of the build resource. buildParameter - parameters for the create or update operation

func (BuildServiceClient) CreateOrUpdateBuildPreparer

func (client BuildServiceClient) CreateOrUpdateBuildPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildParameter Build) (*http.Request, error)

CreateOrUpdateBuildPreparer prepares the CreateOrUpdateBuild request.

func (BuildServiceClient) CreateOrUpdateBuildResponder

func (client BuildServiceClient) CreateOrUpdateBuildResponder(resp *http.Response) (result Build, err error)

CreateOrUpdateBuildResponder handles the response to the CreateOrUpdateBuild request. The method always closes the http.Response Body.

func (BuildServiceClient) CreateOrUpdateBuildSender

func (client BuildServiceClient) CreateOrUpdateBuildSender(req *http.Request) (*http.Response, error)

CreateOrUpdateBuildSender sends the CreateOrUpdateBuild request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetBuild

func (client BuildServiceClient) GetBuild(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string) (result Build, err error)

GetBuild get a KPack build. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. buildName - the name of the build resource.

func (BuildServiceClient) GetBuildPreparer

func (client BuildServiceClient) GetBuildPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string) (*http.Request, error)

GetBuildPreparer prepares the GetBuild request.

func (BuildServiceClient) GetBuildResponder

func (client BuildServiceClient) GetBuildResponder(resp *http.Response) (result Build, err error)

GetBuildResponder handles the response to the GetBuild request. The method always closes the http.Response Body.

func (BuildServiceClient) GetBuildResult

func (client BuildServiceClient) GetBuildResult(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildResultName string) (result BuildResult, err error)

GetBuildResult get a KPack build result. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. buildName - the name of the build resource. buildResultName - the name of the build result resource.

func (BuildServiceClient) GetBuildResultLog

func (client BuildServiceClient) GetBuildResultLog(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildResultName string) (result BuildResultLog, err error)

GetBuildResultLog get a KPack build result log download URL. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. buildName - the name of the build resource. buildResultName - the name of the build result resource.

func (BuildServiceClient) GetBuildResultLogPreparer

func (client BuildServiceClient) GetBuildResultLogPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildResultName string) (*http.Request, error)

GetBuildResultLogPreparer prepares the GetBuildResultLog request.

func (BuildServiceClient) GetBuildResultLogResponder

func (client BuildServiceClient) GetBuildResultLogResponder(resp *http.Response) (result BuildResultLog, err error)

GetBuildResultLogResponder handles the response to the GetBuildResultLog request. The method always closes the http.Response Body.

func (BuildServiceClient) GetBuildResultLogSender

func (client BuildServiceClient) GetBuildResultLogSender(req *http.Request) (*http.Response, error)

GetBuildResultLogSender sends the GetBuildResultLog request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetBuildResultPreparer

func (client BuildServiceClient) GetBuildResultPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildResultName string) (*http.Request, error)

GetBuildResultPreparer prepares the GetBuildResult request.

func (BuildServiceClient) GetBuildResultResponder

func (client BuildServiceClient) GetBuildResultResponder(resp *http.Response) (result BuildResult, err error)

GetBuildResultResponder handles the response to the GetBuildResult request. The method always closes the http.Response Body.

func (BuildServiceClient) GetBuildResultSender

func (client BuildServiceClient) GetBuildResultSender(req *http.Request) (*http.Response, error)

GetBuildResultSender sends the GetBuildResult request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetBuildSender

func (client BuildServiceClient) GetBuildSender(req *http.Request) (*http.Response, error)

GetBuildSender sends the GetBuild request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetBuildService

func (client BuildServiceClient) GetBuildService(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuildService, err error)

GetBuildService get a build service resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceClient) GetBuildServicePreparer

func (client BuildServiceClient) GetBuildServicePreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

GetBuildServicePreparer prepares the GetBuildService request.

func (BuildServiceClient) GetBuildServiceResponder

func (client BuildServiceClient) GetBuildServiceResponder(resp *http.Response) (result BuildService, err error)

GetBuildServiceResponder handles the response to the GetBuildService request. The method always closes the http.Response Body.

func (BuildServiceClient) GetBuildServiceSender

func (client BuildServiceClient) GetBuildServiceSender(req *http.Request) (*http.Response, error)

GetBuildServiceSender sends the GetBuildService request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetResourceUploadURL

func (client BuildServiceClient) GetResourceUploadURL(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result ResourceUploadDefinition, err error)

GetResourceUploadURL get an resource upload URL for build service, which may be artifacts or source archive. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceClient) GetResourceUploadURLPreparer

func (client BuildServiceClient) GetResourceUploadURLPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

GetResourceUploadURLPreparer prepares the GetResourceUploadURL request.

func (BuildServiceClient) GetResourceUploadURLResponder

func (client BuildServiceClient) GetResourceUploadURLResponder(resp *http.Response) (result ResourceUploadDefinition, err error)

GetResourceUploadURLResponder handles the response to the GetResourceUploadURL request. The method always closes the http.Response Body.

func (BuildServiceClient) GetResourceUploadURLSender

func (client BuildServiceClient) GetResourceUploadURLSender(req *http.Request) (*http.Response, error)

GetResourceUploadURLSender sends the GetResourceUploadURL request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetSupportedBuildpack

func (client BuildServiceClient) GetSupportedBuildpack(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildpackName string) (result SupportedBuildpackResource, err error)

GetSupportedBuildpack get the supported buildpack resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. buildpackName - the name of the buildpack resource.

func (BuildServiceClient) GetSupportedBuildpackPreparer

func (client BuildServiceClient) GetSupportedBuildpackPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildpackName string) (*http.Request, error)

GetSupportedBuildpackPreparer prepares the GetSupportedBuildpack request.

func (BuildServiceClient) GetSupportedBuildpackResponder

func (client BuildServiceClient) GetSupportedBuildpackResponder(resp *http.Response) (result SupportedBuildpackResource, err error)

GetSupportedBuildpackResponder handles the response to the GetSupportedBuildpack request. The method always closes the http.Response Body.

func (BuildServiceClient) GetSupportedBuildpackSender

func (client BuildServiceClient) GetSupportedBuildpackSender(req *http.Request) (*http.Response, error)

GetSupportedBuildpackSender sends the GetSupportedBuildpack request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) GetSupportedStack

func (client BuildServiceClient) GetSupportedStack(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, stackName string) (result SupportedStackResource, err error)

GetSupportedStack get the supported stack resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. stackName - the name of the stack resource.

func (BuildServiceClient) GetSupportedStackPreparer

func (client BuildServiceClient) GetSupportedStackPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, stackName string) (*http.Request, error)

GetSupportedStackPreparer prepares the GetSupportedStack request.

func (BuildServiceClient) GetSupportedStackResponder

func (client BuildServiceClient) GetSupportedStackResponder(resp *http.Response) (result SupportedStackResource, err error)

GetSupportedStackResponder handles the response to the GetSupportedStack request. The method always closes the http.Response Body.

func (BuildServiceClient) GetSupportedStackSender

func (client BuildServiceClient) GetSupportedStackSender(req *http.Request) (*http.Response, error)

GetSupportedStackSender sends the GetSupportedStack request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) ListBuildResults

func (client BuildServiceClient) ListBuildResults(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string) (result BuildResultCollectionPage, err error)

ListBuildResults list KPack build results. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. buildName - the name of the build resource.

func (BuildServiceClient) ListBuildResultsComplete

func (client BuildServiceClient) ListBuildResultsComplete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string) (result BuildResultCollectionIterator, err error)

ListBuildResultsComplete enumerates all values, automatically crossing page boundaries as required.

func (BuildServiceClient) ListBuildResultsPreparer

func (client BuildServiceClient) ListBuildResultsPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string) (*http.Request, error)

ListBuildResultsPreparer prepares the ListBuildResults request.

func (BuildServiceClient) ListBuildResultsResponder

func (client BuildServiceClient) ListBuildResultsResponder(resp *http.Response) (result BuildResultCollection, err error)

ListBuildResultsResponder handles the response to the ListBuildResults request. The method always closes the http.Response Body.

func (BuildServiceClient) ListBuildResultsSender

func (client BuildServiceClient) ListBuildResultsSender(req *http.Request) (*http.Response, error)

ListBuildResultsSender sends the ListBuildResults request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) ListBuildServices

func (client BuildServiceClient) ListBuildServices(ctx context.Context, resourceGroupName string, serviceName string) (result BuildServiceCollectionPage, err error)

ListBuildServices list build services resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (BuildServiceClient) ListBuildServicesComplete

func (client BuildServiceClient) ListBuildServicesComplete(ctx context.Context, resourceGroupName string, serviceName string) (result BuildServiceCollectionIterator, err error)

ListBuildServicesComplete enumerates all values, automatically crossing page boundaries as required.

func (BuildServiceClient) ListBuildServicesPreparer

func (client BuildServiceClient) ListBuildServicesPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListBuildServicesPreparer prepares the ListBuildServices request.

func (BuildServiceClient) ListBuildServicesResponder

func (client BuildServiceClient) ListBuildServicesResponder(resp *http.Response) (result BuildServiceCollection, err error)

ListBuildServicesResponder handles the response to the ListBuildServices request. The method always closes the http.Response Body.

func (BuildServiceClient) ListBuildServicesSender

func (client BuildServiceClient) ListBuildServicesSender(req *http.Request) (*http.Response, error)

ListBuildServicesSender sends the ListBuildServices request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) ListBuilds

func (client BuildServiceClient) ListBuilds(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuildCollectionPage, err error)

ListBuilds list KPack builds. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceClient) ListBuildsComplete

func (client BuildServiceClient) ListBuildsComplete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result BuildCollectionIterator, err error)

ListBuildsComplete enumerates all values, automatically crossing page boundaries as required.

func (BuildServiceClient) ListBuildsPreparer

func (client BuildServiceClient) ListBuildsPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

ListBuildsPreparer prepares the ListBuilds request.

func (BuildServiceClient) ListBuildsResponder

func (client BuildServiceClient) ListBuildsResponder(resp *http.Response) (result BuildCollection, err error)

ListBuildsResponder handles the response to the ListBuilds request. The method always closes the http.Response Body.

func (BuildServiceClient) ListBuildsSender

func (client BuildServiceClient) ListBuildsSender(req *http.Request) (*http.Response, error)

ListBuildsSender sends the ListBuilds request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) ListSupportedBuildpacks

func (client BuildServiceClient) ListSupportedBuildpacks(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result SupportedBuildpacksCollection, err error)

ListSupportedBuildpacks get all supported buildpacks. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceClient) ListSupportedBuildpacksPreparer

func (client BuildServiceClient) ListSupportedBuildpacksPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

ListSupportedBuildpacksPreparer prepares the ListSupportedBuildpacks request.

func (BuildServiceClient) ListSupportedBuildpacksResponder

func (client BuildServiceClient) ListSupportedBuildpacksResponder(resp *http.Response) (result SupportedBuildpacksCollection, err error)

ListSupportedBuildpacksResponder handles the response to the ListSupportedBuildpacks request. The method always closes the http.Response Body.

func (BuildServiceClient) ListSupportedBuildpacksSender

func (client BuildServiceClient) ListSupportedBuildpacksSender(req *http.Request) (*http.Response, error)

ListSupportedBuildpacksSender sends the ListSupportedBuildpacks request. The method will close the http.Response Body if it receives an error.

func (BuildServiceClient) ListSupportedStacks

func (client BuildServiceClient) ListSupportedStacks(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (result SupportedStacksCollection, err error)

ListSupportedStacks get all supported stacks. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource.

func (BuildServiceClient) ListSupportedStacksPreparer

func (client BuildServiceClient) ListSupportedStacksPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string) (*http.Request, error)

ListSupportedStacksPreparer prepares the ListSupportedStacks request.

func (BuildServiceClient) ListSupportedStacksResponder

func (client BuildServiceClient) ListSupportedStacksResponder(resp *http.Response) (result SupportedStacksCollection, err error)

ListSupportedStacksResponder handles the response to the ListSupportedStacks request. The method always closes the http.Response Body.

func (BuildServiceClient) ListSupportedStacksSender

func (client BuildServiceClient) ListSupportedStacksSender(req *http.Request) (*http.Response, error)

ListSupportedStacksSender sends the ListSupportedStacks request. The method will close the http.Response Body if it receives an error.

type BuildServiceCollection

type BuildServiceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Build service resources
	Value *[]BuildService `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BuildServiceCollection object that includes an array of Build service resources and a possible link for next set

func (BuildServiceCollection) IsEmpty

func (bsc BuildServiceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BuildServiceCollectionIterator

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

BuildServiceCollectionIterator provides access to a complete listing of BuildService values.

func NewBuildServiceCollectionIterator

func NewBuildServiceCollectionIterator(page BuildServiceCollectionPage) BuildServiceCollectionIterator

Creates a new instance of the BuildServiceCollectionIterator type.

func (*BuildServiceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildServiceCollectionIterator) NextWithContext

func (iter *BuildServiceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BuildServiceCollectionIterator) NotDone

func (iter BuildServiceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BuildServiceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (BuildServiceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BuildServiceCollectionPage

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

BuildServiceCollectionPage contains a page of BuildService values.

func NewBuildServiceCollectionPage

Creates a new instance of the BuildServiceCollectionPage type.

func (*BuildServiceCollectionPage) Next

func (page *BuildServiceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildServiceCollectionPage) NextWithContext

func (page *BuildServiceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BuildServiceCollectionPage) NotDone

func (page BuildServiceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BuildServiceCollectionPage) Response

Response returns the raw server response from the last page request.

func (BuildServiceCollectionPage) Values

func (page BuildServiceCollectionPage) Values() []BuildService

Values returns the slice of values for the current page or nil if there are no values.

type BuildServiceProperties

type BuildServiceProperties struct {
	// KPackVersion - The installed KPack version in this build service.
	KPackVersion *string `json:"kPackVersion,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the KPack build result. Possible values include: 'BuildServiceProvisioningStateCreating', 'BuildServiceProvisioningStateUpdating', 'BuildServiceProvisioningStateSucceeded', 'BuildServiceProvisioningStateFailed', 'BuildServiceProvisioningStateDeleting'
	ProvisioningState BuildServiceProvisioningState `json:"provisioningState,omitempty"`
	// ResourceRequests - The runtime resource configuration of this build service.
	ResourceRequests *BuildServicePropertiesResourceRequests `json:"resourceRequests,omitempty"`
}

BuildServiceProperties build service resource properties payload

func (BuildServiceProperties) MarshalJSON

func (bsp BuildServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildServiceProperties.

type BuildServicePropertiesResourceRequests

type BuildServicePropertiesResourceRequests struct {
	// CPU - READ-ONLY; vCPU allocated to the entire build service node pool.
	CPU *string `json:"cpu,omitempty"`
	// Memory - READ-ONLY; Memory allocated to the entire build service node pool.
	Memory *string `json:"memory,omitempty"`
}

BuildServicePropertiesResourceRequests the runtime resource configuration of this build service.

func (BuildServicePropertiesResourceRequests) MarshalJSON

func (bspR BuildServicePropertiesResourceRequests) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildServicePropertiesResourceRequests.

type BuildServiceProvisioningState

type BuildServiceProvisioningState string

BuildServiceProvisioningState enumerates the values for build service provisioning state.

const (
	// BuildServiceProvisioningStateCreating ...
	BuildServiceProvisioningStateCreating BuildServiceProvisioningState = "Creating"
	// BuildServiceProvisioningStateDeleting ...
	BuildServiceProvisioningStateDeleting BuildServiceProvisioningState = "Deleting"
	// BuildServiceProvisioningStateFailed ...
	BuildServiceProvisioningStateFailed BuildServiceProvisioningState = "Failed"
	// BuildServiceProvisioningStateSucceeded ...
	BuildServiceProvisioningStateSucceeded BuildServiceProvisioningState = "Succeeded"
	// BuildServiceProvisioningStateUpdating ...
	BuildServiceProvisioningStateUpdating BuildServiceProvisioningState = "Updating"
)

func PossibleBuildServiceProvisioningStateValues

func PossibleBuildServiceProvisioningStateValues() []BuildServiceProvisioningState

PossibleBuildServiceProvisioningStateValues returns an array of possible values for the BuildServiceProvisioningState const type.

type BuildStageProperties

type BuildStageProperties struct {
	// Name - READ-ONLY; The name of this build stage resource.
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; The provisioning state of this build stage resource. Possible values include: 'KPackBuildStageProvisioningStateNotStarted', 'KPackBuildStageProvisioningStateRunning', 'KPackBuildStageProvisioningStateSucceeded', 'KPackBuildStageProvisioningStateFailed'
	Status KPackBuildStageProvisioningState `json:"status,omitempty"`
}

BuildStageProperties the build stage (init-container and container) resources in build pod.

func (BuildStageProperties) MarshalJSON

func (bsp BuildStageProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildStageProperties.

type BuilderProperties

type BuilderProperties struct {
	// ProvisioningState - READ-ONLY; Builder provision status. Possible values include: 'BuilderProvisioningStateCreating', 'BuilderProvisioningStateUpdating', 'BuilderProvisioningStateSucceeded', 'BuilderProvisioningStateFailed', 'BuilderProvisioningStateDeleting'
	ProvisioningState BuilderProvisioningState `json:"provisioningState,omitempty"`
	// Stack - Builder cluster stack property.
	Stack *StackProperties `json:"stack,omitempty"`
	// BuildpackGroups - Builder buildpack groups.
	BuildpackGroups *[]BuildpacksGroupProperties `json:"buildpackGroups,omitempty"`
}

BuilderProperties kPack Builder properties payload

func (BuilderProperties) MarshalJSON

func (bp BuilderProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuilderProperties.

type BuilderProvisioningState

type BuilderProvisioningState string

BuilderProvisioningState enumerates the values for builder provisioning state.

const (
	// BuilderProvisioningStateCreating ...
	BuilderProvisioningStateCreating BuilderProvisioningState = "Creating"
	// BuilderProvisioningStateDeleting ...
	BuilderProvisioningStateDeleting BuilderProvisioningState = "Deleting"
	// BuilderProvisioningStateFailed ...
	BuilderProvisioningStateFailed BuilderProvisioningState = "Failed"
	// BuilderProvisioningStateSucceeded ...
	BuilderProvisioningStateSucceeded BuilderProvisioningState = "Succeeded"
	// BuilderProvisioningStateUpdating ...
	BuilderProvisioningStateUpdating BuilderProvisioningState = "Updating"
)

func PossibleBuilderProvisioningStateValues

func PossibleBuilderProvisioningStateValues() []BuilderProvisioningState

PossibleBuilderProvisioningStateValues returns an array of possible values for the BuilderProvisioningState const type.

type BuilderResource

type BuilderResource struct {
	autorest.Response `json:"-"`
	// Properties - Property of the Builder resource.
	Properties *BuilderProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BuilderResource kPack Builder resource

func (BuilderResource) MarshalJSON

func (br BuilderResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuilderResource.

type BuilderResourceCollection

type BuilderResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Builder resources
	Value *[]BuilderResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BuilderResourceCollection object that includes an array of Builder resources and a possible link for next set

func (BuilderResourceCollection) IsEmpty

func (brc BuilderResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BuilderResourceCollectionIterator

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

BuilderResourceCollectionIterator provides access to a complete listing of BuilderResource values.

func NewBuilderResourceCollectionIterator

func NewBuilderResourceCollectionIterator(page BuilderResourceCollectionPage) BuilderResourceCollectionIterator

Creates a new instance of the BuilderResourceCollectionIterator type.

func (*BuilderResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuilderResourceCollectionIterator) NextWithContext

func (iter *BuilderResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BuilderResourceCollectionIterator) NotDone

func (iter BuilderResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BuilderResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (BuilderResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BuilderResourceCollectionPage

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

BuilderResourceCollectionPage contains a page of BuilderResource values.

func NewBuilderResourceCollectionPage

Creates a new instance of the BuilderResourceCollectionPage type.

func (*BuilderResourceCollectionPage) Next

func (page *BuilderResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuilderResourceCollectionPage) NextWithContext

func (page *BuilderResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BuilderResourceCollectionPage) NotDone

func (page BuilderResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BuilderResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (BuilderResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BuildpackBindingClient

type BuildpackBindingClient struct {
	BaseClient
}

BuildpackBindingClient is the REST API for Azure Spring Apps

func NewBuildpackBindingClient

func NewBuildpackBindingClient(subscriptionID string) BuildpackBindingClient

NewBuildpackBindingClient creates an instance of the BuildpackBindingClient client.

func NewBuildpackBindingClientWithBaseURI

func NewBuildpackBindingClientWithBaseURI(baseURI string, subscriptionID string) BuildpackBindingClient

NewBuildpackBindingClientWithBaseURI creates an instance of the BuildpackBindingClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BuildpackBindingClient) CreateOrUpdate

func (client BuildpackBindingClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string, buildpackBinding BuildpackBindingResource) (result BuildpackBindingCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a buildpack binding. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource. buildpackBindingName - the name of the Buildpack Binding Name buildpackBinding - the target buildpack binding for the create or update operation

func (BuildpackBindingClient) CreateOrUpdatePreparer

func (client BuildpackBindingClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string, buildpackBinding BuildpackBindingResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BuildpackBindingClient) CreateOrUpdateResponder

func (client BuildpackBindingClient) CreateOrUpdateResponder(resp *http.Response) (result BuildpackBindingResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BuildpackBindingClient) CreateOrUpdateSender

func (client BuildpackBindingClient) CreateOrUpdateSender(req *http.Request) (future BuildpackBindingCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BuildpackBindingClient) Delete

func (client BuildpackBindingClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string) (result BuildpackBindingDeleteFuture, err error)

Delete operation to delete a Buildpack Binding Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource. buildpackBindingName - the name of the Buildpack Binding Name

func (BuildpackBindingClient) DeletePreparer

func (client BuildpackBindingClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BuildpackBindingClient) DeleteResponder

func (client BuildpackBindingClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BuildpackBindingClient) DeleteSender

func (client BuildpackBindingClient) DeleteSender(req *http.Request) (future BuildpackBindingDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BuildpackBindingClient) Get

func (client BuildpackBindingClient) Get(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string) (result BuildpackBindingResource, err error)

Get get a buildpack binding by name. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource. buildpackBindingName - the name of the Buildpack Binding Name

func (BuildpackBindingClient) GetPreparer

func (client BuildpackBindingClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BuildpackBindingClient) GetResponder

func (client BuildpackBindingClient) GetResponder(resp *http.Response) (result BuildpackBindingResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BuildpackBindingClient) GetSender

func (client BuildpackBindingClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BuildpackBindingClient) List

func (client BuildpackBindingClient) List(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (result BuildpackBindingResourceCollectionPage, err error)

List handles requests to list all buildpack bindings in a builder. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. buildServiceName - the name of the build service resource. builderName - the name of the builder resource.

func (BuildpackBindingClient) ListComplete

func (client BuildpackBindingClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (result BuildpackBindingResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BuildpackBindingClient) ListPreparer

func (client BuildpackBindingClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BuildpackBindingClient) ListResponder

func (client BuildpackBindingClient) ListResponder(resp *http.Response) (result BuildpackBindingResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BuildpackBindingClient) ListSender

func (client BuildpackBindingClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BuildpackBindingCreateOrUpdateFuture

type BuildpackBindingCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BuildpackBindingClient) (BuildpackBindingResource, error)
}

BuildpackBindingCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BuildpackBindingCreateOrUpdateFuture) UnmarshalJSON

func (future *BuildpackBindingCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BuildpackBindingDeleteFuture

type BuildpackBindingDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BuildpackBindingClient) (autorest.Response, error)
}

BuildpackBindingDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BuildpackBindingDeleteFuture) UnmarshalJSON

func (future *BuildpackBindingDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BuildpackBindingLaunchProperties

type BuildpackBindingLaunchProperties struct {
	// Properties - Non-sensitive properties for launchProperties
	Properties map[string]*string `json:"properties"`
	// Secrets - Sensitive properties for launchProperties
	Secrets map[string]*string `json:"secrets"`
}

BuildpackBindingLaunchProperties buildpack Binding Launch Properties

func (BuildpackBindingLaunchProperties) MarshalJSON

func (bblp BuildpackBindingLaunchProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildpackBindingLaunchProperties.

type BuildpackBindingProperties

type BuildpackBindingProperties struct {
	// BindingType - Buildpack Binding Type. Possible values include: 'BindingTypeApplicationInsights', 'BindingTypeApacheSkyWalking', 'BindingTypeAppDynamics', 'BindingTypeDynatrace', 'BindingTypeNewRelic', 'BindingTypeElasticAPM'
	BindingType BindingType `json:"bindingType,omitempty"`
	// ProvisioningState - READ-ONLY; State of the Buildpack Binding. Possible values include: 'BuildpackBindingProvisioningStateCreating', 'BuildpackBindingProvisioningStateUpdating', 'BuildpackBindingProvisioningStateSucceeded', 'BuildpackBindingProvisioningStateFailed', 'BuildpackBindingProvisioningStateDeleting'
	ProvisioningState BuildpackBindingProvisioningState `json:"provisioningState,omitempty"`
	// LaunchProperties - The object describes the buildpack binding launch properties
	LaunchProperties *BuildpackBindingLaunchProperties `json:"launchProperties,omitempty"`
}

BuildpackBindingProperties properties of a buildpack binding

func (BuildpackBindingProperties) MarshalJSON

func (bbp BuildpackBindingProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildpackBindingProperties.

type BuildpackBindingProvisioningState

type BuildpackBindingProvisioningState string

BuildpackBindingProvisioningState enumerates the values for buildpack binding provisioning state.

const (
	// BuildpackBindingProvisioningStateCreating ...
	BuildpackBindingProvisioningStateCreating BuildpackBindingProvisioningState = "Creating"
	// BuildpackBindingProvisioningStateDeleting ...
	BuildpackBindingProvisioningStateDeleting BuildpackBindingProvisioningState = "Deleting"
	// BuildpackBindingProvisioningStateFailed ...
	BuildpackBindingProvisioningStateFailed BuildpackBindingProvisioningState = "Failed"
	// BuildpackBindingProvisioningStateSucceeded ...
	BuildpackBindingProvisioningStateSucceeded BuildpackBindingProvisioningState = "Succeeded"
	// BuildpackBindingProvisioningStateUpdating ...
	BuildpackBindingProvisioningStateUpdating BuildpackBindingProvisioningState = "Updating"
)

func PossibleBuildpackBindingProvisioningStateValues

func PossibleBuildpackBindingProvisioningStateValues() []BuildpackBindingProvisioningState

PossibleBuildpackBindingProvisioningStateValues returns an array of possible values for the BuildpackBindingProvisioningState const type.

type BuildpackBindingResource

type BuildpackBindingResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of a buildpack binding
	Properties *BuildpackBindingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BuildpackBindingResource buildpack Binding Resource object

func (BuildpackBindingResource) MarshalJSON

func (bbr BuildpackBindingResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuildpackBindingResource.

type BuildpackBindingResourceCollection

type BuildpackBindingResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of BuildpackBinding resources
	Value *[]BuildpackBindingResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

BuildpackBindingResourceCollection object that includes an array of BuildpackBinding resources and a possible link for next set

func (BuildpackBindingResourceCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type BuildpackBindingResourceCollectionIterator

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

BuildpackBindingResourceCollectionIterator provides access to a complete listing of BuildpackBindingResource values.

func NewBuildpackBindingResourceCollectionIterator

func NewBuildpackBindingResourceCollectionIterator(page BuildpackBindingResourceCollectionPage) BuildpackBindingResourceCollectionIterator

Creates a new instance of the BuildpackBindingResourceCollectionIterator type.

func (*BuildpackBindingResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildpackBindingResourceCollectionIterator) NextWithContext

func (iter *BuildpackBindingResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BuildpackBindingResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (BuildpackBindingResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (BuildpackBindingResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BuildpackBindingResourceCollectionPage

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

BuildpackBindingResourceCollectionPage contains a page of BuildpackBindingResource values.

func NewBuildpackBindingResourceCollectionPage

Creates a new instance of the BuildpackBindingResourceCollectionPage type.

func (*BuildpackBindingResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BuildpackBindingResourceCollectionPage) NextWithContext

func (page *BuildpackBindingResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BuildpackBindingResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BuildpackBindingResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (BuildpackBindingResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BuildpackProperties

type BuildpackProperties struct {
	// ID - Id of the buildpack
	ID *string `json:"id,omitempty"`
}

BuildpackProperties buildpack properties payload

type BuildpacksGroupProperties

type BuildpacksGroupProperties struct {
	// Name - Buildpack group name
	Name *string `json:"name,omitempty"`
	// Buildpacks - Buildpacks in the buildpack group
	Buildpacks *[]BuildpackProperties `json:"buildpacks,omitempty"`
}

BuildpacksGroupProperties buildpack group properties of the Builder

type CertificateProperties

type CertificateProperties struct {
	// Thumbprint - READ-ONLY; The thumbprint of certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// Issuer - READ-ONLY; The issuer of certificate.
	Issuer *string `json:"issuer,omitempty"`
	// IssuedDate - READ-ONLY; The issue date of certificate.
	IssuedDate *string `json:"issuedDate,omitempty"`
	// ExpirationDate - READ-ONLY; The expiration date of certificate.
	ExpirationDate *string `json:"expirationDate,omitempty"`
	// ActivateDate - READ-ONLY; The activate date of certificate.
	ActivateDate *string `json:"activateDate,omitempty"`
	// SubjectName - READ-ONLY; The subject name of certificate.
	SubjectName *string `json:"subjectName,omitempty"`
	// DNSNames - READ-ONLY; The domain list of certificate.
	DNSNames *[]string `json:"dnsNames,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Certificate. Possible values include: 'CertificateResourceProvisioningStateCreating', 'CertificateResourceProvisioningStateUpdating', 'CertificateResourceProvisioningStateSucceeded', 'CertificateResourceProvisioningStateFailed', 'CertificateResourceProvisioningStateDeleting'
	ProvisioningState CertificateResourceProvisioningState `json:"provisioningState,omitempty"`
	// Type - Possible values include: 'TypeBasicCertificatePropertiesTypeCertificateProperties', 'TypeBasicCertificatePropertiesTypeKeyVaultCertificate', 'TypeBasicCertificatePropertiesTypeContentCertificate'
	Type TypeBasicCertificateProperties `json:"type,omitempty"`
}

CertificateProperties certificate resource payload.

func (CertificateProperties) AsBasicCertificateProperties

func (cp CertificateProperties) AsBasicCertificateProperties() (BasicCertificateProperties, bool)

AsBasicCertificateProperties is the BasicCertificateProperties implementation for CertificateProperties.

func (CertificateProperties) AsCertificateProperties

func (cp CertificateProperties) AsCertificateProperties() (*CertificateProperties, bool)

AsCertificateProperties is the BasicCertificateProperties implementation for CertificateProperties.

func (CertificateProperties) AsContentCertificateProperties

func (cp CertificateProperties) AsContentCertificateProperties() (*ContentCertificateProperties, bool)

AsContentCertificateProperties is the BasicCertificateProperties implementation for CertificateProperties.

func (CertificateProperties) AsKeyVaultCertificateProperties

func (cp CertificateProperties) AsKeyVaultCertificateProperties() (*KeyVaultCertificateProperties, bool)

AsKeyVaultCertificateProperties is the BasicCertificateProperties implementation for CertificateProperties.

func (CertificateProperties) MarshalJSON

func (cp CertificateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateProperties.

type CertificateResource

type CertificateResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the certificate resource payload.
	Properties BasicCertificateProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

CertificateResource certificate resource payload.

func (CertificateResource) MarshalJSON

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

MarshalJSON is the custom marshaler for CertificateResource.

func (*CertificateResource) UnmarshalJSON

func (cr *CertificateResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateResource struct.

type CertificateResourceCollection

type CertificateResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - The certificate resources list.
	Value *[]CertificateResource `json:"value,omitempty"`
	// NextLink - The link to next page of certificate list.
	NextLink *string `json:"nextLink,omitempty"`
}

CertificateResourceCollection collection compose of certificate resources list and a possible link for next page.

func (CertificateResourceCollection) IsEmpty

func (crc CertificateResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateResourceCollectionIterator

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

CertificateResourceCollectionIterator provides access to a complete listing of CertificateResource values.

func NewCertificateResourceCollectionIterator

func NewCertificateResourceCollectionIterator(page CertificateResourceCollectionPage) CertificateResourceCollectionIterator

Creates a new instance of the CertificateResourceCollectionIterator type.

func (*CertificateResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CertificateResourceCollectionIterator) NextWithContext

func (iter *CertificateResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CertificateResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (CertificateResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (CertificateResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CertificateResourceCollectionPage

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

CertificateResourceCollectionPage contains a page of CertificateResource values.

func NewCertificateResourceCollectionPage

Creates a new instance of the CertificateResourceCollectionPage type.

func (*CertificateResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CertificateResourceCollectionPage) NextWithContext

func (page *CertificateResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CertificateResourceCollectionPage) NotDone

func (page CertificateResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CertificateResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (CertificateResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type CertificateResourceProvisioningState

type CertificateResourceProvisioningState string

CertificateResourceProvisioningState enumerates the values for certificate resource provisioning state.

const (
	// CertificateResourceProvisioningStateCreating ...
	CertificateResourceProvisioningStateCreating CertificateResourceProvisioningState = "Creating"
	// CertificateResourceProvisioningStateDeleting ...
	CertificateResourceProvisioningStateDeleting CertificateResourceProvisioningState = "Deleting"
	// CertificateResourceProvisioningStateFailed ...
	CertificateResourceProvisioningStateFailed CertificateResourceProvisioningState = "Failed"
	// CertificateResourceProvisioningStateSucceeded ...
	CertificateResourceProvisioningStateSucceeded CertificateResourceProvisioningState = "Succeeded"
	// CertificateResourceProvisioningStateUpdating ...
	CertificateResourceProvisioningStateUpdating CertificateResourceProvisioningState = "Updating"
)

func PossibleCertificateResourceProvisioningStateValues

func PossibleCertificateResourceProvisioningStateValues() []CertificateResourceProvisioningState

PossibleCertificateResourceProvisioningStateValues returns an array of possible values for the CertificateResourceProvisioningState const type.

type CertificatesClient

type CertificatesClient struct {
	BaseClient
}

CertificatesClient is the REST API for Azure Spring Apps

func NewCertificatesClient

func NewCertificatesClient(subscriptionID string) CertificatesClient

NewCertificatesClient creates an instance of the CertificatesClient client.

func NewCertificatesClientWithBaseURI

func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient

NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CertificatesClient) CreateOrUpdate

func (client CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, certificateResource CertificateResource) (result CertificatesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update certificate resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. certificateName - the name of the certificate resource. certificateResource - parameters for the create or update operation

func (CertificatesClient) CreateOrUpdatePreparer

func (client CertificatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, certificateResource CertificateResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CertificatesClient) CreateOrUpdateResponder

func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (result CertificateResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (CertificatesClient) CreateOrUpdateSender

func (client CertificatesClient) CreateOrUpdateSender(req *http.Request) (future CertificatesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (CertificatesClient) Delete

func (client CertificatesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, certificateName string) (result CertificatesDeleteFuture, err error)

Delete delete the certificate resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. certificateName - the name of the certificate resource.

func (CertificatesClient) DeletePreparer

func (client CertificatesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, certificateName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CertificatesClient) DeleteResponder

func (client CertificatesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CertificatesClient) DeleteSender

func (client CertificatesClient) DeleteSender(req *http.Request) (future CertificatesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CertificatesClient) Get

func (client CertificatesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, certificateName string) (result CertificateResource, err error)

Get get the certificate resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. certificateName - the name of the certificate resource.

func (CertificatesClient) GetPreparer

func (client CertificatesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, certificateName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CertificatesClient) GetResponder

func (client CertificatesClient) GetResponder(resp *http.Response) (result CertificateResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CertificatesClient) GetSender

func (client CertificatesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CertificatesClient) List

func (client CertificatesClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result CertificateResourceCollectionPage, err error)

List list all the certificates of one user. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (CertificatesClient) ListComplete

func (client CertificatesClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result CertificateResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CertificatesClient) ListPreparer

func (client CertificatesClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (CertificatesClient) ListResponder

func (client CertificatesClient) ListResponder(resp *http.Response) (result CertificateResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CertificatesClient) ListSender

func (client CertificatesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type CertificatesCreateOrUpdateFuture

type CertificatesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CertificatesClient) (CertificateResource, error)
}

CertificatesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CertificatesCreateOrUpdateFuture) UnmarshalJSON

func (future *CertificatesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CertificatesDeleteFuture

type CertificatesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CertificatesClient) (autorest.Response, error)
}

CertificatesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CertificatesDeleteFuture) UnmarshalJSON

func (future *CertificatesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudError

type CloudError struct {
	// Error - An error response from the service.
	Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from the service.

type CloudErrorBody

type CloudErrorBody struct {
	// Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`
	// Message - A message describing the error, intended to be suitable for display in a user interface.
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error. For example, the name of the property in error.
	Target *string `json:"target,omitempty"`
	// Details - A list of additional details about the error.
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from the service.

type ClusterResourceProperties

type ClusterResourceProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the Service. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateStarting', 'ProvisioningStateStopping', 'ProvisioningStateDeleting', 'ProvisioningStateDeleted', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateMoving', 'ProvisioningStateMoved', 'ProvisioningStateMoveFailed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// NetworkProfile - Network profile of the Service
	NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
	// VnetAddons - Additional Service settings in vnet injection instance
	VnetAddons *ServiceVNetAddons `json:"vnetAddons,omitempty"`
	// Version - READ-ONLY; Version of the Service
	Version *int32 `json:"version,omitempty"`
	// ServiceID - READ-ONLY; ServiceInstanceEntity GUID which uniquely identifies a created resource
	ServiceID *string `json:"serviceId,omitempty"`
	// PowerState - READ-ONLY; Power state of the Service. Possible values include: 'PowerStateRunning', 'PowerStateStopped'
	PowerState    PowerState `json:"powerState,omitempty"`
	ZoneRedundant *bool      `json:"zoneRedundant,omitempty"`
	// Fqdn - READ-ONLY; Fully qualified dns name of the service instance
	Fqdn *string `json:"fqdn,omitempty"`
	// MarketplaceResource - Purchasing 3rd party product of the Service resource.
	MarketplaceResource *MarketplaceResource `json:"marketplaceResource,omitempty"`
}

ClusterResourceProperties service properties payload

func (ClusterResourceProperties) MarshalJSON

func (crp ClusterResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterResourceProperties.

type ConfigServerGitProperty

type ConfigServerGitProperty struct {
	// Repositories - Repositories of git.
	Repositories *[]GitPatternRepository `json:"repositories,omitempty"`
	// URI - URI of the repository
	URI *string `json:"uri,omitempty"`
	// Label - Label of the repository
	Label *string `json:"label,omitempty"`
	// SearchPaths - Searching path of the repository
	SearchPaths *[]string `json:"searchPaths,omitempty"`
	// Username - Username of git repository basic auth.
	Username *string `json:"username,omitempty"`
	// Password - Password of git repository basic auth.
	Password *string `json:"password,omitempty"`
	// HostKey - Public sshKey of git repository.
	HostKey *string `json:"hostKey,omitempty"`
	// HostKeyAlgorithm - SshKey algorithm of git repository.
	HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty"`
	// PrivateKey - Private sshKey algorithm of git repository.
	PrivateKey *string `json:"privateKey,omitempty"`
	// StrictHostKeyChecking - Strict host key checking or not.
	StrictHostKeyChecking *bool `json:"strictHostKeyChecking,omitempty"`
}

ConfigServerGitProperty property of git.

type ConfigServerProperties

type ConfigServerProperties struct {
	// ProvisioningState - READ-ONLY; State of the config server. Possible values include: 'ConfigServerStateNotAvailable', 'ConfigServerStateDeleted', 'ConfigServerStateFailed', 'ConfigServerStateSucceeded', 'ConfigServerStateUpdating'
	ProvisioningState ConfigServerState `json:"provisioningState,omitempty"`
	// Error - Error when apply config server settings.
	Error *Error `json:"error,omitempty"`
	// ConfigServer - Settings of config server.
	ConfigServer *ConfigServerSettings `json:"configServer,omitempty"`
}

ConfigServerProperties config server git properties payload

func (ConfigServerProperties) MarshalJSON

func (csp ConfigServerProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigServerProperties.

type ConfigServerResource

type ConfigServerResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Config Server resource
	Properties *ConfigServerProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

ConfigServerResource config Server resource

func (ConfigServerResource) MarshalJSON

func (csr ConfigServerResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigServerResource.

type ConfigServerSettings

type ConfigServerSettings struct {
	// GitProperty - Property of git environment.
	GitProperty *ConfigServerGitProperty `json:"gitProperty,omitempty"`
}

ConfigServerSettings the settings of config server.

type ConfigServerSettingsErrorRecord

type ConfigServerSettingsErrorRecord struct {
	// Name - The name of the config server settings error record
	Name *string `json:"name,omitempty"`
	// URI - The uri of the config server settings error record
	URI *string `json:"uri,omitempty"`
	// Messages - The detail error messages of the record
	Messages *[]string `json:"messages,omitempty"`
}

ConfigServerSettingsErrorRecord error record of the config server settings

type ConfigServerSettingsValidateResult

type ConfigServerSettingsValidateResult struct {
	autorest.Response `json:"-"`
	// IsValid - Indicate if the config server settings are valid
	IsValid *bool `json:"isValid,omitempty"`
	// Details - The detail validation results
	Details *[]ConfigServerSettingsErrorRecord `json:"details,omitempty"`
}

ConfigServerSettingsValidateResult validation result for config server settings

type ConfigServerState

type ConfigServerState string

ConfigServerState enumerates the values for config server state.

const (
	// ConfigServerStateDeleted ...
	ConfigServerStateDeleted ConfigServerState = "Deleted"
	// ConfigServerStateFailed ...
	ConfigServerStateFailed ConfigServerState = "Failed"
	// ConfigServerStateNotAvailable ...
	ConfigServerStateNotAvailable ConfigServerState = "NotAvailable"
	// ConfigServerStateSucceeded ...
	ConfigServerStateSucceeded ConfigServerState = "Succeeded"
	// ConfigServerStateUpdating ...
	ConfigServerStateUpdating ConfigServerState = "Updating"
)

func PossibleConfigServerStateValues

func PossibleConfigServerStateValues() []ConfigServerState

PossibleConfigServerStateValues returns an array of possible values for the ConfigServerState const type.

type ConfigServersClient

type ConfigServersClient struct {
	BaseClient
}

ConfigServersClient is the REST API for Azure Spring Apps

func NewConfigServersClient

func NewConfigServersClient(subscriptionID string) ConfigServersClient

NewConfigServersClient creates an instance of the ConfigServersClient client.

func NewConfigServersClientWithBaseURI

func NewConfigServersClientWithBaseURI(baseURI string, subscriptionID string) ConfigServersClient

NewConfigServersClientWithBaseURI creates an instance of the ConfigServersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigServersClient) Get

func (client ConfigServersClient) Get(ctx context.Context, resourceGroupName string, serviceName string) (result ConfigServerResource, err error)

Get get the config server and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ConfigServersClient) GetPreparer

func (client ConfigServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigServersClient) GetResponder

func (client ConfigServersClient) GetResponder(resp *http.Response) (result ConfigServerResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConfigServersClient) GetSender

func (client ConfigServersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConfigServersClient) UpdatePatch

func (client ConfigServersClient) UpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, configServerResource ConfigServerResource) (result ConfigServersUpdatePatchFuture, err error)

UpdatePatch update the config server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configServerResource - parameters for the update operation

func (ConfigServersClient) UpdatePatchPreparer

func (client ConfigServersClient) UpdatePatchPreparer(ctx context.Context, resourceGroupName string, serviceName string, configServerResource ConfigServerResource) (*http.Request, error)

UpdatePatchPreparer prepares the UpdatePatch request.

func (ConfigServersClient) UpdatePatchResponder

func (client ConfigServersClient) UpdatePatchResponder(resp *http.Response) (result ConfigServerResource, err error)

UpdatePatchResponder handles the response to the UpdatePatch request. The method always closes the http.Response Body.

func (ConfigServersClient) UpdatePatchSender

func (client ConfigServersClient) UpdatePatchSender(req *http.Request) (future ConfigServersUpdatePatchFuture, err error)

UpdatePatchSender sends the UpdatePatch request. The method will close the http.Response Body if it receives an error.

func (ConfigServersClient) UpdatePut

func (client ConfigServersClient) UpdatePut(ctx context.Context, resourceGroupName string, serviceName string, configServerResource ConfigServerResource) (result ConfigServersUpdatePutFuture, err error)

UpdatePut update the config server. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configServerResource - parameters for the update operation

func (ConfigServersClient) UpdatePutPreparer

func (client ConfigServersClient) UpdatePutPreparer(ctx context.Context, resourceGroupName string, serviceName string, configServerResource ConfigServerResource) (*http.Request, error)

UpdatePutPreparer prepares the UpdatePut request.

func (ConfigServersClient) UpdatePutResponder

func (client ConfigServersClient) UpdatePutResponder(resp *http.Response) (result ConfigServerResource, err error)

UpdatePutResponder handles the response to the UpdatePut request. The method always closes the http.Response Body.

func (ConfigServersClient) UpdatePutSender

func (client ConfigServersClient) UpdatePutSender(req *http.Request) (future ConfigServersUpdatePutFuture, err error)

UpdatePutSender sends the UpdatePut request. The method will close the http.Response Body if it receives an error.

func (ConfigServersClient) Validate

func (client ConfigServersClient) Validate(ctx context.Context, resourceGroupName string, serviceName string, configServerSettings ConfigServerSettings) (result ConfigServersValidateFuture, err error)

Validate check if the config server settings are valid. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configServerSettings - config server settings to be validated

func (ConfigServersClient) ValidatePreparer

func (client ConfigServersClient) ValidatePreparer(ctx context.Context, resourceGroupName string, serviceName string, configServerSettings ConfigServerSettings) (*http.Request, error)

ValidatePreparer prepares the Validate request.

func (ConfigServersClient) ValidateResponder

func (client ConfigServersClient) ValidateResponder(resp *http.Response) (result ConfigServerSettingsValidateResult, err error)

ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.

func (ConfigServersClient) ValidateSender

func (client ConfigServersClient) ValidateSender(req *http.Request) (future ConfigServersValidateFuture, err error)

ValidateSender sends the Validate request. The method will close the http.Response Body if it receives an error.

type ConfigServersUpdatePatchFuture

type ConfigServersUpdatePatchFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigServersClient) (ConfigServerResource, error)
}

ConfigServersUpdatePatchFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigServersUpdatePatchFuture) UnmarshalJSON

func (future *ConfigServersUpdatePatchFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigServersUpdatePutFuture

type ConfigServersUpdatePutFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigServersClient) (ConfigServerResource, error)
}

ConfigServersUpdatePutFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigServersUpdatePutFuture) UnmarshalJSON

func (future *ConfigServersUpdatePutFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigServersValidateFuture

type ConfigServersValidateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigServersClient) (ConfigServerSettingsValidateResult, error)
}

ConfigServersValidateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigServersValidateFuture) UnmarshalJSON

func (future *ConfigServersValidateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigurationServiceGitProperty

type ConfigurationServiceGitProperty struct {
	Repositories *[]ConfigurationServiceGitRepository `json:"repositories,omitempty"`
}

ConfigurationServiceGitProperty property of git environment.

type ConfigurationServiceGitPropertyValidateResult

type ConfigurationServiceGitPropertyValidateResult struct {
	// IsValid - Indicate if the configuration service settings are valid
	IsValid *bool `json:"isValid,omitempty"`
	// GitReposValidationResult - The detail validation results
	GitReposValidationResult *[]ValidationMessages `json:"gitReposValidationResult,omitempty"`
}

ConfigurationServiceGitPropertyValidateResult validation result for configuration service settings

type ConfigurationServiceGitRepository

type ConfigurationServiceGitRepository struct {
	// Name - Name of the repository
	Name *string `json:"name,omitempty"`
	// Patterns - Collection of patterns of the repository
	Patterns *[]string `json:"patterns,omitempty"`
	// URI - URI of the repository
	URI *string `json:"uri,omitempty"`
	// Label - Label of the repository
	Label *string `json:"label,omitempty"`
	// SearchPaths - Searching path of the repository
	SearchPaths *[]string `json:"searchPaths,omitempty"`
	// Username - Username of git repository basic auth.
	Username *string `json:"username,omitempty"`
	// Password - Password of git repository basic auth.
	Password *string `json:"password,omitempty"`
	// HostKey - Public sshKey of git repository.
	HostKey *string `json:"hostKey,omitempty"`
	// HostKeyAlgorithm - SshKey algorithm of git repository.
	HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty"`
	// PrivateKey - Private sshKey algorithm of git repository.
	PrivateKey *string `json:"privateKey,omitempty"`
	// StrictHostKeyChecking - Strict host key checking or not.
	StrictHostKeyChecking *bool `json:"strictHostKeyChecking,omitempty"`
}

ConfigurationServiceGitRepository git repository property payload for Application Configuration Service

type ConfigurationServiceInstance

type ConfigurationServiceInstance struct {
	// Name - READ-ONLY; Name of the Application Configuration Service instance
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the Application Configuration Service instance
	Status *string `json:"status,omitempty"`
}

ConfigurationServiceInstance collection of instances belong to the Application Configuration Service

func (ConfigurationServiceInstance) MarshalJSON

func (csi ConfigurationServiceInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationServiceInstance.

type ConfigurationServiceProperties

type ConfigurationServiceProperties struct {
	// ProvisioningState - READ-ONLY; State of the Application Configuration Service. Possible values include: 'ConfigurationServiceProvisioningStateCreating', 'ConfigurationServiceProvisioningStateUpdating', 'ConfigurationServiceProvisioningStateSucceeded', 'ConfigurationServiceProvisioningStateFailed', 'ConfigurationServiceProvisioningStateDeleting'
	ProvisioningState ConfigurationServiceProvisioningState `json:"provisioningState,omitempty"`
	// ResourceRequests - The requested resource quantity for required CPU and Memory.
	ResourceRequests *ConfigurationServiceResourceRequests `json:"resourceRequests,omitempty"`
	// Instances - READ-ONLY; Collection of instances belong to Application Configuration Service.
	Instances *[]ConfigurationServiceInstance `json:"instances,omitempty"`
	Settings  *ConfigurationServiceSettings   `json:"settings,omitempty"`
}

ConfigurationServiceProperties application Configuration Service properties payload

func (ConfigurationServiceProperties) MarshalJSON

func (csp ConfigurationServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationServiceProperties.

type ConfigurationServiceProvisioningState

type ConfigurationServiceProvisioningState string

ConfigurationServiceProvisioningState enumerates the values for configuration service provisioning state.

const (
	// ConfigurationServiceProvisioningStateCreating ...
	ConfigurationServiceProvisioningStateCreating ConfigurationServiceProvisioningState = "Creating"
	// ConfigurationServiceProvisioningStateDeleting ...
	ConfigurationServiceProvisioningStateDeleting ConfigurationServiceProvisioningState = "Deleting"
	// ConfigurationServiceProvisioningStateFailed ...
	ConfigurationServiceProvisioningStateFailed ConfigurationServiceProvisioningState = "Failed"
	// ConfigurationServiceProvisioningStateSucceeded ...
	ConfigurationServiceProvisioningStateSucceeded ConfigurationServiceProvisioningState = "Succeeded"
	// ConfigurationServiceProvisioningStateUpdating ...
	ConfigurationServiceProvisioningStateUpdating ConfigurationServiceProvisioningState = "Updating"
)

func PossibleConfigurationServiceProvisioningStateValues

func PossibleConfigurationServiceProvisioningStateValues() []ConfigurationServiceProvisioningState

PossibleConfigurationServiceProvisioningStateValues returns an array of possible values for the ConfigurationServiceProvisioningState const type.

type ConfigurationServiceResource

type ConfigurationServiceResource struct {
	autorest.Response `json:"-"`
	Properties        *ConfigurationServiceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

ConfigurationServiceResource application Configuration Service resource

func (ConfigurationServiceResource) MarshalJSON

func (csr ConfigurationServiceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationServiceResource.

type ConfigurationServiceResourceCollection

type ConfigurationServiceResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of configuration service resources
	Value *[]ConfigurationServiceResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

ConfigurationServiceResourceCollection object that includes an array of configuration service resources and a possible link for next set

func (ConfigurationServiceResourceCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ConfigurationServiceResourceCollectionIterator

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

ConfigurationServiceResourceCollectionIterator provides access to a complete listing of ConfigurationServiceResource values.

func NewConfigurationServiceResourceCollectionIterator

func NewConfigurationServiceResourceCollectionIterator(page ConfigurationServiceResourceCollectionPage) ConfigurationServiceResourceCollectionIterator

Creates a new instance of the ConfigurationServiceResourceCollectionIterator type.

func (*ConfigurationServiceResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConfigurationServiceResourceCollectionIterator) NextWithContext

func (iter *ConfigurationServiceResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConfigurationServiceResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConfigurationServiceResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (ConfigurationServiceResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConfigurationServiceResourceCollectionPage

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

ConfigurationServiceResourceCollectionPage contains a page of ConfigurationServiceResource values.

func NewConfigurationServiceResourceCollectionPage

Creates a new instance of the ConfigurationServiceResourceCollectionPage type.

func (*ConfigurationServiceResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConfigurationServiceResourceCollectionPage) NextWithContext

func (page *ConfigurationServiceResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConfigurationServiceResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConfigurationServiceResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (ConfigurationServiceResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ConfigurationServiceResourceRequests

type ConfigurationServiceResourceRequests struct {
	// CPU - READ-ONLY; Cpu allocated to each Application Configuration Service instance
	CPU *string `json:"cpu,omitempty"`
	// Memory - READ-ONLY; Memory allocated to each Application Configuration Service instance
	Memory *string `json:"memory,omitempty"`
	// InstanceCount - READ-ONLY; Instance count of the Application Configuration Service
	InstanceCount *int32 `json:"instanceCount,omitempty"`
}

ConfigurationServiceResourceRequests resource request payload of Application Configuration Service

func (ConfigurationServiceResourceRequests) MarshalJSON

func (csrr ConfigurationServiceResourceRequests) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationServiceResourceRequests.

type ConfigurationServiceSettings

type ConfigurationServiceSettings struct {
	GitProperty *ConfigurationServiceGitProperty `json:"gitProperty,omitempty"`
}

ConfigurationServiceSettings the settings of Application Configuration Service.

type ConfigurationServiceSettingsValidateResult

type ConfigurationServiceSettingsValidateResult struct {
	autorest.Response           `json:"-"`
	GitPropertyValidationResult *ConfigurationServiceGitPropertyValidateResult `json:"gitPropertyValidationResult,omitempty"`
}

ConfigurationServiceSettingsValidateResult validation result for configuration service settings

type ConfigurationServicesClient

type ConfigurationServicesClient struct {
	BaseClient
}

ConfigurationServicesClient is the REST API for Azure Spring Apps

func NewConfigurationServicesClient

func NewConfigurationServicesClient(subscriptionID string) ConfigurationServicesClient

NewConfigurationServicesClient creates an instance of the ConfigurationServicesClient client.

func NewConfigurationServicesClientWithBaseURI

func NewConfigurationServicesClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationServicesClient

NewConfigurationServicesClientWithBaseURI creates an instance of the ConfigurationServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigurationServicesClient) CreateOrUpdate

func (client ConfigurationServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, configurationServiceResource ConfigurationServiceResource) (result ConfigurationServicesCreateOrUpdateFuture, err error)

CreateOrUpdate create the default Application Configuration Service or update the existing Application Configuration Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configurationServiceName - the name of Application Configuration Service. configurationServiceResource - parameters for the update operation

func (ConfigurationServicesClient) CreateOrUpdatePreparer

func (client ConfigurationServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, configurationServiceResource ConfigurationServiceResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConfigurationServicesClient) CreateOrUpdateResponder

func (client ConfigurationServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationServiceResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConfigurationServicesClient) CreateOrUpdateSender

func (client ConfigurationServicesClient) CreateOrUpdateSender(req *http.Request) (future ConfigurationServicesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConfigurationServicesClient) Delete

func (client ConfigurationServicesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string) (result ConfigurationServicesDeleteFuture, err error)

Delete disable the default Application Configuration Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configurationServiceName - the name of Application Configuration Service.

func (ConfigurationServicesClient) DeletePreparer

func (client ConfigurationServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConfigurationServicesClient) DeleteResponder

func (client ConfigurationServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConfigurationServicesClient) DeleteSender

func (client ConfigurationServicesClient) DeleteSender(req *http.Request) (future ConfigurationServicesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConfigurationServicesClient) Get

func (client ConfigurationServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string) (result ConfigurationServiceResource, err error)

Get get the Application Configuration Service and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configurationServiceName - the name of Application Configuration Service.

func (ConfigurationServicesClient) GetPreparer

func (client ConfigurationServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigurationServicesClient) GetResponder

func (client ConfigurationServicesClient) GetResponder(resp *http.Response) (result ConfigurationServiceResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConfigurationServicesClient) GetSender

func (client ConfigurationServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConfigurationServicesClient) List

func (client ConfigurationServicesClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result ConfigurationServiceResourceCollectionPage, err error)

List handles requests to list all resources in a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ConfigurationServicesClient) ListComplete

func (client ConfigurationServicesClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result ConfigurationServiceResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ConfigurationServicesClient) ListPreparer

func (client ConfigurationServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConfigurationServicesClient) ListResponder

func (client ConfigurationServicesClient) ListResponder(resp *http.Response) (result ConfigurationServiceResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConfigurationServicesClient) ListSender

func (client ConfigurationServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ConfigurationServicesClient) Validate

func (client ConfigurationServicesClient) Validate(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, settings ConfigurationServiceSettings) (result ConfigurationServicesValidateFuture, err error)

Validate check if the Application Configuration Service settings are valid. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. configurationServiceName - the name of Application Configuration Service. settings - application Configuration Service settings to be validated

func (ConfigurationServicesClient) ValidatePreparer

func (client ConfigurationServicesClient) ValidatePreparer(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, settings ConfigurationServiceSettings) (*http.Request, error)

ValidatePreparer prepares the Validate request.

func (ConfigurationServicesClient) ValidateResponder

func (client ConfigurationServicesClient) ValidateResponder(resp *http.Response) (result ConfigurationServiceSettingsValidateResult, err error)

ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.

func (ConfigurationServicesClient) ValidateSender

func (client ConfigurationServicesClient) ValidateSender(req *http.Request) (future ConfigurationServicesValidateFuture, err error)

ValidateSender sends the Validate request. The method will close the http.Response Body if it receives an error.

type ConfigurationServicesCreateOrUpdateFuture

type ConfigurationServicesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigurationServicesClient) (ConfigurationServiceResource, error)
}

ConfigurationServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationServicesCreateOrUpdateFuture) UnmarshalJSON

func (future *ConfigurationServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigurationServicesDeleteFuture

type ConfigurationServicesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigurationServicesClient) (autorest.Response, error)
}

ConfigurationServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationServicesDeleteFuture) UnmarshalJSON

func (future *ConfigurationServicesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigurationServicesValidateFuture

type ConfigurationServicesValidateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigurationServicesClient) (ConfigurationServiceSettingsValidateResult, error)
}

ConfigurationServicesValidateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationServicesValidateFuture) UnmarshalJSON

func (future *ConfigurationServicesValidateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ContainerProbeSettings

type ContainerProbeSettings struct {
	// DisableProbe - Indicates whether disable the liveness and readiness probe
	DisableProbe *bool `json:"disableProbe,omitempty"`
}

ContainerProbeSettings container liveness and readiness probe settings

type ContentCertificateProperties

type ContentCertificateProperties struct {
	// Content - The content of uploaded certificate.
	Content *string `json:"content,omitempty"`
	// Thumbprint - READ-ONLY; The thumbprint of certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// Issuer - READ-ONLY; The issuer of certificate.
	Issuer *string `json:"issuer,omitempty"`
	// IssuedDate - READ-ONLY; The issue date of certificate.
	IssuedDate *string `json:"issuedDate,omitempty"`
	// ExpirationDate - READ-ONLY; The expiration date of certificate.
	ExpirationDate *string `json:"expirationDate,omitempty"`
	// ActivateDate - READ-ONLY; The activate date of certificate.
	ActivateDate *string `json:"activateDate,omitempty"`
	// SubjectName - READ-ONLY; The subject name of certificate.
	SubjectName *string `json:"subjectName,omitempty"`
	// DNSNames - READ-ONLY; The domain list of certificate.
	DNSNames *[]string `json:"dnsNames,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Certificate. Possible values include: 'CertificateResourceProvisioningStateCreating', 'CertificateResourceProvisioningStateUpdating', 'CertificateResourceProvisioningStateSucceeded', 'CertificateResourceProvisioningStateFailed', 'CertificateResourceProvisioningStateDeleting'
	ProvisioningState CertificateResourceProvisioningState `json:"provisioningState,omitempty"`
	// Type - Possible values include: 'TypeBasicCertificatePropertiesTypeCertificateProperties', 'TypeBasicCertificatePropertiesTypeKeyVaultCertificate', 'TypeBasicCertificatePropertiesTypeContentCertificate'
	Type TypeBasicCertificateProperties `json:"type,omitempty"`
}

ContentCertificateProperties properties of certificate imported from key vault.

func (ContentCertificateProperties) AsBasicCertificateProperties

func (ccp ContentCertificateProperties) AsBasicCertificateProperties() (BasicCertificateProperties, bool)

AsBasicCertificateProperties is the BasicCertificateProperties implementation for ContentCertificateProperties.

func (ContentCertificateProperties) AsCertificateProperties

func (ccp ContentCertificateProperties) AsCertificateProperties() (*CertificateProperties, bool)

AsCertificateProperties is the BasicCertificateProperties implementation for ContentCertificateProperties.

func (ContentCertificateProperties) AsContentCertificateProperties

func (ccp ContentCertificateProperties) AsContentCertificateProperties() (*ContentCertificateProperties, bool)

AsContentCertificateProperties is the BasicCertificateProperties implementation for ContentCertificateProperties.

func (ContentCertificateProperties) AsKeyVaultCertificateProperties

func (ccp ContentCertificateProperties) AsKeyVaultCertificateProperties() (*KeyVaultCertificateProperties, bool)

AsKeyVaultCertificateProperties is the BasicCertificateProperties implementation for ContentCertificateProperties.

func (ContentCertificateProperties) MarshalJSON

func (ccp ContentCertificateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentCertificateProperties.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type CustomContainer

type CustomContainer struct {
	// Server - The name of the registry that contains the container image
	Server *string `json:"server,omitempty"`
	// ContainerImage - Container image of the custom container. This should be in the form of <repository>:<tag> without the server name of the registry
	ContainerImage *string `json:"containerImage,omitempty"`
	// Command - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
	Command *[]string `json:"command,omitempty"`
	// Args - Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
	Args *[]string `json:"args,omitempty"`
	// ImageRegistryCredential - Credential of the image registry
	ImageRegistryCredential *ImageRegistryCredential `json:"imageRegistryCredential,omitempty"`
	// LanguageFramework - Language framework of the container image uploaded
	LanguageFramework *string `json:"languageFramework,omitempty"`
}

CustomContainer custom container payload

type CustomContainerUserSourceInfo

type CustomContainerUserSourceInfo struct {
	CustomContainer *CustomContainer `json:"customContainer,omitempty"`
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

CustomContainerUserSourceInfo custom container user source info

func (CustomContainerUserSourceInfo) AsBasicUploadedUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsBasicUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsBuildResultUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsCustomContainerUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsJarUploadedUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsSourceUploadedUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsUploadedUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) AsUserSourceInfo

func (ccusi CustomContainerUserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for CustomContainerUserSourceInfo.

func (CustomContainerUserSourceInfo) MarshalJSON

func (ccusi CustomContainerUserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomContainerUserSourceInfo.

type CustomDomainProperties

type CustomDomainProperties struct {
	// Thumbprint - The thumbprint of bound certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// AppName - READ-ONLY; The app name of domain.
	AppName *string `json:"appName,omitempty"`
	// CertName - The bound certificate name of domain.
	CertName *string `json:"certName,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Domain. Possible values include: 'CustomDomainResourceProvisioningStateCreating', 'CustomDomainResourceProvisioningStateUpdating', 'CustomDomainResourceProvisioningStateSucceeded', 'CustomDomainResourceProvisioningStateFailed', 'CustomDomainResourceProvisioningStateDeleting'
	ProvisioningState CustomDomainResourceProvisioningState `json:"provisioningState,omitempty"`
}

CustomDomainProperties custom domain of app resource payload.

func (CustomDomainProperties) MarshalJSON

func (cdp CustomDomainProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainProperties.

type CustomDomainResource

type CustomDomainResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the custom domain resource.
	Properties *CustomDomainProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

CustomDomainResource custom domain resource payload.

func (CustomDomainResource) MarshalJSON

func (cdr CustomDomainResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainResource.

type CustomDomainResourceCollection

type CustomDomainResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - The custom domain resources list.
	Value *[]CustomDomainResource `json:"value,omitempty"`
	// NextLink - The link to next page of custom domain list.
	NextLink *string `json:"nextLink,omitempty"`
}

CustomDomainResourceCollection collection compose of a custom domain resources list and a possible link for next page.

func (CustomDomainResourceCollection) IsEmpty

func (cdrc CustomDomainResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CustomDomainResourceCollectionIterator

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

CustomDomainResourceCollectionIterator provides access to a complete listing of CustomDomainResource values.

func NewCustomDomainResourceCollectionIterator

func NewCustomDomainResourceCollectionIterator(page CustomDomainResourceCollectionPage) CustomDomainResourceCollectionIterator

Creates a new instance of the CustomDomainResourceCollectionIterator type.

func (*CustomDomainResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CustomDomainResourceCollectionIterator) NextWithContext

func (iter *CustomDomainResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CustomDomainResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (CustomDomainResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (CustomDomainResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CustomDomainResourceCollectionPage

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

CustomDomainResourceCollectionPage contains a page of CustomDomainResource values.

func NewCustomDomainResourceCollectionPage

Creates a new instance of the CustomDomainResourceCollectionPage type.

func (*CustomDomainResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CustomDomainResourceCollectionPage) NextWithContext

func (page *CustomDomainResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CustomDomainResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CustomDomainResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (CustomDomainResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type CustomDomainResourceProvisioningState

type CustomDomainResourceProvisioningState string

CustomDomainResourceProvisioningState enumerates the values for custom domain resource provisioning state.

const (
	// CustomDomainResourceProvisioningStateCreating ...
	CustomDomainResourceProvisioningStateCreating CustomDomainResourceProvisioningState = "Creating"
	// CustomDomainResourceProvisioningStateDeleting ...
	CustomDomainResourceProvisioningStateDeleting CustomDomainResourceProvisioningState = "Deleting"
	// CustomDomainResourceProvisioningStateFailed ...
	CustomDomainResourceProvisioningStateFailed CustomDomainResourceProvisioningState = "Failed"
	// CustomDomainResourceProvisioningStateSucceeded ...
	CustomDomainResourceProvisioningStateSucceeded CustomDomainResourceProvisioningState = "Succeeded"
	// CustomDomainResourceProvisioningStateUpdating ...
	CustomDomainResourceProvisioningStateUpdating CustomDomainResourceProvisioningState = "Updating"
)

func PossibleCustomDomainResourceProvisioningStateValues

func PossibleCustomDomainResourceProvisioningStateValues() []CustomDomainResourceProvisioningState

PossibleCustomDomainResourceProvisioningStateValues returns an array of possible values for the CustomDomainResourceProvisioningState const type.

type CustomDomainValidatePayload

type CustomDomainValidatePayload struct {
	// Name - Name to be validated
	Name *string `json:"name,omitempty"`
}

CustomDomainValidatePayload custom domain validate payload.

type CustomDomainValidateResult

type CustomDomainValidateResult struct {
	autorest.Response `json:"-"`
	// IsValid - Indicates if domain name is valid.
	IsValid *bool `json:"isValid,omitempty"`
	// Message - Message of why domain name is invalid.
	Message *string `json:"message,omitempty"`
}

CustomDomainValidateResult validation result for custom domain.

type CustomDomainsClient

type CustomDomainsClient struct {
	BaseClient
}

CustomDomainsClient is the REST API for Azure Spring Apps

func NewCustomDomainsClient

func NewCustomDomainsClient(subscriptionID string) CustomDomainsClient

NewCustomDomainsClient creates an instance of the CustomDomainsClient client.

func NewCustomDomainsClientWithBaseURI

func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) CustomDomainsClient

NewCustomDomainsClientWithBaseURI creates an instance of the CustomDomainsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CustomDomainsClient) CreateOrUpdate

func (client CustomDomainsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource) (result CustomDomainsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update custom domain of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. domainName - the name of the custom domain resource. domainResource - parameters for the create or update operation

func (CustomDomainsClient) CreateOrUpdatePreparer

func (client CustomDomainsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CustomDomainsClient) CreateOrUpdateResponder

func (client CustomDomainsClient) CreateOrUpdateResponder(resp *http.Response) (result CustomDomainResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (CustomDomainsClient) CreateOrUpdateSender

func (client CustomDomainsClient) CreateOrUpdateSender(req *http.Request) (future CustomDomainsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (CustomDomainsClient) Delete

func (client CustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string) (result CustomDomainsDeleteFuture, err error)

Delete delete the custom domain of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. domainName - the name of the custom domain resource.

func (CustomDomainsClient) DeletePreparer

func (client CustomDomainsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CustomDomainsClient) DeleteResponder

func (client CustomDomainsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CustomDomainsClient) DeleteSender

func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CustomDomainsClient) Get

func (client CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string) (result CustomDomainResource, err error)

Get get the custom domain of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. domainName - the name of the custom domain resource.

func (CustomDomainsClient) GetPreparer

func (client CustomDomainsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CustomDomainsClient) GetResponder

func (client CustomDomainsClient) GetResponder(resp *http.Response) (result CustomDomainResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CustomDomainsClient) GetSender

func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CustomDomainsClient) List

func (client CustomDomainsClient) List(ctx context.Context, resourceGroupName string, serviceName string, appName string) (result CustomDomainResourceCollectionPage, err error)

List list the custom domains of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource.

func (CustomDomainsClient) ListComplete

func (client CustomDomainsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, appName string) (result CustomDomainResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomDomainsClient) ListPreparer

func (client CustomDomainsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string) (*http.Request, error)

ListPreparer prepares the List request.

func (CustomDomainsClient) ListResponder

func (client CustomDomainsClient) ListResponder(resp *http.Response) (result CustomDomainResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CustomDomainsClient) ListSender

func (client CustomDomainsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (CustomDomainsClient) Update

func (client CustomDomainsClient) Update(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource) (result CustomDomainsUpdateFuture, err error)

Update update custom domain of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. domainName - the name of the custom domain resource. domainResource - parameters for the create or update operation

func (CustomDomainsClient) UpdatePreparer

func (client CustomDomainsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CustomDomainsClient) UpdateResponder

func (client CustomDomainsClient) UpdateResponder(resp *http.Response) (result CustomDomainResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (CustomDomainsClient) UpdateSender

func (client CustomDomainsClient) UpdateSender(req *http.Request) (future CustomDomainsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CustomDomainsCreateOrUpdateFuture

type CustomDomainsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CustomDomainsClient) (CustomDomainResource, error)
}

CustomDomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CustomDomainsCreateOrUpdateFuture) UnmarshalJSON

func (future *CustomDomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomDomainsDeleteFuture

type CustomDomainsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CustomDomainsClient) (autorest.Response, error)
}

CustomDomainsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CustomDomainsDeleteFuture) UnmarshalJSON

func (future *CustomDomainsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomDomainsUpdateFuture

type CustomDomainsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CustomDomainsClient) (CustomDomainResource, error)
}

CustomDomainsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CustomDomainsUpdateFuture) UnmarshalJSON

func (future *CustomDomainsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomPersistentDiskProperties

type CustomPersistentDiskProperties struct {
	// MountPath - The mount path of the persistent disk.
	MountPath *string `json:"mountPath,omitempty"`
	// ReadOnly - Indicates whether the persistent disk is a readOnly one.
	ReadOnly *bool `json:"readOnly,omitempty"`
	// MountOptions - These are the mount options for a persistent disk.
	MountOptions *[]string `json:"mountOptions,omitempty"`
	// Type - Possible values include: 'TypeCustomPersistentDiskProperties', 'TypeAzureFileVolume'
	Type Type `json:"type,omitempty"`
}

CustomPersistentDiskProperties custom persistent disk resource payload.

func (CustomPersistentDiskProperties) AsAzureFileVolume

func (cpdp CustomPersistentDiskProperties) AsAzureFileVolume() (*AzureFileVolume, bool)

AsAzureFileVolume is the BasicCustomPersistentDiskProperties implementation for CustomPersistentDiskProperties.

func (CustomPersistentDiskProperties) AsBasicCustomPersistentDiskProperties

func (cpdp CustomPersistentDiskProperties) AsBasicCustomPersistentDiskProperties() (BasicCustomPersistentDiskProperties, bool)

AsBasicCustomPersistentDiskProperties is the BasicCustomPersistentDiskProperties implementation for CustomPersistentDiskProperties.

func (CustomPersistentDiskProperties) AsCustomPersistentDiskProperties

func (cpdp CustomPersistentDiskProperties) AsCustomPersistentDiskProperties() (*CustomPersistentDiskProperties, bool)

AsCustomPersistentDiskProperties is the BasicCustomPersistentDiskProperties implementation for CustomPersistentDiskProperties.

func (CustomPersistentDiskProperties) MarshalJSON

func (cpdp CustomPersistentDiskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomPersistentDiskProperties.

type CustomPersistentDiskResource

type CustomPersistentDiskResource struct {
	// CustomPersistentDiskProperties - Properties of the custom persistent disk resource payload.
	CustomPersistentDiskProperties BasicCustomPersistentDiskProperties `json:"customPersistentDiskProperties,omitempty"`
	// StorageID - The resource id of Azure Spring Apps Storage resource.
	StorageID *string `json:"storageId,omitempty"`
}

CustomPersistentDiskResource custom persistent disk resource payload.

func (*CustomPersistentDiskResource) UnmarshalJSON

func (cpdr *CustomPersistentDiskResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomPersistentDiskResource struct.

type DeploymentInstance

type DeploymentInstance struct {
	// Name - READ-ONLY; Name of the deployment instance
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the deployment instance
	Status *string `json:"status,omitempty"`
	// Reason - READ-ONLY; Failed reason of the deployment instance
	Reason *string `json:"reason,omitempty"`
	// DiscoveryStatus - READ-ONLY; Discovery status of the deployment instance
	DiscoveryStatus *string `json:"discoveryStatus,omitempty"`
	// StartTime - READ-ONLY; Start time of the deployment instance
	StartTime *string `json:"startTime,omitempty"`
	// Zone - READ-ONLY; Availability zone information of the deployment instance
	Zone *string `json:"zone,omitempty"`
}

DeploymentInstance deployment instance payload

func (DeploymentInstance) MarshalJSON

func (di DeploymentInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentInstance.

type DeploymentResource

type DeploymentResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Deployment resource
	Properties *DeploymentResourceProperties `json:"properties,omitempty"`
	// Sku - Sku of the Deployment resource
	Sku *Sku `json:"sku,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

DeploymentResource deployment resource payload

func (DeploymentResource) MarshalJSON

func (dr DeploymentResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentResource.

type DeploymentResourceCollection

type DeploymentResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Deployment resources
	Value *[]DeploymentResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

DeploymentResourceCollection object that includes an array of App resources and a possible link for next set

func (DeploymentResourceCollection) IsEmpty

func (drc DeploymentResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DeploymentResourceCollectionIterator

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

DeploymentResourceCollectionIterator provides access to a complete listing of DeploymentResource values.

func NewDeploymentResourceCollectionIterator

func NewDeploymentResourceCollectionIterator(page DeploymentResourceCollectionPage) DeploymentResourceCollectionIterator

Creates a new instance of the DeploymentResourceCollectionIterator type.

func (*DeploymentResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeploymentResourceCollectionIterator) NextWithContext

func (iter *DeploymentResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DeploymentResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DeploymentResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (DeploymentResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DeploymentResourceCollectionPage

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

DeploymentResourceCollectionPage contains a page of DeploymentResource values.

func NewDeploymentResourceCollectionPage

Creates a new instance of the DeploymentResourceCollectionPage type.

func (*DeploymentResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeploymentResourceCollectionPage) NextWithContext

func (page *DeploymentResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DeploymentResourceCollectionPage) NotDone

func (page DeploymentResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DeploymentResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (DeploymentResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DeploymentResourceProperties

type DeploymentResourceProperties struct {
	// Source - Uploaded source information of the deployment.
	Source BasicUserSourceInfo `json:"source,omitempty"`
	// DeploymentSettings - Deployment settings of the Deployment
	DeploymentSettings *DeploymentSettings `json:"deploymentSettings,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Deployment. Possible values include: 'DeploymentResourceProvisioningStateCreating', 'DeploymentResourceProvisioningStateUpdating', 'DeploymentResourceProvisioningStateSucceeded', 'DeploymentResourceProvisioningStateFailed'
	ProvisioningState DeploymentResourceProvisioningState `json:"provisioningState,omitempty"`
	// Status - READ-ONLY; Status of the Deployment. Possible values include: 'DeploymentResourceStatusStopped', 'DeploymentResourceStatusRunning'
	Status DeploymentResourceStatus `json:"status,omitempty"`
	// Active - Indicates whether the Deployment is active
	Active *bool `json:"active,omitempty"`
	// Instances - READ-ONLY; Collection of instances belong to the Deployment
	Instances *[]DeploymentInstance `json:"instances,omitempty"`
}

DeploymentResourceProperties deployment resource properties payload

func (DeploymentResourceProperties) MarshalJSON

func (drp DeploymentResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentResourceProperties.

func (*DeploymentResourceProperties) UnmarshalJSON

func (drp *DeploymentResourceProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeploymentResourceProperties struct.

type DeploymentResourceProvisioningState

type DeploymentResourceProvisioningState string

DeploymentResourceProvisioningState enumerates the values for deployment resource provisioning state.

const (
	// DeploymentResourceProvisioningStateCreating ...
	DeploymentResourceProvisioningStateCreating DeploymentResourceProvisioningState = "Creating"
	// DeploymentResourceProvisioningStateFailed ...
	DeploymentResourceProvisioningStateFailed DeploymentResourceProvisioningState = "Failed"
	// DeploymentResourceProvisioningStateSucceeded ...
	DeploymentResourceProvisioningStateSucceeded DeploymentResourceProvisioningState = "Succeeded"
	// DeploymentResourceProvisioningStateUpdating ...
	DeploymentResourceProvisioningStateUpdating DeploymentResourceProvisioningState = "Updating"
)

func PossibleDeploymentResourceProvisioningStateValues

func PossibleDeploymentResourceProvisioningStateValues() []DeploymentResourceProvisioningState

PossibleDeploymentResourceProvisioningStateValues returns an array of possible values for the DeploymentResourceProvisioningState const type.

type DeploymentResourceStatus

type DeploymentResourceStatus string

DeploymentResourceStatus enumerates the values for deployment resource status.

const (
	// DeploymentResourceStatusRunning ...
	DeploymentResourceStatusRunning DeploymentResourceStatus = "Running"
	// DeploymentResourceStatusStopped ...
	DeploymentResourceStatusStopped DeploymentResourceStatus = "Stopped"
)

func PossibleDeploymentResourceStatusValues

func PossibleDeploymentResourceStatusValues() []DeploymentResourceStatus

PossibleDeploymentResourceStatusValues returns an array of possible values for the DeploymentResourceStatus const type.

type DeploymentSettings

type DeploymentSettings struct {
	// ResourceRequests - The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.
	ResourceRequests *ResourceRequests `json:"resourceRequests,omitempty"`
	// EnvironmentVariables - Collection of environment variables
	EnvironmentVariables map[string]*string `json:"environmentVariables"`
	// AddonConfigs - Collection of addons
	AddonConfigs map[string]map[string]interface{} `json:"addonConfigs"`
	// LivenessProbe - Periodic probe of App Instance liveness. App Instance will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	LivenessProbe *Probe `json:"livenessProbe,omitempty"`
	// ReadinessProbe - Periodic probe of App Instance service readiness. App Instance will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	ReadinessProbe *Probe `json:"readinessProbe,omitempty"`
	// StartupProbe - StartupProbe indicates that the App Instance has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a App Instance's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	StartupProbe *Probe `json:"startupProbe,omitempty"`
	// TerminationGracePeriodSeconds - Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds.
	TerminationGracePeriodSeconds *int32                  `json:"terminationGracePeriodSeconds,omitempty"`
	ContainerProbeSettings        *ContainerProbeSettings `json:"containerProbeSettings,omitempty"`
}

DeploymentSettings deployment settings payload

func (DeploymentSettings) MarshalJSON

func (ds DeploymentSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentSettings.

type DeploymentsClient

type DeploymentsClient struct {
	BaseClient
}

DeploymentsClient is the REST API for Azure Spring Apps

func NewDeploymentsClient

func NewDeploymentsClient(subscriptionID string) DeploymentsClient

NewDeploymentsClient creates an instance of the DeploymentsClient client.

func NewDeploymentsClientWithBaseURI

func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient

NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DeploymentsClient) CreateOrUpdate

func (client DeploymentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource DeploymentResource) (result DeploymentsCreateOrUpdateFuture, err error)

CreateOrUpdate create a new Deployment or update an exiting Deployment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource. deploymentResource - parameters for the create or update operation

func (DeploymentsClient) CreateOrUpdatePreparer

func (client DeploymentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource DeploymentResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DeploymentsClient) CreateOrUpdateResponder

func (client DeploymentsClient) CreateOrUpdateResponder(resp *http.Response) (result DeploymentResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DeploymentsClient) CreateOrUpdateSender

func (client DeploymentsClient) CreateOrUpdateSender(req *http.Request) (future DeploymentsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) Delete

func (client DeploymentsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (result DeploymentsDeleteFuture, err error)

Delete operation to delete a Deployment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource.

func (DeploymentsClient) DeletePreparer

func (client DeploymentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DeploymentsClient) DeleteResponder

func (client DeploymentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DeploymentsClient) DeleteSender

func (client DeploymentsClient) DeleteSender(req *http.Request) (future DeploymentsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) GenerateHeapDump

func (client DeploymentsClient) GenerateHeapDump(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters) (result DeploymentsGenerateHeapDumpFuture, err error)

GenerateHeapDump generate Heap Dump Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource. diagnosticParameters - parameters for the diagnostic operation

func (DeploymentsClient) GenerateHeapDumpPreparer

func (client DeploymentsClient) GenerateHeapDumpPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters) (*http.Request, error)

GenerateHeapDumpPreparer prepares the GenerateHeapDump request.

func (DeploymentsClient) GenerateHeapDumpResponder

func (client DeploymentsClient) GenerateHeapDumpResponder(resp *http.Response) (result autorest.Response, err error)

GenerateHeapDumpResponder handles the response to the GenerateHeapDump request. The method always closes the http.Response Body.

func (DeploymentsClient) GenerateHeapDumpSender

func (client DeploymentsClient) GenerateHeapDumpSender(req *http.Request) (future DeploymentsGenerateHeapDumpFuture, err error)

GenerateHeapDumpSender sends the GenerateHeapDump request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) GenerateThreadDump

func (client DeploymentsClient) GenerateThreadDump(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters) (result DeploymentsGenerateThreadDumpFuture, err error)

GenerateThreadDump generate Thread Dump Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource. diagnosticParameters - parameters for the diagnostic operation

func (DeploymentsClient) GenerateThreadDumpPreparer

func (client DeploymentsClient) GenerateThreadDumpPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters) (*http.Request, error)

GenerateThreadDumpPreparer prepares the GenerateThreadDump request.

func (DeploymentsClient) GenerateThreadDumpResponder

func (client DeploymentsClient) GenerateThreadDumpResponder(resp *http.Response) (result autorest.Response, err error)

GenerateThreadDumpResponder handles the response to the GenerateThreadDump request. The method always closes the http.Response Body.

func (DeploymentsClient) GenerateThreadDumpSender

func (client DeploymentsClient) GenerateThreadDumpSender(req *http.Request) (future DeploymentsGenerateThreadDumpFuture, err error)

GenerateThreadDumpSender sends the GenerateThreadDump request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) Get

func (client DeploymentsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (result DeploymentResource, err error)

Get get a Deployment and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource.

func (DeploymentsClient) GetLogFileURL

func (client DeploymentsClient) GetLogFileURL(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (result LogFileURLResponse, err error)

GetLogFileURL get deployment log file URL Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource.

func (DeploymentsClient) GetLogFileURLPreparer

func (client DeploymentsClient) GetLogFileURLPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (*http.Request, error)

GetLogFileURLPreparer prepares the GetLogFileURL request.

func (DeploymentsClient) GetLogFileURLResponder

func (client DeploymentsClient) GetLogFileURLResponder(resp *http.Response) (result LogFileURLResponse, err error)

GetLogFileURLResponder handles the response to the GetLogFileURL request. The method always closes the http.Response Body.

func (DeploymentsClient) GetLogFileURLSender

func (client DeploymentsClient) GetLogFileURLSender(req *http.Request) (*http.Response, error)

GetLogFileURLSender sends the GetLogFileURL request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) GetPreparer

func (client DeploymentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeploymentsClient) GetResponder

func (client DeploymentsClient) GetResponder(resp *http.Response) (result DeploymentResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeploymentsClient) GetSender

func (client DeploymentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) List

func (client DeploymentsClient) List(ctx context.Context, resourceGroupName string, serviceName string, appName string, version []string) (result DeploymentResourceCollectionPage, err error)

List handles requests to list all resources in an App. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. version - version of the deployments to be listed

func (DeploymentsClient) ListComplete

func (client DeploymentsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, appName string, version []string) (result DeploymentResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DeploymentsClient) ListForCluster

func (client DeploymentsClient) ListForCluster(ctx context.Context, resourceGroupName string, serviceName string, version []string) (result DeploymentResourceCollectionPage, err error)

ListForCluster list deployments for a certain service Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. version - version of the deployments to be listed

func (DeploymentsClient) ListForClusterComplete

func (client DeploymentsClient) ListForClusterComplete(ctx context.Context, resourceGroupName string, serviceName string, version []string) (result DeploymentResourceCollectionIterator, err error)

ListForClusterComplete enumerates all values, automatically crossing page boundaries as required.

func (DeploymentsClient) ListForClusterPreparer

func (client DeploymentsClient) ListForClusterPreparer(ctx context.Context, resourceGroupName string, serviceName string, version []string) (*http.Request, error)

ListForClusterPreparer prepares the ListForCluster request.

func (DeploymentsClient) ListForClusterResponder

func (client DeploymentsClient) ListForClusterResponder(resp *http.Response) (result DeploymentResourceCollection, err error)

ListForClusterResponder handles the response to the ListForCluster request. The method always closes the http.Response Body.

func (DeploymentsClient) ListForClusterSender

func (client DeploymentsClient) ListForClusterSender(req *http.Request) (*http.Response, error)

ListForClusterSender sends the ListForCluster request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) ListPreparer

func (client DeploymentsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, version []string) (*http.Request, error)

ListPreparer prepares the List request.

func (DeploymentsClient) ListResponder

func (client DeploymentsClient) ListResponder(resp *http.Response) (result DeploymentResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DeploymentsClient) ListSender

func (client DeploymentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) Restart

func (client DeploymentsClient) Restart(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (result DeploymentsRestartFuture, err error)

Restart restart the deployment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource.

func (DeploymentsClient) RestartPreparer

func (client DeploymentsClient) RestartPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (DeploymentsClient) RestartResponder

func (client DeploymentsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (DeploymentsClient) RestartSender

func (client DeploymentsClient) RestartSender(req *http.Request) (future DeploymentsRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) Start

func (client DeploymentsClient) Start(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (result DeploymentsStartFuture, err error)

Start start the deployment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource.

func (DeploymentsClient) StartJFR

func (client DeploymentsClient) StartJFR(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters) (result DeploymentsStartJFRFuture, err error)

StartJFR start JFR Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource. diagnosticParameters - parameters for the diagnostic operation

func (DeploymentsClient) StartJFRPreparer

func (client DeploymentsClient) StartJFRPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters) (*http.Request, error)

StartJFRPreparer prepares the StartJFR request.

func (DeploymentsClient) StartJFRResponder

func (client DeploymentsClient) StartJFRResponder(resp *http.Response) (result autorest.Response, err error)

StartJFRResponder handles the response to the StartJFR request. The method always closes the http.Response Body.

func (DeploymentsClient) StartJFRSender

func (client DeploymentsClient) StartJFRSender(req *http.Request) (future DeploymentsStartJFRFuture, err error)

StartJFRSender sends the StartJFR request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) StartPreparer

func (client DeploymentsClient) StartPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (DeploymentsClient) StartResponder

func (client DeploymentsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (DeploymentsClient) StartSender

func (client DeploymentsClient) StartSender(req *http.Request) (future DeploymentsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) Stop

func (client DeploymentsClient) Stop(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (result DeploymentsStopFuture, err error)

Stop stop the deployment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource.

func (DeploymentsClient) StopPreparer

func (client DeploymentsClient) StopPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (DeploymentsClient) StopResponder

func (client DeploymentsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (DeploymentsClient) StopSender

func (client DeploymentsClient) StopSender(req *http.Request) (future DeploymentsStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (DeploymentsClient) Update

func (client DeploymentsClient) Update(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource DeploymentResource) (result DeploymentsUpdateFuture, err error)

Update operation to update an exiting Deployment. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. deploymentName - the name of the Deployment resource. deploymentResource - parameters for the update operation

func (DeploymentsClient) UpdatePreparer

func (client DeploymentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource DeploymentResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DeploymentsClient) UpdateResponder

func (client DeploymentsClient) UpdateResponder(resp *http.Response) (result DeploymentResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DeploymentsClient) UpdateSender

func (client DeploymentsClient) UpdateSender(req *http.Request) (future DeploymentsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DeploymentsCreateOrUpdateFuture

type DeploymentsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (DeploymentResource, error)
}

DeploymentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsCreateOrUpdateFuture) UnmarshalJSON

func (future *DeploymentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsDeleteFuture

type DeploymentsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsDeleteFuture) UnmarshalJSON

func (future *DeploymentsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsGenerateHeapDumpFuture

type DeploymentsGenerateHeapDumpFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsGenerateHeapDumpFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsGenerateHeapDumpFuture) UnmarshalJSON

func (future *DeploymentsGenerateHeapDumpFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsGenerateThreadDumpFuture

type DeploymentsGenerateThreadDumpFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsGenerateThreadDumpFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsGenerateThreadDumpFuture) UnmarshalJSON

func (future *DeploymentsGenerateThreadDumpFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsRestartFuture

type DeploymentsRestartFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsRestartFuture) UnmarshalJSON

func (future *DeploymentsRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsStartFuture

type DeploymentsStartFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsStartFuture) UnmarshalJSON

func (future *DeploymentsStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsStartJFRFuture

type DeploymentsStartJFRFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsStartJFRFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsStartJFRFuture) UnmarshalJSON

func (future *DeploymentsStartJFRFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsStopFuture

type DeploymentsStopFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (autorest.Response, error)
}

DeploymentsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsStopFuture) UnmarshalJSON

func (future *DeploymentsStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsUpdateFuture

type DeploymentsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DeploymentsClient) (DeploymentResource, error)
}

DeploymentsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsUpdateFuture) UnmarshalJSON

func (future *DeploymentsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiagnosticParameters

type DiagnosticParameters struct {
	// AppInstance - App instance name
	AppInstance *string `json:"appInstance,omitempty"`
	// FilePath - Your target file path in your own BYOS
	FilePath *string `json:"filePath,omitempty"`
	// Duration - Duration of your JFR. 1 min can be represented by 1m or 60s.
	Duration *string `json:"duration,omitempty"`
}

DiagnosticParameters diagnostic parameters of diagnostic operations

type Error

type Error struct {
	// Code - The code of error.
	Code *string `json:"code,omitempty"`
	// Message - The message of error.
	Message *string `json:"message,omitempty"`
}

Error the error code compose of code and message.

type ExecAction

type ExecAction struct {
	// Command - Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]string `json:"command,omitempty"`
	// Type - Possible values include: 'TypeBasicProbeActionTypeProbeAction', 'TypeBasicProbeActionTypeHTTPGetAction', 'TypeBasicProbeActionTypeExecAction', 'TypeBasicProbeActionTypeTCPSocketAction'
	Type TypeBasicProbeAction `json:"type,omitempty"`
}

ExecAction execAction describes a "run in container" action.

func (ExecAction) AsBasicProbeAction

func (ea ExecAction) AsBasicProbeAction() (BasicProbeAction, bool)

AsBasicProbeAction is the BasicProbeAction implementation for ExecAction.

func (ExecAction) AsExecAction

func (ea ExecAction) AsExecAction() (*ExecAction, bool)

AsExecAction is the BasicProbeAction implementation for ExecAction.

func (ExecAction) AsHTTPGetAction

func (ea ExecAction) AsHTTPGetAction() (*HTTPGetAction, bool)

AsHTTPGetAction is the BasicProbeAction implementation for ExecAction.

func (ExecAction) AsProbeAction

func (ea ExecAction) AsProbeAction() (*ProbeAction, bool)

AsProbeAction is the BasicProbeAction implementation for ExecAction.

func (ExecAction) AsTCPSocketAction

func (ea ExecAction) AsTCPSocketAction() (*TCPSocketAction, bool)

AsTCPSocketAction is the BasicProbeAction implementation for ExecAction.

func (ExecAction) MarshalJSON

func (ea ExecAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExecAction.

type GatewayAPIMetadataProperties

type GatewayAPIMetadataProperties struct {
	// Title - Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`)
	Title *string `json:"title,omitempty"`
	// Description - Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`)
	Description *string `json:"description,omitempty"`
	// Documentation - Location of additional documentation for the APIs available on the Gateway instance
	Documentation *string `json:"documentation,omitempty"`
	// Version - Version of APIs available on this Gateway instance (default: `unspecified`).
	Version *string `json:"version,omitempty"`
	// ServerURL - Base URL that API consumers will use to access APIs on the Gateway instance.
	ServerURL *string `json:"serverUrl,omitempty"`
}

GatewayAPIMetadataProperties API metadata property for Spring Cloud Gateway

type GatewayAPIRoute

type GatewayAPIRoute struct {
	// Title - A title, will be applied to methods in the generated OpenAPI documentation.
	Title *string `json:"title,omitempty"`
	// Description - A description, will be applied to methods in the generated OpenAPI documentation.
	Description *string `json:"description,omitempty"`
	// URI - Full uri, will override `appName`.
	URI *string `json:"uri,omitempty"`
	// SsoEnabled - Enable sso validation.
	SsoEnabled *bool `json:"ssoEnabled,omitempty"`
	// TokenRelay - Pass currently-authenticated user's identity token to application service, default is 'false'
	TokenRelay *bool `json:"tokenRelay,omitempty"`
	// Predicates - A number of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
	Predicates *[]string `json:"predicates,omitempty"`
	// Filters - To modify the request before sending it to the target endpoint, or the received response.
	Filters *[]string `json:"filters,omitempty"`
	// Order - Route processing order.
	Order *int32 `json:"order,omitempty"`
	// Tags - Classification tags, will be applied to methods in the generated OpenAPI documentation.
	Tags *[]string `json:"tags,omitempty"`
}

GatewayAPIRoute API route config of the Spring Cloud Gateway

type GatewayCorsProperties

type GatewayCorsProperties struct {
	// AllowedOrigins - Allowed origins to make cross-site requests. The special value `*` allows all domains.
	AllowedOrigins *[]string `json:"allowedOrigins,omitempty"`
	// AllowedMethods - Allowed HTTP methods on cross-site requests. The special value `*` allows all methods. If not set, `GET` and `HEAD` are allowed by default.
	AllowedMethods *[]string `json:"allowedMethods,omitempty"`
	// AllowedHeaders - Allowed headers in cross-site requests. The special value `*` allows actual requests to send any header.
	AllowedHeaders *[]string `json:"allowedHeaders,omitempty"`
	// MaxAge - How long, in seconds, the response from a pre-flight request can be cached by clients.
	MaxAge *int32 `json:"maxAge,omitempty"`
	// AllowCredentials - Whether user credentials are supported on cross-site requests. Valid values: `true`, `false`.
	AllowCredentials *bool `json:"allowCredentials,omitempty"`
	// ExposedHeaders - HTTP response headers to expose for cross-site requests.
	ExposedHeaders *[]string `json:"exposedHeaders,omitempty"`
}

GatewayCorsProperties cross-Origin Resource Sharing property

type GatewayCustomDomainProperties

type GatewayCustomDomainProperties struct {
	// Thumbprint - The thumbprint of bound certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

GatewayCustomDomainProperties the properties of custom domain for Spring Cloud Gateway

type GatewayCustomDomainResource

type GatewayCustomDomainResource struct {
	autorest.Response `json:"-"`
	Properties        *GatewayCustomDomainProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

GatewayCustomDomainResource custom domain of the Spring Cloud Gateway

func (GatewayCustomDomainResource) MarshalJSON

func (gcdr GatewayCustomDomainResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayCustomDomainResource.

type GatewayCustomDomainResourceCollection

type GatewayCustomDomainResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Spring Cloud Gateway custom domain resources
	Value *[]GatewayCustomDomainResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

GatewayCustomDomainResourceCollection object that includes an array of Spring Cloud Gateway custom domain resources and a possible link for next set

func (GatewayCustomDomainResourceCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type GatewayCustomDomainResourceCollectionIterator

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

GatewayCustomDomainResourceCollectionIterator provides access to a complete listing of GatewayCustomDomainResource values.

func NewGatewayCustomDomainResourceCollectionIterator

func NewGatewayCustomDomainResourceCollectionIterator(page GatewayCustomDomainResourceCollectionPage) GatewayCustomDomainResourceCollectionIterator

Creates a new instance of the GatewayCustomDomainResourceCollectionIterator type.

func (*GatewayCustomDomainResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GatewayCustomDomainResourceCollectionIterator) NextWithContext

func (iter *GatewayCustomDomainResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GatewayCustomDomainResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (GatewayCustomDomainResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (GatewayCustomDomainResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GatewayCustomDomainResourceCollectionPage

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

GatewayCustomDomainResourceCollectionPage contains a page of GatewayCustomDomainResource values.

func NewGatewayCustomDomainResourceCollectionPage

Creates a new instance of the GatewayCustomDomainResourceCollectionPage type.

func (*GatewayCustomDomainResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GatewayCustomDomainResourceCollectionPage) NextWithContext

func (page *GatewayCustomDomainResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GatewayCustomDomainResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GatewayCustomDomainResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (GatewayCustomDomainResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type GatewayCustomDomainsClient

type GatewayCustomDomainsClient struct {
	BaseClient
}

GatewayCustomDomainsClient is the REST API for Azure Spring Apps

func NewGatewayCustomDomainsClient

func NewGatewayCustomDomainsClient(subscriptionID string) GatewayCustomDomainsClient

NewGatewayCustomDomainsClient creates an instance of the GatewayCustomDomainsClient client.

func NewGatewayCustomDomainsClientWithBaseURI

func NewGatewayCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) GatewayCustomDomainsClient

NewGatewayCustomDomainsClientWithBaseURI creates an instance of the GatewayCustomDomainsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GatewayCustomDomainsClient) CreateOrUpdate

func (client GatewayCustomDomainsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, domainName string, gatewayCustomDomainResource GatewayCustomDomainResource) (result GatewayCustomDomainsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the Spring Cloud Gateway custom domain. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. domainName - the name of the Spring Cloud Gateway custom domain. gatewayCustomDomainResource - the gateway custom domain resource for the create or update operation

func (GatewayCustomDomainsClient) CreateOrUpdatePreparer

func (client GatewayCustomDomainsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, domainName string, gatewayCustomDomainResource GatewayCustomDomainResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GatewayCustomDomainsClient) CreateOrUpdateResponder

func (client GatewayCustomDomainsClient) CreateOrUpdateResponder(resp *http.Response) (result GatewayCustomDomainResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GatewayCustomDomainsClient) CreateOrUpdateSender

func (client GatewayCustomDomainsClient) CreateOrUpdateSender(req *http.Request) (future GatewayCustomDomainsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GatewayCustomDomainsClient) Delete

func (client GatewayCustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, domainName string) (result GatewayCustomDomainsDeleteFuture, err error)

Delete delete the Spring Cloud Gateway custom domain. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. domainName - the name of the Spring Cloud Gateway custom domain.

func (GatewayCustomDomainsClient) DeletePreparer

func (client GatewayCustomDomainsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, domainName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GatewayCustomDomainsClient) DeleteResponder

func (client GatewayCustomDomainsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GatewayCustomDomainsClient) DeleteSender

func (client GatewayCustomDomainsClient) DeleteSender(req *http.Request) (future GatewayCustomDomainsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GatewayCustomDomainsClient) Get

func (client GatewayCustomDomainsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, domainName string) (result GatewayCustomDomainResource, err error)

Get get the Spring Cloud Gateway custom domain. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. domainName - the name of the Spring Cloud Gateway custom domain.

func (GatewayCustomDomainsClient) GetPreparer

func (client GatewayCustomDomainsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, domainName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GatewayCustomDomainsClient) GetResponder

func (client GatewayCustomDomainsClient) GetResponder(resp *http.Response) (result GatewayCustomDomainResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GatewayCustomDomainsClient) GetSender

func (client GatewayCustomDomainsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GatewayCustomDomainsClient) List

func (client GatewayCustomDomainsClient) List(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (result GatewayCustomDomainResourceCollectionPage, err error)

List handle requests to list all Spring Cloud Gateway custom domains. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway.

func (GatewayCustomDomainsClient) ListComplete

func (client GatewayCustomDomainsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (result GatewayCustomDomainResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GatewayCustomDomainsClient) ListPreparer

func (client GatewayCustomDomainsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (*http.Request, error)

ListPreparer prepares the List request.

func (GatewayCustomDomainsClient) ListResponder

func (client GatewayCustomDomainsClient) ListResponder(resp *http.Response) (result GatewayCustomDomainResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GatewayCustomDomainsClient) ListSender

func (client GatewayCustomDomainsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type GatewayCustomDomainsCreateOrUpdateFuture

type GatewayCustomDomainsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GatewayCustomDomainsClient) (GatewayCustomDomainResource, error)
}

GatewayCustomDomainsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GatewayCustomDomainsCreateOrUpdateFuture) UnmarshalJSON

func (future *GatewayCustomDomainsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GatewayCustomDomainsDeleteFuture

type GatewayCustomDomainsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GatewayCustomDomainsClient) (autorest.Response, error)
}

GatewayCustomDomainsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GatewayCustomDomainsDeleteFuture) UnmarshalJSON

func (future *GatewayCustomDomainsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GatewayInstance

type GatewayInstance struct {
	// Name - READ-ONLY; Name of the Spring Cloud Gateway instance
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the Spring Cloud Gateway instance
	Status *string `json:"status,omitempty"`
}

GatewayInstance collection of instances belong to the Spring Cloud Gateway

func (GatewayInstance) MarshalJSON

func (gi GatewayInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayInstance.

type GatewayOperatorProperties

type GatewayOperatorProperties struct {
	// ResourceRequests - The requested resource quantity for required CPU and Memory.
	ResourceRequests *GatewayOperatorResourceRequests `json:"resourceRequests,omitempty"`
	// Instances - READ-ONLY; Collection of instances belong to Spring Cloud Gateway operator.
	Instances *[]GatewayInstance `json:"instances,omitempty"`
}

GatewayOperatorProperties properties of the Spring Cloud Gateway Operator.

func (GatewayOperatorProperties) MarshalJSON

func (gop GatewayOperatorProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayOperatorProperties.

type GatewayOperatorResourceRequests

type GatewayOperatorResourceRequests struct {
	// CPU - READ-ONLY; Cpu allocated to each Spring Cloud Gateway Operator instance.
	CPU *string `json:"cpu,omitempty"`
	// Memory - READ-ONLY; Memory allocated to each Spring Cloud Gateway Operator instance.
	Memory *string `json:"memory,omitempty"`
	// InstanceCount - READ-ONLY; Instance count of the Spring Cloud Gateway Operator.
	InstanceCount *int32 `json:"instanceCount,omitempty"`
}

GatewayOperatorResourceRequests properties of the Spring Cloud Gateway Operator.

func (GatewayOperatorResourceRequests) MarshalJSON

func (gorr GatewayOperatorResourceRequests) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayOperatorResourceRequests.

type GatewayProperties

type GatewayProperties struct {
	// ProvisioningState - READ-ONLY; State of the Spring Cloud Gateway. Possible values include: 'GatewayProvisioningStateCreating', 'GatewayProvisioningStateUpdating', 'GatewayProvisioningStateSucceeded', 'GatewayProvisioningStateFailed', 'GatewayProvisioningStateDeleting'
	ProvisioningState GatewayProvisioningState `json:"provisioningState,omitempty"`
	// Public - Indicates whether the Spring Cloud Gateway exposes endpoint.
	Public *bool `json:"public,omitempty"`
	// URL - READ-ONLY; URL of the Spring Cloud Gateway, exposed when 'public' is true.
	URL *string `json:"url,omitempty"`
	// HTTPSOnly - Indicate if only https is allowed.
	HTTPSOnly             *bool                         `json:"httpsOnly,omitempty"`
	SsoProperties         *SsoProperties                `json:"ssoProperties,omitempty"`
	APIMetadataProperties *GatewayAPIMetadataProperties `json:"apiMetadataProperties,omitempty"`
	CorsProperties        *GatewayCorsProperties        `json:"corsProperties,omitempty"`
	// ResourceRequests - The requested resource quantity for required CPU and Memory.
	ResourceRequests *GatewayResourceRequests `json:"resourceRequests,omitempty"`
	// Instances - READ-ONLY; Collection of instances belong to Spring Cloud Gateway.
	Instances *[]GatewayInstance `json:"instances,omitempty"`
	// OperatorProperties - READ-ONLY
	OperatorProperties *GatewayOperatorProperties `json:"operatorProperties,omitempty"`
}

GatewayProperties spring Cloud Gateway properties payload

func (GatewayProperties) MarshalJSON

func (gp GatewayProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayProperties.

type GatewayProvisioningState

type GatewayProvisioningState string

GatewayProvisioningState enumerates the values for gateway provisioning state.

const (
	// GatewayProvisioningStateCreating ...
	GatewayProvisioningStateCreating GatewayProvisioningState = "Creating"
	// GatewayProvisioningStateDeleting ...
	GatewayProvisioningStateDeleting GatewayProvisioningState = "Deleting"
	// GatewayProvisioningStateFailed ...
	GatewayProvisioningStateFailed GatewayProvisioningState = "Failed"
	// GatewayProvisioningStateSucceeded ...
	GatewayProvisioningStateSucceeded GatewayProvisioningState = "Succeeded"
	// GatewayProvisioningStateUpdating ...
	GatewayProvisioningStateUpdating GatewayProvisioningState = "Updating"
)

func PossibleGatewayProvisioningStateValues

func PossibleGatewayProvisioningStateValues() []GatewayProvisioningState

PossibleGatewayProvisioningStateValues returns an array of possible values for the GatewayProvisioningState const type.

type GatewayResource

type GatewayResource struct {
	autorest.Response `json:"-"`
	Properties        *GatewayProperties `json:"properties,omitempty"`
	// Sku - Sku of the Spring Cloud Gateway resource
	Sku *Sku `json:"sku,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

GatewayResource spring Cloud Gateway resource

func (GatewayResource) MarshalJSON

func (gr GatewayResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayResource.

type GatewayResourceCollection

type GatewayResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of gateway resources
	Value *[]GatewayResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

GatewayResourceCollection object that includes an array of gateway resources and a possible link for next set

func (GatewayResourceCollection) IsEmpty

func (grc GatewayResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GatewayResourceCollectionIterator

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

GatewayResourceCollectionIterator provides access to a complete listing of GatewayResource values.

func NewGatewayResourceCollectionIterator

func NewGatewayResourceCollectionIterator(page GatewayResourceCollectionPage) GatewayResourceCollectionIterator

Creates a new instance of the GatewayResourceCollectionIterator type.

func (*GatewayResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GatewayResourceCollectionIterator) NextWithContext

func (iter *GatewayResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GatewayResourceCollectionIterator) NotDone

func (iter GatewayResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GatewayResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (GatewayResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GatewayResourceCollectionPage

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

GatewayResourceCollectionPage contains a page of GatewayResource values.

func NewGatewayResourceCollectionPage

Creates a new instance of the GatewayResourceCollectionPage type.

func (*GatewayResourceCollectionPage) Next

func (page *GatewayResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GatewayResourceCollectionPage) NextWithContext

func (page *GatewayResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GatewayResourceCollectionPage) NotDone

func (page GatewayResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GatewayResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (GatewayResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type GatewayResourceRequests

type GatewayResourceRequests struct {
	// CPU - Cpu allocated to each Spring Cloud Gateway instance.
	CPU *string `json:"cpu,omitempty"`
	// Memory - Memory allocated to each Spring Cloud Gateway instance.
	Memory *string `json:"memory,omitempty"`
}

GatewayResourceRequests resource request payload of Spring Cloud Gateway.

type GatewayRouteConfigOpenAPIProperties

type GatewayRouteConfigOpenAPIProperties struct {
	// URI - The URI of OpenAPI specification.
	URI *string `json:"uri,omitempty"`
}

GatewayRouteConfigOpenAPIProperties openAPI properties of Spring Cloud Gateway route config.

type GatewayRouteConfigProperties

type GatewayRouteConfigProperties struct {
	// ProvisioningState - READ-ONLY; State of the Spring Cloud Gateway route config. Possible values include: 'GatewayProvisioningStateCreating', 'GatewayProvisioningStateUpdating', 'GatewayProvisioningStateSucceeded', 'GatewayProvisioningStateFailed', 'GatewayProvisioningStateDeleting'
	ProvisioningState GatewayProvisioningState `json:"provisioningState,omitempty"`
	// AppResourceID - The resource Id of the Azure Spring Apps app, required unless route defines `uri`.
	AppResourceID *string                              `json:"appResourceId,omitempty"`
	OpenAPI       *GatewayRouteConfigOpenAPIProperties `json:"openApi,omitempty"`
	// Routes - Array of API routes, each route contains properties such as `title`, `uri`, `ssoEnabled`, `predicates`, `filters`.
	Routes *[]GatewayAPIRoute `json:"routes,omitempty"`
}

GatewayRouteConfigProperties API route config of the Spring Cloud Gateway

func (GatewayRouteConfigProperties) MarshalJSON

func (grcp GatewayRouteConfigProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayRouteConfigProperties.

type GatewayRouteConfigResource

type GatewayRouteConfigResource struct {
	autorest.Response `json:"-"`
	Properties        *GatewayRouteConfigProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

GatewayRouteConfigResource spring Cloud Gateway route config resource

func (GatewayRouteConfigResource) MarshalJSON

func (grcr GatewayRouteConfigResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayRouteConfigResource.

type GatewayRouteConfigResourceCollection

type GatewayRouteConfigResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Spring Cloud Gateway route config resources
	Value *[]GatewayRouteConfigResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

GatewayRouteConfigResourceCollection object that includes an array of Spring Cloud Gateway route config resources and a possible link for next set

func (GatewayRouteConfigResourceCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type GatewayRouteConfigResourceCollectionIterator

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

GatewayRouteConfigResourceCollectionIterator provides access to a complete listing of GatewayRouteConfigResource values.

func NewGatewayRouteConfigResourceCollectionIterator

func NewGatewayRouteConfigResourceCollectionIterator(page GatewayRouteConfigResourceCollectionPage) GatewayRouteConfigResourceCollectionIterator

Creates a new instance of the GatewayRouteConfigResourceCollectionIterator type.

func (*GatewayRouteConfigResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GatewayRouteConfigResourceCollectionIterator) NextWithContext

func (iter *GatewayRouteConfigResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GatewayRouteConfigResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (GatewayRouteConfigResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (GatewayRouteConfigResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GatewayRouteConfigResourceCollectionPage

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

GatewayRouteConfigResourceCollectionPage contains a page of GatewayRouteConfigResource values.

func NewGatewayRouteConfigResourceCollectionPage

Creates a new instance of the GatewayRouteConfigResourceCollectionPage type.

func (*GatewayRouteConfigResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GatewayRouteConfigResourceCollectionPage) NextWithContext

func (page *GatewayRouteConfigResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GatewayRouteConfigResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GatewayRouteConfigResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (GatewayRouteConfigResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type GatewayRouteConfigsClient

type GatewayRouteConfigsClient struct {
	BaseClient
}

GatewayRouteConfigsClient is the REST API for Azure Spring Apps

func NewGatewayRouteConfigsClient

func NewGatewayRouteConfigsClient(subscriptionID string) GatewayRouteConfigsClient

NewGatewayRouteConfigsClient creates an instance of the GatewayRouteConfigsClient client.

func NewGatewayRouteConfigsClientWithBaseURI

func NewGatewayRouteConfigsClientWithBaseURI(baseURI string, subscriptionID string) GatewayRouteConfigsClient

NewGatewayRouteConfigsClientWithBaseURI creates an instance of the GatewayRouteConfigsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GatewayRouteConfigsClient) CreateOrUpdate

func (client GatewayRouteConfigsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, routeConfigName string, gatewayRouteConfigResource GatewayRouteConfigResource) (result GatewayRouteConfigsCreateOrUpdateFuture, err error)

CreateOrUpdate create the default Spring Cloud Gateway route configs or update the existing Spring Cloud Gateway route configs. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. routeConfigName - the name of the Spring Cloud Gateway route config. gatewayRouteConfigResource - the Spring Cloud Gateway route config for the create or update operation

func (GatewayRouteConfigsClient) CreateOrUpdatePreparer

func (client GatewayRouteConfigsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, routeConfigName string, gatewayRouteConfigResource GatewayRouteConfigResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GatewayRouteConfigsClient) CreateOrUpdateResponder

func (client GatewayRouteConfigsClient) CreateOrUpdateResponder(resp *http.Response) (result GatewayRouteConfigResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GatewayRouteConfigsClient) CreateOrUpdateSender

func (client GatewayRouteConfigsClient) CreateOrUpdateSender(req *http.Request) (future GatewayRouteConfigsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GatewayRouteConfigsClient) Delete

func (client GatewayRouteConfigsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, routeConfigName string) (result GatewayRouteConfigsDeleteFuture, err error)

Delete delete the Spring Cloud Gateway route config. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. routeConfigName - the name of the Spring Cloud Gateway route config.

func (GatewayRouteConfigsClient) DeletePreparer

func (client GatewayRouteConfigsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, routeConfigName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GatewayRouteConfigsClient) DeleteResponder

func (client GatewayRouteConfigsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GatewayRouteConfigsClient) DeleteSender

func (client GatewayRouteConfigsClient) DeleteSender(req *http.Request) (future GatewayRouteConfigsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GatewayRouteConfigsClient) Get

func (client GatewayRouteConfigsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, routeConfigName string) (result GatewayRouteConfigResource, err error)

Get get the Spring Cloud Gateway route configs. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. routeConfigName - the name of the Spring Cloud Gateway route config.

func (GatewayRouteConfigsClient) GetPreparer

func (client GatewayRouteConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, routeConfigName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GatewayRouteConfigsClient) GetResponder

func (client GatewayRouteConfigsClient) GetResponder(resp *http.Response) (result GatewayRouteConfigResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GatewayRouteConfigsClient) GetSender

func (client GatewayRouteConfigsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GatewayRouteConfigsClient) List

func (client GatewayRouteConfigsClient) List(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (result GatewayRouteConfigResourceCollectionPage, err error)

List handle requests to list all Spring Cloud Gateway route configs. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway.

func (GatewayRouteConfigsClient) ListComplete

func (client GatewayRouteConfigsClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (result GatewayRouteConfigResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GatewayRouteConfigsClient) ListPreparer

func (client GatewayRouteConfigsClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (*http.Request, error)

ListPreparer prepares the List request.

func (GatewayRouteConfigsClient) ListResponder

func (client GatewayRouteConfigsClient) ListResponder(resp *http.Response) (result GatewayRouteConfigResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GatewayRouteConfigsClient) ListSender

func (client GatewayRouteConfigsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type GatewayRouteConfigsCreateOrUpdateFuture

type GatewayRouteConfigsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GatewayRouteConfigsClient) (GatewayRouteConfigResource, error)
}

GatewayRouteConfigsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GatewayRouteConfigsCreateOrUpdateFuture) UnmarshalJSON

func (future *GatewayRouteConfigsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GatewayRouteConfigsDeleteFuture

type GatewayRouteConfigsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GatewayRouteConfigsClient) (autorest.Response, error)
}

GatewayRouteConfigsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GatewayRouteConfigsDeleteFuture) UnmarshalJSON

func (future *GatewayRouteConfigsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GatewaysClient

type GatewaysClient struct {
	BaseClient
}

GatewaysClient is the REST API for Azure Spring Apps

func NewGatewaysClient

func NewGatewaysClient(subscriptionID string) GatewaysClient

NewGatewaysClient creates an instance of the GatewaysClient client.

func NewGatewaysClientWithBaseURI

func NewGatewaysClientWithBaseURI(baseURI string, subscriptionID string) GatewaysClient

NewGatewaysClientWithBaseURI creates an instance of the GatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GatewaysClient) CreateOrUpdate

func (client GatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, gatewayResource GatewayResource) (result GatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. gatewayResource - the gateway for the create or update operation

func (GatewaysClient) CreateOrUpdatePreparer

func (client GatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, gatewayResource GatewayResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GatewaysClient) CreateOrUpdateResponder

func (client GatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result GatewayResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GatewaysClient) CreateOrUpdateSender

func (client GatewaysClient) CreateOrUpdateSender(req *http.Request) (future GatewaysCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GatewaysClient) Delete

func (client GatewaysClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (result GatewaysDeleteFuture, err error)

Delete disable the default Spring Cloud Gateway. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway.

func (GatewaysClient) DeletePreparer

func (client GatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GatewaysClient) DeleteResponder

func (client GatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GatewaysClient) DeleteSender

func (client GatewaysClient) DeleteSender(req *http.Request) (future GatewaysDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GatewaysClient) Get

func (client GatewaysClient) Get(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (result GatewayResource, err error)

Get get the Spring Cloud Gateway and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway.

func (GatewaysClient) GetPreparer

func (client GatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GatewaysClient) GetResponder

func (client GatewaysClient) GetResponder(resp *http.Response) (result GatewayResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GatewaysClient) GetSender

func (client GatewaysClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GatewaysClient) List

func (client GatewaysClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result GatewayResourceCollectionPage, err error)

List handles requests to list all resources in a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (GatewaysClient) ListComplete

func (client GatewaysClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result GatewayResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GatewaysClient) ListPreparer

func (client GatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (GatewaysClient) ListResponder

func (client GatewaysClient) ListResponder(resp *http.Response) (result GatewayResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GatewaysClient) ListSender

func (client GatewaysClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (GatewaysClient) ValidateDomain

func (client GatewaysClient) ValidateDomain(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, validatePayload CustomDomainValidatePayload) (result CustomDomainValidateResult, err error)

ValidateDomain check the domains are valid as well as not in use. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. gatewayName - the name of Spring Cloud Gateway. validatePayload - custom domain payload to be validated

func (GatewaysClient) ValidateDomainPreparer

func (client GatewaysClient) ValidateDomainPreparer(ctx context.Context, resourceGroupName string, serviceName string, gatewayName string, validatePayload CustomDomainValidatePayload) (*http.Request, error)

ValidateDomainPreparer prepares the ValidateDomain request.

func (GatewaysClient) ValidateDomainResponder

func (client GatewaysClient) ValidateDomainResponder(resp *http.Response) (result CustomDomainValidateResult, err error)

ValidateDomainResponder handles the response to the ValidateDomain request. The method always closes the http.Response Body.

func (GatewaysClient) ValidateDomainSender

func (client GatewaysClient) ValidateDomainSender(req *http.Request) (*http.Response, error)

ValidateDomainSender sends the ValidateDomain request. The method will close the http.Response Body if it receives an error.

type GatewaysCreateOrUpdateFuture

type GatewaysCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GatewaysClient) (GatewayResource, error)
}

GatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GatewaysCreateOrUpdateFuture) UnmarshalJSON

func (future *GatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GatewaysDeleteFuture

type GatewaysDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GatewaysClient) (autorest.Response, error)
}

GatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GatewaysDeleteFuture) UnmarshalJSON

func (future *GatewaysDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GitPatternRepository

type GitPatternRepository struct {
	// Name - Name of the repository
	Name *string `json:"name,omitempty"`
	// Pattern - Collection of pattern of the repository
	Pattern *[]string `json:"pattern,omitempty"`
	// URI - URI of the repository
	URI *string `json:"uri,omitempty"`
	// Label - Label of the repository
	Label *string `json:"label,omitempty"`
	// SearchPaths - Searching path of the repository
	SearchPaths *[]string `json:"searchPaths,omitempty"`
	// Username - Username of git repository basic auth.
	Username *string `json:"username,omitempty"`
	// Password - Password of git repository basic auth.
	Password *string `json:"password,omitempty"`
	// HostKey - Public sshKey of git repository.
	HostKey *string `json:"hostKey,omitempty"`
	// HostKeyAlgorithm - SshKey algorithm of git repository.
	HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty"`
	// PrivateKey - Private sshKey algorithm of git repository.
	PrivateKey *string `json:"privateKey,omitempty"`
	// StrictHostKeyChecking - Strict host key checking or not.
	StrictHostKeyChecking *bool `json:"strictHostKeyChecking,omitempty"`
}

GitPatternRepository git repository property payload for config server

type HTTPGetAction

type HTTPGetAction struct {
	// Path - Path to access on the HTTP server.
	Path *string `json:"path,omitempty"`
	// Scheme - Scheme to use for connecting to the host. Defaults to HTTP.
	// Possible enum values:
	//  - `"HTTP"` means that the scheme used will be http://
	//  - `"HTTPS"` means that the scheme used will be https://. Possible values include: 'HTTPSchemeTypeHTTP', 'HTTPSchemeTypeHTTPS'
	Scheme HTTPSchemeType `json:"scheme,omitempty"`
	// Type - Possible values include: 'TypeBasicProbeActionTypeProbeAction', 'TypeBasicProbeActionTypeHTTPGetAction', 'TypeBasicProbeActionTypeExecAction', 'TypeBasicProbeActionTypeTCPSocketAction'
	Type TypeBasicProbeAction `json:"type,omitempty"`
}

HTTPGetAction hTTPGetAction describes an action based on HTTP Get requests.

func (HTTPGetAction) AsBasicProbeAction

func (hga HTTPGetAction) AsBasicProbeAction() (BasicProbeAction, bool)

AsBasicProbeAction is the BasicProbeAction implementation for HTTPGetAction.

func (HTTPGetAction) AsExecAction

func (hga HTTPGetAction) AsExecAction() (*ExecAction, bool)

AsExecAction is the BasicProbeAction implementation for HTTPGetAction.

func (HTTPGetAction) AsHTTPGetAction

func (hga HTTPGetAction) AsHTTPGetAction() (*HTTPGetAction, bool)

AsHTTPGetAction is the BasicProbeAction implementation for HTTPGetAction.

func (HTTPGetAction) AsProbeAction

func (hga HTTPGetAction) AsProbeAction() (*ProbeAction, bool)

AsProbeAction is the BasicProbeAction implementation for HTTPGetAction.

func (HTTPGetAction) AsTCPSocketAction

func (hga HTTPGetAction) AsTCPSocketAction() (*TCPSocketAction, bool)

AsTCPSocketAction is the BasicProbeAction implementation for HTTPGetAction.

func (HTTPGetAction) MarshalJSON

func (hga HTTPGetAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HTTPGetAction.

type HTTPSchemeType

type HTTPSchemeType string

HTTPSchemeType enumerates the values for http scheme type.

const (
	// HTTPSchemeTypeHTTP ...
	HTTPSchemeTypeHTTP HTTPSchemeType = "HTTP"
	// HTTPSchemeTypeHTTPS ...
	HTTPSchemeTypeHTTPS HTTPSchemeType = "HTTPS"
)

func PossibleHTTPSchemeTypeValues

func PossibleHTTPSchemeTypeValues() []HTTPSchemeType

PossibleHTTPSchemeTypeValues returns an array of possible values for the HTTPSchemeType const type.

type ImageRegistryCredential

type ImageRegistryCredential struct {
	// Username - The username of the image registry credential
	Username *string `json:"username,omitempty"`
	// Password - The password of the image registry credential
	Password *string `json:"password,omitempty"`
}

ImageRegistryCredential credential of the image registry

type IngressConfig

type IngressConfig struct {
	// ReadTimeoutInSeconds - Ingress read time out in seconds.
	ReadTimeoutInSeconds *int32 `json:"readTimeoutInSeconds,omitempty"`
}

IngressConfig ingress configuration payload for Azure Spring Apps resource.

type JarUploadedUserSourceInfo

type JarUploadedUserSourceInfo struct {
	// RuntimeVersion - Runtime version of the Jar file
	RuntimeVersion *string `json:"runtimeVersion,omitempty"`
	// JvmOptions - JVM parameter
	JvmOptions *string `json:"jvmOptions,omitempty"`
	// RelativePath - Relative path of the storage which stores the source
	RelativePath *string `json:"relativePath,omitempty"`
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

JarUploadedUserSourceInfo uploaded Jar binary for a deployment

func (JarUploadedUserSourceInfo) AsBasicUploadedUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsBasicUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsBuildResultUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsCustomContainerUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsJarUploadedUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsSourceUploadedUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsUploadedUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) AsUserSourceInfo

func (juusi JarUploadedUserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for JarUploadedUserSourceInfo.

func (JarUploadedUserSourceInfo) MarshalJSON

func (juusi JarUploadedUserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JarUploadedUserSourceInfo.

type KPackBuildStageProvisioningState

type KPackBuildStageProvisioningState string

KPackBuildStageProvisioningState enumerates the values for k pack build stage provisioning state.

const (
	// KPackBuildStageProvisioningStateFailed ...
	KPackBuildStageProvisioningStateFailed KPackBuildStageProvisioningState = "Failed"
	// KPackBuildStageProvisioningStateNotStarted ...
	KPackBuildStageProvisioningStateNotStarted KPackBuildStageProvisioningState = "NotStarted"
	// KPackBuildStageProvisioningStateRunning ...
	KPackBuildStageProvisioningStateRunning KPackBuildStageProvisioningState = "Running"
	// KPackBuildStageProvisioningStateSucceeded ...
	KPackBuildStageProvisioningStateSucceeded KPackBuildStageProvisioningState = "Succeeded"
)

func PossibleKPackBuildStageProvisioningStateValues

func PossibleKPackBuildStageProvisioningStateValues() []KPackBuildStageProvisioningState

PossibleKPackBuildStageProvisioningStateValues returns an array of possible values for the KPackBuildStageProvisioningState const type.

type KeyVaultCertificateProperties

type KeyVaultCertificateProperties struct {
	// VaultURI - The vault uri of user key vault.
	VaultURI *string `json:"vaultUri,omitempty"`
	// KeyVaultCertName - The certificate name of key vault.
	KeyVaultCertName *string `json:"keyVaultCertName,omitempty"`
	// CertVersion - The certificate version of key vault.
	CertVersion *string `json:"certVersion,omitempty"`
	// ExcludePrivateKey - Optional. If set to true, it will not import private key from key vault.
	ExcludePrivateKey *bool `json:"excludePrivateKey,omitempty"`
	// Thumbprint - READ-ONLY; The thumbprint of certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// Issuer - READ-ONLY; The issuer of certificate.
	Issuer *string `json:"issuer,omitempty"`
	// IssuedDate - READ-ONLY; The issue date of certificate.
	IssuedDate *string `json:"issuedDate,omitempty"`
	// ExpirationDate - READ-ONLY; The expiration date of certificate.
	ExpirationDate *string `json:"expirationDate,omitempty"`
	// ActivateDate - READ-ONLY; The activate date of certificate.
	ActivateDate *string `json:"activateDate,omitempty"`
	// SubjectName - READ-ONLY; The subject name of certificate.
	SubjectName *string `json:"subjectName,omitempty"`
	// DNSNames - READ-ONLY; The domain list of certificate.
	DNSNames *[]string `json:"dnsNames,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Certificate. Possible values include: 'CertificateResourceProvisioningStateCreating', 'CertificateResourceProvisioningStateUpdating', 'CertificateResourceProvisioningStateSucceeded', 'CertificateResourceProvisioningStateFailed', 'CertificateResourceProvisioningStateDeleting'
	ProvisioningState CertificateResourceProvisioningState `json:"provisioningState,omitempty"`
	// Type - Possible values include: 'TypeBasicCertificatePropertiesTypeCertificateProperties', 'TypeBasicCertificatePropertiesTypeKeyVaultCertificate', 'TypeBasicCertificatePropertiesTypeContentCertificate'
	Type TypeBasicCertificateProperties `json:"type,omitempty"`
}

KeyVaultCertificateProperties properties of certificate imported from key vault.

func (KeyVaultCertificateProperties) AsBasicCertificateProperties

func (kvcp KeyVaultCertificateProperties) AsBasicCertificateProperties() (BasicCertificateProperties, bool)

AsBasicCertificateProperties is the BasicCertificateProperties implementation for KeyVaultCertificateProperties.

func (KeyVaultCertificateProperties) AsCertificateProperties

func (kvcp KeyVaultCertificateProperties) AsCertificateProperties() (*CertificateProperties, bool)

AsCertificateProperties is the BasicCertificateProperties implementation for KeyVaultCertificateProperties.

func (KeyVaultCertificateProperties) AsContentCertificateProperties

func (kvcp KeyVaultCertificateProperties) AsContentCertificateProperties() (*ContentCertificateProperties, bool)

AsContentCertificateProperties is the BasicCertificateProperties implementation for KeyVaultCertificateProperties.

func (KeyVaultCertificateProperties) AsKeyVaultCertificateProperties

func (kvcp KeyVaultCertificateProperties) AsKeyVaultCertificateProperties() (*KeyVaultCertificateProperties, bool)

AsKeyVaultCertificateProperties is the BasicCertificateProperties implementation for KeyVaultCertificateProperties.

func (KeyVaultCertificateProperties) MarshalJSON

func (kvcp KeyVaultCertificateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyVaultCertificateProperties.

type LastModifiedByType

type LastModifiedByType string

LastModifiedByType enumerates the values for last modified by type.

const (
	// LastModifiedByTypeApplication ...
	LastModifiedByTypeApplication LastModifiedByType = "Application"
	// LastModifiedByTypeKey ...
	LastModifiedByTypeKey LastModifiedByType = "Key"
	// LastModifiedByTypeManagedIdentity ...
	LastModifiedByTypeManagedIdentity LastModifiedByType = "ManagedIdentity"
	// LastModifiedByTypeUser ...
	LastModifiedByTypeUser LastModifiedByType = "User"
)

func PossibleLastModifiedByTypeValues

func PossibleLastModifiedByTypeValues() []LastModifiedByType

PossibleLastModifiedByTypeValues returns an array of possible values for the LastModifiedByType const type.

type LoadedCertificate

type LoadedCertificate struct {
	// ResourceID - Resource Id of loaded certificate
	ResourceID *string `json:"resourceId,omitempty"`
	// LoadTrustStore - Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.
	LoadTrustStore *bool `json:"loadTrustStore,omitempty"`
}

LoadedCertificate loaded certificate payload

type LogFileURLResponse

type LogFileURLResponse struct {
	autorest.Response `json:"-"`
	// URL - URL of the log file
	URL *string `json:"url,omitempty"`
}

LogFileURLResponse log file URL payload

type LogSpecification

type LogSpecification struct {
	// Name - Name of the log
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the log
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Blob duration of the log
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification specifications of the Log for Azure Monitoring

type ManagedIdentityProperties

type ManagedIdentityProperties struct {
	// Type - Type of the managed identity. Possible values include: 'ManagedIdentityTypeNone', 'ManagedIdentityTypeSystemAssigned', 'ManagedIdentityTypeUserAssigned', 'ManagedIdentityTypeSystemAssignedUserAssigned'
	Type ManagedIdentityType `json:"type,omitempty"`
	// PrincipalID - Principal Id of system-assigned managed identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - Tenant Id of system-assigned managed identity.
	TenantID *string `json:"tenantId,omitempty"`
	// UserAssignedIdentities - Properties of user-assigned managed identities
	UserAssignedIdentities map[string]*UserAssignedManagedIdentity `json:"userAssignedIdentities"`
}

ManagedIdentityProperties managed identity properties retrieved from ARM request headers.

func (ManagedIdentityProperties) MarshalJSON

func (mip ManagedIdentityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedIdentityProperties.

type ManagedIdentityType

type ManagedIdentityType string

ManagedIdentityType enumerates the values for managed identity type.

const (
	// ManagedIdentityTypeNone ...
	ManagedIdentityTypeNone ManagedIdentityType = "None"
	// ManagedIdentityTypeSystemAssigned ...
	ManagedIdentityTypeSystemAssigned ManagedIdentityType = "SystemAssigned"
	// ManagedIdentityTypeSystemAssignedUserAssigned ...
	ManagedIdentityTypeSystemAssignedUserAssigned ManagedIdentityType = "SystemAssigned,UserAssigned"
	// ManagedIdentityTypeUserAssigned ...
	ManagedIdentityTypeUserAssigned ManagedIdentityType = "UserAssigned"
)

func PossibleManagedIdentityTypeValues

func PossibleManagedIdentityTypeValues() []ManagedIdentityType

PossibleManagedIdentityTypeValues returns an array of possible values for the ManagedIdentityType const type.

type MarketplaceResource

type MarketplaceResource struct {
	// Plan - The plan id of the 3rd Party Artifact that is being procured.
	Plan *string `json:"plan,omitempty"`
	// Publisher - The publisher id of the 3rd Party Artifact that is being bought.
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured.
	Product *string `json:"product,omitempty"`
}

MarketplaceResource purchasing 3rd Party product for one Azure Spring Apps instance

type MetricDimension

type MetricDimension struct {
	// Name - Name of the dimension
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the dimension
	DisplayName *string `json:"displayName,omitempty"`
	// ToBeExportedForShoebox - Whether this dimension should be included for the Shoebox export scenario
	ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
}

MetricDimension specifications of the Dimension of metrics

type MetricSpecification

type MetricSpecification struct {
	// Name - Name of the metric
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the metric
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - Localized friendly description of the metric
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - Unit that makes sense for the metric
	Unit *string `json:"unit,omitempty"`
	// Category - Name of the metric category that the metric belongs to. A metric can only belong to a single category.
	Category *string `json:"category,omitempty"`
	// AggregationType - Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
	AggregationType *string `json:"aggregationType,omitempty"`
	// SupportedAggregationTypes - Supported aggregation types
	SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"`
	// SupportedTimeGrainTypes - Supported time grain types
	SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"`
	// FillGapWithZero - Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
	FillGapWithZero *bool `json:"fillGapWithZero,omitempty"`
	// Dimensions - Dimensions of the metric
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
	// SourceMdmNamespace - Name of the MDM namespace. Optional.
	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
}

MetricSpecification specifications of the Metrics for Azure Monitoring

type MonitoringSettingProperties

type MonitoringSettingProperties struct {
	// ProvisioningState - READ-ONLY; State of the Monitoring Setting. Possible values include: 'MonitoringSettingStateNotAvailable', 'MonitoringSettingStateFailed', 'MonitoringSettingStateSucceeded', 'MonitoringSettingStateUpdating'
	ProvisioningState MonitoringSettingState `json:"provisioningState,omitempty"`
	// Error - Error when apply Monitoring Setting changes.
	Error *Error `json:"error,omitempty"`
	// TraceEnabled - Indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not
	TraceEnabled *bool `json:"traceEnabled,omitempty"`
	// AppInsightsInstrumentationKey - Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings
	AppInsightsInstrumentationKey *string `json:"appInsightsInstrumentationKey,omitempty"`
	// AppInsightsSamplingRate - Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0]
	AppInsightsSamplingRate *float64 `json:"appInsightsSamplingRate,omitempty"`
	// AppInsightsAgentVersions - Indicates the versions of application insight agent
	AppInsightsAgentVersions *ApplicationInsightsAgentVersions `json:"appInsightsAgentVersions,omitempty"`
}

MonitoringSettingProperties monitoring Setting properties payload

func (MonitoringSettingProperties) MarshalJSON

func (msp MonitoringSettingProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitoringSettingProperties.

type MonitoringSettingResource

type MonitoringSettingResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Monitoring Setting resource
	Properties *MonitoringSettingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

MonitoringSettingResource monitoring Setting resource

func (MonitoringSettingResource) MarshalJSON

func (msr MonitoringSettingResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitoringSettingResource.

type MonitoringSettingState

type MonitoringSettingState string

MonitoringSettingState enumerates the values for monitoring setting state.

const (
	// MonitoringSettingStateFailed ...
	MonitoringSettingStateFailed MonitoringSettingState = "Failed"
	// MonitoringSettingStateNotAvailable ...
	MonitoringSettingStateNotAvailable MonitoringSettingState = "NotAvailable"
	// MonitoringSettingStateSucceeded ...
	MonitoringSettingStateSucceeded MonitoringSettingState = "Succeeded"
	// MonitoringSettingStateUpdating ...
	MonitoringSettingStateUpdating MonitoringSettingState = "Updating"
)

func PossibleMonitoringSettingStateValues

func PossibleMonitoringSettingStateValues() []MonitoringSettingState

PossibleMonitoringSettingStateValues returns an array of possible values for the MonitoringSettingState const type.

type MonitoringSettingsClient

type MonitoringSettingsClient struct {
	BaseClient
}

MonitoringSettingsClient is the REST API for Azure Spring Apps

func NewMonitoringSettingsClient

func NewMonitoringSettingsClient(subscriptionID string) MonitoringSettingsClient

NewMonitoringSettingsClient creates an instance of the MonitoringSettingsClient client.

func NewMonitoringSettingsClientWithBaseURI

func NewMonitoringSettingsClientWithBaseURI(baseURI string, subscriptionID string) MonitoringSettingsClient

NewMonitoringSettingsClientWithBaseURI creates an instance of the MonitoringSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MonitoringSettingsClient) Get

func (client MonitoringSettingsClient) Get(ctx context.Context, resourceGroupName string, serviceName string) (result MonitoringSettingResource, err error)

Get get the Monitoring Setting and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (MonitoringSettingsClient) GetPreparer

func (client MonitoringSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MonitoringSettingsClient) GetResponder

func (client MonitoringSettingsClient) GetResponder(resp *http.Response) (result MonitoringSettingResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MonitoringSettingsClient) GetSender

func (client MonitoringSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MonitoringSettingsClient) UpdatePatch

func (client MonitoringSettingsClient) UpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (result MonitoringSettingsUpdatePatchFuture, err error)

UpdatePatch update the Monitoring Setting. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. monitoringSettingResource - parameters for the update operation

func (MonitoringSettingsClient) UpdatePatchPreparer

func (client MonitoringSettingsClient) UpdatePatchPreparer(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (*http.Request, error)

UpdatePatchPreparer prepares the UpdatePatch request.

func (MonitoringSettingsClient) UpdatePatchResponder

func (client MonitoringSettingsClient) UpdatePatchResponder(resp *http.Response) (result MonitoringSettingResource, err error)

UpdatePatchResponder handles the response to the UpdatePatch request. The method always closes the http.Response Body.

func (MonitoringSettingsClient) UpdatePatchSender

func (client MonitoringSettingsClient) UpdatePatchSender(req *http.Request) (future MonitoringSettingsUpdatePatchFuture, err error)

UpdatePatchSender sends the UpdatePatch request. The method will close the http.Response Body if it receives an error.

func (MonitoringSettingsClient) UpdatePut

func (client MonitoringSettingsClient) UpdatePut(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (result MonitoringSettingsUpdatePutFuture, err error)

UpdatePut update the Monitoring Setting. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. monitoringSettingResource - parameters for the update operation

func (MonitoringSettingsClient) UpdatePutPreparer

func (client MonitoringSettingsClient) UpdatePutPreparer(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (*http.Request, error)

UpdatePutPreparer prepares the UpdatePut request.

func (MonitoringSettingsClient) UpdatePutResponder

func (client MonitoringSettingsClient) UpdatePutResponder(resp *http.Response) (result MonitoringSettingResource, err error)

UpdatePutResponder handles the response to the UpdatePut request. The method always closes the http.Response Body.

func (MonitoringSettingsClient) UpdatePutSender

func (client MonitoringSettingsClient) UpdatePutSender(req *http.Request) (future MonitoringSettingsUpdatePutFuture, err error)

UpdatePutSender sends the UpdatePut request. The method will close the http.Response Body if it receives an error.

type MonitoringSettingsUpdatePatchFuture

type MonitoringSettingsUpdatePatchFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(MonitoringSettingsClient) (MonitoringSettingResource, error)
}

MonitoringSettingsUpdatePatchFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MonitoringSettingsUpdatePatchFuture) UnmarshalJSON

func (future *MonitoringSettingsUpdatePatchFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MonitoringSettingsUpdatePutFuture

type MonitoringSettingsUpdatePutFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(MonitoringSettingsClient) (MonitoringSettingResource, error)
}

MonitoringSettingsUpdatePutFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MonitoringSettingsUpdatePutFuture) UnmarshalJSON

func (future *MonitoringSettingsUpdatePutFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type NameAvailability

type NameAvailability struct {
	autorest.Response `json:"-"`
	// NameAvailable - Indicates whether the name is available
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - Reason why the name is not available
	Reason *string `json:"reason,omitempty"`
	// Message - Message why the name is not available
	Message *string `json:"message,omitempty"`
}

NameAvailability name availability result payload

type NameAvailabilityParameters

type NameAvailabilityParameters struct {
	// Type - Type of the resource to check name availability
	Type *string `json:"type,omitempty"`
	// Name - Name to be checked
	Name *string `json:"name,omitempty"`
}

NameAvailabilityParameters name availability parameters payload

type NetCoreZipUploadedUserSourceInfo

type NetCoreZipUploadedUserSourceInfo struct {
	// NetCoreMainEntryPath - The path to the .NET executable relative to zip root
	NetCoreMainEntryPath *string `json:"netCoreMainEntryPath,omitempty"`
	// RuntimeVersion - Runtime version of the .Net file
	RuntimeVersion *string `json:"runtimeVersion,omitempty"`
	// RelativePath - Relative path of the storage which stores the source
	RelativePath *string `json:"relativePath,omitempty"`
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

NetCoreZipUploadedUserSourceInfo uploaded Jar binary for a deployment

func (NetCoreZipUploadedUserSourceInfo) AsBasicUploadedUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsBasicUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsBuildResultUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsCustomContainerUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsJarUploadedUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsSourceUploadedUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsUploadedUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) AsUserSourceInfo

func (nczuusi NetCoreZipUploadedUserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for NetCoreZipUploadedUserSourceInfo.

func (NetCoreZipUploadedUserSourceInfo) MarshalJSON

func (nczuusi NetCoreZipUploadedUserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetCoreZipUploadedUserSourceInfo.

type NetworkProfile

type NetworkProfile struct {
	// ServiceRuntimeSubnetID - Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime
	ServiceRuntimeSubnetID *string `json:"serviceRuntimeSubnetId,omitempty"`
	// AppSubnetID - Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps
	AppSubnetID *string `json:"appSubnetId,omitempty"`
	// ServiceCidr - Azure Spring Apps service reserved CIDR
	ServiceCidr *string `json:"serviceCidr,omitempty"`
	// ServiceRuntimeNetworkResourceGroup - Name of the resource group containing network resources of Azure Spring Apps Service Runtime
	ServiceRuntimeNetworkResourceGroup *string `json:"serviceRuntimeNetworkResourceGroup,omitempty"`
	// AppNetworkResourceGroup - Name of the resource group containing network resources for customer apps in Azure Spring Apps
	AppNetworkResourceGroup *string `json:"appNetworkResourceGroup,omitempty"`
	// OutboundIPs - READ-ONLY; Desired outbound IP resources for Azure Spring Apps resource.
	OutboundIPs *NetworkProfileOutboundIPs `json:"outboundIPs,omitempty"`
	// RequiredTraffics - READ-ONLY; Required inbound or outbound traffics for Azure Spring Apps resource.
	RequiredTraffics *[]RequiredTraffic `json:"requiredTraffics,omitempty"`
	// IngressConfig - Ingress configuration payload for Azure Spring Apps resource.
	IngressConfig *IngressConfig `json:"ingressConfig,omitempty"`
}

NetworkProfile service network profile payload

func (NetworkProfile) MarshalJSON

func (np NetworkProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkProfile.

type NetworkProfileOutboundIPs

type NetworkProfileOutboundIPs struct {
	// PublicIPs - READ-ONLY; A list of public IP addresses.
	PublicIPs *[]string `json:"publicIPs,omitempty"`
}

NetworkProfileOutboundIPs desired outbound IP resources for Azure Spring Apps resource.

func (NetworkProfileOutboundIPs) MarshalJSON

func (npP NetworkProfileOutboundIPs) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkProfileOutboundIPs.

type OperationDetail

type OperationDetail struct {
	// Name - Name of the operation
	Name *string `json:"name,omitempty"`
	// IsDataAction - Indicates whether the operation is a data action
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Display - Display of the operation
	Display *OperationDisplay `json:"display,omitempty"`
	// ActionType - READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Possible values include: 'ActionTypeInternal'
	ActionType ActionType `json:"actionType,omitempty"`
	// Origin - Origin of the operation
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties of the operation
	Properties *OperationProperties `json:"properties,omitempty"`
}

OperationDetail operation detail payload

func (OperationDetail) MarshalJSON

func (od OperationDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDetail.

type OperationDisplay

type OperationDisplay struct {
	// Provider - Resource provider of the operation
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource of the operation
	Resource *string `json:"resource,omitempty"`
	// Operation - Localized friendly name for the operation
	Operation *string `json:"operation,omitempty"`
	// Description - Localized friendly description for the operation
	Description *string `json:"description,omitempty"`
}

OperationDisplay operation display payload

type OperationProperties

type OperationProperties struct {
	// ServiceSpecification - Service specifications of the operation
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties extra Operation properties

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the REST API for Azure Spring Apps

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result AvailableOperationsPage, err error)

List lists all of the available REST API operations of the Microsoft.AppPlatform provider.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result AvailableOperationsIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result AvailableOperations, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PersistentDisk

type PersistentDisk struct {
	// SizeInGB - Size of the persistent disk in GB
	SizeInGB *int32 `json:"sizeInGB,omitempty"`
	// UsedInGB - READ-ONLY; Size of the used persistent disk in GB
	UsedInGB *int32 `json:"usedInGB,omitempty"`
	// MountPath - Mount path of the persistent disk
	MountPath *string `json:"mountPath,omitempty"`
}

PersistentDisk persistent disk payload

func (PersistentDisk) MarshalJSON

func (pd PersistentDisk) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PersistentDisk.

type PowerState

type PowerState string

PowerState enumerates the values for power state.

const (
	// PowerStateRunning ...
	PowerStateRunning PowerState = "Running"
	// PowerStateStopped ...
	PowerStateStopped PowerState = "Stopped"
)

func PossiblePowerStateValues

func PossiblePowerStateValues() []PowerState

PossiblePowerStateValues returns an array of possible values for the PowerState const type.

type Probe

type Probe struct {
	// ProbeAction - The action of the probe.
	ProbeAction BasicProbeAction `json:"probeAction,omitempty"`
	// DisableProbe - Indicate whether the probe is disabled.
	DisableProbe *bool `json:"disableProbe,omitempty"`
	// InitialDelaySeconds - Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
	// PeriodSeconds - How often (in seconds) to perform the probe. Minimum value is 1.
	PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
	// TimeoutSeconds - Number of seconds after which the probe times out. Minimum value is 1.
	TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
	// FailureThreshold - Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1.
	FailureThreshold *int32 `json:"failureThreshold,omitempty"`
	// SuccessThreshold - Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 for liveness and startup. Minimum value is 1.
	SuccessThreshold *int32 `json:"successThreshold,omitempty"`
}

Probe probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic.

func (*Probe) UnmarshalJSON

func (p *Probe) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Probe struct.

type ProbeAction

type ProbeAction struct {
	// Type - Possible values include: 'TypeBasicProbeActionTypeProbeAction', 'TypeBasicProbeActionTypeHTTPGetAction', 'TypeBasicProbeActionTypeExecAction', 'TypeBasicProbeActionTypeTCPSocketAction'
	Type TypeBasicProbeAction `json:"type,omitempty"`
}

ProbeAction the action of the probe.

func (ProbeAction) AsBasicProbeAction

func (pa ProbeAction) AsBasicProbeAction() (BasicProbeAction, bool)

AsBasicProbeAction is the BasicProbeAction implementation for ProbeAction.

func (ProbeAction) AsExecAction

func (pa ProbeAction) AsExecAction() (*ExecAction, bool)

AsExecAction is the BasicProbeAction implementation for ProbeAction.

func (ProbeAction) AsHTTPGetAction

func (pa ProbeAction) AsHTTPGetAction() (*HTTPGetAction, bool)

AsHTTPGetAction is the BasicProbeAction implementation for ProbeAction.

func (ProbeAction) AsProbeAction

func (pa ProbeAction) AsProbeAction() (*ProbeAction, bool)

AsProbeAction is the BasicProbeAction implementation for ProbeAction.

func (ProbeAction) AsTCPSocketAction

func (pa ProbeAction) AsTCPSocketAction() (*TCPSocketAction, bool)

AsTCPSocketAction is the BasicProbeAction implementation for ProbeAction.

func (ProbeAction) MarshalJSON

func (pa ProbeAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProbeAction.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateCreating ...
	ProvisioningStateCreating ProvisioningState = "Creating"
	// ProvisioningStateDeleted ...
	ProvisioningStateDeleted ProvisioningState = "Deleted"
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateMoved ...
	ProvisioningStateMoved ProvisioningState = "Moved"
	// ProvisioningStateMoveFailed ...
	ProvisioningStateMoveFailed ProvisioningState = "MoveFailed"
	// ProvisioningStateMoving ...
	ProvisioningStateMoving ProvisioningState = "Moving"
	// ProvisioningStateStarting ...
	ProvisioningStateStarting ProvisioningState = "Starting"
	// ProvisioningStateStopping ...
	ProvisioningStateStopping ProvisioningState = "Stopping"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating ...
	ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags.

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type RegenerateTestKeyRequestPayload

type RegenerateTestKeyRequestPayload struct {
	// KeyType - Type of the test key. Possible values include: 'TestKeyTypePrimary', 'TestKeyTypeSecondary'
	KeyType TestKeyType `json:"keyType,omitempty"`
}

RegenerateTestKeyRequestPayload regenerate test key request payload

type RequiredTraffic

type RequiredTraffic struct {
	// Protocol - READ-ONLY; The protocol of required traffic
	Protocol *string `json:"protocol,omitempty"`
	// Port - READ-ONLY; The port of required traffic
	Port *int32 `json:"port,omitempty"`
	// Ips - READ-ONLY; The ip list of required traffic
	Ips *[]string `json:"ips,omitempty"`
	// Fqdns - READ-ONLY; The FQDN list of required traffic
	Fqdns *[]string `json:"fqdns,omitempty"`
	// Direction - READ-ONLY; The direction of required traffic. Possible values include: 'TrafficDirectionInbound', 'TrafficDirectionOutbound'
	Direction TrafficDirection `json:"direction,omitempty"`
}

RequiredTraffic required inbound or outbound traffic for Azure Spring Apps resource.

func (RequiredTraffic) MarshalJSON

func (rt RequiredTraffic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RequiredTraffic.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

Resource the core properties of ARM resources.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceRequests

type ResourceRequests struct {
	// CPU - Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier.
	CPU *string `json:"cpu,omitempty"`
	// Memory - Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier.
	Memory *string `json:"memory,omitempty"`
}

ResourceRequests deployment resource request payload

type ResourceSku

type ResourceSku struct {
	// ResourceType - Gets the type of resource the SKU applies to.
	ResourceType *string `json:"resourceType,omitempty"`
	// Name - Gets the name of SKU.
	Name *string `json:"name,omitempty"`
	// Tier - Gets the tier of SKU.
	Tier *string `json:"tier,omitempty"`
	// Capacity - Gets the capacity of SKU.
	Capacity *SkuCapacity `json:"capacity,omitempty"`
	// Locations - Gets the set of locations that the SKU is available.
	Locations *[]string `json:"locations,omitempty"`
	// LocationInfo - Gets a list of locations and availability zones in those locations where the SKU is available.
	LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"`
	// Restrictions - Gets the restrictions because of which SKU cannot be used. This is
	// empty if there are no restrictions.
	Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
}

ResourceSku describes an available Azure Spring Apps SKU.

type ResourceSkuCapabilities

type ResourceSkuCapabilities struct {
	// Name - Gets an invariant to describe the feature.
	Name *string `json:"name,omitempty"`
	// Value - Gets an invariant if the feature is measured by quantity.
	Value *string `json:"value,omitempty"`
}

ResourceSkuCapabilities ...

type ResourceSkuCollection

type ResourceSkuCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of resource SKU
	Value *[]ResourceSku `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

ResourceSkuCollection object that includes an array of Azure Spring Apps SKU and a possible link for next set

func (ResourceSkuCollection) IsEmpty

func (rsc ResourceSkuCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourceSkuCollectionIterator

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

ResourceSkuCollectionIterator provides access to a complete listing of ResourceSku values.

func NewResourceSkuCollectionIterator

func NewResourceSkuCollectionIterator(page ResourceSkuCollectionPage) ResourceSkuCollectionIterator

Creates a new instance of the ResourceSkuCollectionIterator type.

func (*ResourceSkuCollectionIterator) Next

func (iter *ResourceSkuCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceSkuCollectionIterator) NextWithContext

func (iter *ResourceSkuCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceSkuCollectionIterator) NotDone

func (iter ResourceSkuCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceSkuCollectionIterator) Response

Response returns the raw server response from the last page request.

func (ResourceSkuCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceSkuCollectionPage

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

ResourceSkuCollectionPage contains a page of ResourceSku values.

func NewResourceSkuCollectionPage

Creates a new instance of the ResourceSkuCollectionPage type.

func (*ResourceSkuCollectionPage) Next

func (page *ResourceSkuCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceSkuCollectionPage) NextWithContext

func (page *ResourceSkuCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceSkuCollectionPage) NotDone

func (page ResourceSkuCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceSkuCollectionPage) Response

Response returns the raw server response from the last page request.

func (ResourceSkuCollectionPage) Values

func (page ResourceSkuCollectionPage) Values() []ResourceSku

Values returns the slice of values for the current page or nil if there are no values.

type ResourceSkuLocationInfo

type ResourceSkuLocationInfo struct {
	// Location - Gets location of the SKU
	Location *string `json:"location,omitempty"`
	// Zones - Gets list of availability zones where the SKU is supported.
	Zones *[]string `json:"zones,omitempty"`
	// ZoneDetails - Gets details of capabilities available to a SKU in specific zones.
	ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"`
}

ResourceSkuLocationInfo locations and availability zones where the SKU is available

type ResourceSkuRestrictionInfo

type ResourceSkuRestrictionInfo struct {
	// Locations - Gets locations where the SKU is restricted
	Locations *[]string `json:"locations,omitempty"`
	// Zones - Gets list of availability zones where the SKU is restricted.
	Zones *[]string `json:"zones,omitempty"`
}

ResourceSkuRestrictionInfo information about the restriction where the SKU cannot be used

type ResourceSkuRestrictions

type ResourceSkuRestrictions struct {
	// Type - Gets the type of restrictions. Possible values include: 'Location', 'Zone'. Possible values include: 'ResourceSkuRestrictionsTypeLocation', 'ResourceSkuRestrictionsTypeZone'
	Type ResourceSkuRestrictionsType `json:"type,omitempty"`
	// Values - Gets the value of restrictions. If the restriction type is set to
	// location. This would be different locations where the SKU is restricted.
	Values *[]string `json:"values,omitempty"`
	// RestrictionInfo - Gets the information about the restriction where the SKU cannot be used.
	RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"`
	// ReasonCode - Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'. Possible values include: 'ResourceSkuRestrictionsReasonCodeQuotaID', 'ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription'
	ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
}

ResourceSkuRestrictions restrictions where the SKU cannot be used

type ResourceSkuRestrictionsReasonCode

type ResourceSkuRestrictionsReasonCode string

ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.

const (
	// ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ...
	ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
	// ResourceSkuRestrictionsReasonCodeQuotaID ...
	ResourceSkuRestrictionsReasonCodeQuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
)

func PossibleResourceSkuRestrictionsReasonCodeValues

func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode

PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.

type ResourceSkuRestrictionsType

type ResourceSkuRestrictionsType string

ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.

const (
	// ResourceSkuRestrictionsTypeLocation ...
	ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "Location"
	// ResourceSkuRestrictionsTypeZone ...
	ResourceSkuRestrictionsTypeZone ResourceSkuRestrictionsType = "Zone"
)

func PossibleResourceSkuRestrictionsTypeValues

func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType

PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.

type ResourceSkuZoneDetails

type ResourceSkuZoneDetails struct {
	// Name - Gets the set of zones that the SKU is available in with the
	// specified capabilities.
	Name *[]string `json:"name,omitempty"`
	// Capabilities - Gets a list of capabilities that are available for the SKU in the
	// specified list of zones.
	Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
}

ResourceSkuZoneDetails details of capabilities available to a SKU in specific zones

type ResourceUploadDefinition

type ResourceUploadDefinition struct {
	autorest.Response `json:"-"`
	// RelativePath - Source relative path
	RelativePath *string `json:"relativePath,omitempty"`
	// UploadURL - Upload URL
	UploadURL *string `json:"uploadUrl,omitempty"`
}

ResourceUploadDefinition resource upload definition payload

type RuntimeVersionsClient

type RuntimeVersionsClient struct {
	BaseClient
}

RuntimeVersionsClient is the REST API for Azure Spring Apps

func NewRuntimeVersionsClient

func NewRuntimeVersionsClient(subscriptionID string) RuntimeVersionsClient

NewRuntimeVersionsClient creates an instance of the RuntimeVersionsClient client.

func NewRuntimeVersionsClientWithBaseURI

func NewRuntimeVersionsClientWithBaseURI(baseURI string, subscriptionID string) RuntimeVersionsClient

NewRuntimeVersionsClientWithBaseURI creates an instance of the RuntimeVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RuntimeVersionsClient) ListRuntimeVersions

func (client RuntimeVersionsClient) ListRuntimeVersions(ctx context.Context) (result AvailableRuntimeVersions, err error)

ListRuntimeVersions lists all of the available runtime versions supported by Microsoft.AppPlatform provider.

func (RuntimeVersionsClient) ListRuntimeVersionsPreparer

func (client RuntimeVersionsClient) ListRuntimeVersionsPreparer(ctx context.Context) (*http.Request, error)

ListRuntimeVersionsPreparer prepares the ListRuntimeVersions request.

func (RuntimeVersionsClient) ListRuntimeVersionsResponder

func (client RuntimeVersionsClient) ListRuntimeVersionsResponder(resp *http.Response) (result AvailableRuntimeVersions, err error)

ListRuntimeVersionsResponder handles the response to the ListRuntimeVersions request. The method always closes the http.Response Body.

func (RuntimeVersionsClient) ListRuntimeVersionsSender

func (client RuntimeVersionsClient) ListRuntimeVersionsSender(req *http.Request) (*http.Response, error)

ListRuntimeVersionsSender sends the ListRuntimeVersions request. The method will close the http.Response Body if it receives an error.

type ServiceRegistriesClient

type ServiceRegistriesClient struct {
	BaseClient
}

ServiceRegistriesClient is the REST API for Azure Spring Apps

func NewServiceRegistriesClient

func NewServiceRegistriesClient(subscriptionID string) ServiceRegistriesClient

NewServiceRegistriesClient creates an instance of the ServiceRegistriesClient client.

func NewServiceRegistriesClientWithBaseURI

func NewServiceRegistriesClientWithBaseURI(baseURI string, subscriptionID string) ServiceRegistriesClient

NewServiceRegistriesClientWithBaseURI creates an instance of the ServiceRegistriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceRegistriesClient) CreateOrUpdate

func (client ServiceRegistriesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string) (result ServiceRegistriesCreateOrUpdateFuture, err error)

CreateOrUpdate create the default Service Registry or update the existing Service Registry. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. serviceRegistryName - the name of Service Registry.

func (ServiceRegistriesClient) CreateOrUpdatePreparer

func (client ServiceRegistriesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServiceRegistriesClient) CreateOrUpdateResponder

func (client ServiceRegistriesClient) CreateOrUpdateResponder(resp *http.Response) (result ServiceRegistryResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ServiceRegistriesClient) CreateOrUpdateSender

func (client ServiceRegistriesClient) CreateOrUpdateSender(req *http.Request) (future ServiceRegistriesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ServiceRegistriesClient) Delete

func (client ServiceRegistriesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string) (result ServiceRegistriesDeleteFuture, err error)

Delete disable the default Service Registry. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. serviceRegistryName - the name of Service Registry.

func (ServiceRegistriesClient) DeletePreparer

func (client ServiceRegistriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServiceRegistriesClient) DeleteResponder

func (client ServiceRegistriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ServiceRegistriesClient) DeleteSender

func (client ServiceRegistriesClient) DeleteSender(req *http.Request) (future ServiceRegistriesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ServiceRegistriesClient) Get

func (client ServiceRegistriesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string) (result ServiceRegistryResource, err error)

Get get the Service Registry and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. serviceRegistryName - the name of Service Registry.

func (ServiceRegistriesClient) GetPreparer

func (client ServiceRegistriesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceRegistriesClient) GetResponder

func (client ServiceRegistriesClient) GetResponder(resp *http.Response) (result ServiceRegistryResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceRegistriesClient) GetSender

func (client ServiceRegistriesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServiceRegistriesClient) List

func (client ServiceRegistriesClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result ServiceRegistryResourceCollectionPage, err error)

List handles requests to list all resources in a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServiceRegistriesClient) ListComplete

func (client ServiceRegistriesClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result ServiceRegistryResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ServiceRegistriesClient) ListPreparer

func (client ServiceRegistriesClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServiceRegistriesClient) ListResponder

func (client ServiceRegistriesClient) ListResponder(resp *http.Response) (result ServiceRegistryResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ServiceRegistriesClient) ListSender

func (client ServiceRegistriesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ServiceRegistriesCreateOrUpdateFuture

type ServiceRegistriesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServiceRegistriesClient) (ServiceRegistryResource, error)
}

ServiceRegistriesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceRegistriesCreateOrUpdateFuture) UnmarshalJSON

func (future *ServiceRegistriesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServiceRegistriesDeleteFuture

type ServiceRegistriesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServiceRegistriesClient) (autorest.Response, error)
}

ServiceRegistriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceRegistriesDeleteFuture) UnmarshalJSON

func (future *ServiceRegistriesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServiceRegistryInstance

type ServiceRegistryInstance struct {
	// Name - READ-ONLY; Name of the Service Registry instance
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the Service Registry instance
	Status *string `json:"status,omitempty"`
}

ServiceRegistryInstance collection of instances belong to the Service Registry

func (ServiceRegistryInstance) MarshalJSON

func (sri ServiceRegistryInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceRegistryInstance.

type ServiceRegistryProperties

type ServiceRegistryProperties struct {
	// ProvisioningState - READ-ONLY; State of the Service Registry. Possible values include: 'ServiceRegistryProvisioningStateCreating', 'ServiceRegistryProvisioningStateUpdating', 'ServiceRegistryProvisioningStateSucceeded', 'ServiceRegistryProvisioningStateFailed', 'ServiceRegistryProvisioningStateDeleting'
	ProvisioningState ServiceRegistryProvisioningState `json:"provisioningState,omitempty"`
	// ResourceRequests - The requested resource quantity for required CPU and Memory.
	ResourceRequests *ServiceRegistryResourceRequests `json:"resourceRequests,omitempty"`
	// Instances - READ-ONLY; Collection of instances belong to Service Registry.
	Instances *[]ServiceRegistryInstance `json:"instances,omitempty"`
}

ServiceRegistryProperties service Registry properties payload

func (ServiceRegistryProperties) MarshalJSON

func (srp ServiceRegistryProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceRegistryProperties.

type ServiceRegistryProvisioningState

type ServiceRegistryProvisioningState string

ServiceRegistryProvisioningState enumerates the values for service registry provisioning state.

const (
	// ServiceRegistryProvisioningStateCreating ...
	ServiceRegistryProvisioningStateCreating ServiceRegistryProvisioningState = "Creating"
	// ServiceRegistryProvisioningStateDeleting ...
	ServiceRegistryProvisioningStateDeleting ServiceRegistryProvisioningState = "Deleting"
	// ServiceRegistryProvisioningStateFailed ...
	ServiceRegistryProvisioningStateFailed ServiceRegistryProvisioningState = "Failed"
	// ServiceRegistryProvisioningStateSucceeded ...
	ServiceRegistryProvisioningStateSucceeded ServiceRegistryProvisioningState = "Succeeded"
	// ServiceRegistryProvisioningStateUpdating ...
	ServiceRegistryProvisioningStateUpdating ServiceRegistryProvisioningState = "Updating"
)

func PossibleServiceRegistryProvisioningStateValues

func PossibleServiceRegistryProvisioningStateValues() []ServiceRegistryProvisioningState

PossibleServiceRegistryProvisioningStateValues returns an array of possible values for the ServiceRegistryProvisioningState const type.

type ServiceRegistryResource

type ServiceRegistryResource struct {
	autorest.Response `json:"-"`
	Properties        *ServiceRegistryProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

ServiceRegistryResource service Registry resource

func (ServiceRegistryResource) MarshalJSON

func (srr ServiceRegistryResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceRegistryResource.

type ServiceRegistryResourceCollection

type ServiceRegistryResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of Service Registry resources
	Value *[]ServiceRegistryResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

ServiceRegistryResourceCollection object that includes an array of Service Registry resources and a possible link for next set

func (ServiceRegistryResourceCollection) IsEmpty

func (srrc ServiceRegistryResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceRegistryResourceCollectionIterator

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

ServiceRegistryResourceCollectionIterator provides access to a complete listing of ServiceRegistryResource values.

func NewServiceRegistryResourceCollectionIterator

func NewServiceRegistryResourceCollectionIterator(page ServiceRegistryResourceCollectionPage) ServiceRegistryResourceCollectionIterator

Creates a new instance of the ServiceRegistryResourceCollectionIterator type.

func (*ServiceRegistryResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceRegistryResourceCollectionIterator) NextWithContext

func (iter *ServiceRegistryResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ServiceRegistryResourceCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceRegistryResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (ServiceRegistryResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ServiceRegistryResourceCollectionPage

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

ServiceRegistryResourceCollectionPage contains a page of ServiceRegistryResource values.

func NewServiceRegistryResourceCollectionPage

Creates a new instance of the ServiceRegistryResourceCollectionPage type.

func (*ServiceRegistryResourceCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceRegistryResourceCollectionPage) NextWithContext

func (page *ServiceRegistryResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ServiceRegistryResourceCollectionPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceRegistryResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (ServiceRegistryResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ServiceRegistryResourceRequests

type ServiceRegistryResourceRequests struct {
	// CPU - READ-ONLY; Cpu allocated to each Service Registry instance
	CPU *string `json:"cpu,omitempty"`
	// Memory - READ-ONLY; Memory allocated to each Service Registry instance
	Memory *string `json:"memory,omitempty"`
	// InstanceCount - READ-ONLY; Instance count of the Service Registry
	InstanceCount *int32 `json:"instanceCount,omitempty"`
}

ServiceRegistryResourceRequests resource request payload of Service Registry

func (ServiceRegistryResourceRequests) MarshalJSON

func (srrr ServiceRegistryResourceRequests) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceRegistryResourceRequests.

type ServiceResource

type ServiceResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Service resource
	Properties *ClusterResourceProperties `json:"properties,omitempty"`
	// Sku - Sku of the Service resource
	Sku *Sku `json:"sku,omitempty"`
	// Location - The GEO location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the service which is a list of key value pairs that describe the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

ServiceResource service resource

func (ServiceResource) MarshalJSON

func (sr ServiceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceResource.

type ServiceResourceList

type ServiceResourceList struct {
	autorest.Response `json:"-"`
	// Value - Collection of Service resources
	Value *[]ServiceResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

ServiceResourceList object that includes an array of Service resources and a possible link for next set

func (ServiceResourceList) IsEmpty

func (srl ServiceResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceResourceListIterator

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

ServiceResourceListIterator provides access to a complete listing of ServiceResource values.

func NewServiceResourceListIterator

func NewServiceResourceListIterator(page ServiceResourceListPage) ServiceResourceListIterator

Creates a new instance of the ServiceResourceListIterator type.

func (*ServiceResourceListIterator) Next

func (iter *ServiceResourceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceResourceListIterator) NextWithContext

func (iter *ServiceResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ServiceResourceListIterator) NotDone

func (iter ServiceResourceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceResourceListIterator) Response

Response returns the raw server response from the last page request.

func (ServiceResourceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ServiceResourceListPage

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

ServiceResourceListPage contains a page of ServiceResource values.

func NewServiceResourceListPage

func NewServiceResourceListPage(cur ServiceResourceList, getNextPage func(context.Context, ServiceResourceList) (ServiceResourceList, error)) ServiceResourceListPage

Creates a new instance of the ServiceResourceListPage type.

func (*ServiceResourceListPage) Next

func (page *ServiceResourceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceResourceListPage) NextWithContext

func (page *ServiceResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ServiceResourceListPage) NotDone

func (page ServiceResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceResourceListPage) Response

Response returns the raw server response from the last page request.

func (ServiceResourceListPage) Values

func (page ServiceResourceListPage) Values() []ServiceResource

Values returns the slice of values for the current page or nil if there are no values.

type ServiceSpecification

type ServiceSpecification struct {
	// LogSpecifications - Specifications of the Log for Azure Monitoring
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
	// MetricSpecifications - Specifications of the Metrics for Azure Monitoring
	MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification service specification payload

type ServiceVNetAddons

type ServiceVNetAddons struct {
	// LogStreamPublicEndpoint - Indicates whether the log stream in vnet injection instance could be accessed from internet.
	LogStreamPublicEndpoint *bool `json:"logStreamPublicEndpoint,omitempty"`
}

ServiceVNetAddons additional Service settings in vnet injection instance

type ServicesClient

type ServicesClient struct {
	BaseClient
}

ServicesClient is the REST API for Azure Spring Apps

func NewServicesClient

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServicesClient) CheckNameAvailability

func (client ServicesClient) CheckNameAvailability(ctx context.Context, location string, availabilityParameters NameAvailabilityParameters) (result NameAvailability, err error)

CheckNameAvailability checks that the resource name is valid and is not already in use. Parameters: location - the region availabilityParameters - parameters supplied to the operation.

func (ServicesClient) CheckNameAvailabilityPreparer

func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, availabilityParameters NameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServicesClient) CheckNameAvailabilityResponder

func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailability, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ServicesClient) CheckNameAvailabilitySender

func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) CreateOrUpdate

func (client ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, resource ServiceResource) (result ServicesCreateOrUpdateFuture, err error)

CreateOrUpdate create a new Service or update an exiting Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. resource - parameters for the create or update operation

func (ServicesClient) CreateOrUpdatePreparer

func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, resource ServiceResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServicesClient) CreateOrUpdateResponder

func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ServiceResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ServicesClient) CreateOrUpdateSender

func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (future ServicesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Delete

func (client ServicesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string) (result ServicesDeleteFuture, err error)

Delete operation to delete a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) DeletePreparer

func (client ServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder

func (client ServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ServicesClient) DeleteSender

func (client ServicesClient) DeleteSender(req *http.Request) (future ServicesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) DisableTestEndpoint

func (client ServicesClient) DisableTestEndpoint(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error)

DisableTestEndpoint disable test endpoint functionality for a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) DisableTestEndpointPreparer

func (client ServicesClient) DisableTestEndpointPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

DisableTestEndpointPreparer prepares the DisableTestEndpoint request.

func (ServicesClient) DisableTestEndpointResponder

func (client ServicesClient) DisableTestEndpointResponder(resp *http.Response) (result autorest.Response, err error)

DisableTestEndpointResponder handles the response to the DisableTestEndpoint request. The method always closes the http.Response Body.

func (ServicesClient) DisableTestEndpointSender

func (client ServicesClient) DisableTestEndpointSender(req *http.Request) (*http.Response, error)

DisableTestEndpointSender sends the DisableTestEndpoint request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) EnableTestEndpoint

func (client ServicesClient) EnableTestEndpoint(ctx context.Context, resourceGroupName string, serviceName string) (result TestKeys, err error)

EnableTestEndpoint enable test endpoint functionality for a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) EnableTestEndpointPreparer

func (client ServicesClient) EnableTestEndpointPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

EnableTestEndpointPreparer prepares the EnableTestEndpoint request.

func (ServicesClient) EnableTestEndpointResponder

func (client ServicesClient) EnableTestEndpointResponder(resp *http.Response) (result TestKeys, err error)

EnableTestEndpointResponder handles the response to the EnableTestEndpoint request. The method always closes the http.Response Body.

func (ServicesClient) EnableTestEndpointSender

func (client ServicesClient) EnableTestEndpointSender(req *http.Request) (*http.Response, error)

EnableTestEndpointSender sends the EnableTestEndpoint request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Get

func (client ServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string) (result ServiceResource, err error)

Get get a Service and its properties. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) GetPreparer

func (client ServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder

func (client ServicesClient) GetResponder(resp *http.Response) (result ServiceResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServicesClient) GetSender

func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) List

func (client ServicesClient) List(ctx context.Context, resourceGroupName string) (result ServiceResourceListPage, err error)

List handles requests to list all resources in a resource group. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

func (ServicesClient) ListBySubscription

func (client ServicesClient) ListBySubscription(ctx context.Context) (result ServiceResourceListPage, err error)

ListBySubscription handles requests to list all resources in a subscription.

func (ServicesClient) ListBySubscriptionComplete

func (client ServicesClient) ListBySubscriptionComplete(ctx context.Context) (result ServiceResourceListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ServicesClient) ListBySubscriptionPreparer

func (client ServicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ServicesClient) ListBySubscriptionResponder

func (client ServicesClient) ListBySubscriptionResponder(resp *http.Response) (result ServiceResourceList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ServicesClient) ListBySubscriptionSender

func (client ServicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) ListComplete

func (client ServicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result ServiceResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ServicesClient) ListPreparer

func (client ServicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServicesClient) ListResponder

func (client ServicesClient) ListResponder(resp *http.Response) (result ServiceResourceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ServicesClient) ListSender

func (client ServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) ListTestKeys

func (client ServicesClient) ListTestKeys(ctx context.Context, resourceGroupName string, serviceName string) (result TestKeys, err error)

ListTestKeys list test keys for a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) ListTestKeysPreparer

func (client ServicesClient) ListTestKeysPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListTestKeysPreparer prepares the ListTestKeys request.

func (ServicesClient) ListTestKeysResponder

func (client ServicesClient) ListTestKeysResponder(resp *http.Response) (result TestKeys, err error)

ListTestKeysResponder handles the response to the ListTestKeys request. The method always closes the http.Response Body.

func (ServicesClient) ListTestKeysSender

func (client ServicesClient) ListTestKeysSender(req *http.Request) (*http.Response, error)

ListTestKeysSender sends the ListTestKeys request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) RegenerateTestKey

func (client ServicesClient) RegenerateTestKey(ctx context.Context, resourceGroupName string, serviceName string, regenerateTestKeyRequest RegenerateTestKeyRequestPayload) (result TestKeys, err error)

RegenerateTestKey regenerate a test key for a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. regenerateTestKeyRequest - parameters for the operation

func (ServicesClient) RegenerateTestKeyPreparer

func (client ServicesClient) RegenerateTestKeyPreparer(ctx context.Context, resourceGroupName string, serviceName string, regenerateTestKeyRequest RegenerateTestKeyRequestPayload) (*http.Request, error)

RegenerateTestKeyPreparer prepares the RegenerateTestKey request.

func (ServicesClient) RegenerateTestKeyResponder

func (client ServicesClient) RegenerateTestKeyResponder(resp *http.Response) (result TestKeys, err error)

RegenerateTestKeyResponder handles the response to the RegenerateTestKey request. The method always closes the http.Response Body.

func (ServicesClient) RegenerateTestKeySender

func (client ServicesClient) RegenerateTestKeySender(req *http.Request) (*http.Response, error)

RegenerateTestKeySender sends the RegenerateTestKey request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Start

func (client ServicesClient) Start(ctx context.Context, resourceGroupName string, serviceName string) (result ServicesStartFuture, err error)

Start start a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) StartPreparer

func (client ServicesClient) StartPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (ServicesClient) StartResponder

func (client ServicesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ServicesClient) StartSender

func (client ServicesClient) StartSender(req *http.Request) (future ServicesStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Stop

func (client ServicesClient) Stop(ctx context.Context, resourceGroupName string, serviceName string) (result ServicesStopFuture, err error)

Stop stop a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) StopPreparer

func (client ServicesClient) StopPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ServicesClient) StopResponder

func (client ServicesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (ServicesClient) StopSender

func (client ServicesClient) StopSender(req *http.Request) (future ServicesStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Update

func (client ServicesClient) Update(ctx context.Context, resourceGroupName string, serviceName string, resource ServiceResource) (result ServicesUpdateFuture, err error)

Update operation to update an exiting Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. resource - parameters for the update operation

func (ServicesClient) UpdatePreparer

func (client ServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, resource ServiceResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder

func (client ServicesClient) UpdateResponder(resp *http.Response) (result ServiceResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServicesClient) UpdateSender

func (client ServicesClient) UpdateSender(req *http.Request) (future ServicesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ServicesCreateOrUpdateFuture

type ServicesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServicesClient) (ServiceResource, error)
}

ServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesCreateOrUpdateFuture) UnmarshalJSON

func (future *ServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServicesDeleteFuture

type ServicesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServicesClient) (autorest.Response, error)
}

ServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesDeleteFuture) UnmarshalJSON

func (future *ServicesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServicesStartFuture

type ServicesStartFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServicesClient) (autorest.Response, error)
}

ServicesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesStartFuture) UnmarshalJSON

func (future *ServicesStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServicesStopFuture

type ServicesStopFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServicesClient) (autorest.Response, error)
}

ServicesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesStopFuture) UnmarshalJSON

func (future *ServicesStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServicesUpdateFuture

type ServicesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServicesClient) (ServiceResource, error)
}

ServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServicesUpdateFuture) UnmarshalJSON

func (future *ServicesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Sku

type Sku struct {
	// Name - Name of the Sku
	Name *string `json:"name,omitempty"`
	// Tier - Tier of the Sku
	Tier *string `json:"tier,omitempty"`
	// Capacity - Current capacity of the target resource
	Capacity *int32 `json:"capacity,omitempty"`
}

Sku sku of Azure Spring Apps

type SkuCapacity

type SkuCapacity struct {
	// Minimum - Gets or sets the minimum.
	Minimum *int32 `json:"minimum,omitempty"`
	// Maximum - Gets or sets the maximum.
	Maximum *int32 `json:"maximum,omitempty"`
	// Default - Gets or sets the default.
	Default *int32 `json:"default,omitempty"`
	// ScaleType - Gets or sets the type of the scale. Possible values include: 'SkuScaleTypeNone', 'SkuScaleTypeManual', 'SkuScaleTypeAutomatic'
	ScaleType SkuScaleType `json:"scaleType,omitempty"`
}

SkuCapacity the SKU capacity

type SkuScaleType

type SkuScaleType string

SkuScaleType enumerates the values for sku scale type.

const (
	// SkuScaleTypeAutomatic ...
	SkuScaleTypeAutomatic SkuScaleType = "Automatic"
	// SkuScaleTypeManual ...
	SkuScaleTypeManual SkuScaleType = "Manual"
	// SkuScaleTypeNone ...
	SkuScaleTypeNone SkuScaleType = "None"
)

func PossibleSkuScaleTypeValues

func PossibleSkuScaleTypeValues() []SkuScaleType

PossibleSkuScaleTypeValues returns an array of possible values for the SkuScaleType const type.

type SkusClient

type SkusClient struct {
	BaseClient
}

SkusClient is the REST API for Azure Spring Apps

func NewSkusClient

func NewSkusClient(subscriptionID string) SkusClient

NewSkusClient creates an instance of the SkusClient client.

func NewSkusClientWithBaseURI

func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient

NewSkusClientWithBaseURI creates an instance of the SkusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SkusClient) List

func (client SkusClient) List(ctx context.Context) (result ResourceSkuCollectionPage, err error)

List lists all of the available skus of the Microsoft.AppPlatform provider.

func (SkusClient) ListComplete

func (client SkusClient) ListComplete(ctx context.Context) (result ResourceSkuCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SkusClient) ListPreparer

func (client SkusClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SkusClient) ListResponder

func (client SkusClient) ListResponder(resp *http.Response) (result ResourceSkuCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SkusClient) ListSender

func (client SkusClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SourceUploadedUserSourceInfo

type SourceUploadedUserSourceInfo struct {
	// ArtifactSelector - Selector for the artifact to be used for the deployment for multi-module projects. This should be
	// the relative path to the target module/project.
	ArtifactSelector *string `json:"artifactSelector,omitempty"`
	// RuntimeVersion - Runtime version of the source file
	RuntimeVersion *string `json:"runtimeVersion,omitempty"`
	// RelativePath - Relative path of the storage which stores the source
	RelativePath *string `json:"relativePath,omitempty"`
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

SourceUploadedUserSourceInfo uploaded Java source code binary for a deployment

func (SourceUploadedUserSourceInfo) AsBasicUploadedUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsBasicUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsBuildResultUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsCustomContainerUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsJarUploadedUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsSourceUploadedUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsUploadedUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) AsUserSourceInfo

func (suusi SourceUploadedUserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for SourceUploadedUserSourceInfo.

func (SourceUploadedUserSourceInfo) MarshalJSON

func (suusi SourceUploadedUserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceUploadedUserSourceInfo.

type SsoProperties

type SsoProperties struct {
	// Scope - It defines the specific actions applications can be allowed to do on a user's behalf
	Scope *[]string `json:"scope,omitempty"`
	// ClientID - The public identifier for the application
	ClientID *string `json:"clientId,omitempty"`
	// ClientSecret - The secret known only to the application and the authorization server
	ClientSecret *string `json:"clientSecret,omitempty"`
	// IssuerURI - The URI of Issuer Identifier
	IssuerURI *string `json:"issuerUri,omitempty"`
}

SsoProperties single sign-on related configuration

type StackProperties

type StackProperties struct {
	// ID - Id of the ClusterStack.
	ID *string `json:"id,omitempty"`
	// Version - Version of the ClusterStack
	Version *string `json:"version,omitempty"`
}

StackProperties kPack ClusterStack properties payload

type StorageAccount

type StorageAccount struct {
	// AccountName - The account name of the Azure Storage Account.
	AccountName *string `json:"accountName,omitempty"`
	// AccountKey - The account key of the Azure Storage Account.
	AccountKey *string `json:"accountKey,omitempty"`
	// StorageType - Possible values include: 'StorageTypeStorageProperties', 'StorageTypeStorageAccount'
	StorageType StorageType `json:"storageType,omitempty"`
}

StorageAccount storage resource of type Azure Storage Account.

func (StorageAccount) AsBasicStorageProperties

func (sa StorageAccount) AsBasicStorageProperties() (BasicStorageProperties, bool)

AsBasicStorageProperties is the BasicStorageProperties implementation for StorageAccount.

func (StorageAccount) AsStorageAccount

func (sa StorageAccount) AsStorageAccount() (*StorageAccount, bool)

AsStorageAccount is the BasicStorageProperties implementation for StorageAccount.

func (StorageAccount) AsStorageProperties

func (sa StorageAccount) AsStorageProperties() (*StorageProperties, bool)

AsStorageProperties is the BasicStorageProperties implementation for StorageAccount.

func (StorageAccount) MarshalJSON

func (sa StorageAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageAccount.

type StorageProperties

type StorageProperties struct {
	// StorageType - Possible values include: 'StorageTypeStorageProperties', 'StorageTypeStorageAccount'
	StorageType StorageType `json:"storageType,omitempty"`
}

StorageProperties storage resource payload.

func (StorageProperties) AsBasicStorageProperties

func (sp StorageProperties) AsBasicStorageProperties() (BasicStorageProperties, bool)

AsBasicStorageProperties is the BasicStorageProperties implementation for StorageProperties.

func (StorageProperties) AsStorageAccount

func (sp StorageProperties) AsStorageAccount() (*StorageAccount, bool)

AsStorageAccount is the BasicStorageProperties implementation for StorageProperties.

func (StorageProperties) AsStorageProperties

func (sp StorageProperties) AsStorageProperties() (*StorageProperties, bool)

AsStorageProperties is the BasicStorageProperties implementation for StorageProperties.

func (StorageProperties) MarshalJSON

func (sp StorageProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageProperties.

type StorageResource

type StorageResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the storage resource payload.
	Properties BasicStorageProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

StorageResource storage resource payload.

func (StorageResource) MarshalJSON

func (sr StorageResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageResource.

func (*StorageResource) UnmarshalJSON

func (sr *StorageResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageResource struct.

type StorageResourceCollection

type StorageResourceCollection struct {
	autorest.Response `json:"-"`
	// Value - The storage resources list.
	Value *[]StorageResource `json:"value,omitempty"`
	// NextLink - The link to next page of storage list.
	NextLink *string `json:"nextLink,omitempty"`
}

StorageResourceCollection collection compose of storage resources list and a possible link for next page.

func (StorageResourceCollection) IsEmpty

func (src StorageResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StorageResourceCollectionIterator

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

StorageResourceCollectionIterator provides access to a complete listing of StorageResource values.

func NewStorageResourceCollectionIterator

func NewStorageResourceCollectionIterator(page StorageResourceCollectionPage) StorageResourceCollectionIterator

Creates a new instance of the StorageResourceCollectionIterator type.

func (*StorageResourceCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StorageResourceCollectionIterator) NextWithContext

func (iter *StorageResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StorageResourceCollectionIterator) NotDone

func (iter StorageResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StorageResourceCollectionIterator) Response

Response returns the raw server response from the last page request.

func (StorageResourceCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StorageResourceCollectionPage

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

StorageResourceCollectionPage contains a page of StorageResource values.

func NewStorageResourceCollectionPage

Creates a new instance of the StorageResourceCollectionPage type.

func (*StorageResourceCollectionPage) Next

func (page *StorageResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StorageResourceCollectionPage) NextWithContext

func (page *StorageResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StorageResourceCollectionPage) NotDone

func (page StorageResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StorageResourceCollectionPage) Response

Response returns the raw server response from the last page request.

func (StorageResourceCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type StorageType

type StorageType string

StorageType enumerates the values for storage type.

const (
	// StorageTypeStorageAccount ...
	StorageTypeStorageAccount StorageType = "StorageAccount"
	// StorageTypeStorageProperties ...
	StorageTypeStorageProperties StorageType = "StorageProperties"
)

func PossibleStorageTypeValues

func PossibleStorageTypeValues() []StorageType

PossibleStorageTypeValues returns an array of possible values for the StorageType const type.

type StoragesClient

type StoragesClient struct {
	BaseClient
}

StoragesClient is the REST API for Azure Spring Apps

func NewStoragesClient

func NewStoragesClient(subscriptionID string) StoragesClient

NewStoragesClient creates an instance of the StoragesClient client.

func NewStoragesClientWithBaseURI

func NewStoragesClientWithBaseURI(baseURI string, subscriptionID string) StoragesClient

NewStoragesClientWithBaseURI creates an instance of the StoragesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (StoragesClient) CreateOrUpdate

func (client StoragesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, storageName string, storageResource StorageResource) (result StoragesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update storage resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. storageName - the name of the storage resource. storageResource - parameters for the create or update operation

func (StoragesClient) CreateOrUpdatePreparer

func (client StoragesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, storageName string, storageResource StorageResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (StoragesClient) CreateOrUpdateResponder

func (client StoragesClient) CreateOrUpdateResponder(resp *http.Response) (result StorageResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (StoragesClient) CreateOrUpdateSender

func (client StoragesClient) CreateOrUpdateSender(req *http.Request) (future StoragesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (StoragesClient) Delete

func (client StoragesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, storageName string) (result StoragesDeleteFuture, err error)

Delete delete the storage resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. storageName - the name of the storage resource.

func (StoragesClient) DeletePreparer

func (client StoragesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string, storageName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StoragesClient) DeleteResponder

func (client StoragesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (StoragesClient) DeleteSender

func (client StoragesClient) DeleteSender(req *http.Request) (future StoragesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (StoragesClient) Get

func (client StoragesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, storageName string) (result StorageResource, err error)

Get get the storage resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. storageName - the name of the storage resource.

func (StoragesClient) GetPreparer

func (client StoragesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, storageName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StoragesClient) GetResponder

func (client StoragesClient) GetResponder(resp *http.Response) (result StorageResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (StoragesClient) GetSender

func (client StoragesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (StoragesClient) List

func (client StoragesClient) List(ctx context.Context, resourceGroupName string, serviceName string) (result StorageResourceCollectionPage, err error)

List list all the storages of one Azure Spring Apps resource. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (StoragesClient) ListComplete

func (client StoragesClient) ListComplete(ctx context.Context, resourceGroupName string, serviceName string) (result StorageResourceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StoragesClient) ListPreparer

func (client StoragesClient) ListPreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (StoragesClient) ListResponder

func (client StoragesClient) ListResponder(resp *http.Response) (result StorageResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (StoragesClient) ListSender

func (client StoragesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type StoragesCreateOrUpdateFuture

type StoragesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(StoragesClient) (StorageResource, error)
}

StoragesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*StoragesCreateOrUpdateFuture) UnmarshalJSON

func (future *StoragesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StoragesDeleteFuture

type StoragesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(StoragesClient) (autorest.Response, error)
}

StoragesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*StoragesDeleteFuture) UnmarshalJSON

func (future *StoragesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SupportedBuildpackResource

type SupportedBuildpackResource struct {
	autorest.Response `json:"-"`
	Properties        *SupportedBuildpackResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

SupportedBuildpackResource supported buildpack resource payload

func (SupportedBuildpackResource) MarshalJSON

func (sbr SupportedBuildpackResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SupportedBuildpackResource.

type SupportedBuildpackResourceProperties

type SupportedBuildpackResourceProperties struct {
	// BuildpackID - The id of supported buildpack
	BuildpackID *string `json:"buildpackId,omitempty"`
}

SupportedBuildpackResourceProperties supported buildpack resource properties

type SupportedBuildpacksCollection

type SupportedBuildpacksCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of supported buildpacks resources
	Value *[]SupportedBuildpackResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

SupportedBuildpacksCollection object that includes an array of supported buildpacks resources and a possible link for next set

type SupportedRuntimePlatform

type SupportedRuntimePlatform string

SupportedRuntimePlatform enumerates the values for supported runtime platform.

const (
	// SupportedRuntimePlatformJava ...
	SupportedRuntimePlatformJava SupportedRuntimePlatform = "Java"
	// SupportedRuntimePlatformNETCore ...
	SupportedRuntimePlatformNETCore SupportedRuntimePlatform = ".NET Core"
)

func PossibleSupportedRuntimePlatformValues

func PossibleSupportedRuntimePlatformValues() []SupportedRuntimePlatform

PossibleSupportedRuntimePlatformValues returns an array of possible values for the SupportedRuntimePlatform const type.

type SupportedRuntimeValue

type SupportedRuntimeValue string

SupportedRuntimeValue enumerates the values for supported runtime value.

const (
	// SupportedRuntimeValueJava11 ...
	SupportedRuntimeValueJava11 SupportedRuntimeValue = "Java_11"
	// SupportedRuntimeValueJava17 ...
	SupportedRuntimeValueJava17 SupportedRuntimeValue = "Java_17"
	// SupportedRuntimeValueJava8 ...
	SupportedRuntimeValueJava8 SupportedRuntimeValue = "Java_8"
	// SupportedRuntimeValueNetCore31 ...
	SupportedRuntimeValueNetCore31 SupportedRuntimeValue = "NetCore_31"
)

func PossibleSupportedRuntimeValueValues

func PossibleSupportedRuntimeValueValues() []SupportedRuntimeValue

PossibleSupportedRuntimeValueValues returns an array of possible values for the SupportedRuntimeValue const type.

type SupportedRuntimeVersion

type SupportedRuntimeVersion struct {
	// Value - The raw value which could be passed to deployment CRUD operations. Possible values include: 'SupportedRuntimeValueJava8', 'SupportedRuntimeValueJava11', 'SupportedRuntimeValueJava17', 'SupportedRuntimeValueNetCore31'
	Value SupportedRuntimeValue `json:"value,omitempty"`
	// Platform - The platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'SupportedRuntimePlatformJava', 'SupportedRuntimePlatformNETCore'
	Platform SupportedRuntimePlatform `json:"platform,omitempty"`
	// Version - The detailed version (major.minor) of the platform.
	Version *string `json:"version,omitempty"`
}

SupportedRuntimeVersion supported deployment runtime version descriptor.

type SupportedStackResource

type SupportedStackResource struct {
	autorest.Response `json:"-"`
	Properties        *SupportedStackResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

SupportedStackResource supported stack resource payload

func (SupportedStackResource) MarshalJSON

func (ssr SupportedStackResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SupportedStackResource.

type SupportedStackResourceProperties

type SupportedStackResourceProperties struct {
	// StackID - The id of supported stack
	StackID *string `json:"stackId,omitempty"`
	// Version - The version of supported stack
	Version *string `json:"version,omitempty"`
}

SupportedStackResourceProperties supported stack resource properties

type SupportedStacksCollection

type SupportedStacksCollection struct {
	autorest.Response `json:"-"`
	// Value - Collection of supported stacks resources
	Value *[]SupportedStackResource `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

SupportedStacksCollection object that includes an array of supported stacks resources and a possible link for next set

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'LastModifiedByTypeUser', 'LastModifiedByTypeApplication', 'LastModifiedByTypeManagedIdentity', 'LastModifiedByTypeKey'
	LastModifiedByType LastModifiedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource modification (UTC).
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type TCPSocketAction

type TCPSocketAction struct {
	// Type - Possible values include: 'TypeBasicProbeActionTypeProbeAction', 'TypeBasicProbeActionTypeHTTPGetAction', 'TypeBasicProbeActionTypeExecAction', 'TypeBasicProbeActionTypeTCPSocketAction'
	Type TypeBasicProbeAction `json:"type,omitempty"`
}

TCPSocketAction tCPSocketAction describes an action based on opening a socket

func (TCPSocketAction) AsBasicProbeAction

func (tsa TCPSocketAction) AsBasicProbeAction() (BasicProbeAction, bool)

AsBasicProbeAction is the BasicProbeAction implementation for TCPSocketAction.

func (TCPSocketAction) AsExecAction

func (tsa TCPSocketAction) AsExecAction() (*ExecAction, bool)

AsExecAction is the BasicProbeAction implementation for TCPSocketAction.

func (TCPSocketAction) AsHTTPGetAction

func (tsa TCPSocketAction) AsHTTPGetAction() (*HTTPGetAction, bool)

AsHTTPGetAction is the BasicProbeAction implementation for TCPSocketAction.

func (TCPSocketAction) AsProbeAction

func (tsa TCPSocketAction) AsProbeAction() (*ProbeAction, bool)

AsProbeAction is the BasicProbeAction implementation for TCPSocketAction.

func (TCPSocketAction) AsTCPSocketAction

func (tsa TCPSocketAction) AsTCPSocketAction() (*TCPSocketAction, bool)

AsTCPSocketAction is the BasicProbeAction implementation for TCPSocketAction.

func (TCPSocketAction) MarshalJSON

func (tsa TCPSocketAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TCPSocketAction.

type TemporaryDisk

type TemporaryDisk struct {
	// SizeInGB - Size of the temporary disk in GB
	SizeInGB *int32 `json:"sizeInGB,omitempty"`
	// MountPath - Mount path of the temporary disk
	MountPath *string `json:"mountPath,omitempty"`
}

TemporaryDisk temporary disk payload

type TestKeyType

type TestKeyType string

TestKeyType enumerates the values for test key type.

const (
	// TestKeyTypePrimary ...
	TestKeyTypePrimary TestKeyType = "Primary"
	// TestKeyTypeSecondary ...
	TestKeyTypeSecondary TestKeyType = "Secondary"
)

func PossibleTestKeyTypeValues

func PossibleTestKeyTypeValues() []TestKeyType

PossibleTestKeyTypeValues returns an array of possible values for the TestKeyType const type.

type TestKeys

type TestKeys struct {
	autorest.Response `json:"-"`
	// PrimaryKey - Primary key
	PrimaryKey *string `json:"primaryKey,omitempty"`
	// SecondaryKey - Secondary key
	SecondaryKey *string `json:"secondaryKey,omitempty"`
	// PrimaryTestEndpoint - Primary test endpoint
	PrimaryTestEndpoint *string `json:"primaryTestEndpoint,omitempty"`
	// SecondaryTestEndpoint - Secondary test endpoint
	SecondaryTestEndpoint *string `json:"secondaryTestEndpoint,omitempty"`
	// Enabled - Indicates whether the test endpoint feature enabled or not
	Enabled *bool `json:"enabled,omitempty"`
}

TestKeys test keys payload

type TrackedResource

type TrackedResource struct {
	// Location - The GEO location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Tags of the service which is a list of key value pairs that describe the resource.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource.

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type TrafficDirection

type TrafficDirection string

TrafficDirection enumerates the values for traffic direction.

const (
	// TrafficDirectionInbound ...
	TrafficDirectionInbound TrafficDirection = "Inbound"
	// TrafficDirectionOutbound ...
	TrafficDirectionOutbound TrafficDirection = "Outbound"
)

func PossibleTrafficDirectionValues

func PossibleTrafficDirectionValues() []TrafficDirection

PossibleTrafficDirectionValues returns an array of possible values for the TrafficDirection const type.

type TriggeredBuildResult

type TriggeredBuildResult struct {
	// ID - The unique build id of this build result
	ID *string `json:"id,omitempty"`
}

TriggeredBuildResult the build result triggered by a build

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeAzureFileVolume ...
	TypeAzureFileVolume Type = "AzureFileVolume"
	// TypeCustomPersistentDiskProperties ...
	TypeCustomPersistentDiskProperties Type = "CustomPersistentDiskProperties"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicCertificateProperties

type TypeBasicCertificateProperties string

TypeBasicCertificateProperties enumerates the values for type basic certificate properties.

const (
	// TypeBasicCertificatePropertiesTypeCertificateProperties ...
	TypeBasicCertificatePropertiesTypeCertificateProperties TypeBasicCertificateProperties = "CertificateProperties"
	// TypeBasicCertificatePropertiesTypeContentCertificate ...
	TypeBasicCertificatePropertiesTypeContentCertificate TypeBasicCertificateProperties = "ContentCertificate"
	// TypeBasicCertificatePropertiesTypeKeyVaultCertificate ...
	TypeBasicCertificatePropertiesTypeKeyVaultCertificate TypeBasicCertificateProperties = "KeyVaultCertificate"
)

func PossibleTypeBasicCertificatePropertiesValues

func PossibleTypeBasicCertificatePropertiesValues() []TypeBasicCertificateProperties

PossibleTypeBasicCertificatePropertiesValues returns an array of possible values for the TypeBasicCertificateProperties const type.

type TypeBasicProbeAction

type TypeBasicProbeAction string

TypeBasicProbeAction enumerates the values for type basic probe action.

const (
	// TypeBasicProbeActionTypeExecAction ...
	TypeBasicProbeActionTypeExecAction TypeBasicProbeAction = "ExecAction"
	// TypeBasicProbeActionTypeHTTPGetAction ...
	TypeBasicProbeActionTypeHTTPGetAction TypeBasicProbeAction = "HTTPGetAction"
	// TypeBasicProbeActionTypeProbeAction ...
	TypeBasicProbeActionTypeProbeAction TypeBasicProbeAction = "ProbeAction"
	// TypeBasicProbeActionTypeTCPSocketAction ...
	TypeBasicProbeActionTypeTCPSocketAction TypeBasicProbeAction = "TCPSocketAction"
)

func PossibleTypeBasicProbeActionValues

func PossibleTypeBasicProbeActionValues() []TypeBasicProbeAction

PossibleTypeBasicProbeActionValues returns an array of possible values for the TypeBasicProbeAction const type.

type TypeBasicUserSourceInfo

type TypeBasicUserSourceInfo string

TypeBasicUserSourceInfo enumerates the values for type basic user source info.

const (
	// TypeBasicUserSourceInfoTypeBuildResult ...
	TypeBasicUserSourceInfoTypeBuildResult TypeBasicUserSourceInfo = "BuildResult"
	// TypeBasicUserSourceInfoTypeContainer ...
	TypeBasicUserSourceInfoTypeContainer TypeBasicUserSourceInfo = "Container"
	// TypeBasicUserSourceInfoTypeJar ...
	TypeBasicUserSourceInfoTypeJar TypeBasicUserSourceInfo = "Jar"
	// TypeBasicUserSourceInfoTypeNetCoreZip ...
	TypeBasicUserSourceInfoTypeNetCoreZip TypeBasicUserSourceInfo = "NetCoreZip"
	// TypeBasicUserSourceInfoTypeSource ...
	TypeBasicUserSourceInfoTypeSource TypeBasicUserSourceInfo = "Source"
	// TypeBasicUserSourceInfoTypeUploadedUserSourceInfo ...
	TypeBasicUserSourceInfoTypeUploadedUserSourceInfo TypeBasicUserSourceInfo = "UploadedUserSourceInfo"
	// TypeBasicUserSourceInfoTypeUserSourceInfo ...
	TypeBasicUserSourceInfoTypeUserSourceInfo TypeBasicUserSourceInfo = "UserSourceInfo"
)

func PossibleTypeBasicUserSourceInfoValues

func PossibleTypeBasicUserSourceInfoValues() []TypeBasicUserSourceInfo

PossibleTypeBasicUserSourceInfoValues returns an array of possible values for the TypeBasicUserSourceInfo const type.

type UploadedUserSourceInfo

type UploadedUserSourceInfo struct {
	// RelativePath - Relative path of the storage which stores the source
	RelativePath *string `json:"relativePath,omitempty"`
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

UploadedUserSourceInfo source with uploaded location

func (UploadedUserSourceInfo) AsBasicUploadedUserSourceInfo

func (uusi UploadedUserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsBasicUserSourceInfo

func (uusi UploadedUserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsBuildResultUserSourceInfo

func (uusi UploadedUserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsCustomContainerUserSourceInfo

func (uusi UploadedUserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsJarUploadedUserSourceInfo

func (uusi UploadedUserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (uusi UploadedUserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsSourceUploadedUserSourceInfo

func (uusi UploadedUserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsUploadedUserSourceInfo

func (uusi UploadedUserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) AsUserSourceInfo

func (uusi UploadedUserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for UploadedUserSourceInfo.

func (UploadedUserSourceInfo) MarshalJSON

func (uusi UploadedUserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UploadedUserSourceInfo.

type UserAssignedManagedIdentity

type UserAssignedManagedIdentity struct {
	// PrincipalID - READ-ONLY; Principal Id of user-assigned managed identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// ClientID - READ-ONLY; Client Id of user-assigned managed identity.
	ClientID *string `json:"clientId,omitempty"`
}

UserAssignedManagedIdentity the details of the user-assigned managed identity assigned to an App.

func (UserAssignedManagedIdentity) MarshalJSON

func (uami UserAssignedManagedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserAssignedManagedIdentity.

type UserSourceInfo

type UserSourceInfo struct {
	// Version - Version of the source
	Version *string `json:"version,omitempty"`
	// Type - Possible values include: 'TypeBasicUserSourceInfoTypeUserSourceInfo', 'TypeBasicUserSourceInfoTypeUploadedUserSourceInfo', 'TypeBasicUserSourceInfoTypeJar', 'TypeBasicUserSourceInfoTypeSource', 'TypeBasicUserSourceInfoTypeNetCoreZip', 'TypeBasicUserSourceInfoTypeBuildResult', 'TypeBasicUserSourceInfoTypeContainer'
	Type TypeBasicUserSourceInfo `json:"type,omitempty"`
}

UserSourceInfo source information for a deployment

func (UserSourceInfo) AsBasicUploadedUserSourceInfo

func (usi UserSourceInfo) AsBasicUploadedUserSourceInfo() (BasicUploadedUserSourceInfo, bool)

AsBasicUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsBasicUserSourceInfo

func (usi UserSourceInfo) AsBasicUserSourceInfo() (BasicUserSourceInfo, bool)

AsBasicUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsBuildResultUserSourceInfo

func (usi UserSourceInfo) AsBuildResultUserSourceInfo() (*BuildResultUserSourceInfo, bool)

AsBuildResultUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsCustomContainerUserSourceInfo

func (usi UserSourceInfo) AsCustomContainerUserSourceInfo() (*CustomContainerUserSourceInfo, bool)

AsCustomContainerUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsJarUploadedUserSourceInfo

func (usi UserSourceInfo) AsJarUploadedUserSourceInfo() (*JarUploadedUserSourceInfo, bool)

AsJarUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsNetCoreZipUploadedUserSourceInfo

func (usi UserSourceInfo) AsNetCoreZipUploadedUserSourceInfo() (*NetCoreZipUploadedUserSourceInfo, bool)

AsNetCoreZipUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsSourceUploadedUserSourceInfo

func (usi UserSourceInfo) AsSourceUploadedUserSourceInfo() (*SourceUploadedUserSourceInfo, bool)

AsSourceUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsUploadedUserSourceInfo

func (usi UserSourceInfo) AsUploadedUserSourceInfo() (*UploadedUserSourceInfo, bool)

AsUploadedUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) AsUserSourceInfo

func (usi UserSourceInfo) AsUserSourceInfo() (*UserSourceInfo, bool)

AsUserSourceInfo is the BasicUserSourceInfo implementation for UserSourceInfo.

func (UserSourceInfo) MarshalJSON

func (usi UserSourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserSourceInfo.

type ValidationMessages

type ValidationMessages struct {
	// Name - The name of the configuration service git repository.
	Name *string `json:"name,omitempty"`
	// Messages - Detailed validation messages.
	Messages *[]string `json:"messages,omitempty"`
}

ValidationMessages validate messages of the configuration service git repositories

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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