Documentation ¶
Index ¶
- func PossibleValuesForCertificatePurpose() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- type CertificateId
- type CertificateListDescription
- type CertificateProperties
- type CertificatePurpose
- type CertificateResponse
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DpsCertificateClient
- func (c DpsCertificateClient) CreateOrUpdate(ctx context.Context, id CertificateId, input CertificateResponse, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DpsCertificateClient) Delete(ctx context.Context, id CertificateId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c DpsCertificateClient) GenerateVerificationCode(ctx context.Context, id CertificateId, ...) (result GenerateVerificationCodeOperationResponse, err error)
- func (c DpsCertificateClient) Get(ctx context.Context, id CertificateId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c DpsCertificateClient) List(ctx context.Context, id commonids.ProvisioningServiceId) (result ListOperationResponse, err error)
- func (c DpsCertificateClient) VerifyCertificate(ctx context.Context, id CertificateId, input VerificationCodeRequest, ...) (result VerifyCertificateOperationResponse, err error)
- type GenerateVerificationCodeOperationOptions
- type GenerateVerificationCodeOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListOperationResponse
- type VerificationCodeRequest
- type VerificationCodeResponse
- type VerificationCodeResponseProperties
- type VerifyCertificateOperationOptions
- type VerifyCertificateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCertificatePurpose ¶
func PossibleValuesForCertificatePurpose() []string
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
Types ¶
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string ProvisioningServiceName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, provisioningServiceName 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 CertificateListDescription ¶
type CertificateListDescription struct {
Value *[]CertificateResponse `json:"value,omitempty"`
}
type CertificateProperties ¶
type CertificateProperties struct { Certificate *string `json:"certificate,omitempty"` Created *string `json:"created,omitempty"` Expiry *string `json:"expiry,omitempty"` IsVerified *bool `json:"isVerified,omitempty"` Subject *string `json:"subject,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Updated *string `json:"updated,omitempty"` }
type CertificatePurpose ¶
type CertificatePurpose string
const ( CertificatePurposeClientAuthentication CertificatePurpose = "clientAuthentication" CertificatePurposeServerAuthentication CertificatePurpose = "serverAuthentication" )
type CertificateResponse ¶
type CertificateResponse struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *CertificateResponse }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct { CertificateCreated *string CertificateHasPrivateKey *bool CertificateIsVerified *bool CertificateLastUpdated *string CertificateName *string CertificateNonce *string CertificatePurpose *CertificatePurpose CertificateRawBytes *string IfMatch *string }
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DpsCertificateClient ¶
type DpsCertificateClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDpsCertificateClientWithBaseURI ¶
func NewDpsCertificateClientWithBaseURI(endpoint string) DpsCertificateClient
func (DpsCertificateClient) CreateOrUpdate ¶
func (c DpsCertificateClient) CreateOrUpdate(ctx context.Context, id CertificateId, input CertificateResponse, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DpsCertificateClient) Delete ¶
func (c DpsCertificateClient) Delete(ctx context.Context, id CertificateId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (DpsCertificateClient) GenerateVerificationCode ¶
func (c DpsCertificateClient) GenerateVerificationCode(ctx context.Context, id CertificateId, options GenerateVerificationCodeOperationOptions) (result GenerateVerificationCodeOperationResponse, err error)
GenerateVerificationCode ...
func (DpsCertificateClient) Get ¶
func (c DpsCertificateClient) Get(ctx context.Context, id CertificateId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (DpsCertificateClient) List ¶
func (c DpsCertificateClient) List(ctx context.Context, id commonids.ProvisioningServiceId) (result ListOperationResponse, err error)
List ...
func (DpsCertificateClient) VerifyCertificate ¶
func (c DpsCertificateClient) VerifyCertificate(ctx context.Context, id CertificateId, input VerificationCodeRequest, options VerifyCertificateOperationOptions) (result VerifyCertificateOperationResponse, err error)
VerifyCertificate ...
type GenerateVerificationCodeOperationOptions ¶
type GenerateVerificationCodeOperationOptions struct { CertificateCreated *string CertificateHasPrivateKey *bool CertificateIsVerified *bool CertificateLastUpdated *string CertificateName *string CertificateNonce *string CertificatePurpose *CertificatePurpose CertificateRawBytes *string IfMatch *string }
func DefaultGenerateVerificationCodeOperationOptions ¶
func DefaultGenerateVerificationCodeOperationOptions() GenerateVerificationCodeOperationOptions
type GenerateVerificationCodeOperationResponse ¶
type GenerateVerificationCodeOperationResponse struct { HttpResponse *http.Response Model *VerificationCodeResponse }
type GetOperationOptions ¶
type GetOperationOptions struct {
IfMatch *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *CertificateResponse }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *CertificateListDescription }
type VerificationCodeRequest ¶
type VerificationCodeRequest struct {
Certificate *string `json:"certificate,omitempty"`
}
type VerificationCodeResponse ¶
type VerificationCodeResponse struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VerificationCodeResponseProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VerificationCodeResponseProperties ¶
type VerificationCodeResponseProperties struct { Certificate *string `json:"certificate,omitempty"` Created *string `json:"created,omitempty"` Expiry *string `json:"expiry,omitempty"` IsVerified *bool `json:"isVerified,omitempty"` Subject *string `json:"subject,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Updated *string `json:"updated,omitempty"` VerificationCode *string `json:"verificationCode,omitempty"` }
type VerifyCertificateOperationOptions ¶
type VerifyCertificateOperationOptions struct { CertificateCreated *string CertificateHasPrivateKey *bool CertificateIsVerified *bool CertificateLastUpdated *string CertificateName *string CertificateNonce *string CertificatePurpose *CertificatePurpose CertificateRawBytes *string IfMatch *string }
func DefaultVerifyCertificateOperationOptions ¶
func DefaultVerifyCertificateOperationOptions() VerifyCertificateOperationOptions
type VerifyCertificateOperationResponse ¶
type VerifyCertificateOperationResponse struct { HttpResponse *http.Response Model *CertificateResponse }
Source Files ¶
- client.go
- constants.go
- id_certificate.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_generateverificationcode_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_verifycertificate_autorest.go
- model_certificatelistdescription.go
- model_certificateproperties.go
- model_certificateresponse.go
- model_verificationcoderequest.go
- model_verificationcoderesponse.go
- model_verificationcoderesponseproperties.go
- version.go