Documentation ¶
Index ¶
- func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResiliencyPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type AppResiliency
- type AppResiliencyClient
- func (c AppResiliencyClient) CreateOrUpdate(ctx context.Context, id ResiliencyPolicyId, input AppResiliency) (result CreateOrUpdateOperationResponse, err error)
- func (c AppResiliencyClient) Delete(ctx context.Context, id ResiliencyPolicyId) (result DeleteOperationResponse, err error)
- func (c AppResiliencyClient) Get(ctx context.Context, id ResiliencyPolicyId) (result GetOperationResponse, err error)
- func (c AppResiliencyClient) List(ctx context.Context, id ContainerAppId) (result ListOperationResponse, err error)
- func (c AppResiliencyClient) ListComplete(ctx context.Context, id ContainerAppId) (ListCompleteResult, error)
- func (c AppResiliencyClient) ListCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, ...) (result ListCompleteResult, err error)
- func (c AppResiliencyClient) Update(ctx context.Context, id ResiliencyPolicyId, input AppResiliency) (result UpdateOperationResponse, err error)
- type AppResiliencyOperationPredicate
- type AppResiliencyProperties
- type CircuitBreakerPolicy
- type ContainerAppId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HTTPConnectionPool
- type HTTPRetryPolicy
- type HTTPRetryPolicyMatches
- type HTTPRetryPolicyRetryBackOff
- type HeaderMatch
- type HeaderMatchMatch
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ResiliencyPolicyId
- type TcpConnectionPool
- type TcpRetryPolicy
- type TimeoutPolicy
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateContainerAppID ¶
ValidateContainerAppID checks that 'input' can be parsed as a Container App ID
func ValidateResiliencyPolicyID ¶
ValidateResiliencyPolicyID checks that 'input' can be parsed as a Resiliency Policy ID
Types ¶
type AppResiliency ¶
type AppResiliency struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AppResiliencyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AppResiliencyClient ¶
type AppResiliencyClient struct {
Client *resourcemanager.Client
}
func NewAppResiliencyClientWithBaseURI ¶
func NewAppResiliencyClientWithBaseURI(sdkApi sdkEnv.Api) (*AppResiliencyClient, error)
func (AppResiliencyClient) CreateOrUpdate ¶
func (c AppResiliencyClient) CreateOrUpdate(ctx context.Context, id ResiliencyPolicyId, input AppResiliency) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AppResiliencyClient) Delete ¶
func (c AppResiliencyClient) Delete(ctx context.Context, id ResiliencyPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (AppResiliencyClient) Get ¶
func (c AppResiliencyClient) Get(ctx context.Context, id ResiliencyPolicyId) (result GetOperationResponse, err error)
Get ...
func (AppResiliencyClient) List ¶
func (c AppResiliencyClient) List(ctx context.Context, id ContainerAppId) (result ListOperationResponse, err error)
List ...
func (AppResiliencyClient) ListComplete ¶
func (c AppResiliencyClient) ListComplete(ctx context.Context, id ContainerAppId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AppResiliencyClient) ListCompleteMatchingPredicate ¶
func (c AppResiliencyClient) ListCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, predicate AppResiliencyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AppResiliencyClient) Update ¶
func (c AppResiliencyClient) Update(ctx context.Context, id ResiliencyPolicyId, input AppResiliency) (result UpdateOperationResponse, err error)
Update ...
type AppResiliencyOperationPredicate ¶
func (AppResiliencyOperationPredicate) Matches ¶
func (p AppResiliencyOperationPredicate) Matches(input AppResiliency) bool
type AppResiliencyProperties ¶
type AppResiliencyProperties struct { CircuitBreakerPolicy *CircuitBreakerPolicy `json:"circuitBreakerPolicy,omitempty"` HTTPConnectionPool *HTTPConnectionPool `json:"httpConnectionPool,omitempty"` HTTPRetryPolicy *HTTPRetryPolicy `json:"httpRetryPolicy,omitempty"` TcpConnectionPool *TcpConnectionPool `json:"tcpConnectionPool,omitempty"` TcpRetryPolicy *TcpRetryPolicy `json:"tcpRetryPolicy,omitempty"` TimeoutPolicy *TimeoutPolicy `json:"timeoutPolicy,omitempty"` }
type CircuitBreakerPolicy ¶
type ContainerAppId ¶
type ContainerAppId struct { SubscriptionId string ResourceGroupName string ContainerAppName string }
ContainerAppId is a struct representing the Resource ID for a Container App
func NewContainerAppID ¶
func NewContainerAppID(subscriptionId string, resourceGroupName string, containerAppName string) ContainerAppId
NewContainerAppID returns a new ContainerAppId struct
func ParseContainerAppID ¶
func ParseContainerAppID(input string) (*ContainerAppId, error)
ParseContainerAppID parses 'input' into a ContainerAppId
func ParseContainerAppIDInsensitively ¶
func ParseContainerAppIDInsensitively(input string) (*ContainerAppId, error)
ParseContainerAppIDInsensitively parses 'input' case-insensitively into a ContainerAppId note: this method should only be used for API response data and not user input
func (*ContainerAppId) FromParseResult ¶
func (id *ContainerAppId) FromParseResult(input resourceids.ParseResult) error
func (ContainerAppId) ID ¶
func (id ContainerAppId) ID() string
ID returns the formatted Container App ID
func (ContainerAppId) Segments ¶
func (id ContainerAppId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container App ID
func (ContainerAppId) String ¶
func (id ContainerAppId) String() string
String returns a human-readable description of this Container App ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AppResiliency }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AppResiliency }
type HTTPConnectionPool ¶
type HTTPRetryPolicy ¶
type HTTPRetryPolicy struct { Matches *HTTPRetryPolicyMatches `json:"matches,omitempty"` MaxRetries *int64 `json:"maxRetries,omitempty"` RetryBackOff *HTTPRetryPolicyRetryBackOff `json:"retryBackOff,omitempty"` }
type HTTPRetryPolicyMatches ¶
type HTTPRetryPolicyMatches struct { Errors *[]string `json:"errors,omitempty"` HTTPStatusCodes *[]int64 `json:"httpStatusCodes,omitempty"` Headers *[]HeaderMatch `json:"headers,omitempty"` }
type HeaderMatch ¶
type HeaderMatch struct { Header *string `json:"header,omitempty"` Match *HeaderMatchMatch `json:"match,omitempty"` }
type HeaderMatchMatch ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []AppResiliency }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AppResiliency }
type ResiliencyPolicyId ¶
type ResiliencyPolicyId struct { SubscriptionId string ResourceGroupName string ContainerAppName string ResiliencyPolicyName string }
ResiliencyPolicyId is a struct representing the Resource ID for a Resiliency Policy
func NewResiliencyPolicyID ¶
func NewResiliencyPolicyID(subscriptionId string, resourceGroupName string, containerAppName string, resiliencyPolicyName string) ResiliencyPolicyId
NewResiliencyPolicyID returns a new ResiliencyPolicyId struct
func ParseResiliencyPolicyID ¶
func ParseResiliencyPolicyID(input string) (*ResiliencyPolicyId, error)
ParseResiliencyPolicyID parses 'input' into a ResiliencyPolicyId
func ParseResiliencyPolicyIDInsensitively ¶
func ParseResiliencyPolicyIDInsensitively(input string) (*ResiliencyPolicyId, error)
ParseResiliencyPolicyIDInsensitively parses 'input' case-insensitively into a ResiliencyPolicyId note: this method should only be used for API response data and not user input
func (*ResiliencyPolicyId) FromParseResult ¶
func (id *ResiliencyPolicyId) FromParseResult(input resourceids.ParseResult) error
func (ResiliencyPolicyId) ID ¶
func (id ResiliencyPolicyId) ID() string
ID returns the formatted Resiliency Policy ID
func (ResiliencyPolicyId) Segments ¶
func (id ResiliencyPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resiliency Policy ID
func (ResiliencyPolicyId) String ¶
func (id ResiliencyPolicyId) String() string
String returns a human-readable description of this Resiliency Policy ID
type TcpConnectionPool ¶
type TcpConnectionPool struct {
MaxConnections *int64 `json:"maxConnections,omitempty"`
}
type TcpRetryPolicy ¶
type TcpRetryPolicy struct {
MaxConnectAttempts *int64 `json:"maxConnectAttempts,omitempty"`
}
type TimeoutPolicy ¶
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AppResiliency }
Source Files ¶
- client.go
- id_containerapp.go
- id_resiliencypolicy.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_appresiliency.go
- model_appresiliencyproperties.go
- model_circuitbreakerpolicy.go
- model_headermatch.go
- model_headermatchmatch.go
- model_httpconnectionpool.go
- model_httpretrypolicy.go
- model_httpretrypolicymatches.go
- model_httpretrypolicyretrybackoff.go
- model_tcpconnectionpool.go
- model_tcpretrypolicy.go
- model_timeoutpolicy.go
- predicates.go
- version.go