azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/appplatform/mgmt/2020-07-01/appplatform Index | Files | Directories

package appplatform

import "github.com/Azure/azure-sdk-for-go/services/appplatform/mgmt/2020-07-01/appplatform"

Package appplatform implements the Azure ARM Appplatform service API version 2020-07-01.

REST API for Azure Spring Cloud

Index

Package Files

apps.go bindings.go certificates.go client.go configservers.go customdomains.go deployments.go enums.go models.go monitoringsettings.go operations.go runtimeversions.go services.go skus.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"`
    // Identity - The Managed Identity type of the app resource
    Identity *ManagedIdentityProperties `json:"identity,omitempty"`
    // Location - The GEO location of the application, always the same with its parent resource
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

AppResource app resource payload

func (AppResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AppResource.

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(cur AppResourceCollection, 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"`
    // Fqdn - Fully qualified dns Name.
    Fqdn *string `json:"fqdn,omitempty"`
    // HTTPSOnly - Indicate if only https is allowed.
    HTTPSOnly *bool `json:"httpsOnly,omitempty"`
    // CreatedTime - READ-ONLY; Date time when the resource is created
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // TemporaryDisk - Temporary disk settings
    TemporaryDisk *TemporaryDisk `json:"temporaryDisk,omitempty"`
    // PersistentDisk - Persistent disk settings
    PersistentDisk *PersistentDisk `json:"persistentDisk,omitempty"`
}

AppResourceProperties app resource properties payload

func (AppResourceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AppResourceProperties.

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AppsClient) CreateOrUpdate 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 AppsDeleteFuture, err error)

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

func (AppsClient) DeletePreparer 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) (future AppsDeleteFuture, err error)

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

func (AppsClient) Get 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.

func (AppsClient) ValidateDomain Uses

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

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

func (AppsClient) ValidateDomainPreparer Uses

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

ValidateDomainPreparer prepares the ValidateDomain request.

func (AppsClient) ValidateDomainResponder Uses

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

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

func (AppsClient) ValidateDomainSender Uses

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

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

type AppsCreateOrUpdateFuture 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 AppsDeleteFuture Uses

type AppsDeleteFuture struct {
    azure.Future
}

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

func (*AppsDeleteFuture) Result Uses

func (future *AppsDeleteFuture) Result(client AppsClient) (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 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(cur AvailableOperations, 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 AvailableRuntimeVersions Uses

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

AvailableRuntimeVersions ...

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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

func (BindingResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for BindingResource.

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

BindingResourceProperties binding resource properties payload

func (BindingResourceProperties) MarshalJSON 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BindingsClient) CreateOrUpdate Uses

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

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

func (BindingsClient) CreateOrUpdatePreparer 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) (future BindingsCreateOrUpdateFuture, err error)

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

func (BindingsClient) Delete Uses

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

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

func (BindingsClient) DeletePreparer 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) (future BindingsDeleteFuture, err error)

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

func (BindingsClient) Get 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 BindingsUpdateFuture, err error)

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

func (BindingsClient) UpdatePreparer 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) (future BindingsUpdateFuture, err error)

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

type BindingsCreateOrUpdateFuture Uses

type BindingsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*BindingsCreateOrUpdateFuture) Result Uses

func (future *BindingsCreateOrUpdateFuture) Result(client BindingsClient) (br BindingResource, err error)

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

type BindingsDeleteFuture Uses

type BindingsDeleteFuture struct {
    azure.Future
}

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

func (*BindingsDeleteFuture) Result Uses

