Documentation ¶
Index ¶
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CertificateClient
- func (c CertificateClient) CreateOrUpdate(ctx context.Context, id CertificateId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c CertificateClient) Delete(ctx context.Context, id CertificateId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c CertificateClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
- func (c CertificateClient) GetEntityTag(ctx context.Context, id CertificateId) (result GetEntityTagOperationResponse, err error)
- func (c CertificateClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c CertificateClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c CertificateClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c CertificateClient) RefreshSecret(ctx context.Context, id CertificateId) (result RefreshSecretOperationResponse, err error)
- type CertificateContract
- type CertificateContractOperationPredicate
- type CertificateContractProperties
- type CertificateCreateOrUpdateParameters
- type CertificateCreateOrUpdateProperties
- type CertificateId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type KeyVaultContractCreateProperties
- type KeyVaultContractProperties
- type KeyVaultLastAccessStatusContractProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type RefreshSecretOperationResponse
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CertificateClient ¶
type CertificateClient struct {
Client *resourcemanager.Client
}
func NewCertificateClientWithBaseURI ¶
func NewCertificateClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateClient, error)
func (CertificateClient) CreateOrUpdate ¶
func (c CertificateClient) CreateOrUpdate(ctx context.Context, id CertificateId, input CertificateCreateOrUpdateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CertificateClient) Delete ¶
func (c CertificateClient) Delete(ctx context.Context, id CertificateId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (CertificateClient) Get ¶
func (c CertificateClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
Get ...
func (CertificateClient) GetEntityTag ¶
func (c CertificateClient) GetEntityTag(ctx context.Context, id CertificateId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (CertificateClient) ListByService ¶
func (c CertificateClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (CertificateClient) ListByServiceComplete ¶
func (c CertificateClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (CertificateClient) ListByServiceCompleteMatchingPredicate ¶
func (c CertificateClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate CertificateContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CertificateClient) RefreshSecret ¶
func (c CertificateClient) RefreshSecret(ctx context.Context, id CertificateId) (result RefreshSecretOperationResponse, err error)
RefreshSecret ...
type CertificateContract ¶
type CertificateContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CertificateContractOperationPredicate ¶
func (CertificateContractOperationPredicate) Matches ¶
func (p CertificateContractOperationPredicate) Matches(input CertificateContract) bool
type CertificateContractProperties ¶
type CertificateContractProperties struct { ExpirationDate string `json:"expirationDate"` KeyVault *KeyVaultContractProperties `json:"keyVault,omitempty"` Subject string `json:"subject"` Thumbprint string `json:"thumbprint"` }
func (*CertificateContractProperties) GetExpirationDateAsTime ¶
func (o *CertificateContractProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*CertificateContractProperties) SetExpirationDateAsTime ¶
func (o *CertificateContractProperties) SetExpirationDateAsTime(input time.Time)
type CertificateCreateOrUpdateParameters ¶
type CertificateCreateOrUpdateParameters struct {
Properties *CertificateCreateOrUpdateProperties `json:"properties,omitempty"`
}
type CertificateCreateOrUpdateProperties ¶
type CertificateCreateOrUpdateProperties struct { Data *string `json:"data,omitempty"` KeyVault *KeyVaultContractCreateProperties `json:"keyVault,omitempty"` Password *string `json:"password,omitempty"` }
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string ServiceName string CertificateId string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, serviceName string, certificateId 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 ¶ added in v0.20231127.1171502
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 CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CertificateContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CertificateContract }
type KeyVaultContractProperties ¶
type KeyVaultContractProperties struct { IdentityClientId *string `json:"identityClientId,omitempty"` LastStatus *KeyVaultLastAccessStatusContractProperties `json:"lastStatus,omitempty"` SecretIdentifier *string `json:"secretIdentifier,omitempty"` }
type KeyVaultLastAccessStatusContractProperties ¶
type KeyVaultLastAccessStatusContractProperties struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` TimeStampUtc *string `json:"timeStampUtc,omitempty"` }
func (*KeyVaultLastAccessStatusContractProperties) GetTimeStampUtcAsTime ¶
func (o *KeyVaultLastAccessStatusContractProperties) GetTimeStampUtcAsTime() (*time.Time, error)
func (*KeyVaultLastAccessStatusContractProperties) SetTimeStampUtcAsTime ¶
func (o *KeyVaultLastAccessStatusContractProperties) SetTimeStampUtcAsTime(input time.Time)
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []CertificateContract }
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct { Filter *string IsKeyVaultRefreshFailed *bool Skip *int64 Top *int64 }
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CertificateContract }
type RefreshSecretOperationResponse ¶
type RefreshSecretOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CertificateContract }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
Source Files ¶
- client.go
- id_certificate.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_refreshsecret.go
- model_certificatecontract.go
- model_certificatecontractproperties.go
- model_certificatecreateorupdateparameters.go
- model_certificatecreateorupdateproperties.go
- model_keyvaultcontractcreateproperties.go
- model_keyvaultcontractproperties.go
- model_keyvaultlastaccessstatuscontractproperties.go
- predicates.go
- version.go