Documentation ¶
Index ¶
- func PossibleValuesForAuthType() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- type AuthType
- 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 (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 (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 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) 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 ¶
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).
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"` // Fields inherited from ResourceCertificateDetails 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) 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"` // Fields inherited from ResourceCertificateDetails 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) SetValidFromAsTime ¶
func (o *ResourceCertificateAndAcsDetails) SetValidFromAsTime(input time.Time)
func (*ResourceCertificateAndAcsDetails) SetValidToAsTime ¶
func (o *ResourceCertificateAndAcsDetails) SetValidToAsTime(input time.Time)
type ResourceCertificateDetails ¶
type ResourceCertificateDetails interface { }
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 ...