Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type Certificate
- type CertificateClient
- func (c CertificateClient) CreateOrUpdate(ctx context.Context, id CertificateId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c CertificateClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
- func (c CertificateClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
- func (c CertificateClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
- func (c CertificateClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c CertificateClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c CertificateClient) Update(ctx context.Context, id CertificateId, input CertificateUpdateParameters) (result UpdateOperationResponse, err error)
- type CertificateCreateOrUpdateParameters
- type CertificateCreateOrUpdateProperties
- type CertificateId
- type CertificateOperationPredicate
- type CertificateProperties
- func (o *CertificateProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *CertificateProperties) GetExpiryTimeAsTime() (*time.Time, error)
- func (o *CertificateProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *CertificateProperties) SetCreationTimeAsTime(input time.Time)
- func (o *CertificateProperties) SetExpiryTimeAsTime(input time.Time)
- func (o *CertificateProperties) SetLastModifiedTimeAsTime(input time.Time)
- type CertificateUpdateParameters
- type CertificateUpdateProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
Types ¶
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (*AutomationAccountId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type Certificate ¶
type Certificate struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
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) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CertificateClient) Delete ¶
func (c CertificateClient) Delete(ctx context.Context, id CertificateId) (result DeleteOperationResponse, err error)
Delete ...
func (CertificateClient) Get ¶
func (c CertificateClient) Get(ctx context.Context, id CertificateId) (result GetOperationResponse, err error)
Get ...
func (CertificateClient) ListByAutomationAccount ¶
func (c CertificateClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (CertificateClient) ListByAutomationAccountComplete ¶
func (c CertificateClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (CertificateClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c CertificateClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate CertificateOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CertificateClient) Update ¶
func (c CertificateClient) Update(ctx context.Context, id CertificateId, input CertificateUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type CertificateCreateOrUpdateParameters ¶
type CertificateCreateOrUpdateParameters struct { Name string `json:"name"` Properties CertificateCreateOrUpdateProperties `json:"properties"` }
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, automationAccountName 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 ¶ 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 CertificateOperationPredicate ¶
func (CertificateOperationPredicate) Matches ¶
func (p CertificateOperationPredicate) Matches(input Certificate) bool
type CertificateProperties ¶
type CertificateProperties struct { CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` IsExportable *bool `json:"isExportable,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` }
func (*CertificateProperties) GetCreationTimeAsTime ¶
func (o *CertificateProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*CertificateProperties) GetExpiryTimeAsTime ¶
func (o *CertificateProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (*CertificateProperties) GetLastModifiedTimeAsTime ¶
func (o *CertificateProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*CertificateProperties) SetCreationTimeAsTime ¶
func (o *CertificateProperties) SetCreationTimeAsTime(input time.Time)
func (*CertificateProperties) SetExpiryTimeAsTime ¶
func (o *CertificateProperties) SetExpiryTimeAsTime(input time.Time)
func (*CertificateProperties) SetLastModifiedTimeAsTime ¶
func (o *CertificateProperties) SetLastModifiedTimeAsTime(input time.Time)
type CertificateUpdateParameters ¶
type CertificateUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *CertificateUpdateProperties `json:"properties,omitempty"` }
type CertificateUpdateProperties ¶
type CertificateUpdateProperties struct {
Description *string `json:"description,omitempty"`
}
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 ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []Certificate
}
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse 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
- id_automationaccount.go
- id_certificate.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_certificate.go
- model_certificatecreateorupdateparameters.go
- model_certificatecreateorupdateproperties.go
- model_certificateproperties.go
- model_certificateupdateparameters.go
- model_certificateupdateproperties.go
- predicates.go
- version.go