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 Rulestack 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) FromParseResult ¶
func (id *CertificateId) FromParseResult(input resourceids.ParseResult) error
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(sdkApi sdkEnv.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 Rulestack
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) FromParseResult ¶
func (id *GlobalRulestackId) FromParseResult(input resourceids.ParseResult) error
func (GlobalRulestackId) ID ¶
func (id GlobalRulestackId) ID() string
ID returns the formatted Global Rulestack ID
func (GlobalRulestackId) Segments ¶
func (id GlobalRulestackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Global Rulestack ID
func (GlobalRulestackId) String ¶
func (id GlobalRulestackId) String() string
String returns a human-readable description of this Global Rulestack ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response 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