func (future *BindingsDeleteFuture) Result(client BindingsClient) (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 BindingsUpdateFuture Uses

type BindingsUpdateFuture struct {
    azure.Future
}

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

func (*BindingsUpdateFuture) Result Uses

func (future *BindingsUpdateFuture) Result(client BindingsClient) (br BindingResource, err error)

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

type CertificateProperties Uses

type CertificateProperties struct {
    // Thumbprint - READ-ONLY; The thumbprint of certificate.
    Thumbprint *string `json:"thumbprint,omitempty"`
    // VaultURI - The vault uri of user key vault.
    VaultURI *string `json:"vaultUri,omitempty"`
    // KeyVaultCertName - The certificate name of key vault.
    KeyVaultCertName *string `json:"keyVaultCertName,omitempty"`
    // CertVersion - The certificate version of key vault.
    CertVersion *string `json:"certVersion,omitempty"`
    // Issuer - READ-ONLY; The issuer of certificate.
    Issuer *string `json:"issuer,omitempty"`
    // IssuedDate - READ-ONLY; The issue date of certificate.
    IssuedDate *string `json:"issuedDate,omitempty"`
    // ExpirationDate - READ-ONLY; The expiration date of certificate.
    ExpirationDate *string `json:"expirationDate,omitempty"`
    // ActivateDate - READ-ONLY; The activate date of certificate.
    ActivateDate *string `json:"activateDate,omitempty"`
    // SubjectName - READ-ONLY; The subject name of certificate.
    SubjectName *string `json:"subjectName,omitempty"`
    // DNSNames - READ-ONLY; The domain list of certificate.
    DNSNames *[]string `json:"dnsNames,omitempty"`
}

CertificateProperties certificate resource payload.

func (CertificateProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CertificateProperties.

type CertificateResource Uses

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

CertificateResource certificate resource payload.

func (CertificateResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CertificateResource.

type CertificateResourceCollection Uses

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

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

func (CertificateResourceCollection) IsEmpty Uses

func (crc CertificateResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateResourceCollectionIterator Uses

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

CertificateResourceCollectionIterator provides access to a complete listing of CertificateResource values.

func NewCertificateResourceCollectionIterator Uses

func NewCertificateResourceCollectionIterator(page CertificateResourceCollectionPage) CertificateResourceCollectionIterator

Creates a new instance of the CertificateResourceCollectionIterator type.

func (*CertificateResourceCollectionIterator) Next Uses

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

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

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

func (CertificateResourceCollectionIterator) NotDone Uses

func (iter CertificateResourceCollectionIterator) NotDone() bool

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

func (CertificateResourceCollectionIterator) Response Uses

func (iter CertificateResourceCollectionIterator) Response() CertificateResourceCollection

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

func (CertificateResourceCollectionIterator) Value Uses

func (iter CertificateResourceCollectionIterator) Value() CertificateResource

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

type CertificateResourceCollectionPage Uses

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

CertificateResourceCollectionPage contains a page of CertificateResource values.

func NewCertificateResourceCollectionPage Uses

func NewCertificateResourceCollectionPage(cur CertificateResourceCollection, getNextPage func(context.Context, CertificateResourceCollection) (CertificateResourceCollection, error)) CertificateResourceCollectionPage

Creates a new instance of the CertificateResourceCollectionPage type.

func (*CertificateResourceCollectionPage) Next Uses

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

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

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

func (CertificateResourceCollectionPage) NotDone Uses

func (page CertificateResourceCollectionPage) NotDone() bool

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

func (CertificateResourceCollectionPage) Response Uses

func (page CertificateResourceCollectionPage) Response() CertificateResourceCollection

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

func (CertificateResourceCollectionPage) Values Uses

func (page CertificateResourceCollectionPage) Values() []CertificateResource

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

type CertificatesClient Uses

type CertificatesClient struct {
    BaseClient
}

CertificatesClient is the REST API for Azure Spring Cloud

func NewCertificatesClient Uses

func NewCertificatesClient(subscriptionID string) CertificatesClient

NewCertificatesClient creates an instance of the CertificatesClient client.

func NewCertificatesClientWithBaseURI Uses

func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient

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

func (CertificatesClient) CreateOrUpdate Uses

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

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

func (CertificatesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CertificatesClient) CreateOrUpdateResponder Uses

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

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

func (CertificatesClient) CreateOrUpdateSender Uses

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

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

func (CertificatesClient) Delete Uses

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

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

func (CertificatesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (CertificatesClient) DeleteResponder Uses

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

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

func (CertificatesClient) DeleteSender Uses

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

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

func (CertificatesClient) Get Uses

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

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

func (CertificatesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (CertificatesClient) GetResponder Uses

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

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

func (CertificatesClient) GetSender Uses

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

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

func (CertificatesClient) List Uses

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

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

func (CertificatesClient) ListComplete Uses

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

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

func (CertificatesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (CertificatesClient) ListResponder Uses

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

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

func (CertificatesClient) ListSender Uses

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

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

type CertificatesCreateOrUpdateFuture Uses

type CertificatesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*CertificatesCreateOrUpdateFuture) Result Uses

func (future *CertificatesCreateOrUpdateFuture) Result(client CertificatesClient) (cr CertificateResource, err error)

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

type CertificatesDeleteFuture Uses

type CertificatesDeleteFuture struct {
    azure.Future
}

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

func (*CertificatesDeleteFuture) Result Uses

func (future *CertificatesDeleteFuture) Result(client CertificatesClient) (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 CloudError Uses

type CloudError struct {
    // Error - An error response from the service.
    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"`
    // NetworkProfile - Network profile of the Service
    NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
    // Version - READ-ONLY; Version of the Service
    Version *int32 `json:"version,omitempty"`
    // ServiceID - READ-ONLY; ServiceInstanceEntity GUID which uniquely identifies a created resource
    ServiceID *string `json:"serviceId,omitempty"`
}

ClusterResourceProperties service properties payload

func (ClusterResourceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ClusterResourceProperties.

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

ConfigServerProperties config server git properties payload

func (ConfigServerProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ConfigServerProperties.

type ConfigServerResource Uses

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

ConfigServerResource config Server resource

func (ConfigServerResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ConfigServerResource.

type ConfigServerSettings Uses

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

ConfigServerSettings the settings of config server.

type ConfigServerSettingsErrorRecord Uses

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

ConfigServerSettingsErrorRecord error record of the config server settings

type ConfigServerSettingsValidateResult Uses

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

ConfigServerSettingsValidateResult validation result for config server settings

type ConfigServerState 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 ConfigServersClient Uses

type ConfigServersClient struct {
    BaseClient
}

ConfigServersClient is the REST API for Azure Spring Cloud

func NewConfigServersClient Uses

func NewConfigServersClient(subscriptionID string) ConfigServersClient

NewConfigServersClient creates an instance of the ConfigServersClient client.

func NewConfigServersClientWithBaseURI Uses

func NewConfigServersClientWithBaseURI(baseURI string, subscriptionID string) ConfigServersClient

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

func (ConfigServersClient) Get Uses

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

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

func (ConfigServersClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ConfigServersClient) GetResponder Uses

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

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

func (ConfigServersClient) GetSender Uses

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

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

func (ConfigServersClient) UpdatePatch Uses

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

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

func (ConfigServersClient) UpdatePatchPreparer Uses

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

UpdatePatchPreparer prepares the UpdatePatch request.

func (ConfigServersClient) UpdatePatchResponder Uses

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

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

func (ConfigServersClient) UpdatePatchSender Uses

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

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

func (ConfigServersClient) UpdatePut Uses

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

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

func (ConfigServersClient) UpdatePutPreparer Uses

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

UpdatePutPreparer prepares the UpdatePut request.

func (ConfigServersClient) UpdatePutResponder Uses

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

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

func (ConfigServersClient) UpdatePutSender Uses

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

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

func (ConfigServersClient) Validate Uses

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

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

func (ConfigServersClient) ValidatePreparer Uses

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

ValidatePreparer prepares the Validate request.

func (ConfigServersClient) ValidateResponder Uses

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

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

func (ConfigServersClient) ValidateSender Uses

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

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

type ConfigServersUpdatePatchFuture Uses

type ConfigServersUpdatePatchFuture struct {
    azure.Future
}

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

func (*ConfigServersUpdatePatchFuture) Result Uses

func (future *ConfigServersUpdatePatchFuture) Result(client ConfigServersClient) (csr ConfigServerResource, err error)

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

type ConfigServersUpdatePutFuture Uses

type ConfigServersUpdatePutFuture struct {
    azure.Future
}

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

func (*ConfigServersUpdatePutFuture) Result Uses

func (future *ConfigServersUpdatePutFuture) Result(client ConfigServersClient) (csr ConfigServerResource, err error)

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

type ConfigServersValidateFuture Uses

type ConfigServersValidateFuture struct {
    azure.Future
}

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

func (*ConfigServersValidateFuture) Result Uses

func (future *ConfigServersValidateFuture) Result(client ConfigServersClient) (cssvr ConfigServerSettingsValidateResult, err error)

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

type CustomDomainProperties Uses

type CustomDomainProperties struct {
    // Thumbprint - The thumbprint of bound certificate.
    Thumbprint *string `json:"thumbprint,omitempty"`
    // AppName - READ-ONLY; The app name of domain.
    AppName *string `json:"appName,omitempty"`
    // CertName - The bound certificate name of domain.
    CertName *string `json:"certName,omitempty"`
}

CustomDomainProperties custom domain of app resource payload.

func (CustomDomainProperties) MarshalJSON Uses

func (cdp CustomDomainProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainProperties.

type CustomDomainResource Uses

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

CustomDomainResource custom domain resource payload.

func (CustomDomainResource) MarshalJSON Uses

func (cdr CustomDomainResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainResource.

type CustomDomainResourceCollection Uses

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

CustomDomainResourceCollection collection compose of a custom domain resources list and a possible link for next page.

func (CustomDomainResourceCollection) IsEmpty Uses

func (cdrc CustomDomainResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CustomDomainResourceCollectionIterator Uses

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

CustomDomainResourceCollectionIterator provides access to a complete listing of CustomDomainResource values.

func NewCustomDomainResourceCollectionIterator Uses

func NewCustomDomainResourceCollectionIterator(page CustomDomainResourceCollectionPage) CustomDomainResourceCollectionIterator

Creates a new instance of the CustomDomainResourceCollectionIterator type.

func (*CustomDomainResourceCollectionIterator) Next Uses

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

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

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

func (CustomDomainResourceCollectionIterator) NotDone Uses

func (iter CustomDomainResourceCollectionIterator) NotDone() bool

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

func (CustomDomainResourceCollectionIterator) Response Uses

func (iter CustomDomainResourceCollectionIterator) Response() CustomDomainResourceCollection

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

func (CustomDomainResourceCollectionIterator) Value Uses

func (iter CustomDomainResourceCollectionIterator) Value() CustomDomainResource

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

type CustomDomainResourceCollectionPage Uses

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

CustomDomainResourceCollectionPage contains a page of CustomDomainResource values.

func NewCustomDomainResourceCollectionPage Uses

func NewCustomDomainResourceCollectionPage(cur CustomDomainResourceCollection, getNextPage func(context.Context, CustomDomainResourceCollection) (CustomDomainResourceCollection, error)) CustomDomainResourceCollectionPage

Creates a new instance of the CustomDomainResourceCollectionPage type.

func (*CustomDomainResourceCollectionPage) Next Uses

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

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

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

func (CustomDomainResourceCollectionPage) NotDone Uses

func (page CustomDomainResourceCollectionPage) NotDone() bool

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

func (CustomDomainResourceCollectionPage) Response Uses

func (page CustomDomainResourceCollectionPage) Response() CustomDomainResourceCollection

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

func (CustomDomainResourceCollectionPage) Values Uses

func (page CustomDomainResourceCollectionPage) Values() []CustomDomainResource

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

type CustomDomainValidatePayload Uses

type CustomDomainValidatePayload struct {
    // Name - Name to be validated
    Name *string `json:"name,omitempty"`
}

CustomDomainValidatePayload custom domain validate payload.

type CustomDomainValidateResult Uses

type CustomDomainValidateResult struct {
    autorest.Response `json:"-"`
    // IsValid - Indicates if domain name is valid.
    IsValid *bool `json:"isValid,omitempty"`
    // Message - Message of why domain name is invalid.
    Message *string `json:"message,omitempty"`
}

CustomDomainValidateResult validation result for custom domain.

type CustomDomainsClient Uses

type CustomDomainsClient struct {
    BaseClient
}

CustomDomainsClient is the REST API for Azure Spring Cloud

func NewCustomDomainsClient Uses

func NewCustomDomainsClient(subscriptionID string) CustomDomainsClient

NewCustomDomainsClient creates an instance of the CustomDomainsClient client.

func NewCustomDomainsClientWithBaseURI Uses

func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) CustomDomainsClient

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

func (CustomDomainsClient) CreateOrUpdate Uses

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

CreateOrUpdate create or update custom domain of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. domainName - the name of the custom domain resource. domainResource - parameters for the create or update operation

func (CustomDomainsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CustomDomainsClient) CreateOrUpdateResponder Uses

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

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

func (CustomDomainsClient) CreateOrUpdateSender Uses

func (client CustomDomainsClient) CreateOrUpdateSender(req *http.Request) (future CustomDomainsCreateOrUpdateFuture, err error)

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

func (CustomDomainsClient) Delete Uses

func (client CustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string) (result CustomDomainsDeleteFuture, err error)

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

func (CustomDomainsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (CustomDomainsClient) DeleteResponder Uses

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

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

func (CustomDomainsClient) DeleteSender Uses

func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error)

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

func (CustomDomainsClient) Get Uses

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

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

func (CustomDomainsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (CustomDomainsClient) GetResponder Uses

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

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

func (CustomDomainsClient) GetSender Uses

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

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

func (CustomDomainsClient) List Uses

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

List list the custom domains of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource.

func (CustomDomainsClient) ListComplete Uses

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

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

func (CustomDomainsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (CustomDomainsClient) ListResponder Uses

func (client CustomDomainsClient) ListResponder(resp *http.Response) (result CustomDomainResourceCollection, err error)

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

func (CustomDomainsClient) ListSender Uses

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

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

func (CustomDomainsClient) Update Uses

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

Update update custom domain of one lifecycle application. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. appName - the name of the App resource. domainName - the name of the custom domain resource. domainResource - parameters for the create or update operation

func (CustomDomainsClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (CustomDomainsClient) UpdateResponder Uses

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

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

func (CustomDomainsClient) UpdateSender Uses

func (client CustomDomainsClient) UpdateSender(req *http.Request) (future CustomDomainsUpdateFuture, err error)

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

type CustomDomainsCreateOrUpdateFuture Uses

type CustomDomainsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*CustomDomainsCreateOrUpdateFuture) Result Uses

func (future *CustomDomainsCreateOrUpdateFuture) Result(client CustomDomainsClient) (cdr CustomDomainResource, err error)

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

type CustomDomainsDeleteFuture Uses

type CustomDomainsDeleteFuture struct {
    azure.Future
}

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

func (*CustomDomainsDeleteFuture) Result Uses

func (future *CustomDomainsDeleteFuture) Result(client CustomDomainsClient) (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 CustomDomainsUpdateFuture Uses

type CustomDomainsUpdateFuture struct {
    azure.Future
}

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

func (*CustomDomainsUpdateFuture) Result Uses

func (future *CustomDomainsUpdateFuture) Result(client CustomDomainsClient) (cdr CustomDomainResource, err error)

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

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"`
    // StartTime - READ-ONLY; Start time of the deployment instance
    StartTime *string `json:"startTime,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"`
    // Sku - Sku of the Deployment resource
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

DeploymentResource deployment resource payload

func (DeploymentResource) MarshalJSON Uses

func (dr DeploymentResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentResource.

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(cur DeploymentResourceCollection, 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"`
    // DeploymentSettings - Deployment settings of the Deployment
    DeploymentSettings *DeploymentSettings `json:"deploymentSettings,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the Deployment. Possible values include: 'DeploymentResourceProvisioningStateCreating', 'DeploymentResourceProvisioningStateUpdating', 'DeploymentResourceProvisioningStateSucceeded', 'DeploymentResourceProvisioningStateFailed'
    ProvisioningState DeploymentResourceProvisioningState `json:"provisioningState,omitempty"`
    // Status - READ-ONLY; Status of the Deployment. Possible values include: 'DeploymentResourceStatusUnknown', 'DeploymentResourceStatusStopped', 'DeploymentResourceStatusRunning', 'DeploymentResourceStatusFailed', 'DeploymentResourceStatusAllocating', 'DeploymentResourceStatusUpgrading', 'DeploymentResourceStatusCompiling'
    Status DeploymentResourceStatus `json:"status,omitempty"`
    // Active - READ-ONLY; Indicates whether the Deployment is active
    Active *bool `json:"active,omitempty"`
    // CreatedTime - READ-ONLY; Date time when the resource is created
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // Instances - READ-ONLY; Collection of instances belong to the Deployment
    Instances *[]DeploymentInstance `json:"instances,omitempty"`
}

DeploymentResourceProperties deployment resource properties payload

func (DeploymentResourceProperties) MarshalJSON Uses

func (drp DeploymentResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentResourceProperties.

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

DeploymentSettings deployment settings payload

func (DeploymentSettings) MarshalJSON 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DeploymentsClient) CreateOrUpdate 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 DeploymentsDeleteFuture, err error)

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

func (DeploymentsClient) DeletePreparer 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) (future DeploymentsDeleteFuture, err 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) 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) ListForCluster Uses

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

ListForCluster list deployments for a certain service Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource. version - version of the deployments to be listed

func (DeploymentsClient) ListForClusterComplete Uses

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

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

func (DeploymentsClient) ListForClusterPreparer Uses

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

ListForClusterPreparer prepares the ListForCluster request.

func (DeploymentsClient) ListForClusterResponder Uses

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

ListForClusterResponder handles the response to the ListForCluster request. The method always closes the http.Response Body.

func (DeploymentsClient) ListForClusterSender Uses

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

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

func (DeploymentsClient) ListPreparer 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 DeploymentsDeleteFuture Uses

type DeploymentsDeleteFuture struct {
    azure.Future
}

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

func (*DeploymentsDeleteFuture) Result Uses

func (future *DeploymentsDeleteFuture) 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 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 ManagedIdentityProperties Uses

type ManagedIdentityProperties struct {
    // Type - Type of the managed identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssignedUserAssigned'
    Type ManagedIdentityType `json:"type,omitempty"`
    // PrincipalID - Principal Id
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - Tenant Id
    TenantID *string `json:"tenantId,omitempty"`
}

ManagedIdentityProperties managed identity properties retrieved from ARM request headers.

type ManagedIdentityType Uses

type ManagedIdentityType string

ManagedIdentityType enumerates the values for managed identity type.

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

func PossibleManagedIdentityTypeValues Uses

func PossibleManagedIdentityTypeValues() []ManagedIdentityType

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

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

type MonitoringSettingProperties struct {
    // ProvisioningState - READ-ONLY; State of the Monitoring Setting. Possible values include: 'MonitoringSettingStateNotAvailable', 'MonitoringSettingStateFailed', 'MonitoringSettingStateSucceeded', 'MonitoringSettingStateUpdating'
    ProvisioningState MonitoringSettingState `json:"provisioningState,omitempty"`
    // Error - Error when apply Monitoring Setting changes.
    Error *Error `json:"error,omitempty"`
    // TraceEnabled - Indicates whether enable the trace functionality
    TraceEnabled *bool `json:"traceEnabled,omitempty"`
    // AppInsightsInstrumentationKey - Target application insight instrumentation key
    AppInsightsInstrumentationKey *string `json:"appInsightsInstrumentationKey,omitempty"`
}

MonitoringSettingProperties monitoring Setting properties payload

func (MonitoringSettingProperties) MarshalJSON Uses

func (msp MonitoringSettingProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitoringSettingProperties.

type MonitoringSettingResource Uses

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

MonitoringSettingResource monitoring Setting resource

func (MonitoringSettingResource) MarshalJSON Uses

func (msr MonitoringSettingResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitoringSettingResource.

type MonitoringSettingState Uses

type MonitoringSettingState string

MonitoringSettingState enumerates the values for monitoring setting state.

const (
    // MonitoringSettingStateFailed ...
    MonitoringSettingStateFailed MonitoringSettingState = "Failed"
    // MonitoringSettingStateNotAvailable ...
    MonitoringSettingStateNotAvailable MonitoringSettingState = "NotAvailable"
    // MonitoringSettingStateSucceeded ...
    MonitoringSettingStateSucceeded MonitoringSettingState = "Succeeded"
    // MonitoringSettingStateUpdating ...
    MonitoringSettingStateUpdating MonitoringSettingState = "Updating"
)

func PossibleMonitoringSettingStateValues Uses

func PossibleMonitoringSettingStateValues() []MonitoringSettingState

PossibleMonitoringSettingStateValues returns an array of possible values for the MonitoringSettingState const type.

type MonitoringSettingsClient Uses

type MonitoringSettingsClient struct {
    BaseClient
}

MonitoringSettingsClient is the REST API for Azure Spring Cloud

func NewMonitoringSettingsClient Uses

func NewMonitoringSettingsClient(subscriptionID string) MonitoringSettingsClient

NewMonitoringSettingsClient creates an instance of the MonitoringSettingsClient client.

func NewMonitoringSettingsClientWithBaseURI Uses

func NewMonitoringSettingsClientWithBaseURI(baseURI string, subscriptionID string) MonitoringSettingsClient

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

func (MonitoringSettingsClient) Get Uses

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

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

func (MonitoringSettingsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (MonitoringSettingsClient) GetResponder Uses

func (client MonitoringSettingsClient) GetResponder(resp *http.Response) (result MonitoringSettingResource, err error)

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

func (MonitoringSettingsClient) GetSender Uses

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

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

func (MonitoringSettingsClient) UpdatePatch Uses

func (client MonitoringSettingsClient) UpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (result MonitoringSettingsUpdatePatchFuture, err error)

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

func (MonitoringSettingsClient) UpdatePatchPreparer Uses

func (client MonitoringSettingsClient) UpdatePatchPreparer(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (*http.Request, error)

UpdatePatchPreparer prepares the UpdatePatch request.

func (MonitoringSettingsClient) UpdatePatchResponder Uses

func (client MonitoringSettingsClient) UpdatePatchResponder(resp *http.Response) (result MonitoringSettingResource, err error)

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

func (MonitoringSettingsClient) UpdatePatchSender Uses

func (client MonitoringSettingsClient) UpdatePatchSender(req *http.Request) (future MonitoringSettingsUpdatePatchFuture, err error)

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

func (MonitoringSettingsClient) UpdatePut Uses

func (client MonitoringSettingsClient) UpdatePut(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (result MonitoringSettingsUpdatePutFuture, err error)

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

func (MonitoringSettingsClient) UpdatePutPreparer Uses

func (client MonitoringSettingsClient) UpdatePutPreparer(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource) (*http.Request, error)

UpdatePutPreparer prepares the UpdatePut request.

func (MonitoringSettingsClient) UpdatePutResponder Uses

func (client MonitoringSettingsClient) UpdatePutResponder(resp *http.Response) (result MonitoringSettingResource, err error)

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

func (MonitoringSettingsClient) UpdatePutSender Uses

func (client MonitoringSettingsClient) UpdatePutSender(req *http.Request) (future MonitoringSettingsUpdatePutFuture, err error)

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

type MonitoringSettingsUpdatePatchFuture Uses

type MonitoringSettingsUpdatePatchFuture struct {
    azure.Future
}

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

func (*MonitoringSettingsUpdatePatchFuture) Result Uses

func (future *MonitoringSettingsUpdatePatchFuture) Result(client MonitoringSettingsClient) (msr MonitoringSettingResource, err error)

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

type MonitoringSettingsUpdatePutFuture Uses

type MonitoringSettingsUpdatePutFuture struct {
    azure.Future
}

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

func (*MonitoringSettingsUpdatePutFuture) Result Uses

func (future *MonitoringSettingsUpdatePutFuture) Result(client MonitoringSettingsClient) (msr MonitoringSettingResource, err error)

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

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

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

NetworkProfile service network profile payload

func (NetworkProfile) MarshalJSON Uses

func (np NetworkProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkProfile.

type NetworkProfileOutboundIPs Uses

type NetworkProfileOutboundIPs struct {
    // PublicIPs - READ-ONLY; A list of public IP addresses.
    PublicIPs *[]string `json:"publicIPs,omitempty"`
}

NetworkProfileOutboundIPs desired outbound IP resources for Azure Spring Cloud instance.

type OperationDetail Uses

type OperationDetail struct {
    // Name - Name of the operation
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation is a data action
    IsDataAction *bool `json:"isDataAction,omitempty"`
    // Display - Display of the operation
    Display *OperationDisplay `json:"display,omitempty"`
    // Origin - Origin of the operation
    Origin *string `json:"origin,omitempty"`
    // Properties - Properties of the operation
    Properties *OperationProperties `json:"properties,omitempty"`
}

OperationDetail operation detail payload

type OperationDisplay 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List 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

func (PersistentDisk) MarshalJSON Uses

func (pd PersistentDisk) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PersistentDisk.

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

type ResourceSku struct {
    // ResourceType - Gets the type of resource the SKU applies to.
    ResourceType *string `json:"resourceType,omitempty"`
    // Name - Gets the name of SKU.
    Name *string `json:"name,omitempty"`
    // Tier - Gets the tier of SKU.
    Tier *string `json:"tier,omitempty"`
    // Capacity - Gets the capacity of SKU.
    Capacity *SkuCapacity `json:"capacity,omitempty"`
    // Locations - Gets the set of locations that the SKU is available.
    Locations *[]string `json:"locations,omitempty"`
    // LocationInfo - Gets a list of locations and availability zones in those locations where the SKU is available.
    LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"`
    // Restrictions - Gets the restrictions because of which SKU cannot be used. This is
    // empty if there are no restrictions.
    Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
}

ResourceSku describes an available Azure Spring Cloud SKU.

type ResourceSkuCapabilities Uses

type ResourceSkuCapabilities struct {
    // Name - Gets an invariant to describe the feature.
    Name *string `json:"name,omitempty"`
    // Value - Gets an invariant if the feature is measured by quantity.
    Value *string `json:"value,omitempty"`
}

ResourceSkuCapabilities ...

type ResourceSkuCollection Uses

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

ResourceSkuCollection object that includes an array of Azure Spring Cloud SKU and a possible link for next set

func (ResourceSkuCollection) IsEmpty Uses

func (rsc ResourceSkuCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourceSkuCollectionIterator Uses

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

ResourceSkuCollectionIterator provides access to a complete listing of ResourceSku values.

func NewResourceSkuCollectionIterator Uses

func NewResourceSkuCollectionIterator(page ResourceSkuCollectionPage) ResourceSkuCollectionIterator

Creates a new instance of the ResourceSkuCollectionIterator type.

func (*ResourceSkuCollectionIterator) Next Uses

func (iter *ResourceSkuCollectionIterator) Next() error

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

func (*ResourceSkuCollectionIterator) NextWithContext Uses

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

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

func (ResourceSkuCollectionIterator) NotDone Uses

func (iter ResourceSkuCollectionIterator) NotDone() bool

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

func (ResourceSkuCollectionIterator) Response Uses

func (iter ResourceSkuCollectionIterator) Response() ResourceSkuCollection

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

func (ResourceSkuCollectionIterator) Value Uses

func (iter ResourceSkuCollectionIterator) Value() ResourceSku

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

type ResourceSkuCollectionPage Uses

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

ResourceSkuCollectionPage contains a page of ResourceSku values.

func NewResourceSkuCollectionPage Uses

func NewResourceSkuCollectionPage(cur ResourceSkuCollection, getNextPage func(context.Context, ResourceSkuCollection) (ResourceSkuCollection, error)) ResourceSkuCollectionPage

Creates a new instance of the ResourceSkuCollectionPage type.

func (*ResourceSkuCollectionPage) Next Uses

func (page *ResourceSkuCollectionPage) Next() error

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

func (*ResourceSkuCollectionPage) NextWithContext Uses

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

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

func (ResourceSkuCollectionPage) NotDone Uses

func (page ResourceSkuCollectionPage) NotDone() bool

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

func (ResourceSkuCollectionPage) Response Uses

func (page ResourceSkuCollectionPage) Response() ResourceSkuCollection

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

func (ResourceSkuCollectionPage) Values Uses

func (page ResourceSkuCollectionPage) Values() []ResourceSku

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

type ResourceSkuLocationInfo Uses

type ResourceSkuLocationInfo struct {
    // Location - Gets location of the SKU
    Location *string `json:"location,omitempty"`
    // Zones - Gets list of availability zones where the SKU is supported.
    Zones *[]string `json:"zones,omitempty"`
    // ZoneDetails - Gets details of capabilities available to a SKU in specific zones.
    ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"`
}

ResourceSkuLocationInfo locations and availability zones where the SKU is available

type ResourceSkuRestrictionInfo Uses

type ResourceSkuRestrictionInfo struct {
    // Locations - Gets locations where the SKU is restricted
    Locations *[]string `json:"locations,omitempty"`
    // Zones - Gets list of availability zones where the SKU is restricted.
    Zones *[]string `json:"zones,omitempty"`
}

ResourceSkuRestrictionInfo information about the restriction where the SKU cannot be used

type ResourceSkuRestrictions Uses

type ResourceSkuRestrictions struct {
    // Type - Gets the type of restrictions. Possible values include: 'Location', 'Zone'
    Type ResourceSkuRestrictionsType `json:"type,omitempty"`
    // Values - Gets the value of restrictions. If the restriction type is set to
    // location. This would be different locations where the SKU is restricted.
    Values *[]string `json:"values,omitempty"`
    // RestrictionInfo - Gets the information about the restriction where the SKU cannot be used.
    RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"`
    // ReasonCode - Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'. Possible values include: 'QuotaID', 'NotAvailableForSubscription'
    ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
}

ResourceSkuRestrictions restrictions where the SKU cannot be used

type ResourceSkuRestrictionsReasonCode Uses

type ResourceSkuRestrictionsReasonCode string

ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.

const (
    // NotAvailableForSubscription ...
    NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
    // QuotaID ...
    QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
)

func PossibleResourceSkuRestrictionsReasonCodeValues Uses

func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode

PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.

type ResourceSkuRestrictionsType Uses

type ResourceSkuRestrictionsType string

ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.

const (
    // Location ...
    Location ResourceSkuRestrictionsType = "Location"
    // Zone ...
    Zone ResourceSkuRestrictionsType = "Zone"
)

func PossibleResourceSkuRestrictionsTypeValues Uses

func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType

PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.

type ResourceSkuZoneDetails Uses

type ResourceSkuZoneDetails struct {
    // Name - Gets the set of zones that the SKU is available in with the
    // specified capabilities.
    Name *[]string `json:"name,omitempty"`
    // Capabilities - Gets a list of capabilities that are available for the SKU in the
    // specified list of zones.
    Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
}

ResourceSkuZoneDetails details of capabilities available to a SKU in specific zones

type ResourceUploadDefinition 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"
    // NetCore31 ...
    NetCore31 RuntimeVersion = "NetCore_31"
)

func PossibleRuntimeVersionValues Uses

func PossibleRuntimeVersionValues() []RuntimeVersion

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

type RuntimeVersionsClient Uses

type RuntimeVersionsClient struct {
    BaseClient
}

RuntimeVersionsClient is the REST API for Azure Spring Cloud

func NewRuntimeVersionsClient Uses

func NewRuntimeVersionsClient(subscriptionID string) RuntimeVersionsClient

NewRuntimeVersionsClient creates an instance of the RuntimeVersionsClient client.

func NewRuntimeVersionsClientWithBaseURI Uses

func NewRuntimeVersionsClientWithBaseURI(baseURI string, subscriptionID string) RuntimeVersionsClient

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

func (RuntimeVersionsClient) ListRuntimeVersions Uses

func (client RuntimeVersionsClient) ListRuntimeVersions(ctx context.Context) (result AvailableRuntimeVersions, err error)

ListRuntimeVersions lists all of the available runtime versions supported by Microsoft.AppPlatform provider.

func (RuntimeVersionsClient) ListRuntimeVersionsPreparer Uses

func (client RuntimeVersionsClient) ListRuntimeVersionsPreparer(ctx context.Context) (*http.Request, error)

ListRuntimeVersionsPreparer prepares the ListRuntimeVersions request.

func (RuntimeVersionsClient) ListRuntimeVersionsResponder Uses

func (client RuntimeVersionsClient) ListRuntimeVersionsResponder(resp *http.Response) (result AvailableRuntimeVersions, err error)

ListRuntimeVersionsResponder handles the response to the ListRuntimeVersions request. The method always closes the http.Response Body.

func (RuntimeVersionsClient) ListRuntimeVersionsSender Uses

func (client RuntimeVersionsClient) ListRuntimeVersionsSender(req *http.Request) (*http.Response, error)

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

type ServiceResource Uses

type ServiceResource struct {
    autorest.Response `json:"-"`
    // Properties - Properties of the Service resource
    Properties *ClusterResourceProperties `json:"properties,omitempty"`
    // Sku - Sku of the Service resource
    Sku *Sku `json:"sku,omitempty"`
    // Location - The GEO location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Tags of the service which is a list of key value pairs that describe the resource.
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

ServiceResource service resource

func (ServiceResource) MarshalJSON 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(cur ServiceResourceList, 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServicesClient) CheckNameAvailability 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 disable test endpoint functionality for a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) DisableTestEndpointPreparer 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 enable test endpoint functionality for a Service. Parameters: resourceGroupName - the name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. serviceName - the name of the Service resource.

func (ServicesClient) EnableTestEndpointPreparer 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 Sku Uses

type Sku struct {
    // Name - Name of the Sku
    Name *string `json:"name,omitempty"`
    // Tier - Tier of the Sku
    Tier *string `json:"tier,omitempty"`
    // Capacity - Current capacity of the target resource
    Capacity *int32 `json:"capacity,omitempty"`
}

Sku sku of Azure Spring Cloud

type SkuCapacity Uses

type SkuCapacity struct {
    // Minimum - Gets or sets the minimum.
    Minimum *int32 `json:"minimum,omitempty"`
    // Maximum - Gets or sets the maximum.
    Maximum *int32 `json:"maximum,omitempty"`
    // Default - Gets or sets the default.
    Default *int32 `json:"default,omitempty"`
    // ScaleType - Gets or sets the type of the scale. Possible values include: 'SkuScaleTypeNone', 'SkuScaleTypeManual', 'SkuScaleTypeAutomatic'
    ScaleType SkuScaleType `json:"scaleType,omitempty"`
}

SkuCapacity the SKU capacity

type SkuScaleType Uses

type SkuScaleType string

SkuScaleType enumerates the values for sku scale type.

const (
    // SkuScaleTypeAutomatic ...
    SkuScaleTypeAutomatic SkuScaleType = "Automatic"
    // SkuScaleTypeManual ...
    SkuScaleTypeManual SkuScaleType = "Manual"
    // SkuScaleTypeNone ...
    SkuScaleTypeNone SkuScaleType = "None"
)

func PossibleSkuScaleTypeValues Uses

func PossibleSkuScaleTypeValues() []SkuScaleType

PossibleSkuScaleTypeValues returns an array of possible values for the SkuScaleType const type.

type SkusClient Uses

type SkusClient struct {
    BaseClient
}

SkusClient is the REST API for Azure Spring Cloud

func NewSkusClient Uses

func NewSkusClient(subscriptionID string) SkusClient

NewSkusClient creates an instance of the SkusClient client.

func NewSkusClientWithBaseURI Uses

func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient

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

func (SkusClient) List Uses

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

List lists all of the available skus of the Microsoft.AppPlatform provider.

func (SkusClient) ListComplete Uses

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

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

func (SkusClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (SkusClient) ListResponder Uses

func (client SkusClient) ListResponder(resp *http.Response) (result ResourceSkuCollection, err error)

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

func (SkusClient) ListSender Uses

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

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

type SupportedRuntimePlatform Uses

type SupportedRuntimePlatform string

SupportedRuntimePlatform enumerates the values for supported runtime platform.

const (
    // Java ...
    Java SupportedRuntimePlatform = "Java"
    // NETCore ...
    NETCore SupportedRuntimePlatform = ".NET Core"
)

func PossibleSupportedRuntimePlatformValues Uses

func PossibleSupportedRuntimePlatformValues() []SupportedRuntimePlatform

PossibleSupportedRuntimePlatformValues returns an array of possible values for the SupportedRuntimePlatform const type.

type SupportedRuntimeValue Uses

type SupportedRuntimeValue string

SupportedRuntimeValue enumerates the values for supported runtime value.

const (
    // SupportedRuntimeValueJava11 ...
    SupportedRuntimeValueJava11 SupportedRuntimeValue = "Java_11"
    // SupportedRuntimeValueJava8 ...
    SupportedRuntimeValueJava8 SupportedRuntimeValue = "Java_8"
    // SupportedRuntimeValueNetCore31 ...
    SupportedRuntimeValueNetCore31 SupportedRuntimeValue = "NetCore_31"
)

func PossibleSupportedRuntimeValueValues Uses

func PossibleSupportedRuntimeValueValues() []SupportedRuntimeValue

PossibleSupportedRuntimeValueValues returns an array of possible values for the SupportedRuntimeValue const type.

type SupportedRuntimeVersion Uses

type SupportedRuntimeVersion struct {
    // Value - The raw value which could be passed to deployment CRUD operations. Possible values include: 'SupportedRuntimeValueJava8', 'SupportedRuntimeValueJava11', 'SupportedRuntimeValueNetCore31'
    Value SupportedRuntimeValue `json:"value,omitempty"`
    // Platform - The platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'Java', 'NETCore'
    Platform SupportedRuntimePlatform `json:"platform,omitempty"`
    // Version - The detailed version (major.minor) of the platform.
    Version *string `json:"version,omitempty"`
}

SupportedRuntimeVersion supported deployment runtime version descriptor.

type TemporaryDisk 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 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', 'NetCoreZip', 'Source'
    Type UserSourceType `json:"type,omitempty"`
    // RelativePath - Relative path of the storage which stores the source
    RelativePath *string `json:"relativePath,omitempty"`
    // Version - Version of the source
    Version *string `json:"version,omitempty"`
    // ArtifactSelector - Selector for the artifact to be used for the deployment for multi-module projects. This should be
    // the relative path to the target module/project.
    ArtifactSelector *string `json:"artifactSelector,omitempty"`
}

UserSourceInfo source information for a deployment

type UserSourceType Uses

type UserSourceType string

UserSourceType enumerates the values for user source type.

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

func PossibleUserSourceTypeValues 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 2021-01-10. Refresh now. Tools for package owners.