Documentation ¶
Index ¶
- func PossibleValuesForCertificateProvisioningState() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type Certificate
- type CertificateId
- type CertificateOperationPredicate
- type CertificatePatch
- type CertificateProperties
- type CertificateProvisioningState
- 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 ManagedEnvironmentId) (resp ListOperationResponse, err error)
- func (c CertificatesClient) ListComplete(ctx context.Context, id ManagedEnvironmentId) (ListCompleteResult, error)
- func (c CertificatesClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, ...) (resp ListCompleteResult, err error)
- func (c CertificatesClient) Update(ctx context.Context, id CertificateId, input CertificatePatch) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ManagedEnvironmentId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCertificateProvisioningState ¶
func PossibleValuesForCertificateProvisioningState() []string
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
func ValidateManagedEnvironmentID ¶
func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedEnvironmentID checks that 'input' can be parsed as a Managed Environment ID
Types ¶
type Certificate ¶
type Certificate struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *CertificateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, managedEnvironmentName 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 CertificateOperationPredicate ¶
func (CertificateOperationPredicate) Matches ¶
func (p CertificateOperationPredicate) Matches(input Certificate) bool
type CertificatePatch ¶
type CertificateProperties ¶
type CertificateProperties struct { ExpirationDate *string `json:"expirationDate,omitempty"` IssueDate *string `json:"issueDate,omitempty"` Issuer *string `json:"issuer,omitempty"` Password *string `json:"password,omitempty"` ProvisioningState *CertificateProvisioningState `json:"provisioningState,omitempty"` PublicKeyHash *string `json:"publicKeyHash,omitempty"` SubjectName *string `json:"subjectName,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Valid *bool `json:"valid,omitempty"` Value *string `json:"value,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 CertificateProvisioningState ¶
type CertificateProvisioningState string
const ( CertificateProvisioningStateCanceled CertificateProvisioningState = "Canceled" CertificateProvisioningStateDeleteFailed CertificateProvisioningState = "DeleteFailed" CertificateProvisioningStateFailed CertificateProvisioningState = "Failed" CertificateProvisioningStatePending CertificateProvisioningState = "Pending" CertificateProvisioningStateSucceeded CertificateProvisioningState = "Succeeded" )
type CertificatesClient ¶
func NewCertificatesClientWithBaseURI ¶
func NewCertificatesClientWithBaseURI(endpoint string) CertificatesClient
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 ManagedEnvironmentId) (resp ListOperationResponse, err error)
List ...
func (CertificatesClient) ListComplete ¶
func (c CertificatesClient) ListComplete(ctx context.Context, id ManagedEnvironmentId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (CertificatesClient) ListCompleteMatchingPredicate ¶
func (c CertificatesClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate CertificateOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CertificatesClient) Update ¶
func (c CertificatesClient) Update(ctx context.Context, id CertificateId, input CertificatePatch) (result UpdateOperationResponse, err error)
Update ...
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *Certificate }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Certificate }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Certificate
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Certificate // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ManagedEnvironmentId ¶
type ManagedEnvironmentId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string }
ManagedEnvironmentId is a struct representing the Resource ID for a Managed Environment
func NewManagedEnvironmentID ¶
func NewManagedEnvironmentID(subscriptionId string, resourceGroupName string, managedEnvironmentName string) ManagedEnvironmentId
NewManagedEnvironmentID returns a new ManagedEnvironmentId struct
func ParseManagedEnvironmentID ¶
func ParseManagedEnvironmentID(input string) (*ManagedEnvironmentId, error)
ParseManagedEnvironmentID parses 'input' into a ManagedEnvironmentId
func ParseManagedEnvironmentIDInsensitively ¶
func ParseManagedEnvironmentIDInsensitively(input string) (*ManagedEnvironmentId, error)
ParseManagedEnvironmentIDInsensitively parses 'input' case-insensitively into a ManagedEnvironmentId note: this method should only be used for API response data and not user input
func (ManagedEnvironmentId) ID ¶
func (id ManagedEnvironmentId) ID() string
ID returns the formatted Managed Environment ID
func (ManagedEnvironmentId) Segments ¶
func (id ManagedEnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Environment ID
func (ManagedEnvironmentId) String ¶
func (id ManagedEnvironmentId) String() string
String returns a human-readable description of this Managed Environment ID
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *Certificate }
Source Files ¶
- client.go
- constants.go
- id_certificate.go
- id_managedenvironment.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_certificate.go
- model_certificatepatch.go
- model_certificateproperties.go
- predicates.go
- version.go