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/recoveryservicessiterecovery/2024-01-01/replicationlogicalnetworks Documentation

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

Client Initialization

client := replicationlogicalnetworks.NewReplicationLogicalNetworksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationLogicalNetworksClient.Get

ctx := context.TODO()
id := replicationlogicalnetworks.NewReplicationLogicalNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationLogicalNetworkValue")

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: ReplicationLogicalNetworksClient.ListByReplicationFabrics

ctx := context.TODO()
id := replicationlogicalnetworks.NewReplicationFabricID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue")

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

# Functions

NewReplicationFabricID returns a new ReplicationFabricId struct.
NewReplicationLogicalNetworkID returns a new ReplicationLogicalNetworkId struct.
No description provided by the author
ParseReplicationFabricID parses 'input' into a ReplicationFabricId.
ParseReplicationFabricIDInsensitively parses 'input' case-insensitively into a ReplicationFabricId note: this method should only be used for API response data and not user input.
ParseReplicationLogicalNetworkID parses 'input' into a ReplicationLogicalNetworkId.
ParseReplicationLogicalNetworkIDInsensitively parses 'input' case-insensitively into a ReplicationLogicalNetworkId note: this method should only be used for API response data and not user input.
ValidateReplicationFabricID checks that 'input' can be parsed as a Replication Fabric ID.
ValidateReplicationLogicalNetworkID checks that 'input' can be parsed as a Replication Logical Network ID.

# Structs

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
ReplicationFabricId is a struct representing the Resource ID for a Replication Fabric.
ReplicationLogicalNetworkId is a struct representing the Resource ID for a Replication Logical Network.
No description provided by the author