Documentation ¶
Index ¶
- func PossibleValuesForCaCertificateProvisioningState() []string
- func ValidateCaCertificateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type CaCertificate
- type CaCertificateId
- type CaCertificateOperationPredicate
- type CaCertificateProperties
- func (o *CaCertificateProperties) GetExpiryTimeInUtcAsTime() (*time.Time, error)
- func (o *CaCertificateProperties) GetIssueTimeInUtcAsTime() (*time.Time, error)
- func (o *CaCertificateProperties) SetExpiryTimeInUtcAsTime(input time.Time)
- func (o *CaCertificateProperties) SetIssueTimeInUtcAsTime(input time.Time)
- type CaCertificateProvisioningState
- type CaCertificatesClient
- func (c CaCertificatesClient) CreateOrUpdate(ctx context.Context, id CaCertificateId, input CaCertificate) (result CreateOrUpdateOperationResponse, err error)
- func (c CaCertificatesClient) CreateOrUpdateThenPoll(ctx context.Context, id CaCertificateId, input CaCertificate) error
- func (c CaCertificatesClient) Delete(ctx context.Context, id CaCertificateId) (result DeleteOperationResponse, err error)
- func (c CaCertificatesClient) DeleteThenPoll(ctx context.Context, id CaCertificateId) error
- func (c CaCertificatesClient) Get(ctx context.Context, id CaCertificateId) (result GetOperationResponse, err error)
- func (c CaCertificatesClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c CaCertificatesClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c CaCertificatesClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCaCertificateProvisioningState ¶
func PossibleValuesForCaCertificateProvisioningState() []string
func ValidateCaCertificateID ¶
ValidateCaCertificateID checks that 'input' can be parsed as a Ca Certificate ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type CaCertificate ¶
type CaCertificate struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CaCertificateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CaCertificateId ¶
type CaCertificateId struct { SubscriptionId string ResourceGroupName string NamespaceName string CaCertificateName string }
CaCertificateId is a struct representing the Resource ID for a Ca Certificate
func NewCaCertificateID ¶
func NewCaCertificateID(subscriptionId string, resourceGroupName string, namespaceName string, caCertificateName string) CaCertificateId
NewCaCertificateID returns a new CaCertificateId struct
func ParseCaCertificateID ¶
func ParseCaCertificateID(input string) (*CaCertificateId, error)
ParseCaCertificateID parses 'input' into a CaCertificateId
func ParseCaCertificateIDInsensitively ¶
func ParseCaCertificateIDInsensitively(input string) (*CaCertificateId, error)
ParseCaCertificateIDInsensitively parses 'input' case-insensitively into a CaCertificateId note: this method should only be used for API response data and not user input
func (*CaCertificateId) FromParseResult ¶
func (id *CaCertificateId) FromParseResult(input resourceids.ParseResult) error
func (CaCertificateId) ID ¶
func (id CaCertificateId) ID() string
ID returns the formatted Ca Certificate ID
func (CaCertificateId) Segments ¶
func (id CaCertificateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Ca Certificate ID
func (CaCertificateId) String ¶
func (id CaCertificateId) String() string
String returns a human-readable description of this Ca Certificate ID
type CaCertificateOperationPredicate ¶
func (CaCertificateOperationPredicate) Matches ¶
func (p CaCertificateOperationPredicate) Matches(input CaCertificate) bool
type CaCertificateProperties ¶
type CaCertificateProperties struct { Description *string `json:"description,omitempty"` EncodedCertificate *string `json:"encodedCertificate,omitempty"` ExpiryTimeInUtc *string `json:"expiryTimeInUtc,omitempty"` IssueTimeInUtc *string `json:"issueTimeInUtc,omitempty"` ProvisioningState *CaCertificateProvisioningState `json:"provisioningState,omitempty"` }
func (*CaCertificateProperties) GetExpiryTimeInUtcAsTime ¶
func (o *CaCertificateProperties) GetExpiryTimeInUtcAsTime() (*time.Time, error)
func (*CaCertificateProperties) GetIssueTimeInUtcAsTime ¶
func (o *CaCertificateProperties) GetIssueTimeInUtcAsTime() (*time.Time, error)
func (*CaCertificateProperties) SetExpiryTimeInUtcAsTime ¶
func (o *CaCertificateProperties) SetExpiryTimeInUtcAsTime(input time.Time)
func (*CaCertificateProperties) SetIssueTimeInUtcAsTime ¶
func (o *CaCertificateProperties) SetIssueTimeInUtcAsTime(input time.Time)
type CaCertificateProvisioningState ¶
type CaCertificateProvisioningState string
const ( CaCertificateProvisioningStateCanceled CaCertificateProvisioningState = "Canceled" CaCertificateProvisioningStateCreating CaCertificateProvisioningState = "Creating" CaCertificateProvisioningStateDeleted CaCertificateProvisioningState = "Deleted" CaCertificateProvisioningStateDeleting CaCertificateProvisioningState = "Deleting" CaCertificateProvisioningStateFailed CaCertificateProvisioningState = "Failed" CaCertificateProvisioningStateSucceeded CaCertificateProvisioningState = "Succeeded" CaCertificateProvisioningStateUpdating CaCertificateProvisioningState = "Updating" )
func (*CaCertificateProvisioningState) UnmarshalJSON ¶
func (s *CaCertificateProvisioningState) UnmarshalJSON(bytes []byte) error
type CaCertificatesClient ¶
type CaCertificatesClient struct {
Client *resourcemanager.Client
}
func NewCaCertificatesClientWithBaseURI ¶
func NewCaCertificatesClientWithBaseURI(sdkApi sdkEnv.Api) (*CaCertificatesClient, error)
func (CaCertificatesClient) CreateOrUpdate ¶
func (c CaCertificatesClient) CreateOrUpdate(ctx context.Context, id CaCertificateId, input CaCertificate) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CaCertificatesClient) CreateOrUpdateThenPoll ¶
func (c CaCertificatesClient) CreateOrUpdateThenPoll(ctx context.Context, id CaCertificateId, input CaCertificate) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CaCertificatesClient) Delete ¶
func (c CaCertificatesClient) Delete(ctx context.Context, id CaCertificateId) (result DeleteOperationResponse, err error)
Delete ...
func (CaCertificatesClient) DeleteThenPoll ¶
func (c CaCertificatesClient) DeleteThenPoll(ctx context.Context, id CaCertificateId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CaCertificatesClient) Get ¶
func (c CaCertificatesClient) Get(ctx context.Context, id CaCertificateId) (result GetOperationResponse, err error)
Get ...
func (CaCertificatesClient) ListByNamespace ¶
func (c CaCertificatesClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (CaCertificatesClient) ListByNamespaceComplete ¶
func (c CaCertificatesClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (CaCertificatesClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c CaCertificatesClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate CaCertificateOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CaCertificate }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct { LatestHttpResponse *http.Response Items []CaCertificate }
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CaCertificate }
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (*NamespaceId) FromParseResult ¶
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID