Documentation ¶
Index ¶
- func PossibleValuesForBooleanEnum() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGlobalRuleStackID(input interface{}, key string) (warnings []string, errors []error)
- type BooleanEnum
- type CertificateId
- type CertificateObject
- type CertificateObjectGlobalRulestackClient
- func (c CertificateObjectGlobalRulestackClient) CreateOrUpdate(ctx context.Context, id CertificateId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c CertificateObjectGlobalRulestackClient) CreateOrUpdateThenPoll(ctx context.Context, id CertificateId, ...) error
- func (c CertificateObjectGlobalRulestackClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
- func (c CertificateObjectGlobalRulestackClient) DeleteThenPoll(ctx context.Context, id CertificateId) error
- func (c CertificateObjectGlobalRulestackClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
- func (c CertificateObjectGlobalRulestackClient) List(ctx context.Context, id GlobalRuleStackId) (result ListOperationResponse, err error)
- func (c CertificateObjectGlobalRulestackClient) ListComplete(ctx context.Context, id GlobalRuleStackId) (ListCompleteResult, error)
- func (c CertificateObjectGlobalRulestackClient) ListCompleteMatchingPredicate(ctx context.Context, id GlobalRuleStackId, ...) (result ListCompleteResult, err error)
- type CertificateObjectGlobalRulestackResource
- type CertificateObjectGlobalRulestackResourceOperationPredicate
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GlobalRuleStackId
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBooleanEnum ¶
func PossibleValuesForBooleanEnum() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
func ValidateGlobalRuleStackID ¶
ValidateGlobalRuleStackID checks that 'input' can be parsed as a Global Rule Stack ID
Types ¶
type BooleanEnum ¶
type BooleanEnum string
const ( BooleanEnumFALSE BooleanEnum = "FALSE" BooleanEnumTRUE BooleanEnum = "TRUE" )
func (*BooleanEnum) UnmarshalJSON ¶
func (s *BooleanEnum) UnmarshalJSON(bytes []byte) error
type CertificateId ¶
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(globalRuleStackName string, certificateName string) CertificateId
NewCertificateID returns a new CertificateId struct
func ParseCertificateID ¶
func ParseCertificateID(input string) (*CertificateId, error)
ParseCertificateID parses 'input' into a CertificateId
func ParseCertificateIDInsensitively ¶
func ParseCertificateIDInsensitively(input string) (*CertificateId, error)
ParseCertificateIDInsensitively parses 'input' case-insensitively into a CertificateId note: this method should only be used for API response data and not user input
func (CertificateId) ID ¶
func (id CertificateId) ID() string
ID returns the formatted Certificate ID
func (CertificateId) Segments ¶
func (id CertificateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Certificate ID
func (CertificateId) String ¶
func (id CertificateId) String() string
String returns a human-readable description of this Certificate ID
type CertificateObject ¶
type CertificateObject struct { AuditComment *string `json:"auditComment,omitempty"` CertificateSelfSigned BooleanEnum `json:"certificateSelfSigned"` CertificateSignerResourceId *string `json:"certificateSignerResourceId,omitempty"` Description *string `json:"description,omitempty"` Etag *string `json:"etag,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type CertificateObjectGlobalRulestackClient ¶
type CertificateObjectGlobalRulestackClient struct {
Client *resourcemanager.Client
}
func NewCertificateObjectGlobalRulestackClientWithBaseURI ¶
func NewCertificateObjectGlobalRulestackClientWithBaseURI(api environments.Api) (*CertificateObjectGlobalRulestackClient, error)
func (CertificateObjectGlobalRulestackClient) CreateOrUpdate ¶
func (c CertificateObjectGlobalRulestackClient) CreateOrUpdate(ctx context.Context, id CertificateId, input CertificateObjectGlobalRulestackResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CertificateObjectGlobalRulestackClient) CreateOrUpdateThenPoll ¶
func (c CertificateObjectGlobalRulestackClient) CreateOrUpdateThenPoll(ctx context.Context, id CertificateId, input CertificateObjectGlobalRulestackResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CertificateObjectGlobalRulestackClient) Delete ¶
func (c CertificateObjectGlobalRulestackClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
Delete ...
func (CertificateObjectGlobalRulestackClient) DeleteThenPoll ¶
func (c CertificateObjectGlobalRulestackClient) DeleteThenPoll(ctx context.Context, id CertificateId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CertificateObjectGlobalRulestackClient) Get ¶
func (c CertificateObjectGlobalRulestackClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
Get ...
func (CertificateObjectGlobalRulestackClient) List ¶
func (c CertificateObjectGlobalRulestackClient) List(ctx context.Context, id GlobalRuleStackId) (result ListOperationResponse, err error)
List ...
func (CertificateObjectGlobalRulestackClient) ListComplete ¶
func (c CertificateObjectGlobalRulestackClient) ListComplete(ctx context.Context, id GlobalRuleStackId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CertificateObjectGlobalRulestackClient) ListCompleteMatchingPredicate ¶
func (c CertificateObjectGlobalRulestackClient) ListCompleteMatchingPredicate(ctx context.Context, id GlobalRuleStackId, predicate CertificateObjectGlobalRulestackResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CertificateObjectGlobalRulestackResource ¶
type CertificateObjectGlobalRulestackResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties CertificateObject `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CertificateObjectGlobalRulestackResourceOperationPredicate ¶
type CertificateObjectGlobalRulestackResourceOperationPredicate struct { Id *string Name *string Type *string }
func (CertificateObjectGlobalRulestackResourceOperationPredicate) Matches ¶
func (p CertificateObjectGlobalRulestackResourceOperationPredicate) Matches(input CertificateObjectGlobalRulestackResource) bool
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CertificateObjectGlobalRulestackResource }
type GlobalRuleStackId ¶
type GlobalRuleStackId struct {
GlobalRuleStackName string
}
GlobalRuleStackId is a struct representing the Resource ID for a Global Rule Stack
func NewGlobalRuleStackID ¶
func NewGlobalRuleStackID(globalRuleStackName string) GlobalRuleStackId
NewGlobalRuleStackID returns a new GlobalRuleStackId struct
func ParseGlobalRuleStackID ¶
func ParseGlobalRuleStackID(input string) (*GlobalRuleStackId, error)
ParseGlobalRuleStackID parses 'input' into a GlobalRuleStackId
func ParseGlobalRuleStackIDInsensitively ¶
func ParseGlobalRuleStackIDInsensitively(input string) (*GlobalRuleStackId, error)
ParseGlobalRuleStackIDInsensitively parses 'input' case-insensitively into a GlobalRuleStackId note: this method should only be used for API response data and not user input
func (GlobalRuleStackId) ID ¶
func (id GlobalRuleStackId) ID() string
ID returns the formatted Global Rule Stack ID
func (GlobalRuleStackId) Segments ¶
func (id GlobalRuleStackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Global Rule Stack ID
func (GlobalRuleStackId) String ¶
func (id GlobalRuleStackId) String() string
String returns a human-readable description of this Global Rule Stack ID
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []CertificateObjectGlobalRulestackResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CertificateObjectGlobalRulestackResource }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error