Documentation ¶
Index ¶
- func PossibleValuesForAuthType() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- type AuthType
- type BaseResourceCertificateDetailsImpl
- type CertificateId
- type CertificateRequest
- type CreateOperationResponse
- type RawCertificateData
- type RawResourceCertificateDetailsImpl
- type ResourceCertificateAndAadDetails
- func (o *ResourceCertificateAndAadDetails) GetValidFromAsTime() (*time.Time, error)
- func (o *ResourceCertificateAndAadDetails) GetValidToAsTime() (*time.Time, error)
- func (s ResourceCertificateAndAadDetails) MarshalJSON() ([]byte, error)
- func (s ResourceCertificateAndAadDetails) ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
- func (o *ResourceCertificateAndAadDetails) SetValidFromAsTime(input time.Time)
- func (o *ResourceCertificateAndAadDetails) SetValidToAsTime(input time.Time)
- type ResourceCertificateAndAcsDetails
- func (o *ResourceCertificateAndAcsDetails) GetValidFromAsTime() (*time.Time, error)
- func (o *ResourceCertificateAndAcsDetails) GetValidToAsTime() (*time.Time, error)
- func (s ResourceCertificateAndAcsDetails) MarshalJSON() ([]byte, error)
- func (s ResourceCertificateAndAcsDetails) ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
- func (o *ResourceCertificateAndAcsDetails) SetValidFromAsTime(input time.Time)
- func (o *ResourceCertificateAndAcsDetails) SetValidToAsTime(input time.Time)
- type ResourceCertificateDetails
- type VaultCertificateResponse
- type VaultCertificatesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthType ¶
func PossibleValuesForAuthType() []string
func ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID
Types ¶
type BaseResourceCertificateDetailsImpl ¶
type BaseResourceCertificateDetailsImpl struct { AuthType string `json:"authType"` Certificate *string `json:"certificate,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` Issuer *string `json:"issuer,omitempty"` ResourceId *int64 `json:"resourceId,omitempty"` Subject *string `json:"subject,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` ValidFrom *string `json:"validFrom,omitempty"` ValidTo *string `json:"validTo,omitempty"` }
func (BaseResourceCertificateDetailsImpl) ResourceCertificateDetails ¶
func (s BaseResourceCertificateDetailsImpl) ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
type CertificateId ¶
type CertificateId struct { SubscriptionId string ResourceGroupName string VaultName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, vaultName 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 ¶
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 CertificateRequest ¶
type CertificateRequest struct {
Properties *RawCertificateData `json:"properties,omitempty"`
}
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VaultCertificateResponse }
type RawCertificateData ¶
type RawResourceCertificateDetailsImpl ¶
type RawResourceCertificateDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawResourceCertificateDetailsImpl 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 (RawResourceCertificateDetailsImpl) ResourceCertificateDetails ¶
func (s RawResourceCertificateDetailsImpl) ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
type ResourceCertificateAndAadDetails ¶
type ResourceCertificateAndAadDetails struct { AadAudience *string `json:"aadAudience,omitempty"` AadAuthority string `json:"aadAuthority"` AadTenantId string `json:"aadTenantId"` AzureManagementEndpointAudience string `json:"azureManagementEndpointAudience"` ServicePrincipalClientId string `json:"servicePrincipalClientId"` ServicePrincipalObjectId string `json:"servicePrincipalObjectId"` ServiceResourceId *string `json:"serviceResourceId,omitempty"` AuthType string `json:"authType"` Certificate *string `json:"certificate,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` Issuer *string `json:"issuer,omitempty"` ResourceId *int64 `json:"resourceId,omitempty"` Subject *string `json:"subject,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` ValidFrom *string `json:"validFrom,omitempty"` ValidTo *string `json:"validTo,omitempty"` }
func (*ResourceCertificateAndAadDetails) GetValidFromAsTime ¶
func (o *ResourceCertificateAndAadDetails) GetValidFromAsTime() (*time.Time, error)
func (*ResourceCertificateAndAadDetails) GetValidToAsTime ¶
func (o *ResourceCertificateAndAadDetails) GetValidToAsTime() (*time.Time, error)
func (ResourceCertificateAndAadDetails) MarshalJSON ¶
func (s ResourceCertificateAndAadDetails) MarshalJSON() ([]byte, error)
func (ResourceCertificateAndAadDetails) ResourceCertificateDetails ¶
func (s ResourceCertificateAndAadDetails) ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
func (*ResourceCertificateAndAadDetails) SetValidFromAsTime ¶
func (o *ResourceCertificateAndAadDetails) SetValidFromAsTime(input time.Time)
func (*ResourceCertificateAndAadDetails) SetValidToAsTime ¶
func (o *ResourceCertificateAndAadDetails) SetValidToAsTime(input time.Time)
type ResourceCertificateAndAcsDetails ¶
type ResourceCertificateAndAcsDetails struct { GlobalAcsHostName string `json:"globalAcsHostName"` GlobalAcsNamespace string `json:"globalAcsNamespace"` GlobalAcsRPRealm string `json:"globalAcsRPRealm"` AuthType string `json:"authType"` Certificate *string `json:"certificate,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` Issuer *string `json:"issuer,omitempty"` ResourceId *int64 `json:"resourceId,omitempty"` Subject *string `json:"subject,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` ValidFrom *string `json:"validFrom,omitempty"` ValidTo *string `json:"validTo,omitempty"` }
func (*ResourceCertificateAndAcsDetails) GetValidFromAsTime ¶
func (o *ResourceCertificateAndAcsDetails) GetValidFromAsTime() (*time.Time, error)
func (*ResourceCertificateAndAcsDetails) GetValidToAsTime ¶
func (o *ResourceCertificateAndAcsDetails) GetValidToAsTime() (*time.Time, error)
func (ResourceCertificateAndAcsDetails) MarshalJSON ¶
func (s ResourceCertificateAndAcsDetails) MarshalJSON() ([]byte, error)
func (ResourceCertificateAndAcsDetails) ResourceCertificateDetails ¶
func (s ResourceCertificateAndAcsDetails) ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
func (*ResourceCertificateAndAcsDetails) SetValidFromAsTime ¶
func (o *ResourceCertificateAndAcsDetails) SetValidFromAsTime(input time.Time)
func (*ResourceCertificateAndAcsDetails) SetValidToAsTime ¶
func (o *ResourceCertificateAndAcsDetails) SetValidToAsTime(input time.Time)
type ResourceCertificateDetails ¶
type ResourceCertificateDetails interface {
ResourceCertificateDetails() BaseResourceCertificateDetailsImpl
}
func UnmarshalResourceCertificateDetailsImplementation ¶
func UnmarshalResourceCertificateDetailsImplementation(input []byte) (ResourceCertificateDetails, error)
type VaultCertificateResponse ¶
type VaultCertificateResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ResourceCertificateDetails `json:"properties"` Type *string `json:"type,omitempty"` }
func (*VaultCertificateResponse) UnmarshalJSON ¶
func (s *VaultCertificateResponse) UnmarshalJSON(bytes []byte) error
type VaultCertificatesClient ¶
type VaultCertificatesClient struct {
Client *resourcemanager.Client
}
func NewVaultCertificatesClientWithBaseURI ¶
func NewVaultCertificatesClientWithBaseURI(sdkApi sdkEnv.Api) (*VaultCertificatesClient, error)
func (VaultCertificatesClient) Create ¶
func (c VaultCertificatesClient) Create(ctx context.Context, id CertificateId, input CertificateRequest) (result CreateOperationResponse, err error)
Create ...