package
0.20240715.1103416
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev

# README

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

The certificateobjectglobalrulestack 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/certificateobjectglobalrulestack"

Client Initialization

client := certificateobjectglobalrulestack.NewCertificateObjectGlobalRulestackClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CertificateObjectGlobalRulestackClient.CreateOrUpdate

ctx := context.TODO()
id := certificateobjectglobalrulestack.NewCertificateID("globalRulestackValue", "certificateValue")

payload := certificateobjectglobalrulestack.CertificateObjectGlobalRulestackResource{
	// ...
}


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

Example Usage: CertificateObjectGlobalRulestackClient.Delete

ctx := context.TODO()
id := certificateobjectglobalrulestack.NewCertificateID("globalRulestackValue", "certificateValue")

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

Example Usage: CertificateObjectGlobalRulestackClient.Get

ctx := context.TODO()
id := certificateobjectglobalrulestack.NewCertificateID("globalRulestackValue", "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: CertificateObjectGlobalRulestackClient.List

ctx := context.TODO()
id := certificateobjectglobalrulestack.NewGlobalRulestackID("globalRulestackValue")

// 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
}

# Functions

NewCertificateID returns a new CertificateId struct.
No description provided by the author
NewGlobalRulestackID returns a new GlobalRulestackId struct.
ParseCertificateID parses 'input' into a CertificateId.
ParseCertificateIDInsensitively parses 'input' case-insensitively into a CertificateId note: this method should only be used for API response data and not user input.
ParseGlobalRulestackID parses 'input' into a GlobalRulestackId.
ParseGlobalRulestackIDInsensitively parses 'input' case-insensitively into a GlobalRulestackId note: this method should only be used for API response data and not user input.
No description provided by the author
No description provided by the author
ValidateCertificateID checks that 'input' can be parsed as a Certificate ID.
ValidateGlobalRulestackID checks that 'input' can be parsed as a Global Rulestack ID.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CertificateId is a struct representing the Resource ID for a Certificate.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GlobalRulestackId is a struct representing the Resource ID for a Global Rulestack.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author