appplatform

package
v49.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

REST API for Azure Spring Cloud

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

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"`
	// ProvisioningState - READ-ONLY; Provisioning state of the App. Possible values include: 'Succeeded', 'Failed', 'Creating', 'Updating'
	ProvisioningState AppResourceProvisioningState `json:"provisioningState,omitempty"`
	// ActiveDeploymentName - Name of the active deployment of the App
	ActiveDeploymentName *string `json:"activeDeploymentName,omitempty"`
	// Fqdn - Fully qualified dns Name.
	Fqdn *string `json:"fqdn,omitempty"`
	// HTTPSOnly - Indicate if only https is allowed.
	HTTPSOnly *bool `json:"httpsOnly,omitempty"`
	// CreatedTime - READ-ONLY; Date time when the resource is created
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// TemporaryDisk - Temporary disk settings
	TemporaryDisk *TemporaryDisk `json:"temporaryDisk,omitempty"`
	// PersistentDisk - Persistent disk settings
	PersistentDisk *PersistentDisk `json:"persistentDisk,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 (
	// Creating ...
	Creating AppResourceProvisioningState = "Creating"
	// Failed ...
	Failed AppResourceProvisioningState = "Failed"
	// Succeeded ...
	Succeeded AppResourceProvisioningState = "Succeeded"
	// Updating ...
	Updating AppResourceProvisioningState = "Updating"
)

func PossibleAppResourceProvisioningStateValues

func PossibleAppResourceProvisioningStateValues() []AppResourceProvisioningState

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

type AppsClient

type AppsClient struct {
	BaseClient
}

AppsClient is the REST API for Azure Spring Cloud

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 autorest.Response, 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) (*http.Response, 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) 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.

type AppsCreateOrUpdateFuture

type AppsCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*AppsCreateOrUpdateFuture) Result

func (future *AppsCreateOrUpdateFuture) Result(client AppsClient) (ar AppResource, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AppsUpdateFuture

type AppsUpdateFuture struct {
	azure.Future
}

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

func (*AppsUpdateFuture) Result

func (future *AppsUpdateFuture) Result(client AppsClient) (ar AppResource, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

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

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

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 BindingsClient

type BindingsClient struct {
	BaseClient
}

BindingsClient is the REST API for Azure Spring Cloud

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 BindingResource, 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) (*http.Response, 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 autorest.Response, 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) (*http.Response, 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 BindingResource, 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) (*http.Response, error)

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

type CertificateProperties

type CertificateProperties struct {
	// Thumbprint - READ-ONLY; The thumbprint of certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// 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"`
	// 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"`
}

CertificateProperties certificate resource payload.

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 *CertificateProperties `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"`
}

CertificateResource certificate resource payload.

func (CertificateResource) MarshalJSON

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

MarshalJSON is the custom marshaler for CertificateResource.

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 CertificatesClient

type CertificatesClient struct {
	BaseClient
}

