Documentation ¶
Index ¶
- func PossibleValuesForDeploymentState() []string
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Deployment
- type DeploymentId
- type DeploymentOperationPredicate
- type DeploymentProperties
- type DeploymentServer
- type DeploymentState
- type DeploymentsClient
- func (c DeploymentsClient) CreateOrUpdate(ctx context.Context, id DeploymentId, input Deployment) (result CreateOrUpdateOperationResponse, err error)
- func (c DeploymentsClient) Delete(ctx context.Context, id DeploymentId) (result DeleteOperationResponse, err error)
- func (c DeploymentsClient) Get(ctx context.Context, id DeploymentId) (result GetOperationResponse, err error)
- func (c DeploymentsClient) Head(ctx context.Context, id DeploymentId) (result HeadOperationResponse, err error)
- func (c DeploymentsClient) List(ctx context.Context, id ApiId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DeploymentsClient) ListComplete(ctx context.Context, id ApiId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DeploymentsClient) ListCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type GetOperationResponse
- type HeadOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeploymentState ¶
func PossibleValuesForDeploymentState() []string
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateDeploymentID ¶
ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceName string ApiName string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, workspaceName string, apiName string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (*ApiId) FromParseResult ¶
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Deployment }
type DeleteOperationResponse ¶
type Deployment ¶
type Deployment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeploymentProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DeploymentId ¶
type DeploymentId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceName string ApiName string DeploymentName string }
DeploymentId is a struct representing the Resource ID for a Deployment
func NewDeploymentID ¶
func NewDeploymentID(subscriptionId string, resourceGroupName string, serviceName string, workspaceName string, apiName string, deploymentName string) DeploymentId
NewDeploymentID returns a new DeploymentId struct
func ParseDeploymentID ¶
func ParseDeploymentID(input string) (*DeploymentId, error)
ParseDeploymentID parses 'input' into a DeploymentId
func ParseDeploymentIDInsensitively ¶
func ParseDeploymentIDInsensitively(input string) (*DeploymentId, error)
ParseDeploymentIDInsensitively parses 'input' case-insensitively into a DeploymentId note: this method should only be used for API response data and not user input
func (*DeploymentId) FromParseResult ¶
func (id *DeploymentId) FromParseResult(input resourceids.ParseResult) error
func (DeploymentId) Segments ¶
func (id DeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deployment ID
func (DeploymentId) String ¶
func (id DeploymentId) String() string
String returns a human-readable description of this Deployment ID
type DeploymentOperationPredicate ¶
func (DeploymentOperationPredicate) Matches ¶
func (p DeploymentOperationPredicate) Matches(input Deployment) bool
type DeploymentProperties ¶
type DeploymentProperties struct { CustomProperties *interface{} `json:"customProperties,omitempty"` DefinitionId *string `json:"definitionId,omitempty"` Description *string `json:"description,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` Server *DeploymentServer `json:"server,omitempty"` State *DeploymentState `json:"state,omitempty"` Title *string `json:"title,omitempty"` }
type DeploymentServer ¶
type DeploymentServer struct {
RuntimeUri *[]string `json:"runtimeUri,omitempty"`
}
type DeploymentState ¶
type DeploymentState string
const ( DeploymentStateActive DeploymentState = "active" DeploymentStateInactive DeploymentState = "inactive" )
func (*DeploymentState) UnmarshalJSON ¶
func (s *DeploymentState) UnmarshalJSON(bytes []byte) error
type DeploymentsClient ¶
type DeploymentsClient struct {
Client *resourcemanager.Client
}
func NewDeploymentsClientWithBaseURI ¶
func NewDeploymentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentsClient, error)
func (DeploymentsClient) CreateOrUpdate ¶
func (c DeploymentsClient) CreateOrUpdate(ctx context.Context, id DeploymentId, input Deployment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DeploymentsClient) Delete ¶
func (c DeploymentsClient) Delete(ctx context.Context, id DeploymentId) (result DeleteOperationResponse, err error)
Delete ...
func (DeploymentsClient) Get ¶
func (c DeploymentsClient) Get(ctx context.Context, id DeploymentId) (result GetOperationResponse, err error)
Get ...
func (DeploymentsClient) Head ¶
func (c DeploymentsClient) Head(ctx context.Context, id DeploymentId) (result HeadOperationResponse, err error)
Head ...
func (DeploymentsClient) List ¶
func (c DeploymentsClient) List(ctx context.Context, id ApiId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DeploymentsClient) ListComplete ¶
func (c DeploymentsClient) ListComplete(ctx context.Context, id ApiId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DeploymentsClient) ListCompleteMatchingPredicate ¶
func (c DeploymentsClient) ListCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListOperationOptions, predicate DeploymentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Deployment }
type HeadOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Deployment }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Deployment }