This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.managednetwork.getScopeAssignment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Get the specified scope assignment. Azure REST API version: 2019-06-01-preview.
Using getScopeAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScopeAssignment(args: GetScopeAssignmentArgs, opts?: InvokeOptions): Promise<GetScopeAssignmentResult>
function getScopeAssignmentOutput(args: GetScopeAssignmentOutputArgs, opts?: InvokeOptions): Output<GetScopeAssignmentResult>
def get_scope_assignment(scope: Optional[str] = None,
scope_assignment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScopeAssignmentResult
def get_scope_assignment_output(scope: Optional[pulumi.Input[str]] = None,
scope_assignment_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScopeAssignmentResult]
func LookupScopeAssignment(ctx *Context, args *LookupScopeAssignmentArgs, opts ...InvokeOption) (*LookupScopeAssignmentResult, error)
func LookupScopeAssignmentOutput(ctx *Context, args *LookupScopeAssignmentOutputArgs, opts ...InvokeOption) LookupScopeAssignmentResultOutput
> Note: This function is named LookupScopeAssignment
in the Go SDK.
public static class GetScopeAssignment
{
public static Task<GetScopeAssignmentResult> InvokeAsync(GetScopeAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetScopeAssignmentResult> Invoke(GetScopeAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScopeAssignmentResult> getScopeAssignment(GetScopeAssignmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:managednetwork:getScopeAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Scope string
- The base resource of the scope assignment.
- Scope
Assignment stringName - The name of the scope assignment to get.
- Scope string
- The base resource of the scope assignment.
- Scope
Assignment stringName - The name of the scope assignment to get.
- scope String
- The base resource of the scope assignment.
- scope
Assignment StringName - The name of the scope assignment to get.
- scope string
- The base resource of the scope assignment.
- scope
Assignment stringName - The name of the scope assignment to get.
- scope str
- The base resource of the scope assignment.
- scope_
assignment_ strname - The name of the scope assignment to get.
- scope String
- The base resource of the scope assignment.
- scope
Assignment StringName - The name of the scope assignment to get.
getScopeAssignment Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the ManagedNetwork resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Assigned
Managed stringNetwork - The managed network ID with scope will be assigned to.
- Location string
- The geo-location where the resource lives
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the ManagedNetwork resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Assigned
Managed stringNetwork - The managed network ID with scope will be assigned to.
- Location string
- The geo-location where the resource lives
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the ManagedNetwork resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- assigned
Managed StringNetwork - The managed network ID with scope will be assigned to.
- location String
- The geo-location where the resource lives
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the ManagedNetwork resource.
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- assigned
Managed stringNetwork - The managed network ID with scope will be assigned to.
- location string
- The geo-location where the resource lives
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the ManagedNetwork resource.
- type str
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- assigned_
managed_ strnetwork - The managed network ID with scope will be assigned to.
- location str
- The geo-location where the resource lives
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the ManagedNetwork resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- assigned
Managed StringNetwork - The managed network ID with scope will be assigned to.
- location String
- The geo-location where the resource lives
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi