appservicecertificateorders

package
v0.20240209.1120443 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-01-01/appservicecertificateorders Documentation

The appservicecertificateorders SDK allows for interaction with the Azure Resource Manager Service web (API Version 2023-01-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-01-01/appservicecertificateorders"

Client Initialization

client := appservicecertificateorders.NewAppServiceCertificateOrdersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AppServiceCertificateOrdersClient.CreateOrUpdate

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

payload := appservicecertificateorders.AppServiceCertificateOrder{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AppServiceCertificateOrdersClient.CreateOrUpdateCertificate

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue", "certificateValue")

payload := appservicecertificateorders.AppServiceCertificateResource{
	// ...
}


if err := client.CreateOrUpdateCertificateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AppServiceCertificateOrdersClient.Delete

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.DeleteCertificate

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue", "certificateValue")

read, err := client.DeleteCertificate(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.Get

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.GetCertificate

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue", "certificateValue")

read, err := client.GetCertificate(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.List

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServiceCertificateOrdersClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServiceCertificateOrdersClient.ListCertificates

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

// alternatively `client.ListCertificates(ctx, id)` can be used to do batched pagination
items, err := client.ListCertificatesComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AppServiceCertificateOrdersClient.Reissue

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

payload := appservicecertificateorders.ReissueCertificateOrderRequest{
	// ...
}


read, err := client.Reissue(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.Renew

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

payload := appservicecertificateorders.RenewCertificateOrderRequest{
	// ...
}


read, err := client.Renew(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.ResendEmail

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

read, err := client.ResendEmail(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.ResendRequestEmails

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

payload := appservicecertificateorders.NameIdentifier{
	// ...
}


read, err := client.ResendRequestEmails(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.RetrieveCertificateActions

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

read, err := client.RetrieveCertificateActions(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.RetrieveCertificateEmailHistory

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

read, err := client.RetrieveCertificateEmailHistory(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.RetrieveSiteSeal

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

payload := appservicecertificateorders.SiteSealRequest{
	// ...
}


read, err := client.RetrieveSiteSeal(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.Update

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

payload := appservicecertificateorders.AppServiceCertificateOrderPatchResource{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.UpdateCertificate

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue", "certificateValue")

payload := appservicecertificateorders.AppServiceCertificatePatchResource{
	// ...
}


read, err := client.UpdateCertificate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.ValidatePurchaseInformation

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := appservicecertificateorders.AppServiceCertificateOrder{
	// ...
}


read, err := client.ValidatePurchaseInformation(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AppServiceCertificateOrdersClient.VerifyDomainOwnership

ctx := context.TODO()
id := appservicecertificateorders.NewCertificateOrderID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue")

read, err := client.VerifyDomainOwnership(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCertificateOrderActionType

func PossibleValuesForCertificateOrderActionType() []string

func PossibleValuesForCertificateOrderStatus

func PossibleValuesForCertificateOrderStatus() []string

func PossibleValuesForCertificateProductType

func PossibleValuesForCertificateProductType() []string

func PossibleValuesForKeyVaultSecretStatus

func PossibleValuesForKeyVaultSecretStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForResourceNotRenewableReason

func PossibleValuesForResourceNotRenewableReason() []string

func ValidateCertificateID

func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)

ValidateCertificateID checks that 'input' can be parsed as a Certificate ID

func ValidateCertificateOrderID

func ValidateCertificateOrderID(input interface{}, key string) (warnings []string, errors []error)

ValidateCertificateOrderID checks that 'input' can be parsed as a Certificate Order ID

Types

type AppServiceCertificate

type AppServiceCertificate struct {
	KeyVaultId         *string               `json:"keyVaultId,omitempty"`
	KeyVaultSecretName *string               `json:"keyVaultSecretName,omitempty"`
	ProvisioningState  *KeyVaultSecretStatus `json:"provisioningState,omitempty"`
}

type AppServiceCertificateOrder

type AppServiceCertificateOrder struct {
	Id         *string                               `json:"id,omitempty"`
	Kind       *string                               `json:"kind,omitempty"`
	Location   string                                `json:"location"`
	Name       *string                               `json:"name,omitempty"`
	Properties *AppServiceCertificateOrderProperties `json:"properties,omitempty"`
	Tags       *map[string]string                    `json:"tags,omitempty"`
	Type       *string                               `json:"type,omitempty"`
}

type AppServiceCertificateOrderOperationPredicate

type AppServiceCertificateOrderOperationPredicate struct {
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (AppServiceCertificateOrderOperationPredicate) Matches

type AppServiceCertificateOrderPatchResource

type AppServiceCertificateOrderPatchResource struct {
	Id         *string                                            `json:"id,omitempty"`
	Kind       *string                                            `json:"kind,omitempty"`
	Name       *string                                            `json:"name,omitempty"`
	Properties *AppServiceCertificateOrderPatchResourceProperties `json:"properties,omitempty"`
	Type       *string                                            `json:"type,omitempty"`
}

type AppServiceCertificateOrderPatchResourceProperties

type AppServiceCertificateOrderPatchResourceProperties struct {
	AppServiceCertificateNotRenewableReasons *[]ResourceNotRenewableReason     `json:"appServiceCertificateNotRenewableReasons,omitempty"`
	AutoRenew                                *bool                             `json:"autoRenew,omitempty"`
	Certificates                             *map[string]AppServiceCertificate `json:"certificates,omitempty"`
	Contact                                  *CertificateOrderContact          `json:"contact,omitempty"`
	Csr                                      *string                           `json:"csr,omitempty"`
	DistinguishedName                        *string                           `json:"distinguishedName,omitempty"`
	DomainVerificationToken                  *string                           `json:"domainVerificationToken,omitempty"`
	ExpirationTime                           *string                           `json:"expirationTime,omitempty"`
	Intermediate                             *CertificateDetails               `json:"intermediate,omitempty"`
	IsPrivateKeyExternal                     *bool                             `json:"isPrivateKeyExternal,omitempty"`
	KeySize                                  *int64                            `json:"keySize,omitempty"`
	LastCertificateIssuanceTime              *string                           `json:"lastCertificateIssuanceTime,omitempty"`
	NextAutoRenewalTimeStamp                 *string                           `json:"nextAutoRenewalTimeStamp,omitempty"`
	ProductType                              CertificateProductType            `json:"productType"`
	ProvisioningState                        *ProvisioningState                `json:"provisioningState,omitempty"`
	Root                                     *CertificateDetails               `json:"root,omitempty"`
	SerialNumber                             *string                           `json:"serialNumber,omitempty"`
	SignedCertificate                        *CertificateDetails               `json:"signedCertificate,omitempty"`
	Status                                   *CertificateOrderStatus           `json:"status,omitempty"`
	ValidityInYears                          *int64                            `json:"validityInYears,omitempty"`
}

func (*AppServiceCertificateOrderPatchResourceProperties) GetExpirationTimeAsTime

func (o *AppServiceCertificateOrderPatchResourceProperties) GetExpirationTimeAsTime() (*time.Time, error)

func (*AppServiceCertificateOrderPatchResourceProperties) GetLastCertificateIssuanceTimeAsTime

func (o *AppServiceCertificateOrderPatchResourceProperties) GetLastCertificateIssuanceTimeAsTime() (*time.Time, error)

func (*AppServiceCertificateOrderPatchResourceProperties) GetNextAutoRenewalTimeStampAsTime

func (o *AppServiceCertificateOrderPatchResourceProperties) GetNextAutoRenewalTimeStampAsTime() (*time.Time, error)

func (*AppServiceCertificateOrderPatchResourceProperties) SetExpirationTimeAsTime

func (o *AppServiceCertificateOrderPatchResourceProperties) SetExpirationTimeAsTime(input time.Time)

func (*AppServiceCertificateOrderPatchResourceProperties) SetLastCertificateIssuanceTimeAsTime

func (o *AppServiceCertificateOrderPatchResourceProperties) SetLastCertificateIssuanceTimeAsTime(input time.Time)

func (*AppServiceCertificateOrderPatchResourceProperties) SetNextAutoRenewalTimeStampAsTime

func (o *AppServiceCertificateOrderPatchResourceProperties) SetNextAutoRenewalTimeStampAsTime(input time.Time)

type AppServiceCertificateOrderProperties

type AppServiceCertificateOrderProperties struct {
	AppServiceCertificateNotRenewableReasons *[]ResourceNotRenewableReason     `json:"appServiceCertificateNotRenewableReasons,omitempty"`
	AutoRenew                                *bool                             `json:"autoRenew,omitempty"`
	Certificates                             *map[string]AppServiceCertificate `json:"certificates,omitempty"`
	Contact                                  *CertificateOrderContact          `json:"contact,omitempty"`
	Csr                                      *string                           `json:"csr,omitempty"`
	DistinguishedName                        *string                           `json:"distinguishedName,omitempty"`
	DomainVerificationToken                  *string                           `json:"domainVerificationToken,omitempty"`
	ExpirationTime                           *string                           `json:"expirationTime,omitempty"`
	Intermediate                             *CertificateDetails               `json:"intermediate,omitempty"`
	IsPrivateKeyExternal                     *bool                             `json:"isPrivateKeyExternal,omitempty"`
	KeySize                                  *int64                            `json:"keySize,omitempty"`
	LastCertificateIssuanceTime              *string                           `json:"lastCertificateIssuanceTime,omitempty"`
	NextAutoRenewalTimeStamp                 *string                           `json:"nextAutoRenewalTimeStamp,omitempty"`
	ProductType                              CertificateProductType            `json:"productType"`
	ProvisioningState                        *ProvisioningState                `json:"provisioningState,omitempty"`
	Root                                     *CertificateDetails               `json:"root,omitempty"`
	SerialNumber                             *string                           `json:"serialNumber,omitempty"`
	SignedCertificate                        *CertificateDetails               `json:"signedCertificate,omitempty"`
	Status                                   *CertificateOrderStatus           `json:"status,omitempty"`
	ValidityInYears                          *int64                            `json:"validityInYears,omitempty"`
}

func (*AppServiceCertificateOrderProperties) GetExpirationTimeAsTime

func (o *AppServiceCertificateOrderProperties) GetExpirationTimeAsTime() (*time.Time, error)

func (*AppServiceCertificateOrderProperties) GetLastCertificateIssuanceTimeAsTime

func (o *AppServiceCertificateOrderProperties) GetLastCertificateIssuanceTimeAsTime() (*time.Time, error)

func (*AppServiceCertificateOrderProperties) GetNextAutoRenewalTimeStampAsTime

func (o *AppServiceCertificateOrderProperties) GetNextAutoRenewalTimeStampAsTime() (*time.Time, error)

func (*AppServiceCertificateOrderProperties) SetExpirationTimeAsTime

func (o *AppServiceCertificateOrderProperties) SetExpirationTimeAsTime(input time.Time)

func (*AppServiceCertificateOrderProperties) SetLastCertificateIssuanceTimeAsTime

func (o *AppServiceCertificateOrderProperties) SetLastCertificateIssuanceTimeAsTime(input time.Time)

func (*AppServiceCertificateOrderProperties) SetNextAutoRenewalTimeStampAsTime

func (o *AppServiceCertificateOrderProperties) SetNextAutoRenewalTimeStampAsTime(input time.Time)

type AppServiceCertificateOrdersClient

type AppServiceCertificateOrdersClient struct {
	Client *resourcemanager.Client
}

func NewAppServiceCertificateOrdersClientWithBaseURI

func NewAppServiceCertificateOrdersClientWithBaseURI(sdkApi sdkEnv.Api) (*AppServiceCertificateOrdersClient, error)

func (AppServiceCertificateOrdersClient) CreateOrUpdate

CreateOrUpdate ...

func (AppServiceCertificateOrdersClient) CreateOrUpdateCertificate

CreateOrUpdateCertificate ...

func (AppServiceCertificateOrdersClient) CreateOrUpdateCertificateThenPoll

func (c AppServiceCertificateOrdersClient) CreateOrUpdateCertificateThenPoll(ctx context.Context, id CertificateId, input AppServiceCertificateResource) error

CreateOrUpdateCertificateThenPoll performs CreateOrUpdateCertificate then polls until it's completed

func (AppServiceCertificateOrdersClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (AppServiceCertificateOrdersClient) Delete

Delete ...

func (AppServiceCertificateOrdersClient) DeleteCertificate

DeleteCertificate ...

func (AppServiceCertificateOrdersClient) Get

Get ...

func (AppServiceCertificateOrdersClient) GetCertificate

GetCertificate ...

func (AppServiceCertificateOrdersClient) List

List ...

func (AppServiceCertificateOrdersClient) ListByResourceGroup

ListByResourceGroup ...

func (AppServiceCertificateOrdersClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (AppServiceCertificateOrdersClient) ListByResourceGroupCompleteMatchingPredicate

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServiceCertificateOrdersClient) ListCertificates

ListCertificates ...

func (AppServiceCertificateOrdersClient) ListCertificatesComplete

ListCertificatesComplete retrieves all the results into a single object

func (AppServiceCertificateOrdersClient) ListCertificatesCompleteMatchingPredicate

ListCertificatesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServiceCertificateOrdersClient) ListComplete

ListComplete retrieves all the results into a single object

func (AppServiceCertificateOrdersClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AppServiceCertificateOrdersClient) Reissue

Reissue ...

func (AppServiceCertificateOrdersClient) Renew

Renew ...

func (AppServiceCertificateOrdersClient) ResendEmail

ResendEmail ...

func (AppServiceCertificateOrdersClient) ResendRequestEmails

ResendRequestEmails ...

func (AppServiceCertificateOrdersClient) RetrieveCertificateActions

RetrieveCertificateActions ...

func (AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistory

RetrieveCertificateEmailHistory ...

func (AppServiceCertificateOrdersClient) RetrieveSiteSeal

RetrieveSiteSeal ...

func (AppServiceCertificateOrdersClient) Update

Update ...

func (AppServiceCertificateOrdersClient) UpdateCertificate

UpdateCertificate ...

func (AppServiceCertificateOrdersClient) ValidatePurchaseInformation

ValidatePurchaseInformation ...

func (AppServiceCertificateOrdersClient) VerifyDomainOwnership

VerifyDomainOwnership ...

type AppServiceCertificatePatchResource

type AppServiceCertificatePatchResource struct {
	Id         *string                `json:"id,omitempty"`
	Kind       *string                `json:"kind,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *AppServiceCertificate `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type AppServiceCertificateResource

type AppServiceCertificateResource struct {
	Id         *string                `json:"id,omitempty"`
	Kind       *string                `json:"kind,omitempty"`
	Location   string                 `json:"location"`
	Name       *string                `json:"name,omitempty"`
	Properties *AppServiceCertificate `json:"properties,omitempty"`
	Tags       *map[string]string     `json:"tags,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type AppServiceCertificateResourceOperationPredicate

type AppServiceCertificateResourceOperationPredicate struct {
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (AppServiceCertificateResourceOperationPredicate) Matches

type CertificateDetails

type CertificateDetails struct {
	Issuer             *string `json:"issuer,omitempty"`
	NotAfter           *string `json:"notAfter,omitempty"`
	NotBefore          *string `json:"notBefore,omitempty"`
	RawData            *string `json:"rawData,omitempty"`
	SerialNumber       *string `json:"serialNumber,omitempty"`
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"`
	Subject            *string `json:"subject,omitempty"`
	Thumbprint         *string `json:"thumbprint,omitempty"`
	Version            *int64  `json:"version,omitempty"`
}

func (*CertificateDetails) GetNotAfterAsTime

func (o *CertificateDetails) GetNotAfterAsTime() (*time.Time, error)

func (*CertificateDetails) GetNotBeforeAsTime

func (o *CertificateDetails) GetNotBeforeAsTime() (*time.Time, error)

func (*CertificateDetails) SetNotAfterAsTime

func (o *CertificateDetails) SetNotAfterAsTime(input time.Time)

func (*CertificateDetails) SetNotBeforeAsTime

func (o *CertificateDetails) SetNotBeforeAsTime(input time.Time)

type CertificateEmail

type CertificateEmail struct {
	EmailId   *string `json:"emailId,omitempty"`
	TimeStamp *string `json:"timeStamp,omitempty"`
}

func (*CertificateEmail) GetTimeStampAsTime

func (o *CertificateEmail) GetTimeStampAsTime() (*time.Time, error)

func (*CertificateEmail) SetTimeStampAsTime

func (o *CertificateEmail) SetTimeStampAsTime(input time.Time)

type CertificateId

type CertificateId struct {
	SubscriptionId       string
	ResourceGroupName    string
	CertificateOrderName string
	CertificateName      string
}

CertificateId is a struct representing the Resource ID for a Certificate

func NewCertificateID

func NewCertificateID(subscriptionId string, resourceGroupName string, certificateOrderName 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 CertificateOrderAction

type CertificateOrderAction struct {
	ActionType *CertificateOrderActionType `json:"actionType,omitempty"`
	CreatedAt  *string                     `json:"createdAt,omitempty"`
}

func (*CertificateOrderAction) GetCreatedAtAsTime

func (o *CertificateOrderAction) GetCreatedAtAsTime() (*time.Time, error)

func (*CertificateOrderAction) SetCreatedAtAsTime

func (o *CertificateOrderAction) SetCreatedAtAsTime(input time.Time)

type CertificateOrderActionType

type CertificateOrderActionType string
const (
	CertificateOrderActionTypeCertificateExpirationWarning CertificateOrderActionType = "CertificateExpirationWarning"
	CertificateOrderActionTypeCertificateExpired           CertificateOrderActionType = "CertificateExpired"
	CertificateOrderActionTypeCertificateIssued            CertificateOrderActionType = "CertificateIssued"
	CertificateOrderActionTypeCertificateOrderCanceled     CertificateOrderActionType = "CertificateOrderCanceled"
	CertificateOrderActionTypeCertificateOrderCreated      CertificateOrderActionType = "CertificateOrderCreated"
	CertificateOrderActionTypeCertificateRevoked           CertificateOrderActionType = "CertificateRevoked"
	CertificateOrderActionTypeDomainValidationComplete     CertificateOrderActionType = "DomainValidationComplete"
	CertificateOrderActionTypeFraudCleared                 CertificateOrderActionType = "FraudCleared"
	CertificateOrderActionTypeFraudDetected                CertificateOrderActionType = "FraudDetected"
	CertificateOrderActionTypeFraudDocumentationRequired   CertificateOrderActionType = "FraudDocumentationRequired"
	CertificateOrderActionTypeOrgNameChange                CertificateOrderActionType = "OrgNameChange"
	CertificateOrderActionTypeOrgValidationComplete        CertificateOrderActionType = "OrgValidationComplete"
	CertificateOrderActionTypeSanDrop                      CertificateOrderActionType = "SanDrop"
	CertificateOrderActionTypeUnknown                      CertificateOrderActionType = "Unknown"
)

func (*CertificateOrderActionType) UnmarshalJSON

func (s *CertificateOrderActionType) UnmarshalJSON(bytes []byte) error

type CertificateOrderContact

type CertificateOrderContact struct {
	Email     *string `json:"email,omitempty"`
	NameFirst *string `json:"nameFirst,omitempty"`
	NameLast  *string `json:"nameLast,omitempty"`
	Phone     *string `json:"phone,omitempty"`
}

type CertificateOrderId

type CertificateOrderId struct {
	SubscriptionId       string
	ResourceGroupName    string
	CertificateOrderName string
}

CertificateOrderId is a struct representing the Resource ID for a Certificate Order

func NewCertificateOrderID

func NewCertificateOrderID(subscriptionId string, resourceGroupName string, certificateOrderName string) CertificateOrderId

NewCertificateOrderID returns a new CertificateOrderId struct

func ParseCertificateOrderID

func ParseCertificateOrderID(input string) (*CertificateOrderId, error)

ParseCertificateOrderID parses 'input' into a CertificateOrderId

func ParseCertificateOrderIDInsensitively

func ParseCertificateOrderIDInsensitively(input string) (*CertificateOrderId, error)

ParseCertificateOrderIDInsensitively parses 'input' case-insensitively into a CertificateOrderId note: this method should only be used for API response data and not user input

func (*CertificateOrderId) FromParseResult

func (id *CertificateOrderId) FromParseResult(input resourceids.ParseResult) error

func (CertificateOrderId) ID

func (id CertificateOrderId) ID() string

ID returns the formatted Certificate Order ID

func (CertificateOrderId) Segments

func (id CertificateOrderId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Certificate Order ID

func (CertificateOrderId) String

func (id CertificateOrderId) String() string

String returns a human-readable description of this Certificate Order ID

type CertificateOrderStatus

type CertificateOrderStatus string
const (
	CertificateOrderStatusCanceled          CertificateOrderStatus = "Canceled"
	CertificateOrderStatusDenied            CertificateOrderStatus = "Denied"
	CertificateOrderStatusExpired           CertificateOrderStatus = "Expired"
	CertificateOrderStatusIssued            CertificateOrderStatus = "Issued"
	CertificateOrderStatusNotSubmitted      CertificateOrderStatus = "NotSubmitted"
	CertificateOrderStatusPendingRekey      CertificateOrderStatus = "PendingRekey"
	CertificateOrderStatusPendingissuance   CertificateOrderStatus = "Pendingissuance"
	CertificateOrderStatusPendingrevocation CertificateOrderStatus = "Pendingrevocation"
	CertificateOrderStatusRevoked           CertificateOrderStatus = "Revoked"
	CertificateOrderStatusUnused            CertificateOrderStatus = "Unused"
)

func (*CertificateOrderStatus) UnmarshalJSON

func (s *CertificateOrderStatus) UnmarshalJSON(bytes []byte) error

type CertificateProductType

type CertificateProductType string
const (
	CertificateProductTypeStandardDomainValidatedSsl         CertificateProductType = "StandardDomainValidatedSsl"
	CertificateProductTypeStandardDomainValidatedWildCardSsl CertificateProductType = "StandardDomainValidatedWildCardSsl"
)

func (*CertificateProductType) UnmarshalJSON

func (s *CertificateProductType) UnmarshalJSON(bytes []byte) error

type CreateOrUpdateCertificateOperationResponse

type CreateOrUpdateCertificateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServiceCertificateResource
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServiceCertificateOrder
}

type DeleteCertificateOperationResponse

type DeleteCertificateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetCertificateOperationResponse

type GetCertificateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServiceCertificateResource
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServiceCertificateOrder
}

type KeyVaultSecretStatus

type KeyVaultSecretStatus string
const (
	KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault KeyVaultSecretStatus = "AzureServiceUnauthorizedToAccessKeyVault"
	KeyVaultSecretStatusCertificateOrderFailed                   KeyVaultSecretStatus = "CertificateOrderFailed"
	KeyVaultSecretStatusExternalPrivateKey                       KeyVaultSecretStatus = "ExternalPrivateKey"
	KeyVaultSecretStatusInitialized                              KeyVaultSecretStatus = "Initialized"
	KeyVaultSecretStatusKeyVaultDoesNotExist                     KeyVaultSecretStatus = "KeyVaultDoesNotExist"
	KeyVaultSecretStatusKeyVaultSecretDoesNotExist               KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist"
	KeyVaultSecretStatusOperationNotPermittedOnKeyVault          KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault"
	KeyVaultSecretStatusSucceeded                                KeyVaultSecretStatus = "Succeeded"
	KeyVaultSecretStatusUnknown                                  KeyVaultSecretStatus = "Unknown"
	KeyVaultSecretStatusUnknownError                             KeyVaultSecretStatus = "UnknownError"
	KeyVaultSecretStatusWaitingOnCertificateOrder                KeyVaultSecretStatus = "WaitingOnCertificateOrder"
)

func (*KeyVaultSecretStatus) UnmarshalJSON

func (s *KeyVaultSecretStatus) UnmarshalJSON(bytes []byte) error

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AppServiceCertificateOrder
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AppServiceCertificateOrder
}

type ListCertificatesCompleteResult

type ListCertificatesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AppServiceCertificateResource
}

type ListCertificatesOperationResponse

type ListCertificatesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AppServiceCertificateResource
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AppServiceCertificateOrder
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AppServiceCertificateOrder
}

type NameIdentifier

type NameIdentifier struct {
	Name *string `json:"name,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled   ProvisioningState = "Canceled"
	ProvisioningStateDeleting   ProvisioningState = "Deleting"
	ProvisioningStateFailed     ProvisioningState = "Failed"
	ProvisioningStateInProgress ProvisioningState = "InProgress"
	ProvisioningStateSucceeded  ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type ReissueCertificateOrderRequest

type ReissueCertificateOrderRequest struct {
	Id         *string                                   `json:"id,omitempty"`
	Kind       *string                                   `json:"kind,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Properties *ReissueCertificateOrderRequestProperties `json:"properties,omitempty"`
	Type       *string                                   `json:"type,omitempty"`
}

type ReissueCertificateOrderRequestProperties

type ReissueCertificateOrderRequestProperties struct {
	Csr                        *string `json:"csr,omitempty"`
	DelayExistingRevokeInHours *int64  `json:"delayExistingRevokeInHours,omitempty"`
	IsPrivateKeyExternal       *bool   `json:"isPrivateKeyExternal,omitempty"`
	KeySize                    *int64  `json:"keySize,omitempty"`
}

type ReissueOperationResponse

type ReissueOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RenewCertificateOrderRequest

type RenewCertificateOrderRequest struct {
	Id         *string                                 `json:"id,omitempty"`
	Kind       *string                                 `json:"kind,omitempty"`
	Name       *string                                 `json:"name,omitempty"`
	Properties *RenewCertificateOrderRequestProperties `json:"properties,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

type RenewCertificateOrderRequestProperties

type RenewCertificateOrderRequestProperties struct {
	Csr                  *string `json:"csr,omitempty"`
	IsPrivateKeyExternal *bool   `json:"isPrivateKeyExternal,omitempty"`
	KeySize              *int64  `json:"keySize,omitempty"`
}

type RenewOperationResponse

type RenewOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ResendEmailOperationResponse

type ResendEmailOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ResendRequestEmailsOperationResponse

type ResendRequestEmailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ResourceNotRenewableReason

type ResourceNotRenewableReason string
const (
	ResourceNotRenewableReasonExpirationNotInRenewalTimeRange          ResourceNotRenewableReason = "ExpirationNotInRenewalTimeRange"
	ResourceNotRenewableReasonRegistrationStatusNotSupportedForRenewal ResourceNotRenewableReason = "RegistrationStatusNotSupportedForRenewal"
	ResourceNotRenewableReasonSubscriptionNotActive                    ResourceNotRenewableReason = "SubscriptionNotActive"
)

func (*ResourceNotRenewableReason) UnmarshalJSON

func (s *ResourceNotRenewableReason) UnmarshalJSON(bytes []byte) error

type RetrieveCertificateActionsOperationResponse

type RetrieveCertificateActionsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]CertificateOrderAction
}

type RetrieveCertificateEmailHistoryOperationResponse

type RetrieveCertificateEmailHistoryOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]CertificateEmail
}

type RetrieveSiteSealOperationResponse

type RetrieveSiteSealOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SiteSeal
}

type SiteSeal

type SiteSeal struct {
	Html string `json:"html"`
}

type SiteSealRequest

type SiteSealRequest struct {
	LightTheme *bool   `json:"lightTheme,omitempty"`
	Locale     *string `json:"locale,omitempty"`
}

type UpdateCertificateOperationResponse

type UpdateCertificateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServiceCertificateResource
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AppServiceCertificateOrder
}

type ValidatePurchaseInformationOperationResponse

type ValidatePurchaseInformationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type VerifyDomainOwnershipOperationResponse

type VerifyDomainOwnershipOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL