1. Packages
  2. Azure Native v2
  3. API Docs
  4. managednetwork
  5. getScopeAssignment
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.managednetwork.getScopeAssignment

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 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>
Copy
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]
Copy
func LookupScopeAssignment(ctx *Context, args *LookupScopeAssignmentArgs, opts ...InvokeOption) (*LookupScopeAssignmentResult, error)
func LookupScopeAssignmentOutput(ctx *Context, args *LookupScopeAssignmentOutputArgs, opts ...InvokeOption) LookupScopeAssignmentResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetScopeAssignmentResult> getScopeAssignment(GetScopeAssignmentArgs args, InvokeOptions options)
public static Output<GetScopeAssignmentResult> getScopeAssignment(GetScopeAssignmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:managednetwork:getScopeAssignment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Scope
This property is required.
Changes to this property will trigger replacement.
string
The base resource of the scope assignment.
ScopeAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the scope assignment to get.
Scope
This property is required.
Changes to this property will trigger replacement.
string
The base resource of the scope assignment.
ScopeAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the scope assignment to get.
scope
This property is required.
Changes to this property will trigger replacement.
String
The base resource of the scope assignment.
scopeAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the scope assignment to get.
scope
This property is required.
Changes to this property will trigger replacement.
string
The base resource of the scope assignment.
scopeAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the scope assignment to get.
scope
This property is required.
Changes to this property will trigger replacement.
str
The base resource of the scope assignment.
scope_assignment_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the scope assignment to get.
scope
This property is required.
Changes to this property will trigger replacement.
String
The base resource of the scope assignment.
scopeAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
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
ProvisioningState string
Provisioning state of the ManagedNetwork resource.
Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
AssignedManagedNetwork string
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
ProvisioningState string
Provisioning state of the ManagedNetwork resource.
Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
AssignedManagedNetwork string
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
provisioningState String
Provisioning state of the ManagedNetwork resource.
type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
assignedManagedNetwork String
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
provisioningState string
Provisioning state of the ManagedNetwork resource.
type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
assignedManagedNetwork string
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_network str
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
provisioningState String
Provisioning state of the ManagedNetwork resource.
type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
assignedManagedNetwork String
The managed network ID with scope will be assigned to.
location String
The geo-location where the resource lives

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi