appplatform

package
v35.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 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"`
	// 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

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

func NewAppResourceCollectionPage(getNextPage func(context.Context, AppResourceCollection) (AppResourceCollection, error)) AppResourceCollectionPage

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

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.

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

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

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

func NewBindingResourceCollectionPage(getNextPage func(context.Context, BindingResourceCollection) (BindingResourceCollection, error)) BindingResourceCollectionPage

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 - The name of the bound resource
	ResourceName *string `json:"resourceName,omitempty"`
	// ResourceType - 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.

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

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

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

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

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"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Deployment. Possible values include: 'DeploymentResourceProvisioningStateCreating', 'DeploymentResourceProvisioningStateUpdating', 'DeploymentResourceProvisioningStateSucceeded', 'DeploymentResourceProvisioningStateFailed'
	ProvisioningState DeploymentResourceProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentSettings - Deployment settings of the Deployment
	DeploymentSettings *DeploymentSettings `json:"deploymentSettings,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

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
	CPU *int32 `json:"cpu,omitempty"`
	// MemoryInGB - Required Memory size in GB
	MemoryInGB *int32 `json:"memoryInGB,omitempty"`
	// JvmOptions - JVM parameter
	JvmOptions *string `json:"jvmOptions,omitempty"`
	// InstanceCount - Instance count
	InstanceCount *int32 `json:"instanceCount,omitempty"`
	// EnvironmentVariables - Collection of environment variables
	EnvironmentVariables map[string]*string `json:"environmentVariables"`
	// RuntimeVersion - Runtime version. Possible values include: 'Java8', 'Java11'
	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.

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

type OperationDetail struct {
	// Name - Name of the operation
	Name *string `json:"name,omitempty"`
	// DataAction - Indicates whether the operation is a data action
	DataAction *bool `json:"dataAction,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.

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

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

func PossibleRuntimeVersionValues

func PossibleRuntimeVersionValues() []RuntimeVersion

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

type ServiceResource

type ServiceResource struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the Service resource
	Properties *ClusterResourceProperties `json:"properties,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(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.

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

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', '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"
	// 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