CertificatesClient is the REST API for Azure Spring Cloud

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 CertificateResource, 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) (*http.Response, 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 autorest.Response, 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) (*http.Response, 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 CloudError

type CloudError struct {
	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', 'ProvisioningStateDeleting', 'ProvisioningStateDeleted', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateMoving', 'ProvisioningStateMoved', 'ProvisioningStateMoveFailed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ConfigServerProperties - Config server git properties of the Service
	ConfigServerProperties *ConfigServerProperties `json:"configServerProperties,omitempty"`
	// Trace - Trace properties of the Service
	Trace *TraceProperties `json:"trace,omitempty"`
	// NetworkProfile - Network profile of the Service
	NetworkProfile *NetworkProfile `json:"networkProfile,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"`
}

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 {
	// State - READ-ONLY; State of the config server. Possible values include: 'ConfigServerStateNotAvailable', 'ConfigServerStateDeleted', 'ConfigServerStateFailed', 'ConfigServerStateSucceeded', 'ConfigServerStateUpdating'
	State ConfigServerState `json:"state,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 ConfigServerSettings

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

ConfigServerSettings the settings of config server.

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

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

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

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 CustomDomainResource, 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) (*http.Response, 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 autorest.Response, 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) (*http.Response, 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) Patch

func (client CustomDomainsClient) Patch(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource) (result CustomDomainResource, err error)

Patch 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) PatchPreparer

func (client CustomDomainsClient) PatchPreparer(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (CustomDomainsClient) PatchResponder

func (client CustomDomainsClient) PatchResponder(resp *http.Response) (result CustomDomainResource, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (CustomDomainsClient) PatchSender

func (client CustomDomainsClient) PatchSender(req *http.Request) (*http.Response, error)

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

func (CustomDomainsClient) Validate

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

Validate 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.

func (CustomDomainsClient) ValidatePreparer

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

ValidatePreparer prepares the Validate request.

func (CustomDomainsClient) ValidateResponder

func (client CustomDomainsClient) ValidateResponder(resp *http.Response) (result CustomDomainValidateResult, err error)

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

func (CustomDomainsClient) ValidateSender

func (client CustomDomainsClient) ValidateSender(req *http.Request) (*http.Response, error)

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

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

DeploymentInstance deployment instance payload

type DeploymentResource

type DeploymentResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Deployment resource
	Properties *DeploymentResourceProperties `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"`
}

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 *UserSourceInfo `json:"source,omitempty"`
	// AppName - READ-ONLY; App name of the deployment
	AppName *string `json:"appName,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: 'DeploymentResourceStatusUnknown', 'DeploymentResourceStatusStopped', 'DeploymentResourceStatusRunning', 'DeploymentResourceStatusFailed', 'DeploymentResourceStatusAllocating', 'DeploymentResourceStatusUpgrading', 'DeploymentResourceStatusCompiling'
	Status DeploymentResourceStatus `json:"status,omitempty"`
	// Active - READ-ONLY; Indicates whether the Deployment is active
	Active *bool `json:"active,omitempty"`
	// CreatedTime - READ-ONLY; Date time when the resource is created
	CreatedTime *date.Time `json:"createdTime,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.

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 (
	// DeploymentResourceStatusAllocating ...
	DeploymentResourceStatusAllocating DeploymentResourceStatus = "Allocating"
	// DeploymentResourceStatusCompiling ...
	DeploymentResourceStatusCompiling DeploymentResourceStatus = "Compiling"
	// DeploymentResourceStatusFailed ...
	DeploymentResourceStatusFailed DeploymentResourceStatus = "Failed"
	// DeploymentResourceStatusRunning ...
	DeploymentResourceStatusRunning DeploymentResourceStatus = "Running"
	// DeploymentResourceStatusStopped ...
	DeploymentResourceStatusStopped DeploymentResourceStatus = "Stopped"
	// DeploymentResourceStatusUnknown ...
	DeploymentResourceStatusUnknown DeploymentResourceStatus = "Unknown"
	// DeploymentResourceStatusUpgrading ...
	DeploymentResourceStatusUpgrading DeploymentResourceStatus = "Upgrading"
)

func PossibleDeploymentResourceStatusValues

func PossibleDeploymentResourceStatusValues() []DeploymentResourceStatus

PossibleDeploymentResourceStatusValues returns an array of possible values for the DeploymentResourceStatus const type.

type DeploymentSettings

type DeploymentSettings struct {
	// CPU - Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
	CPU *int32 `json:"cpu,omitempty"`
	// MemoryInGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
	MemoryInGB *int32 `json:"memoryInGB,omitempty"`
	// JvmOptions - JVM parameter
	JvmOptions *string `json:"jvmOptions,omitempty"`
	// NetCoreMainEntryPath - The path to the .NET executable relative to zip root
	NetCoreMainEntryPath *string `json:"netCoreMainEntryPath,omitempty"`
	// InstanceCount - Instance count, basic tier should be in range (1, 25), standard tier should be in range (1, 500)
	InstanceCount *int32 `json:"instanceCount,omitempty"`
	// EnvironmentVariables - Collection of environment variables
	EnvironmentVariables map[string]*string `json:"environmentVariables"`
	// RuntimeVersion - Runtime version. Possible values include: 'Java8', 'Java11', 'NetCore31'
	RuntimeVersion RuntimeVersion `json:"runtimeVersion,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 Cloud

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 autorest.Response, 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) (*http.Response, error)

DeleteSender sends the Delete 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) ListClusterAllDeployments

func (client DeploymentsClient) ListClusterAllDeployments(ctx context.Context, resourceGroupName string, serviceName string, version []string) (result DeploymentResourceCollectionPage, err error)

ListClusterAllDeployments 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) ListClusterAllDeploymentsComplete

func (client DeploymentsClient) ListClusterAllDeploymentsComplete(ctx context.Context, resourceGroupName string, serviceName string, version []string) (result DeploymentResourceCollectionIterator, err error)

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

func (DeploymentsClient) ListClusterAllDeploymentsPreparer

func (client DeploymentsClient) ListClusterAllDeploymentsPreparer(ctx context.Context, resourceGroupName string, serviceName string, version []string) (*http.Request, error)

ListClusterAllDeploymentsPreparer prepares the ListClusterAllDeployments request.

func (DeploymentsClient) ListClusterAllDeploymentsResponder

func (client DeploymentsClient) ListClusterAllDeploymentsResponder(resp *http.Response) (result DeploymentResourceCollection, err error)

ListClusterAllDeploymentsResponder handles the response to the ListClusterAllDeployments request. The method always closes the http.Response Body.

func (DeploymentsClient) ListClusterAllDeploymentsSender

func (client DeploymentsClient) ListClusterAllDeploymentsSender(req *http.Request) (*http.Response, error)

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

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) 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) 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.Future
}

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

func (*DeploymentsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DeploymentsRestartFuture

type DeploymentsRestartFuture struct {
	azure.Future
}

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

func (*DeploymentsRestartFuture) Result

func (future *DeploymentsRestartFuture) Result(client DeploymentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DeploymentsStartFuture

type DeploymentsStartFuture struct {
	azure.Future
}

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

func (*DeploymentsStartFuture) Result

func (future *DeploymentsStartFuture) Result(client DeploymentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DeploymentsStopFuture

type DeploymentsStopFuture struct {
	azure.Future
}

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

func (*DeploymentsStopFuture) Result

func (future *DeploymentsStopFuture) Result(client DeploymentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DeploymentsUpdateFuture

type DeploymentsUpdateFuture struct {
	azure.Future
}

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

func (*DeploymentsUpdateFuture) Result

func (future *DeploymentsUpdateFuture) Result(client DeploymentsClient) (dr DeploymentResource, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

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

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 - Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssignedUserAssigned'
	Type        ManagedIdentityType `json:"type,omitempty"`
	PrincipalID *string             `json:"principalId,omitempty"`
	TenantID    *string             `json:"tenantId,omitempty"`
}

ManagedIdentityProperties managed identity properties retrieved from ARM request headers.

type ManagedIdentityType

type ManagedIdentityType string

ManagedIdentityType enumerates the values for managed identity type.

const (
	// None ...
	None ManagedIdentityType = "None"
	// SystemAssigned ...
	SystemAssigned ManagedIdentityType = "SystemAssigned"
	// SystemAssignedUserAssigned ...
	SystemAssignedUserAssigned ManagedIdentityType = "SystemAssigned,UserAssigned"
	// UserAssigned ...
	UserAssigned ManagedIdentityType = "UserAssigned"
)

func PossibleManagedIdentityTypeValues

func PossibleManagedIdentityTypeValues() []ManagedIdentityType

PossibleManagedIdentityTypeValues returns an array of possible values for the ManagedIdentityType const type.

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

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

MetricSpecification specifications of the Metrics for Azure Monitoring

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 NetworkProfile

type NetworkProfile struct {
	// ServiceRuntimeSubnetID - Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime
	ServiceRuntimeSubnetID *string `json:"serviceRuntimeSubnetId,omitempty"`
	// AppSubnetID - Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps
	AppSubnetID *string `json:"appSubnetId,omitempty"`
	// ServiceCidr - Azure Spring Cloud service reserved CIDR
	ServiceCidr *string `json:"serviceCidr,omitempty"`
	// ServiceRuntimeNetworkResourceGroup - Name of the resource group containing network resources of Azure Spring Cloud Service Runtime
	ServiceRuntimeNetworkResourceGroup *string `json:"serviceRuntimeNetworkResourceGroup,omitempty"`
	// AppNetworkResourceGroup - Name of the resource group containing network resources of Azure Spring Cloud Apps
	AppNetworkResourceGroup *string `json:"appNetworkResourceGroup,omitempty"`
	// OutboundIPs - READ-ONLY; Desired outbound IP resources for Azure Spring Cloud instance.
	OutboundIPs *NetworkProfileOutboundIPs `json:"outboundIPs,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 Cloud instance.

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"`
	// Origin - Origin of the operation
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties of the operation
	Properties *OperationProperties `json:"properties,omitempty"`
}

OperationDetail operation detail payload

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 Cloud

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

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags.

type RegenerateTestKeyRequestPayload

type RegenerateTestKeyRequestPayload struct {
	// KeyType - Type of the test key. Possible values include: 'Primary', 'Secondary'
	KeyType TestKeyType `json:"keyType,omitempty"`
}

RegenerateTestKeyRequestPayload regenerate test key request payload

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

Resource the core properties of ARM resources.

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 Cloud 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 ...

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

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

type ResourceSkuRestrictions

type ResourceSkuRestrictions struct {
	// Type - Gets the type of restrictions. Possible values include: 'Location', 'Zone'
	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: 'QuotaID', 'NotAvailableForSubscription'
	ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
}

ResourceSkuRestrictions ...

type ResourceSkuRestrictionsReasonCode

type ResourceSkuRestrictionsReasonCode string

ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.

const (
	// NotAvailableForSubscription ...
	NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
	// QuotaID ...
	QuotaID 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 (
	// Location ...
	Location ResourceSkuRestrictionsType = "Location"
	// Zone ...
	Zone 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 ...

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 RuntimeVersion

type RuntimeVersion string

RuntimeVersion enumerates the values for runtime version.

const (
	// Java11 ...
	Java11 RuntimeVersion = "Java_11"
	// Java8 ...
	Java8 RuntimeVersion = "Java_8"
	// NetCore31 ...
	NetCore31 RuntimeVersion = "NetCore_31"
)

func PossibleRuntimeVersionValues

func PossibleRuntimeVersionValues() []RuntimeVersion

PossibleRuntimeVersionValues returns an array of possible values for the RuntimeVersion const type.

type RuntimeVersionsClient

type RuntimeVersionsClient struct {
	BaseClient
}

RuntimeVersionsClient is the REST API for Azure Spring Cloud

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

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 ServicesClient

type ServicesClient struct {
	BaseClient
}

ServicesClient is the REST API for Azure Spring Cloud

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 sends the disable test endpoint request. 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 sends the enable test endpoint request. 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) 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.Future
}

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

func (*ServicesCreateOrUpdateFuture) Result

func (future *ServicesCreateOrUpdateFuture) Result(client ServicesClient) (sr ServiceResource, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServicesDeleteFuture

type ServicesDeleteFuture struct {
	azure.Future
}

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

func (*ServicesDeleteFuture) Result

func (future *ServicesDeleteFuture) Result(client ServicesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServicesUpdateFuture

type ServicesUpdateFuture struct {
	azure.Future
}

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

func (*ServicesUpdateFuture) Result

func (future *ServicesUpdateFuture) Result(client ServicesClient) (sr ServiceResource, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

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 Cloud

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 SkuClient

type SkuClient struct {
	BaseClient
}

SkuClient is the REST API for Azure Spring Cloud

func NewSkuClient

func NewSkuClient(subscriptionID string) SkuClient

NewSkuClient creates an instance of the SkuClient client.

func NewSkuClientWithBaseURI

func NewSkuClientWithBaseURI(baseURI string, subscriptionID string) SkuClient

NewSkuClientWithBaseURI creates an instance of the SkuClient 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 (SkuClient) List

func (client SkuClient) List(ctx context.Context) (result ResourceSkuCollectionPage, err error)

List sends the list request.

func (SkuClient) ListComplete

func (client SkuClient) ListComplete(ctx context.Context) (result ResourceSkuCollectionIterator, err error)

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

func (SkuClient) ListPreparer

func (client SkuClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SkuClient) ListResponder

func (client SkuClient) 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 (SkuClient) ListSender

func (client SkuClient) 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 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 SupportedRuntimePlatform

type SupportedRuntimePlatform string

SupportedRuntimePlatform enumerates the values for supported runtime platform.

const (
	// Java ...
	Java SupportedRuntimePlatform = "Java"
	// NETCore ...
	NETCore 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"
	// 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', 'SupportedRuntimeValueNetCore31'
	Value SupportedRuntimeValue `json:"value,omitempty"`
	// Platform - The platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'Java', 'NETCore'
	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 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 (
	// Primary ...
	Primary TestKeyType = "Primary"
	// Secondary ...
	Secondary 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 TraceProperties

type TraceProperties struct {
	// State - READ-ONLY; State of the trace proxy. Possible values include: 'TraceProxyStateNotAvailable', 'TraceProxyStateFailed', 'TraceProxyStateSucceeded', 'TraceProxyStateUpdating'
	State TraceProxyState `json:"state,omitempty"`
	// Error - Error when apply trace proxy changes.
	Error *Error `json:"error,omitempty"`
	// Enabled - Indicates whether enable the tracing functionality
	Enabled *bool `json:"enabled,omitempty"`
	// AppInsightInstrumentationKey - Target application insight instrumentation key
	AppInsightInstrumentationKey *string `json:"appInsightInstrumentationKey,omitempty"`
}

TraceProperties trace properties payload

func (TraceProperties) MarshalJSON

func (tp TraceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TraceProperties.

type TraceProxyState

type TraceProxyState string

TraceProxyState enumerates the values for trace proxy state.

const (
	// TraceProxyStateFailed ...
	TraceProxyStateFailed TraceProxyState = "Failed"
	// TraceProxyStateNotAvailable ...
	TraceProxyStateNotAvailable TraceProxyState = "NotAvailable"
	// TraceProxyStateSucceeded ...
	TraceProxyStateSucceeded TraceProxyState = "Succeeded"
	// TraceProxyStateUpdating ...
	TraceProxyStateUpdating TraceProxyState = "Updating"
)

func PossibleTraceProxyStateValues

func PossibleTraceProxyStateValues() []TraceProxyState

PossibleTraceProxyStateValues returns an array of possible values for the TraceProxyState const type.

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

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 UserSourceInfo

type UserSourceInfo struct {
	// Type - Type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source'
	Type UserSourceType `json:"type,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"`
	// 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"`
}

UserSourceInfo source information for a deployment

type UserSourceType

type UserSourceType string

UserSourceType enumerates the values for user source type.

const (
	// Jar ...
	Jar UserSourceType = "Jar"
	// NetCoreZip ...
	NetCoreZip UserSourceType = "NetCoreZip"
	// Source ...
	Source UserSourceType = "Source"
)

func PossibleUserSourceTypeValues

func PossibleUserSourceTypeValues() []UserSourceType

PossibleUserSourceTypeValues returns an array of possible values for the UserSourceType const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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