Documentation ¶
Index ¶
- func PossibleValuesForCertificateProfileStatus() []string
- func PossibleValuesForCertificateStatus() []string
- func PossibleValuesForProfileType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRevocationStatus() []string
- func ValidateCertificateProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCodeSigningAccountID(input interface{}, key string) (warnings []string, errors []error)
- type Certificate
- type CertificateProfile
- type CertificateProfileId
- type CertificateProfileOperationPredicate
- type CertificateProfileProperties
- type CertificateProfileStatus
- type CertificateProfilesClient
- func (c CertificateProfilesClient) Create(ctx context.Context, id CertificateProfileId, input CertificateProfile) (result CreateOperationResponse, err error)
- func (c CertificateProfilesClient) CreateThenPoll(ctx context.Context, id CertificateProfileId, input CertificateProfile) error
- func (c CertificateProfilesClient) Delete(ctx context.Context, id CertificateProfileId) (result DeleteOperationResponse, err error)
- func (c CertificateProfilesClient) DeleteThenPoll(ctx context.Context, id CertificateProfileId) error
- func (c CertificateProfilesClient) Get(ctx context.Context, id CertificateProfileId) (result GetOperationResponse, err error)
- func (c CertificateProfilesClient) ListByCodeSigningAccount(ctx context.Context, id CodeSigningAccountId) (result ListByCodeSigningAccountOperationResponse, err error)
- func (c CertificateProfilesClient) ListByCodeSigningAccountComplete(ctx context.Context, id CodeSigningAccountId) (ListByCodeSigningAccountCompleteResult, error)
- func (c CertificateProfilesClient) ListByCodeSigningAccountCompleteMatchingPredicate(ctx context.Context, id CodeSigningAccountId, ...) (result ListByCodeSigningAccountCompleteResult, err error)
- func (c CertificateProfilesClient) RevokeCertificate(ctx context.Context, id CertificateProfileId, input RevokeCertificate) (result RevokeCertificateOperationResponse, err error)
- type CertificateStatus
- type CodeSigningAccountId
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByCodeSigningAccountCompleteResult
- type ListByCodeSigningAccountCustomPager
- type ListByCodeSigningAccountOperationResponse
- type ProfileType
- type ProvisioningState
- type Revocation
- type RevocationStatus
- type RevokeCertificate
- type RevokeCertificateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCertificateProfileStatus ¶
func PossibleValuesForCertificateProfileStatus() []string
func PossibleValuesForCertificateStatus ¶
func PossibleValuesForCertificateStatus() []string
func PossibleValuesForProfileType ¶
func PossibleValuesForProfileType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRevocationStatus ¶
func PossibleValuesForRevocationStatus() []string
func ValidateCertificateProfileID ¶
func ValidateCertificateProfileID(input interface{}, key string) (warnings []string, errors []error)
ValidateCertificateProfileID checks that 'input' can be parsed as a Certificate Profile ID
func ValidateCodeSigningAccountID ¶
func ValidateCodeSigningAccountID(input interface{}, key string) (warnings []string, errors []error)
ValidateCodeSigningAccountID checks that 'input' can be parsed as a Code Signing Account ID
Types ¶
type Certificate ¶
type Certificate struct { CreatedDate *string `json:"createdDate,omitempty"` EnhancedKeyUsage *string `json:"enhancedKeyUsage,omitempty"` ExpiryDate *string `json:"expiryDate,omitempty"` Revocation *Revocation `json:"revocation,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` Status *CertificateStatus `json:"status,omitempty"` SubjectName *string `json:"subjectName,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` }
type CertificateProfile ¶
type CertificateProfile struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateProfileProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CertificateProfileId ¶
type CertificateProfileId struct { SubscriptionId string ResourceGroupName string CodeSigningAccountName string CertificateProfileName string }
CertificateProfileId is a struct representing the Resource ID for a Certificate Profile
func NewCertificateProfileID ¶
func NewCertificateProfileID(subscriptionId string, resourceGroupName string, codeSigningAccountName string, certificateProfileName string) CertificateProfileId
NewCertificateProfileID returns a new CertificateProfileId struct
func ParseCertificateProfileID ¶
func ParseCertificateProfileID(input string) (*CertificateProfileId, error)
ParseCertificateProfileID parses 'input' into a CertificateProfileId
func ParseCertificateProfileIDInsensitively ¶
func ParseCertificateProfileIDInsensitively(input string) (*CertificateProfileId, error)
ParseCertificateProfileIDInsensitively parses 'input' case-insensitively into a CertificateProfileId note: this method should only be used for API response data and not user input
func (*CertificateProfileId) FromParseResult ¶
func (id *CertificateProfileId) FromParseResult(input resourceids.ParseResult) error
func (CertificateProfileId) ID ¶
func (id CertificateProfileId) ID() string
ID returns the formatted Certificate Profile ID
func (CertificateProfileId) Segments ¶
func (id CertificateProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Certificate Profile ID
func (CertificateProfileId) String ¶
func (id CertificateProfileId) String() string
String returns a human-readable description of this Certificate Profile ID
type CertificateProfileOperationPredicate ¶
func (CertificateProfileOperationPredicate) Matches ¶
func (p CertificateProfileOperationPredicate) Matches(input CertificateProfile) bool
type CertificateProfileProperties ¶
type CertificateProfileProperties struct { Certificates *[]Certificate `json:"certificates,omitempty"` IdentityValidationId string `json:"identityValidationId"` IncludeCity *bool `json:"includeCity,omitempty"` IncludeCountry *bool `json:"includeCountry,omitempty"` IncludePostalCode *bool `json:"includePostalCode,omitempty"` IncludeState *bool `json:"includeState,omitempty"` IncludeStreetAddress *bool `json:"includeStreetAddress,omitempty"` ProfileType ProfileType `json:"profileType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *CertificateProfileStatus `json:"status,omitempty"` }
type CertificateProfileStatus ¶
type CertificateProfileStatus string
const ( CertificateProfileStatusActive CertificateProfileStatus = "Active" CertificateProfileStatusDisabled CertificateProfileStatus = "Disabled" CertificateProfileStatusSuspended CertificateProfileStatus = "Suspended" )
func (*CertificateProfileStatus) UnmarshalJSON ¶
func (s *CertificateProfileStatus) UnmarshalJSON(bytes []byte) error
type CertificateProfilesClient ¶
type CertificateProfilesClient struct {
Client *resourcemanager.Client
}
func NewCertificateProfilesClientWithBaseURI ¶
func NewCertificateProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateProfilesClient, error)
func (CertificateProfilesClient) Create ¶
func (c CertificateProfilesClient) Create(ctx context.Context, id CertificateProfileId, input CertificateProfile) (result CreateOperationResponse, err error)
Create ...
func (CertificateProfilesClient) CreateThenPoll ¶
func (c CertificateProfilesClient) CreateThenPoll(ctx context.Context, id CertificateProfileId, input CertificateProfile) error
CreateThenPoll performs Create then polls until it's completed
func (CertificateProfilesClient) Delete ¶
func (c CertificateProfilesClient) Delete(ctx context.Context, id CertificateProfileId) (result DeleteOperationResponse, err error)
Delete ...
func (CertificateProfilesClient) DeleteThenPoll ¶
func (c CertificateProfilesClient) DeleteThenPoll(ctx context.Context, id CertificateProfileId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CertificateProfilesClient) Get ¶
func (c CertificateProfilesClient) Get(ctx context.Context, id CertificateProfileId) (result GetOperationResponse, err error)
Get ...
func (CertificateProfilesClient) ListByCodeSigningAccount ¶
func (c CertificateProfilesClient) ListByCodeSigningAccount(ctx context.Context, id CodeSigningAccountId) (result ListByCodeSigningAccountOperationResponse, err error)
ListByCodeSigningAccount ...
func (CertificateProfilesClient) ListByCodeSigningAccountComplete ¶
func (c CertificateProfilesClient) ListByCodeSigningAccountComplete(ctx context.Context, id CodeSigningAccountId) (ListByCodeSigningAccountCompleteResult, error)
ListByCodeSigningAccountComplete retrieves all the results into a single object
func (CertificateProfilesClient) ListByCodeSigningAccountCompleteMatchingPredicate ¶
func (c CertificateProfilesClient) ListByCodeSigningAccountCompleteMatchingPredicate(ctx context.Context, id CodeSigningAccountId, predicate CertificateProfileOperationPredicate) (result ListByCodeSigningAccountCompleteResult, err error)
ListByCodeSigningAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CertificateProfilesClient) RevokeCertificate ¶
func (c CertificateProfilesClient) RevokeCertificate(ctx context.Context, id CertificateProfileId, input RevokeCertificate) (result RevokeCertificateOperationResponse, err error)
RevokeCertificate ...
type CertificateStatus ¶
type CertificateStatus string
const ( CertificateStatusActive CertificateStatus = "Active" CertificateStatusExpired CertificateStatus = "Expired" CertificateStatusRevoked CertificateStatus = "Revoked" )
func (*CertificateStatus) UnmarshalJSON ¶
func (s *CertificateStatus) UnmarshalJSON(bytes []byte) error
type CodeSigningAccountId ¶
type CodeSigningAccountId struct { SubscriptionId string ResourceGroupName string CodeSigningAccountName string }
CodeSigningAccountId is a struct representing the Resource ID for a Code Signing Account
func NewCodeSigningAccountID ¶
func NewCodeSigningAccountID(subscriptionId string, resourceGroupName string, codeSigningAccountName string) CodeSigningAccountId
NewCodeSigningAccountID returns a new CodeSigningAccountId struct
func ParseCodeSigningAccountID ¶
func ParseCodeSigningAccountID(input string) (*CodeSigningAccountId, error)
ParseCodeSigningAccountID parses 'input' into a CodeSigningAccountId
func ParseCodeSigningAccountIDInsensitively ¶
func ParseCodeSigningAccountIDInsensitively(input string) (*CodeSigningAccountId, error)
ParseCodeSigningAccountIDInsensitively parses 'input' case-insensitively into a CodeSigningAccountId note: this method should only be used for API response data and not user input
func (*CodeSigningAccountId) FromParseResult ¶
func (id *CodeSigningAccountId) FromParseResult(input resourceids.ParseResult) error
func (CodeSigningAccountId) ID ¶
func (id CodeSigningAccountId) ID() string
ID returns the formatted Code Signing Account ID
func (CodeSigningAccountId) Segments ¶
func (id CodeSigningAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Code Signing Account ID
func (CodeSigningAccountId) String ¶
func (id CodeSigningAccountId) String() string
String returns a human-readable description of this Code Signing Account ID
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CertificateProfile }
type ListByCodeSigningAccountCompleteResult ¶
type ListByCodeSigningAccountCompleteResult struct { LatestHttpResponse *http.Response Items []CertificateProfile }
type ListByCodeSigningAccountCustomPager ¶
func (*ListByCodeSigningAccountCustomPager) NextPageLink ¶
func (p *ListByCodeSigningAccountCustomPager) NextPageLink() *odata.Link
type ListByCodeSigningAccountOperationResponse ¶
type ListByCodeSigningAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CertificateProfile }
type ProfileType ¶
type ProfileType string
const ( ProfileTypePrivateTrust ProfileType = "PrivateTrust" ProfileTypePrivateTrustCIPolicy ProfileType = "PrivateTrustCIPolicy" ProfileTypePublicTrust ProfileType = "PublicTrust" ProfileTypePublicTrustTest ProfileType = "PublicTrustTest" ProfileTypeVBSEnclave ProfileType = "VBSEnclave" )
func (*ProfileType) UnmarshalJSON ¶
func (s *ProfileType) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type Revocation ¶
type Revocation struct { EffectiveAt *string `json:"effectiveAt,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Reason *string `json:"reason,omitempty"` Remarks *string `json:"remarks,omitempty"` RequestedAt *string `json:"requestedAt,omitempty"` Status *RevocationStatus `json:"status,omitempty"` }
func (*Revocation) GetEffectiveAtAsTime ¶
func (o *Revocation) GetEffectiveAtAsTime() (*time.Time, error)
func (*Revocation) GetRequestedAtAsTime ¶
func (o *Revocation) GetRequestedAtAsTime() (*time.Time, error)
func (*Revocation) SetEffectiveAtAsTime ¶
func (o *Revocation) SetEffectiveAtAsTime(input time.Time)
func (*Revocation) SetRequestedAtAsTime ¶
func (o *Revocation) SetRequestedAtAsTime(input time.Time)
type RevocationStatus ¶
type RevocationStatus string
const ( RevocationStatusFailed RevocationStatus = "Failed" RevocationStatusInProgress RevocationStatus = "InProgress" RevocationStatusSucceeded RevocationStatus = "Succeeded" )
func (*RevocationStatus) UnmarshalJSON ¶
func (s *RevocationStatus) UnmarshalJSON(bytes []byte) error
type RevokeCertificate ¶
type RevokeCertificate struct { EffectiveAt string `json:"effectiveAt"` Reason string `json:"reason"` Remarks *string `json:"remarks,omitempty"` SerialNumber string `json:"serialNumber"` Thumbprint string `json:"thumbprint"` }
func (*RevokeCertificate) GetEffectiveAtAsTime ¶
func (o *RevokeCertificate) GetEffectiveAtAsTime() (*time.Time, error)
func (*RevokeCertificate) SetEffectiveAtAsTime ¶
func (o *RevokeCertificate) SetEffectiveAtAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_certificateprofile.go
- id_codesigningaccount.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbycodesigningaccount.go
- method_revokecertificate.go
- model_certificate.go
- model_certificateprofile.go
- model_certificateprofileproperties.go
- model_revocation.go
- model_revokecertificate.go
- predicates.go
- version.go