certificateobjectlocalrulestack

package
v0.20240906.1232634 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/paloaltonetworks/2023-09-01/certificateobjectlocalrulestack Documentation

The certificateobjectlocalrulestack SDK allows for interaction with the Azure Resource Manager Service paloaltonetworks (API Version 2023-09-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/paloaltonetworks/2023-09-01/certificateobjectlocalrulestack"

Client Initialization

client := certificateobjectlocalrulestack.NewCertificateObjectLocalRulestackClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CertificateObjectLocalRulestackClient.CreateOrUpdate

ctx := context.TODO()
id := certificateobjectlocalrulestack.NewLocalRulestackCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localRulestackValue", "certificateValue")

payload := certificateobjectlocalrulestack.CertificateObjectLocalRulestackResource{
	// ...
}


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

Example Usage: CertificateObjectLocalRulestackClient.Delete

ctx := context.TODO()
id := certificateobjectlocalrulestack.NewLocalRulestackCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localRulestackValue", "certificateValue")

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

Example Usage: CertificateObjectLocalRulestackClient.Get

ctx := context.TODO()
id := certificateobjectlocalrulestack.NewLocalRulestackCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "localRulestackValue", "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: CertificateObjectLocalRulestackClient.ListByLocalRulestacks

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

// alternatively `client.ListByLocalRulestacks(ctx, id)` can be used to do batched pagination
items, err := client.ListByLocalRulestacksComplete(ctx, id)
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 PossibleValuesForBooleanEnum

func PossibleValuesForBooleanEnum() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func ValidateLocalRulestackCertificateID

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

ValidateLocalRulestackCertificateID checks that 'input' can be parsed as a Local Rulestack Certificate ID

func ValidateLocalRulestackID

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

ValidateLocalRulestackID checks that 'input' can be parsed as a Local Rulestack ID

Types

type BooleanEnum

type BooleanEnum string
const (
	BooleanEnumFALSE BooleanEnum = "FALSE"
	BooleanEnumTRUE  BooleanEnum = "TRUE"
)

func (*BooleanEnum) UnmarshalJSON

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

type CertificateObject

type CertificateObject struct {
	AuditComment                *string            `json:"auditComment,omitempty"`
	CertificateSelfSigned       BooleanEnum        `json:"certificateSelfSigned"`
	CertificateSignerResourceId *string            `json:"certificateSignerResourceId,omitempty"`
	Description                 *string            `json:"description,omitempty"`
	Etag                        *string            `json:"etag,omitempty"`
	ProvisioningState           *ProvisioningState `json:"provisioningState,omitempty"`
}

type CertificateObjectLocalRulestackClient

type CertificateObjectLocalRulestackClient struct {
	Client *resourcemanager.Client
}

func NewCertificateObjectLocalRulestackClientWithBaseURI

func NewCertificateObjectLocalRulestackClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateObjectLocalRulestackClient, error)

func (CertificateObjectLocalRulestackClient) CreateOrUpdate

CreateOrUpdate ...

func (CertificateObjectLocalRulestackClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (CertificateObjectLocalRulestackClient) Delete

Delete ...

func (CertificateObjectLocalRulestackClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (CertificateObjectLocalRulestackClient) Get

Get ...

func (CertificateObjectLocalRulestackClient) ListByLocalRulestacks

ListByLocalRulestacks ...

func (CertificateObjectLocalRulestackClient) ListByLocalRulestacksComplete

ListByLocalRulestacksComplete retrieves all the results into a single object

func (CertificateObjectLocalRulestackClient) ListByLocalRulestacksCompleteMatchingPredicate

ListByLocalRulestacksCompleteMatchingPredicate retrieves all the results and then applies the predicate

type CertificateObjectLocalRulestackResource

type CertificateObjectLocalRulestackResource struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties CertificateObject      `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type CertificateObjectLocalRulestackResourceOperationPredicate

type CertificateObjectLocalRulestackResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (CertificateObjectLocalRulestackResourceOperationPredicate) Matches

type CreateOrUpdateOperationResponse

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

type DeleteOperationResponse

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

type GetOperationResponse

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

type ListByLocalRulestacksCompleteResult

type ListByLocalRulestacksCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []CertificateObjectLocalRulestackResource
}

type ListByLocalRulestacksCustomPager added in v0.20240628.1153531

type ListByLocalRulestacksCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByLocalRulestacksCustomPager) NextPageLink() *odata.Link

type ListByLocalRulestacksOperationResponse

type ListByLocalRulestacksOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]CertificateObjectLocalRulestackResource
}

type LocalRulestackCertificateId

type LocalRulestackCertificateId struct {
	SubscriptionId     string
	ResourceGroupName  string
	LocalRulestackName string
	CertificateName    string
}

LocalRulestackCertificateId is a struct representing the Resource ID for a Local Rulestack Certificate

func NewLocalRulestackCertificateID

func NewLocalRulestackCertificateID(subscriptionId string, resourceGroupName string, localRulestackName string, certificateName string) LocalRulestackCertificateId

NewLocalRulestackCertificateID returns a new LocalRulestackCertificateId struct

func ParseLocalRulestackCertificateID

func ParseLocalRulestackCertificateID(input string) (*LocalRulestackCertificateId, error)

ParseLocalRulestackCertificateID parses 'input' into a LocalRulestackCertificateId

func ParseLocalRulestackCertificateIDInsensitively

func ParseLocalRulestackCertificateIDInsensitively(input string) (*LocalRulestackCertificateId, error)

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

func (*LocalRulestackCertificateId) FromParseResult

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

func (LocalRulestackCertificateId) ID

ID returns the formatted Local Rulestack Certificate ID

func (LocalRulestackCertificateId) Segments

Segments returns a slice of Resource ID Segments which comprise this Local Rulestack Certificate ID

func (LocalRulestackCertificateId) String

func (id LocalRulestackCertificateId) String() string

String returns a human-readable description of this Local Rulestack Certificate ID

type LocalRulestackId

type LocalRulestackId struct {
	SubscriptionId     string
	ResourceGroupName  string
	LocalRulestackName string
}

LocalRulestackId is a struct representing the Resource ID for a Local Rulestack

func NewLocalRulestackID

func NewLocalRulestackID(subscriptionId string, resourceGroupName string, localRulestackName string) LocalRulestackId

NewLocalRulestackID returns a new LocalRulestackId struct

func ParseLocalRulestackID

func ParseLocalRulestackID(input string) (*LocalRulestackId, error)

ParseLocalRulestackID parses 'input' into a LocalRulestackId

func ParseLocalRulestackIDInsensitively

func ParseLocalRulestackIDInsensitively(input string) (*LocalRulestackId, error)

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

func (*LocalRulestackId) FromParseResult

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

func (LocalRulestackId) ID

func (id LocalRulestackId) ID() string

ID returns the formatted Local Rulestack ID

func (LocalRulestackId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Local Rulestack ID

func (LocalRulestackId) String

func (id LocalRulestackId) String() string

String returns a human-readable description of this Local Rulestack ID

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateCreating     ProvisioningState = "Creating"
	ProvisioningStateDeleted      ProvisioningState = "Deleted"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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