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, ...) (result ListByBatchAccountOperationResponse, err error)
- func (c CertificateClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, ...) (ListByBatchAccountCompleteResult, error)
- func (c CertificateClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, ...) (result 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 ListByBatchAccountCustomPager
- 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 ¶
type BatchAccountId struct { SubscriptionId string ResourceGroupName string BatchAccountName string }
BatchAccountId is a struct representing the Resource ID for a Batch Account
func NewBatchAccountID ¶
func NewBatchAccountID(subscriptionId string, resourceGroupName string, batchAccountName 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) FromParseResult ¶
func (id *BatchAccountId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData 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,omitempty"` Type *string `json:"type,omitempty"` }
type CertificateClient ¶
type CertificateClient struct {
Client *resourcemanager.Client
}
func NewCertificateClientWithBaseURI ¶
func NewCertificateClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateClient, error)
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) (result ListByBatchAccountOperationResponse, err error)
ListByBatchAccount ...
func (CertificateClient) ListByBatchAccountComplete ¶
func (c CertificateClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions) (ListByBatchAccountCompleteResult, error)
ListByBatchAccountComplete retrieves all the results into a single object
func (CertificateClient) ListByBatchAccountCompleteMatchingPredicate ¶
func (c CertificateClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions, predicate CertificateOperationPredicate) (result ListByBatchAccountCompleteResult, err error)
ListByBatchAccountCompleteMatchingPredicate retrieves all the results and then applies 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,omitempty"` 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" )
func (*CertificateFormat) UnmarshalJSON ¶
func (s *CertificateFormat) UnmarshalJSON(bytes []byte) error
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string BatchAccountName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, batchAccountName 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 CertificateOperationPredicate ¶
func (CertificateOperationPredicate) Matches ¶
func (p CertificateOperationPredicate) Matches(input Certificate) bool
type CertificateProperties ¶
type CertificateProperties struct { DeleteCertificateError *DeleteCertificateError `json:"deleteCertificateError,omitempty"` 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" )
func (*CertificateProvisioningState) UnmarshalJSON ¶
func (s *CertificateProvisioningState) UnmarshalJSON(bytes []byte) error
type CreateOperationOptions ¶
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
func (CreateOperationOptions) ToHeaders ¶
func (o CreateOperationOptions) ToHeaders() *client.Headers
func (CreateOperationOptions) ToOData ¶
func (o CreateOperationOptions) ToOData() *odata.Query
func (CreateOperationOptions) ToQuery ¶
func (o CreateOperationOptions) ToQuery() *client.QueryParams
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Certificate }
type ListByBatchAccountCompleteResult ¶
type ListByBatchAccountCompleteResult struct { LatestHttpResponse *http.Response Items []Certificate }
type ListByBatchAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBatchAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBatchAccountCustomPager) NextPageLink() *odata.Link
type ListByBatchAccountOperationOptions ¶
func DefaultListByBatchAccountOperationOptions ¶
func DefaultListByBatchAccountOperationOptions() ListByBatchAccountOperationOptions
func (ListByBatchAccountOperationOptions) ToHeaders ¶
func (o ListByBatchAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBatchAccountOperationOptions) ToOData ¶
func (o ListByBatchAccountOperationOptions) ToOData() *odata.Query
func (ListByBatchAccountOperationOptions) ToQuery ¶
func (o ListByBatchAccountOperationOptions) ToQuery() *client.QueryParams
type ListByBatchAccountOperationResponse ¶
type ListByBatchAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Certificate }
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Certificate }
Source Files ¶
- client.go
- constants.go
- id_batchaccount.go
- id_certificate.go
- method_canceldeletion.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbybatchaccount.go
- method_update.go
- model_certificate.go
- model_certificatecreateorupdateparameters.go
- model_certificatecreateorupdateproperties.go
- model_certificateproperties.go
- model_deletecertificateerror.go
- predicates.go
- version.go