publicipaddress

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache v2.0 License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicIPAddressAgentClient

type PublicIPAddressAgentClient struct {
	network.BaseClient
	// contains filtered or unexported fields
}

PublicIPAddressAgentClient is a client for managing public IP addresses. It embeds the network.BaseClient and includes an internal Service for additional functionality.

func NewPublicIPAddressClient

func NewPublicIPAddressClient(cloudFQDN string, authorizer auth.Authorizer) (*PublicIPAddressAgentClient, error)

NewPublicIPAddressClient creates a new instance of PublicIPAddressAgentClient. It takes a cloudFQDN string and an authorizer of type auth.Authorizer as parameters. Returns a pointer to PublicIPAddressAgentClient and an error if the client creation fails.

func (*PublicIPAddressAgentClient) CreateOrUpdate

CreateOrUpdate creates or updates a Public IP Address in the specified resource group.

func (*PublicIPAddressAgentClient) Delete

func (c *PublicIPAddressAgentClient) Delete(ctx context.Context, group, name string) error

Delete removes a public IP address resource identified by the specified group and name.

func (*PublicIPAddressAgentClient) Get

Get retrieves a list of PublicIPAddresses from the specified resource group and name.

func (*PublicIPAddressAgentClient) Precheck

Prechecks whether the system is able to create specified resources. Returns true if it is possible; or false with reason in error message if not.

type Service

Service defines the interface for managing Public IP Addresses in the network service. It provides methods to get, create or update, delete, and precheck public IP addresses.

Jump to

Keyboard shortcuts

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