WithNetworkSecurityPerimeter
Method
func (Resource) WithNetworkSecurityPerimeter( nsp AzureNetworkSecurityPerimeterResource, options ...*WithNetworkSecurityPerimeterOptions,) ResourceSignature
method
WithNetworkSecurityPerimeter builderAssociates an Azure PaaS resource with a Network Security Perimeter.
WithNetworkSecurityPerimeter( nsp AzureNetworkSecurityPerimeterResource, options ...*WithNetworkSecurityPerimeterOptions,) ResourceParameters
nspAzureNetworkSecurityPerimeterResource The Network Security Perimeter to associate with.options...*WithNetworkSecurityPerimeterOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithNetworkSecurityPerimeterOptions argument.
AccessMode *NetworkSecurityPerimeterAssociationAccessMode The access mode for the association. Defaults to Enforced. Use Learning to log violations without blocking traffic.AssociationName *stringAn optional name for the association. If not provided, defaults to "{resourceName}-assoc" .Returns
ResourceA reference to the target resource builder for chaining.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
AzureBicepResourcetype
AzureEnvironmentResourcetype
AzureNatGatewayResourcetype
AzureNetworkSecurityGroupResourcetype
AzureNetworkSecurityPerimeterResourcetype
AzurePrivateEndpointResourcetype
AzureProvisioningResourcetype
AzurePublicIPAddressResourcetype
AzureSubnetResourcetype
AzureUserAssignedIdentityResourcetype
AzureVirtualNetworkResourcetype
CSharpAppResourcetype
ContainerRegistryResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ExternalServiceResourcetype
ParameterResourcetype
ProjectResource