AzureNatGatewayResource Methods
ClassMethods1 member
Represents an Azure NAT Gateway resource.
AddAsExistingResource(AzureResourceInfrastructure) Section titled AddAsExistingResource(AzureResourceInfrastructure)overrideProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource. public class AzureNatGatewayResource{ public override ProvisionableResource AddAsExistingResource( AzureResourceInfrastructure infra) { // ... }}Parameters
infraAzureResourceInfrastructure The Azure.AzureResourceInfrastructure to add the existing resource into.Returns
ProvisionableResource A new Primitives.ProvisionableResource , typically using the FromExisting method on the derived Primitives.ProvisionableResource class.