Documentation ¶
Index ¶
- func PossibleValuesForKeyVaultSecretStatus() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- type Certificate
- type CertificateId
- type CertificateOperationPredicate
- type CertificatePatchResource
- type CertificatePatchResourceProperties
- func (o *CertificatePatchResourceProperties) GetExpirationDateAsTime() (*time.Time, error)
- func (o *CertificatePatchResourceProperties) GetIssueDateAsTime() (*time.Time, error)
- func (o *CertificatePatchResourceProperties) SetExpirationDateAsTime(input time.Time)
- func (o *CertificatePatchResourceProperties) SetIssueDateAsTime(input time.Time)
- type CertificateProperties
- type CertificatesClient
- func (c CertificatesClient) CreateOrUpdate(ctx context.Context, id CertificateId, input Certificate) (result CreateOrUpdateOperationResponse, err error)
- func (c CertificatesClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
- func (c CertificatesClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
- func (c CertificatesClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c CertificatesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c CertificatesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CertificatesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c CertificatesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c CertificatesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c CertificatesClient) Update(ctx context.Context, id CertificateId, input CertificatePatchResource) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HostingEnvironmentProfile
- type KeyVaultSecretStatus
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKeyVaultSecretStatus ¶
func PossibleValuesForKeyVaultSecretStatus() []string
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
Types ¶
type Certificate ¶
type Certificate struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *CertificateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CertificateId ¶
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName 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 ¶
type CertificateOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (CertificateOperationPredicate) Matches ¶
func (p CertificateOperationPredicate) Matches(input Certificate) bool
type CertificatePatchResource ¶
type CertificatePatchResource struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificatePatchResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CertificatePatchResourceProperties ¶
type CertificatePatchResourceProperties struct { CanonicalName *string `json:"canonicalName,omitempty"` CerBlob *string `json:"cerBlob,omitempty"` DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HostNames *[]string `json:"hostNames,omitempty"` HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` IssueDate *string `json:"issueDate,omitempty"` Issuer *string `json:"issuer,omitempty"` KeyVaultId *string `json:"keyVaultId,omitempty"` KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` KeyVaultSecretStatus *KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` Password *string `json:"password,omitempty"` PfxBlob *string `json:"pfxBlob,omitempty"` PublicKeyHash *string `json:"publicKeyHash,omitempty"` SelfLink *string `json:"selfLink,omitempty"` ServerFarmId *string `json:"serverFarmId,omitempty"` SiteName *string `json:"siteName,omitempty"` SubjectName *string `json:"subjectName,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Valid *bool `json:"valid,omitempty"` }
func (*CertificatePatchResourceProperties) GetExpirationDateAsTime ¶
func (o *CertificatePatchResourceProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*CertificatePatchResourceProperties) GetIssueDateAsTime ¶
func (o *CertificatePatchResourceProperties) GetIssueDateAsTime() (*time.Time, error)
func (*CertificatePatchResourceProperties) SetExpirationDateAsTime ¶
func (o *CertificatePatchResourceProperties) SetExpirationDateAsTime(input time.Time)
func (*CertificatePatchResourceProperties) SetIssueDateAsTime ¶
func (o *CertificatePatchResourceProperties) SetIssueDateAsTime(input time.Time)
type CertificateProperties ¶
type CertificateProperties struct { CanonicalName *string `json:"canonicalName,omitempty"` CerBlob *string `json:"cerBlob,omitempty"` DomainValidationMethod *string `json:"domainValidationMethod,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HostNames *[]string `json:"hostNames,omitempty"` HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"` IssueDate *string `json:"issueDate,omitempty"` Issuer *string `json:"issuer,omitempty"` KeyVaultId *string `json:"keyVaultId,omitempty"` KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"` KeyVaultSecretStatus *KeyVaultSecretStatus `json:"keyVaultSecretStatus,omitempty"` Password *string `json:"password,omitempty"` PfxBlob *string `json:"pfxBlob,omitempty"` PublicKeyHash *string `json:"publicKeyHash,omitempty"` SelfLink *string `json:"selfLink,omitempty"` ServerFarmId *string `json:"serverFarmId,omitempty"` SiteName *string `json:"siteName,omitempty"` SubjectName *string `json:"subjectName,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Valid *bool `json:"valid,omitempty"` }
func (*CertificateProperties) GetExpirationDateAsTime ¶
func (o *CertificateProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*CertificateProperties) GetIssueDateAsTime ¶
func (o *CertificateProperties) GetIssueDateAsTime() (*time.Time, error)
func (*CertificateProperties) SetExpirationDateAsTime ¶
func (o *CertificateProperties) SetExpirationDateAsTime(input time.Time)
func (*CertificateProperties) SetIssueDateAsTime ¶
func (o *CertificateProperties) SetIssueDateAsTime(input time.Time)
type CertificatesClient ¶
type CertificatesClient struct {
Client *resourcemanager.Client
}
func NewCertificatesClientWithBaseURI ¶
func NewCertificatesClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificatesClient, error)
func (CertificatesClient) CreateOrUpdate ¶
func (c CertificatesClient) CreateOrUpdate(ctx context.Context, id CertificateId, input Certificate) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CertificatesClient) Delete ¶
func (c CertificatesClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
Delete ...
func (CertificatesClient) Get ¶
func (c CertificatesClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
Get ...
func (CertificatesClient) List ¶
func (c CertificatesClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (CertificatesClient) ListByResourceGroup ¶
func (c CertificatesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CertificatesClient) ListByResourceGroupComplete ¶
func (c CertificatesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (CertificatesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CertificatesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CertificateOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CertificatesClient) ListComplete ¶
func (c CertificatesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CertificatesClient) ListCompleteMatchingPredicate ¶
func (c CertificatesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate CertificateOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CertificatesClient) Update ¶
func (c CertificatesClient) Update(ctx context.Context, id CertificateId, input CertificatePatchResource) (result UpdateOperationResponse, err error)
Update ...
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Certificate }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Certificate }
type KeyVaultSecretStatus ¶
type KeyVaultSecretStatus string
const ( KeyVaultSecretStatusCertificateOrderFailed KeyVaultSecretStatus = "CertificateOrderFailed" KeyVaultSecretStatusExternalPrivateKey KeyVaultSecretStatus = "ExternalPrivateKey" KeyVaultSecretStatusInitialized KeyVaultSecretStatus = "Initialized" KeyVaultSecretStatusKeyVaultDoesNotExist KeyVaultSecretStatus = "KeyVaultDoesNotExist" KeyVaultSecretStatusKeyVaultSecretDoesNotExist KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist" KeyVaultSecretStatusOperationNotPermittedOnKeyVault KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault" KeyVaultSecretStatusSucceeded KeyVaultSecretStatus = "Succeeded" KeyVaultSecretStatusUnknown KeyVaultSecretStatus = "Unknown" KeyVaultSecretStatusUnknownError KeyVaultSecretStatus = "UnknownError" KeyVaultSecretStatusWaitingOnCertificateOrder KeyVaultSecretStatus = "WaitingOnCertificateOrder" )
func (*KeyVaultSecretStatus) UnmarshalJSON ¶
func (s *KeyVaultSecretStatus) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []Certificate }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Certificate }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Certificate }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Certificate }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Certificate }
Source Files ¶
- client.go
- constants.go
- id_certificate.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_certificate.go
- model_certificatepatchresource.go
- model_certificatepatchresourceproperties.go
- model_certificateproperties.go
- model_hostingenvironmentprofile.go
- predicates.go
- version.go