Documentation ¶
Index ¶
- func ValidateApiKeyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNginxDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- type ApiKeyId
- type ApiKeysCreateOrUpdateOperationResponse
- type ApiKeysDeleteOperationResponse
- type ApiKeysGetOperationResponse
- type ApiKeysListCompleteResult
- type ApiKeysListCustomPager
- type ApiKeysListOperationResponse
- type NginxApiKeyClient
- func (c NginxApiKeyClient) ApiKeysCreateOrUpdate(ctx context.Context, id ApiKeyId, input NginxDeploymentApiKeyRequest) (result ApiKeysCreateOrUpdateOperationResponse, err error)
- func (c NginxApiKeyClient) ApiKeysDelete(ctx context.Context, id ApiKeyId) (result ApiKeysDeleteOperationResponse, err error)
- func (c NginxApiKeyClient) ApiKeysGet(ctx context.Context, id ApiKeyId) (result ApiKeysGetOperationResponse, err error)
- func (c NginxApiKeyClient) ApiKeysList(ctx context.Context, id NginxDeploymentId) (result ApiKeysListOperationResponse, err error)
- func (c NginxApiKeyClient) ApiKeysListComplete(ctx context.Context, id NginxDeploymentId) (ApiKeysListCompleteResult, error)
- func (c NginxApiKeyClient) ApiKeysListCompleteMatchingPredicate(ctx context.Context, id NginxDeploymentId, ...) (result ApiKeysListCompleteResult, err error)
- type NginxDeploymentApiKeyRequest
- type NginxDeploymentApiKeyRequestProperties
- type NginxDeploymentApiKeyResponse
- type NginxDeploymentApiKeyResponseOperationPredicate
- type NginxDeploymentApiKeyResponseProperties
- type NginxDeploymentId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiKeyID ¶
ValidateApiKeyID checks that 'input' can be parsed as a Api Key ID
func ValidateNginxDeploymentID ¶
ValidateNginxDeploymentID checks that 'input' can be parsed as a Nginx Deployment ID
Types ¶
type ApiKeyId ¶
type ApiKeyId struct { SubscriptionId string ResourceGroupName string NginxDeploymentName string ApiKeyName string }
ApiKeyId is a struct representing the Resource ID for a Api Key
func NewApiKeyID ¶
func NewApiKeyID(subscriptionId string, resourceGroupName string, nginxDeploymentName string, apiKeyName string) ApiKeyId
NewApiKeyID returns a new ApiKeyId struct
func ParseApiKeyID ¶
ParseApiKeyID parses 'input' into a ApiKeyId
func ParseApiKeyIDInsensitively ¶
ParseApiKeyIDInsensitively parses 'input' case-insensitively into a ApiKeyId note: this method should only be used for API response data and not user input
func (*ApiKeyId) FromParseResult ¶
func (id *ApiKeyId) FromParseResult(input resourceids.ParseResult) error
func (ApiKeyId) Segments ¶
func (id ApiKeyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Key ID
type ApiKeysCreateOrUpdateOperationResponse ¶
type ApiKeysCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NginxDeploymentApiKeyResponse }
type ApiKeysGetOperationResponse ¶
type ApiKeysGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NginxDeploymentApiKeyResponse }
type ApiKeysListCompleteResult ¶
type ApiKeysListCompleteResult struct { LatestHttpResponse *http.Response Items []NginxDeploymentApiKeyResponse }
type ApiKeysListCustomPager ¶
func (*ApiKeysListCustomPager) NextPageLink ¶
func (p *ApiKeysListCustomPager) NextPageLink() *odata.Link
type ApiKeysListOperationResponse ¶
type ApiKeysListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NginxDeploymentApiKeyResponse }
type NginxApiKeyClient ¶
type NginxApiKeyClient struct {
Client *resourcemanager.Client
}
func NewNginxApiKeyClientWithBaseURI ¶
func NewNginxApiKeyClientWithBaseURI(sdkApi sdkEnv.Api) (*NginxApiKeyClient, error)
func (NginxApiKeyClient) ApiKeysCreateOrUpdate ¶
func (c NginxApiKeyClient) ApiKeysCreateOrUpdate(ctx context.Context, id ApiKeyId, input NginxDeploymentApiKeyRequest) (result ApiKeysCreateOrUpdateOperationResponse, err error)
ApiKeysCreateOrUpdate ...
func (NginxApiKeyClient) ApiKeysDelete ¶
func (c NginxApiKeyClient) ApiKeysDelete(ctx context.Context, id ApiKeyId) (result ApiKeysDeleteOperationResponse, err error)
ApiKeysDelete ...
func (NginxApiKeyClient) ApiKeysGet ¶
func (c NginxApiKeyClient) ApiKeysGet(ctx context.Context, id ApiKeyId) (result ApiKeysGetOperationResponse, err error)
ApiKeysGet ...
func (NginxApiKeyClient) ApiKeysList ¶
func (c NginxApiKeyClient) ApiKeysList(ctx context.Context, id NginxDeploymentId) (result ApiKeysListOperationResponse, err error)
ApiKeysList ...
func (NginxApiKeyClient) ApiKeysListComplete ¶
func (c NginxApiKeyClient) ApiKeysListComplete(ctx context.Context, id NginxDeploymentId) (ApiKeysListCompleteResult, error)
ApiKeysListComplete retrieves all the results into a single object
func (NginxApiKeyClient) ApiKeysListCompleteMatchingPredicate ¶
func (c NginxApiKeyClient) ApiKeysListCompleteMatchingPredicate(ctx context.Context, id NginxDeploymentId, predicate NginxDeploymentApiKeyResponseOperationPredicate) (result ApiKeysListCompleteResult, err error)
ApiKeysListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type NginxDeploymentApiKeyRequest ¶
type NginxDeploymentApiKeyRequest struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NginxDeploymentApiKeyRequestProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type NginxDeploymentApiKeyRequestProperties ¶
type NginxDeploymentApiKeyRequestProperties struct { EndDateTime *string `json:"endDateTime,omitempty"` SecretText *string `json:"secretText,omitempty"` }
func (*NginxDeploymentApiKeyRequestProperties) GetEndDateTimeAsTime ¶
func (o *NginxDeploymentApiKeyRequestProperties) GetEndDateTimeAsTime() (*time.Time, error)
func (*NginxDeploymentApiKeyRequestProperties) SetEndDateTimeAsTime ¶
func (o *NginxDeploymentApiKeyRequestProperties) SetEndDateTimeAsTime(input time.Time)
type NginxDeploymentApiKeyResponse ¶
type NginxDeploymentApiKeyResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NginxDeploymentApiKeyResponseProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type NginxDeploymentApiKeyResponseOperationPredicate ¶
type NginxDeploymentApiKeyResponseOperationPredicate struct { Id *string Name *string Type *string }
func (NginxDeploymentApiKeyResponseOperationPredicate) Matches ¶
func (p NginxDeploymentApiKeyResponseOperationPredicate) Matches(input NginxDeploymentApiKeyResponse) bool
type NginxDeploymentApiKeyResponseProperties ¶
type NginxDeploymentApiKeyResponseProperties struct { EndDateTime *string `json:"endDateTime,omitempty"` Hint *string `json:"hint,omitempty"` }
func (*NginxDeploymentApiKeyResponseProperties) GetEndDateTimeAsTime ¶
func (o *NginxDeploymentApiKeyResponseProperties) GetEndDateTimeAsTime() (*time.Time, error)
func (*NginxDeploymentApiKeyResponseProperties) SetEndDateTimeAsTime ¶
func (o *NginxDeploymentApiKeyResponseProperties) SetEndDateTimeAsTime(input time.Time)
type NginxDeploymentId ¶
type NginxDeploymentId struct { SubscriptionId string ResourceGroupName string NginxDeploymentName string }
NginxDeploymentId is a struct representing the Resource ID for a Nginx Deployment
func NewNginxDeploymentID ¶
func NewNginxDeploymentID(subscriptionId string, resourceGroupName string, nginxDeploymentName string) NginxDeploymentId
NewNginxDeploymentID returns a new NginxDeploymentId struct
func ParseNginxDeploymentID ¶
func ParseNginxDeploymentID(input string) (*NginxDeploymentId, error)
ParseNginxDeploymentID parses 'input' into a NginxDeploymentId
func ParseNginxDeploymentIDInsensitively ¶
func ParseNginxDeploymentIDInsensitively(input string) (*NginxDeploymentId, error)
ParseNginxDeploymentIDInsensitively parses 'input' case-insensitively into a NginxDeploymentId note: this method should only be used for API response data and not user input
func (*NginxDeploymentId) FromParseResult ¶
func (id *NginxDeploymentId) FromParseResult(input resourceids.ParseResult) error
func (NginxDeploymentId) ID ¶
func (id NginxDeploymentId) ID() string
ID returns the formatted Nginx Deployment ID
func (NginxDeploymentId) Segments ¶
func (id NginxDeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Nginx Deployment ID
func (NginxDeploymentId) String ¶
func (id NginxDeploymentId) String() string
String returns a human-readable description of this Nginx Deployment ID
Source Files ¶
- client.go
- id_apikey.go
- id_nginxdeployment.go
- method_apikeyscreateorupdate.go
- method_apikeysdelete.go
- method_apikeysget.go
- method_apikeyslist.go
- model_nginxdeploymentapikeyrequest.go
- model_nginxdeploymentapikeyrequestproperties.go
- model_nginxdeploymentapikeyresponse.go
- model_nginxdeploymentapikeyresponseproperties.go
- predicates.go
- version.go