azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/appplatform/mgmt/2019-05-01-preview/appplatform Index | Files | Directories

package appplatform

import "github.com/Azure/azure-sdk-for-go/services/preview/appplatform/mgmt/2019-05-01-preview/appplatform"

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

REST API for Azure Spring Cloud

Index

Package Files

apps.go bindings.go client.go deployments.go models.go operations.go services.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AppResource Uses

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 Uses

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 Uses

func (arc AppResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AppResourceCollectionIterator Uses

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

AppResourceCollectionIterator provides access to a complete listing of AppResource values.

func NewAppResourceCollectionIterator Uses

func NewAppResourceCollectionIterator(page AppResourceCollectionPage) AppResourceCollectionIterator

Creates a new instance of the AppResourceCollectionIterator type.

func (*AppResourceCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter AppResourceCollectionIterator) NotDone() bool

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

func (AppResourceCollectionIterator) Response Uses

func (iter AppResourceCollectionIterator) Response() AppResourceCollection

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

func (AppResourceCollectionIterator) Value Uses

func (iter AppResourceCollectionIterator) Value() AppResource

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

type AppResourceCollectionPage Uses

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

AppResourceCollectionPage contains a page of AppResource values.

func NewAppResourceCollectionPage Uses

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

Creates a new instance of the AppResourceCollectionPage type.

func (*AppResourceCollectionPage) Next Uses

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 Uses

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 Uses

func (page AppResourceCollectionPage) NotDone() bool

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

func (AppResourceCollectionPage) Response Uses

func (page AppResourceCollectionPage) Response() AppResourceCollection

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

func (AppResourceCollectionPage) Values Uses

func (page AppResourceCollectionPage) Values() []AppResource

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

type AppResourceProperties Uses

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 Uses

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 Uses

func PossibleAppResourceProvisioningStateValues() []AppResourceProvisioningState

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

type AppsClient Uses

type AppsClient struct {
    BaseClient
}

AppsClient is the REST API for Azure Spring Cloud

func NewAppsClient Uses

func NewAppsClient(subscriptionID string) AppsClient

NewAppsClient creates an instance of the AppsClient client.

func NewAppsClientWithBaseURI Uses

func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient

NewAppsClientWithBaseURI creates an instance of the AppsClient client.

func (AppsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AppsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetResourceUploadURLPreparer prepares the GetResourceUploadURL request.

func (AppsClient) GetResourceUploadURLResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (AppsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type AppsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*AppsCreateOrUpdateFuture) Result Uses

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 Uses

type AppsUpdateFuture struct {
    azure.Future
}

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

func (*AppsUpdateFuture) Result Uses

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 Uses

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 Uses

func (ao AvailableOperations) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableOperationsIterator Uses

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

AvailableOperationsIterator provides access to a complete listing of OperationDetail values.

func NewAvailableOperationsIterator Uses

func NewAvailableOperationsIterator(page AvailableOperationsPage) AvailableOperationsIterator

Creates a new instance of the AvailableOperationsIterator type.

func (*AvailableOperationsIterator) Next Uses

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 Uses

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 Uses

func (iter AvailableOperationsIterator) NotDone() bool

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

func (AvailableOperationsIterator) Response Uses

func (iter AvailableOperationsIterator) Response() AvailableOperations

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

func (AvailableOperationsIterator) Value Uses

func (iter AvailableOperationsIterator) Value() OperationDetail

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

type AvailableOperationsPage Uses

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

AvailableOperationsPage contains a page of OperationDetail values.

func NewAvailableOperationsPage Uses

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

Creates a new instance of the AvailableOperationsPage type.

func (*AvailableOperationsPage) Next Uses

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 Uses

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 Uses

func (page AvailableOperationsPage) NotDone() bool

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

func (AvailableOperationsPage) Response Uses

func (page AvailableOperationsPage) Response() AvailableOperations

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

func (AvailableOperationsPage) Values Uses

func (page AvailableOperationsPage) Values() []OperationDetail

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

type BaseClient Uses

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

BaseClient is the base client for Appplatform.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BindingResource Uses

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 Uses

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 Uses

func (brc BindingResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BindingResourceCollectionIterator Uses

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

BindingResourceCollectionIterator provides access to a complete listing of BindingResource values.

func NewBindingResourceCollectionIterator Uses

func NewBindingResourceCollectionIterator(page BindingResourceCollectionPage) BindingResourceCollectionIterator

Creates a new instance of the BindingResourceCollectionIterator type.

func (*BindingResourceCollectionIterator) Next Uses

func (iter *BindingResourceCollectionIterator) 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 (*BindingResourceCollectionIterator) NextWithContext Uses

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 Uses

func (iter BindingResourceCollectionIterator) NotDone() bool

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

func (BindingResourceCollectionIterator) Response Uses

func (iter BindingResourceCollectionIterator) Response() BindingResourceCollection

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

func (BindingResourceCollectionIterator) Value Uses

func (iter BindingResourceCollectionIterator) Value() BindingResource

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

type BindingResourceCollectionPage Uses

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

BindingResourceCollectionPage contains a page of BindingResource values.

func NewBindingResourceCollectionPage Uses

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

Creates a new instance of the BindingResourceCollectionPage type.

func (*BindingResourceCollectionPage) Next Uses

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 Uses

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 Uses

func (page BindingResourceCollectionPage) NotDone() bool

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

func (BindingResourceCollectionPage) Response Uses

func (page BindingResourceCollectionPage) Response() BindingResourceCollection

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

func (BindingResourceCollectionPage) Values Uses

func (page BindingResourceCollectionPage) Values() []BindingResource

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

type BindingResourceProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for BindingResourceProperties.

type BindingsClient Uses

type BindingsClient struct {
    BaseClient
}

BindingsClient is the REST API for Azure Spring Cloud

func NewBindingsClient Uses

func NewBindingsClient(subscriptionID string) BindingsClient

NewBindingsClient creates an instance of the BindingsClient client.

func NewBindingsClientWithBaseURI Uses

func NewBindingsClientWithBaseURI(baseURI string, subscriptionID string) BindingsClient

NewBindingsClientWithBaseURI creates an instance of the BindingsClient client.

func (BindingsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (BindingsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type CloudError struct {
    Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from the service.

type CloudErrorBody Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ConfigServerSettings the settings of config server.

type ConfigServerState Uses

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 Uses

func PossibleConfigServerStateValues() []ConfigServerState

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

type DeploymentInstance Uses

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 Uses

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 Uses

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 Uses

func (drc DeploymentResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DeploymentResourceCollectionIterator Uses

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

DeploymentResourceCollectionIterator provides access to a complete listing of DeploymentResource values.

func NewDeploymentResourceCollectionIterator Uses

func NewDeploymentResourceCollectionIterator(page DeploymentResourceCollectionPage) DeploymentResourceCollectionIterator

Creates a new instance of the DeploymentResourceCollectionIterator type.

func (*DeploymentResourceCollectionIterator) Next Uses

func (iter *DeploymentResourceCollectionIterator) 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 (*DeploymentResourceCollectionIterator) NextWithContext Uses

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 Uses

func (iter DeploymentResourceCollectionIterator) NotDone() bool

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

func (DeploymentResourceCollectionIterator) Response Uses

func (iter DeploymentResourceCollectionIterator) Response() DeploymentResourceCollection

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

func (DeploymentResourceCollectionIterator) Value Uses

func (iter DeploymentResourceCollectionIterator) Value() DeploymentResource

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

type DeploymentResourceCollectionPage Uses

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

DeploymentResourceCollectionPage contains a page of DeploymentResource values.

func NewDeploymentResourceCollectionPage Uses

func NewDeploymentResourceCollectionPage(getNextPage func(context.Context, DeploymentResourceCollection) (DeploymentResourceCollection, error)) DeploymentResourceCollectionPage

Creates a new instance of the DeploymentResourceCollectionPage type.

func (*DeploymentResourceCollectionPage) Next Uses

func (page *DeploymentResourceCollectionPage) 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 (*DeploymentResourceCollectionPage) NextWithContext Uses

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 Uses

func (page DeploymentResourceCollectionPage) NotDone() bool

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

func (DeploymentResourceCollectionPage) Response Uses

func (page DeploymentResourceCollectionPage) Response() DeploymentResourceCollection

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

func (DeploymentResourceCollectionPage) Values Uses

func (page DeploymentResourceCollectionPage) Values() []DeploymentResource

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

type DeploymentResourceProperties Uses

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 Uses

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 Uses

func PossibleDeploymentResourceProvisioningStateValues() []DeploymentResourceProvisioningState

PossibleDeploymentResourceProvisioningStateValues returns an array of possible values for the DeploymentResourceProvisioningState const type.

type DeploymentResourceStatus Uses

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 Uses

func PossibleDeploymentResourceStatusValues() []DeploymentResourceStatus

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

type DeploymentSettings Uses

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 Uses

func (ds DeploymentSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentSettings.

type DeploymentsClient Uses

type DeploymentsClient struct {
    BaseClient
}

DeploymentsClient is the REST API for Azure Spring Cloud

func NewDeploymentsClient Uses

func NewDeploymentsClient(subscriptionID string) DeploymentsClient

NewDeploymentsClient creates an instance of the DeploymentsClient client.

func NewDeploymentsClientWithBaseURI Uses

func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient

NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client.

func (DeploymentsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListClusterAllDeploymentsPreparer prepares the ListClusterAllDeployments request.

func (DeploymentsClient) ListClusterAllDeploymentsResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type DeploymentsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*DeploymentsCreateOrUpdateFuture) Result Uses

func (future *DeploymentsCreateOrUpdateFuture) 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 DeploymentsRestartFuture Uses

type DeploymentsRestartFuture struct {
    azure.Future
}

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

func (*DeploymentsRestartFuture) Result Uses

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 Uses

type DeploymentsStartFuture struct {
    azure.Future
}

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

func (*DeploymentsStartFuture) Result Uses

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 Uses

type DeploymentsStopFuture struct {
    azure.Future
}

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

func (*DeploymentsStopFuture) Result Uses

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 Uses

type DeploymentsUpdateFuture struct {
    azure.Future
}

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

func (*DeploymentsUpdateFuture) Result Uses

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 Uses

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 Uses

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 Uses

type LogFileURLResponse struct {
    autorest.Response `json:"-"`
    // URL - URL of the log file
    URL *string `json:"url,omitempty"`
}

LogFileURLResponse log file URL payload

type LogSpecification Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type OperationProperties struct {
    // ServiceSpecification - Service specifications of the operation
    ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties extra Operation properties

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the REST API for Azure Spring Cloud

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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 Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result AvailableOperationsIterator, err error)

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource Uses

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 Uses

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 Uses

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 Uses

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 Uses

type RuntimeVersion string

RuntimeVersion enumerates the values for runtime version.

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

func PossibleRuntimeVersionValues Uses

func PossibleRuntimeVersionValues() []RuntimeVersion

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

type ServiceResource Uses

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 Uses

func (sr ServiceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceResource.

type ServiceResourceList Uses

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 Uses

func (srl ServiceResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceResourceListIterator Uses

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

ServiceResourceListIterator provides access to a complete listing of ServiceResource values.

func NewServiceResourceListIterator Uses

func NewServiceResourceListIterator(page ServiceResourceListPage) ServiceResourceListIterator

Creates a new instance of the ServiceResourceListIterator type.

func (*ServiceResourceListIterator) Next Uses

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 Uses

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 Uses

func (iter ServiceResourceListIterator) NotDone() bool

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

func (ServiceResourceListIterator) Response Uses

func (iter ServiceResourceListIterator) Response() ServiceResourceList

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

func (ServiceResourceListIterator) Value Uses

func (iter ServiceResourceListIterator) Value() ServiceResource

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

type ServiceResourceListPage Uses

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

ServiceResourceListPage contains a page of ServiceResource values.

func NewServiceResourceListPage Uses

func NewServiceResourceListPage(getNextPage func(context.Context, ServiceResourceList) (ServiceResourceList, error)) ServiceResourceListPage

Creates a new instance of the ServiceResourceListPage type.

func (*ServiceResourceListPage) Next Uses

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 Uses

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 Uses

func (page ServiceResourceListPage) NotDone() bool

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

func (ServiceResourceListPage) Response Uses

func (page ServiceResourceListPage) Response() ServiceResourceList

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

func (ServiceResourceListPage) Values Uses

func (page ServiceResourceListPage) Values() []ServiceResource

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

type ServiceSpecification Uses

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 Uses

type ServicesClient struct {
    BaseClient
}

ServicesClient is the REST API for Azure Spring Cloud

func NewServicesClient Uses

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI Uses

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client.

func (ServicesClient) CheckNameAvailability Uses

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 Uses

func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, availabilityParameters NameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServicesClient) CheckNameAvailabilityResponder Uses

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 Uses

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 Uses

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 Uses

func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, resource *ServiceResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServicesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

DisableTestEndpointPreparer prepares the DisableTestEndpoint request.

func (ServicesClient) DisableTestEndpointResponder Uses

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 Uses

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 Uses

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 Uses

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

EnableTestEndpointPreparer prepares the EnableTestEndpoint request.

func (ServicesClient) EnableTestEndpointResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

func (client ServicesClient) ListBySubscription(ctx context.Context) (result ServiceResourceListPage, err error)

ListBySubscription handles requests to list all resources in a subscription.

func (ServicesClient) ListBySubscriptionComplete Uses

func (client ServicesClient) ListBySubscriptionComplete(ctx context.Context) (result ServiceResourceListIterator, err error)

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

func (ServicesClient) ListBySubscriptionPreparer Uses

func (client ServicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ServicesClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ServicesClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

ListTestKeysPreparer prepares the ListTestKeys request.

func (ServicesClient) ListTestKeysResponder Uses

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 Uses

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 Uses

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 Uses

func (client ServicesClient) RegenerateTestKeyPreparer(ctx context.Context, resourceGroupName string, serviceName string, regenerateTestKeyRequest *RegenerateTestKeyRequestPayload) (*http.Request, error)

RegenerateTestKeyPreparer prepares the RegenerateTestKey request.

func (ServicesClient) RegenerateTestKeyResponder Uses

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 Uses

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 Uses

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 Uses

func (client ServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, resource *ServiceResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder Uses

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 Uses

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 Uses

type ServicesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ServicesCreateOrUpdateFuture) Result Uses

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 Uses

type ServicesDeleteFuture struct {
    azure.Future
}

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

func (*ServicesDeleteFuture) Result Uses

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 Uses

type ServicesUpdateFuture struct {
    azure.Future
}

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

func (*ServicesUpdateFuture) Result Uses

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 Uses

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 Uses

type TestKeyType string

TestKeyType enumerates the values for test key type.

const (
    // Primary ...
    Primary TestKeyType = "Primary"
    // Secondary ...
    Secondary TestKeyType = "Secondary"
)

func PossibleTestKeyTypeValues Uses

func PossibleTestKeyTypeValues() []TestKeyType

PossibleTestKeyTypeValues returns an array of possible values for the TestKeyType const type.

type TestKeys Uses

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 Uses

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 Uses

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 Uses

func PossibleTraceProxyStateValues() []TraceProxyState

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

type TrackedResource Uses

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 Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type UserSourceInfo Uses

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 Uses

type UserSourceType string

UserSourceType enumerates the values for user source type.

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

func PossibleUserSourceTypeValues Uses

func PossibleUserSourceTypeValues() []UserSourceType

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

Directories

PathSynopsis
appplatformapi

Package appplatform imports 10 packages (graph) and is imported by 1 packages. Updated 2019-11-13. Refresh now. Tools for package owners.