integrationaccountcertificates

package
v0.20230607.1075732 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/integrationaccountcertificates Documentation

The integrationaccountcertificates SDK allows for interaction with the Azure Resource Manager Service logic (API Version 2019-05-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-sdk/resource-manager/logic/2019-05-01/integrationaccountcertificates"

Client Initialization

client := integrationaccountcertificates.NewIntegrationAccountCertificatesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationAccountCertificatesClient.CreateOrUpdate

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

payload := integrationaccountcertificates.IntegrationAccountCertificate{
	// ...
}


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

Example Usage: IntegrationAccountCertificatesClient.Delete

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

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: IntegrationAccountCertificatesClient.Get

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

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: IntegrationAccountCertificatesClient.List

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCertificateID

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

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

func ValidateIntegrationAccountID

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

ValidateIntegrationAccountID checks that 'input' can be parsed as a Integration Account ID

Types

type CertificateId

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

CertificateId is a struct representing the Resource ID for a Certificate

func NewCertificateID

func NewCertificateID(subscriptionId string, resourceGroupName string, integrationAccountName 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 CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *IntegrationAccountCertificate
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *IntegrationAccountCertificate
}

type IntegrationAccountCertificate

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

type IntegrationAccountCertificateOperationPredicate

type IntegrationAccountCertificateOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (IntegrationAccountCertificateOperationPredicate) Matches

type IntegrationAccountCertificateProperties

type IntegrationAccountCertificateProperties struct {
	ChangedTime       *string               `json:"changedTime,omitempty"`
	CreatedTime       *string               `json:"createdTime,omitempty"`
	Key               *KeyVaultKeyReference `json:"key,omitempty"`
	Metadata          *interface{}          `json:"metadata,omitempty"`
	PublicCertificate *string               `json:"publicCertificate,omitempty"`
}

func (*IntegrationAccountCertificateProperties) GetChangedTimeAsTime

func (o *IntegrationAccountCertificateProperties) GetChangedTimeAsTime() (*time.Time, error)

func (*IntegrationAccountCertificateProperties) GetCreatedTimeAsTime

func (o *IntegrationAccountCertificateProperties) GetCreatedTimeAsTime() (*time.Time, error)

func (*IntegrationAccountCertificateProperties) SetChangedTimeAsTime

func (o *IntegrationAccountCertificateProperties) SetChangedTimeAsTime(input time.Time)

func (*IntegrationAccountCertificateProperties) SetCreatedTimeAsTime

func (o *IntegrationAccountCertificateProperties) SetCreatedTimeAsTime(input time.Time)

type IntegrationAccountCertificatesClient

type IntegrationAccountCertificatesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewIntegrationAccountCertificatesClientWithBaseURI

func NewIntegrationAccountCertificatesClientWithBaseURI(endpoint string) IntegrationAccountCertificatesClient

func (IntegrationAccountCertificatesClient) CreateOrUpdate

CreateOrUpdate ...

func (IntegrationAccountCertificatesClient) Delete

Delete ...

func (IntegrationAccountCertificatesClient) Get

Get ...

func (IntegrationAccountCertificatesClient) List

List ...

func (IntegrationAccountCertificatesClient) ListComplete

ListComplete retrieves all of the results into a single object

func (IntegrationAccountCertificatesClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type IntegrationAccountId

type IntegrationAccountId struct {
	SubscriptionId         string
	ResourceGroupName      string
	IntegrationAccountName string
}

IntegrationAccountId is a struct representing the Resource ID for a Integration Account

func NewIntegrationAccountID

func NewIntegrationAccountID(subscriptionId string, resourceGroupName string, integrationAccountName string) IntegrationAccountId

NewIntegrationAccountID returns a new IntegrationAccountId struct

func ParseIntegrationAccountID

func ParseIntegrationAccountID(input string) (*IntegrationAccountId, error)

ParseIntegrationAccountID parses 'input' into a IntegrationAccountId

func ParseIntegrationAccountIDInsensitively

func ParseIntegrationAccountIDInsensitively(input string) (*IntegrationAccountId, error)

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

func (IntegrationAccountId) ID

func (id IntegrationAccountId) ID() string

ID returns the formatted Integration Account ID

func (IntegrationAccountId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Integration Account ID

func (IntegrationAccountId) String

func (id IntegrationAccountId) String() string

String returns a human-readable description of this Integration Account ID

type KeyVaultKeyReference

type KeyVaultKeyReference struct {
	KeyName    string                       `json:"keyName"`
	KeyVault   KeyVaultKeyReferenceKeyVault `json:"keyVault"`
	KeyVersion *string                      `json:"keyVersion,omitempty"`
}

type KeyVaultKeyReferenceKeyVault

type KeyVaultKeyReferenceKeyVault struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []IntegrationAccountCertificate
}

type ListOperationOptions

type ListOperationOptions struct {
	Top *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]IntegrationAccountCertificate
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

Jump to

Keyboard shortcuts

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