Documentation ¶
Index ¶
- func PossibleValuesForAfdProvisioningState() []string
- func PossibleValuesForDeploymentStatus() []string
- func PossibleValuesForSecretType() []string
- func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSecretID(input interface{}, key string) (warnings []string, errors []error)
- type AfdProvisioningState
- type AzureFirstPartyManagedCertificateParameters
- type BaseSecretParametersImpl
- type CreateOperationResponse
- type CustomerCertificateParameters
- type DeleteOperationResponse
- type DeploymentStatus
- type GetOperationResponse
- type ListByProfileCompleteResult
- type ListByProfileCustomPager
- type ListByProfileOperationResponse
- type ManagedCertificateParameters
- type ProfileId
- type RawSecretParametersImpl
- type ResourceReference
- type Secret
- type SecretId
- type SecretOperationPredicate
- type SecretParameters
- type SecretProperties
- type SecretType
- type SecretsClient
- func (c SecretsClient) Create(ctx context.Context, id SecretId, input Secret) (result CreateOperationResponse, err error)
- func (c SecretsClient) CreateThenPoll(ctx context.Context, id SecretId, input Secret) error
- func (c SecretsClient) Delete(ctx context.Context, id SecretId) (result DeleteOperationResponse, err error)
- func (c SecretsClient) DeleteThenPoll(ctx context.Context, id SecretId) error
- func (c SecretsClient) Get(ctx context.Context, id SecretId) (result GetOperationResponse, err error)
- func (c SecretsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)
- func (c SecretsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)
- func (c SecretsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate SecretOperationPredicate) (result ListByProfileCompleteResult, err error)
- type URLSigningKeyParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAfdProvisioningState ¶
func PossibleValuesForAfdProvisioningState() []string
func PossibleValuesForDeploymentStatus ¶
func PossibleValuesForDeploymentStatus() []string
func PossibleValuesForSecretType ¶
func PossibleValuesForSecretType() []string
func ValidateProfileID ¶
ValidateProfileID checks that 'input' can be parsed as a Profile ID
func ValidateSecretID ¶
ValidateSecretID checks that 'input' can be parsed as a Secret ID
Types ¶
type AfdProvisioningState ¶
type AfdProvisioningState string
const ( AfdProvisioningStateCreating AfdProvisioningState = "Creating" AfdProvisioningStateDeleting AfdProvisioningState = "Deleting" AfdProvisioningStateFailed AfdProvisioningState = "Failed" AfdProvisioningStateSucceeded AfdProvisioningState = "Succeeded" AfdProvisioningStateUpdating AfdProvisioningState = "Updating" )
func (*AfdProvisioningState) UnmarshalJSON ¶
func (s *AfdProvisioningState) UnmarshalJSON(bytes []byte) error
type AzureFirstPartyManagedCertificateParameters ¶
type AzureFirstPartyManagedCertificateParameters struct { CertificateAuthority *string `json:"certificateAuthority,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` SecretSource *ResourceReference `json:"secretSource,omitempty"` Subject *string `json:"subject,omitempty"` SubjectAlternativeNames *[]string `json:"subjectAlternativeNames,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Type SecretType `json:"type"` }
func (AzureFirstPartyManagedCertificateParameters) MarshalJSON ¶
func (s AzureFirstPartyManagedCertificateParameters) MarshalJSON() ([]byte, error)
func (AzureFirstPartyManagedCertificateParameters) SecretParameters ¶
func (s AzureFirstPartyManagedCertificateParameters) SecretParameters() BaseSecretParametersImpl
type BaseSecretParametersImpl ¶
type BaseSecretParametersImpl struct {
Type SecretType `json:"type"`
}
func (BaseSecretParametersImpl) SecretParameters ¶
func (s BaseSecretParametersImpl) SecretParameters() BaseSecretParametersImpl
type CreateOperationResponse ¶
type CustomerCertificateParameters ¶
type CustomerCertificateParameters struct { CertificateAuthority *string `json:"certificateAuthority,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` SecretSource ResourceReference `json:"secretSource"` SecretVersion *string `json:"secretVersion,omitempty"` Subject *string `json:"subject,omitempty"` SubjectAlternativeNames *[]string `json:"subjectAlternativeNames,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` UseLatestVersion *bool `json:"useLatestVersion,omitempty"` Type SecretType `json:"type"` }
func (CustomerCertificateParameters) MarshalJSON ¶
func (s CustomerCertificateParameters) MarshalJSON() ([]byte, error)
func (CustomerCertificateParameters) SecretParameters ¶
func (s CustomerCertificateParameters) SecretParameters() BaseSecretParametersImpl
type DeleteOperationResponse ¶
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusInProgress DeploymentStatus = "InProgress" DeploymentStatusNotStarted DeploymentStatus = "NotStarted" DeploymentStatusSucceeded DeploymentStatus = "Succeeded" )
func (*DeploymentStatus) UnmarshalJSON ¶
func (s *DeploymentStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByProfileCustomPager ¶
func (*ListByProfileCustomPager) NextPageLink ¶
func (p *ListByProfileCustomPager) NextPageLink() *odata.Link
type ManagedCertificateParameters ¶
type ManagedCertificateParameters struct { ExpirationDate *string `json:"expirationDate,omitempty"` Subject *string `json:"subject,omitempty"` Type SecretType `json:"type"` }
func (ManagedCertificateParameters) MarshalJSON ¶
func (s ManagedCertificateParameters) MarshalJSON() ([]byte, error)
func (ManagedCertificateParameters) SecretParameters ¶
func (s ManagedCertificateParameters) SecretParameters() BaseSecretParametersImpl
type ProfileId ¶
ProfileId is a struct representing the Resource ID for a Profile
func NewProfileID ¶
NewProfileID returns a new ProfileId struct
func ParseProfileID ¶
ParseProfileID parses 'input' into a ProfileId
func ParseProfileIDInsensitively ¶
ParseProfileIDInsensitively parses 'input' case-insensitively into a ProfileId note: this method should only be used for API response data and not user input
func (*ProfileId) FromParseResult ¶
func (id *ProfileId) FromParseResult(input resourceids.ParseResult) error
func (ProfileId) Segments ¶
func (id ProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Profile ID
type RawSecretParametersImpl ¶
type RawSecretParametersImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawSecretParametersImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawSecretParametersImpl) SecretParameters ¶
func (s RawSecretParametersImpl) SecretParameters() BaseSecretParametersImpl
type ResourceReference ¶
type ResourceReference struct {
Id *string `json:"id,omitempty"`
}
type Secret ¶
type Secret struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecretProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SecretId ¶
type SecretId struct { SubscriptionId string ResourceGroupName string ProfileName string SecretName string }
SecretId is a struct representing the Resource ID for a Secret
func NewSecretID ¶
func NewSecretID(subscriptionId string, resourceGroupName string, profileName string, secretName string) SecretId
NewSecretID returns a new SecretId struct
func ParseSecretID ¶
ParseSecretID parses 'input' into a SecretId
func ParseSecretIDInsensitively ¶
ParseSecretIDInsensitively parses 'input' case-insensitively into a SecretId note: this method should only be used for API response data and not user input
func (*SecretId) FromParseResult ¶
func (id *SecretId) FromParseResult(input resourceids.ParseResult) error
func (SecretId) Segments ¶
func (id SecretId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Secret ID
type SecretOperationPredicate ¶
func (SecretOperationPredicate) Matches ¶
func (p SecretOperationPredicate) Matches(input Secret) bool
type SecretParameters ¶
type SecretParameters interface {
SecretParameters() BaseSecretParametersImpl
}
func UnmarshalSecretParametersImplementation ¶
func UnmarshalSecretParametersImplementation(input []byte) (SecretParameters, error)
type SecretProperties ¶
type SecretProperties struct { DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty"` Parameters SecretParameters `json:"parameters"` ProfileName *string `json:"profileName,omitempty"` ProvisioningState *AfdProvisioningState `json:"provisioningState,omitempty"` }
func (*SecretProperties) UnmarshalJSON ¶
func (s *SecretProperties) UnmarshalJSON(bytes []byte) error
type SecretType ¶
type SecretType string
const ( SecretTypeAzureFirstPartyManagedCertificate SecretType = "AzureFirstPartyManagedCertificate" SecretTypeCustomerCertificate SecretType = "CustomerCertificate" SecretTypeManagedCertificate SecretType = "ManagedCertificate" SecretTypeURLSigningKey SecretType = "UrlSigningKey" )
func (*SecretType) UnmarshalJSON ¶
func (s *SecretType) UnmarshalJSON(bytes []byte) error
type SecretsClient ¶
type SecretsClient struct {
Client *resourcemanager.Client
}
func NewSecretsClientWithBaseURI ¶
func NewSecretsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecretsClient, error)
func (SecretsClient) Create ¶
func (c SecretsClient) Create(ctx context.Context, id SecretId, input Secret) (result CreateOperationResponse, err error)
Create ...
func (SecretsClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (SecretsClient) Delete ¶
func (c SecretsClient) Delete(ctx context.Context, id SecretId) (result DeleteOperationResponse, err error)
Delete ...
func (SecretsClient) DeleteThenPoll ¶
func (c SecretsClient) DeleteThenPoll(ctx context.Context, id SecretId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SecretsClient) Get ¶
func (c SecretsClient) Get(ctx context.Context, id SecretId) (result GetOperationResponse, err error)
Get ...
func (SecretsClient) ListByProfile ¶
func (c SecretsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)
ListByProfile ...
func (SecretsClient) ListByProfileComplete ¶
func (c SecretsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)
ListByProfileComplete retrieves all the results into a single object
func (SecretsClient) ListByProfileCompleteMatchingPredicate ¶
func (c SecretsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate SecretOperationPredicate) (result ListByProfileCompleteResult, err error)
ListByProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
type URLSigningKeyParameters ¶
type URLSigningKeyParameters struct { KeyId string `json:"keyId"` SecretSource ResourceReference `json:"secretSource"` SecretVersion string `json:"secretVersion"` Type SecretType `json:"type"` }
func (URLSigningKeyParameters) MarshalJSON ¶
func (s URLSigningKeyParameters) MarshalJSON() ([]byte, error)
func (URLSigningKeyParameters) SecretParameters ¶
func (s URLSigningKeyParameters) SecretParameters() BaseSecretParametersImpl
Source Files ¶
- client.go
- constants.go
- id_profile.go
- id_secret.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyprofile.go
- model_azurefirstpartymanagedcertificateparameters.go
- model_customercertificateparameters.go
- model_managedcertificateparameters.go
- model_resourcereference.go
- model_secret.go
- model_secretparameters.go
- model_secretproperties.go
- model_urlsigningkeyparameters.go
- predicates.go
- version.go