Documentation ¶
Index ¶
- func PossibleValuesForCertificateFormat() []string
- func PossibleValuesForCertificateProvisioningState() []string
- func ValidateBatchAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- type BatchAccountId
- type CancelDeletionOperationResponse
- type Certificate
- type CertificateClient
- func (c CertificateClient) CancelDeletion(ctx context.Context, id CertificateId) (result CancelDeletionOperationResponse, err error)
- func (c CertificateClient) Create(ctx context.Context, id CertificateId, ...) (result CreateOperationResponse, err error)
- func (c CertificateClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
- func (c CertificateClient) DeleteThenPoll(ctx context.Context, id CertificateId) error
- func (c CertificateClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
- func (c CertificateClient) ListByBatchAccount(ctx context.Context, id BatchAccountId, ...) (resp ListByBatchAccountOperationResponse, err error)
- func (c CertificateClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, ...) (ListByBatchAccountCompleteResult, error)
- func (c CertificateClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, ...) (resp ListByBatchAccountCompleteResult, err error)
- func (c CertificateClient) Update(ctx context.Context, id CertificateId, ...) (result UpdateOperationResponse, err error)
- type CertificateCreateOrUpdateParameters
- type CertificateCreateOrUpdateProperties
- type CertificateFormat
- type CertificateId
- type CertificateOperationPredicate
- type CertificateProperties
- func (o *CertificateProperties) GetPreviousProvisioningStateTransitionTimeAsTime() (*time.Time, error)
- func (o *CertificateProperties) GetProvisioningStateTransitionTimeAsTime() (*time.Time, error)
- func (o *CertificateProperties) SetPreviousProvisioningStateTransitionTimeAsTime(input time.Time)
- func (o *CertificateProperties) SetProvisioningStateTransitionTimeAsTime(input time.Time)
- type CertificateProvisioningState
- type CreateOperationOptions
- type CreateOperationResponse
- type DeleteCertificateError
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByBatchAccountCompleteResult
- type ListByBatchAccountOperationOptions
- type ListByBatchAccountOperationResponse
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCertificateFormat ¶
func PossibleValuesForCertificateFormat() []string
func PossibleValuesForCertificateProvisioningState ¶
func PossibleValuesForCertificateProvisioningState() []string
func ValidateBatchAccountID ¶
ValidateBatchAccountID checks that 'input' can be parsed as a Batch Account ID
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
Types ¶
type BatchAccountId ¶
BatchAccountId is a struct representing the Resource ID for a Batch Account
func NewBatchAccountID ¶
func NewBatchAccountID(subscriptionId string, resourceGroupName string, accountName string) BatchAccountId
NewBatchAccountID returns a new BatchAccountId struct
func ParseBatchAccountID ¶
func ParseBatchAccountID(input string) (*BatchAccountId, error)
ParseBatchAccountID parses 'input' into a BatchAccountId
func ParseBatchAccountIDInsensitively ¶
func ParseBatchAccountIDInsensitively(input string) (*BatchAccountId, error)
ParseBatchAccountIDInsensitively parses 'input' case-insensitively into a BatchAccountId note: this method should only be used for API response data and not user input
func (BatchAccountId) ID ¶
func (id BatchAccountId) ID() string
ID returns the formatted Batch Account ID
func (BatchAccountId) Segments ¶
func (id BatchAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Batch Account ID
func (BatchAccountId) String ¶
func (id BatchAccountId) String() string
String returns a human-readable description of this Batch Account ID
type CancelDeletionOperationResponse ¶
type CancelDeletionOperationResponse struct { HttpResponse *http.Response Model *Certificate }
type Certificate ¶
type Certificate struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type CertificateClient ¶
func NewCertificateClientWithBaseURI ¶
func NewCertificateClientWithBaseURI(endpoint string) CertificateClient
func (CertificateClient) CancelDeletion ¶
func (c CertificateClient) CancelDeletion(ctx context.Context, id CertificateId) (result CancelDeletionOperationResponse, err error)
CancelDeletion ...
func (CertificateClient) Create ¶
func (c CertificateClient) Create(ctx context.Context, id CertificateId, input CertificateCreateOrUpdateParameters, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (CertificateClient) Delete ¶
func (c CertificateClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
Delete ...
func (CertificateClient) DeleteThenPoll ¶
func (c CertificateClient) DeleteThenPoll(ctx context.Context, id CertificateId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CertificateClient) Get ¶
func (c CertificateClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
Get ...
func (CertificateClient) ListByBatchAccount ¶
func (c CertificateClient) ListByBatchAccount(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions) (resp ListByBatchAccountOperationResponse, err error)
ListByBatchAccount ...
func (CertificateClient) ListByBatchAccountComplete ¶
func (c CertificateClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions) (ListByBatchAccountCompleteResult, error)
ListByBatchAccountComplete retrieves all of the results into a single object
func (CertificateClient) ListByBatchAccountCompleteMatchingPredicate ¶
func (c CertificateClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions, predicate CertificateOperationPredicate) (resp ListByBatchAccountCompleteResult, err error)
ListByBatchAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CertificateClient) Update ¶
func (c CertificateClient) Update(ctx context.Context, id CertificateId, input CertificateCreateOrUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type CertificateCreateOrUpdateParameters ¶
type CertificateCreateOrUpdateParameters struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateCreateOrUpdateProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type CertificateCreateOrUpdateProperties ¶
type CertificateCreateOrUpdateProperties struct { Data string `json:"data"` Format *CertificateFormat `json:"format,omitempty"` Password *string `json:"password,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` ThumbprintAlgorithm *string `json:"thumbprintAlgorithm,omitempty"` }
type CertificateFormat ¶
type CertificateFormat string
const ( CertificateFormatCer CertificateFormat = "Cer" CertificateFormatPfx CertificateFormat = "Pfx" )
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string AccountName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, accountName 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 CertificateOperationPredicate ¶
func (CertificateOperationPredicate) Matches ¶
func (p CertificateOperationPredicate) Matches(input Certificate) bool
type CertificateProperties ¶
type CertificateProperties struct { DeleteCertificateError *DeleteCertificateError `json:"deleteCertificateError"` Format *CertificateFormat `json:"format,omitempty"` PreviousProvisioningState *CertificateProvisioningState `json:"previousProvisioningState,omitempty"` PreviousProvisioningStateTransitionTime *string `json:"previousProvisioningStateTransitionTime,omitempty"` ProvisioningState *CertificateProvisioningState `json:"provisioningState,omitempty"` ProvisioningStateTransitionTime *string `json:"provisioningStateTransitionTime,omitempty"` PublicData *string `json:"publicData,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` ThumbprintAlgorithm *string `json:"thumbprintAlgorithm,omitempty"` }
func (*CertificateProperties) GetPreviousProvisioningStateTransitionTimeAsTime ¶
func (o *CertificateProperties) GetPreviousProvisioningStateTransitionTimeAsTime() (*time.Time, error)
func (*CertificateProperties) GetProvisioningStateTransitionTimeAsTime ¶
func (o *CertificateProperties) GetProvisioningStateTransitionTimeAsTime() (*time.Time, error)
func (*CertificateProperties) SetPreviousProvisioningStateTransitionTimeAsTime ¶
func (o *CertificateProperties) SetPreviousProvisioningStateTransitionTimeAsTime(input time.Time)
func (*CertificateProperties) SetProvisioningStateTransitionTimeAsTime ¶
func (o *CertificateProperties) SetProvisioningStateTransitionTimeAsTime(input time.Time)
type CertificateProvisioningState ¶
type CertificateProvisioningState string
const ( CertificateProvisioningStateDeleting CertificateProvisioningState = "Deleting" CertificateProvisioningStateFailed CertificateProvisioningState = "Failed" CertificateProvisioningStateSucceeded CertificateProvisioningState = "Succeeded" )
type CreateOperationOptions ¶
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *Certificate }
type DeleteCertificateError ¶
type DeleteCertificateError struct { Code string `json:"code"` Details *[]DeleteCertificateError `json:"details,omitempty"` Message string `json:"message"` Target *string `json:"target,omitempty"` }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Certificate }
type ListByBatchAccountCompleteResult ¶
type ListByBatchAccountCompleteResult struct {
Items []Certificate
}
type ListByBatchAccountOperationOptions ¶
func DefaultListByBatchAccountOperationOptions ¶
func DefaultListByBatchAccountOperationOptions() ListByBatchAccountOperationOptions
type ListByBatchAccountOperationResponse ¶
type ListByBatchAccountOperationResponse struct { HttpResponse *http.Response Model *[]Certificate // contains filtered or unexported fields }
func (ListByBatchAccountOperationResponse) HasMore ¶
func (r ListByBatchAccountOperationResponse) HasMore() bool
func (ListByBatchAccountOperationResponse) LoadMore ¶
func (r ListByBatchAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByBatchAccountOperationResponse, err error)
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *Certificate }
Source Files ¶
- client.go
- constants.go
- id_batchaccount.go
- id_certificate.go
- method_canceldeletion_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbybatchaccount_autorest.go
- method_update_autorest.go
- model_certificate.go
- model_certificatecreateorupdateparameters.go
- model_certificatecreateorupdateproperties.go
- model_certificateproperties.go
- model_deletecertificateerror.go
- predicates.go
- version.go