WithServiceDelegation
Method
func (AzureSubnetResource) WithServiceDelegation( serviceName string, options ...*WithServiceDelegationOptions,) AzureSubnetResourceSignature
method
WithServiceDelegation builderDelegates the subnet to the specified Azure service.
WithServiceDelegation( serviceName string, options ...*WithServiceDelegationOptions,) AzureSubnetResourceParameters
serviceName stringThe service name to delegate the subnet to (e.g., "Microsoft.App/environments"). See AzureSubnetServiceDelegations for well-known values.options...*WithServiceDelegationOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithServiceDelegationOptions argument.
Name*stringThe name of the service delegation. If not specified, defaults to serviceName .Returns
AzureSubnetResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: