편집

다음을 통해 공유


Get-NetworkControllerInternalResourceInstances

This cmdlet provides mapping between the user generated resource ID and the internal instance ID in the Network Controller

Syntax

Get-NetworkControllerInternalResourceInstances
   [[-ResourceId] <String[]>]
   -ConnectionUri <Uri>
   [-CertificateThumbprint <String>]
   [-Credential <PSCredential>]
   [-PassInnerException]
   [<CommonParameters>]

Description

This cmdlet provides mapping between the user generated resource ID and the internal instance ID in the Network Controller

Examples

Example 1

This example shows all the resources in the Network Controller with their corresponding instance IDs. The "Properties" field has the actual reference of the resource and the provisioning state.

Get-NetworkControllerInternalResourceInstances -ConnectionUri https://networkcontroller

Parameters

-CertificateThumbprint

Specifies the digital public key X.509 certificate of a user account that has permission to perform this action.This is the certificate thumbprint of the certificate.This thumbprint must also be provided in the ClientCertificateThumbprint parameter in the Install-NetworkController or Set-NetworkController cmdlet so that Network Controller can authorize this user.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectionUri

Specifies the Uniform Resource Identifier (URI) of the Network Controller, used by all Representational State Transfer (REST) clients to connect to Network Controller.

Type:Uri
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies a user credential that has permission to perform this action.The default value is the current user.This user must be present in the security group provided in the ClientSecurityGroup parameter in the Install-NetworkController cmdlet.

Type:PSCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassInnerException

Passes an inner exception.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

Specifies an array of one or more resources to retrieve. If ResourceID is not provided, all the resources in the Network Controller will be retrieved.

Type:String[]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

The resource has the following output:

  1. Resource ID
  2. Instance ID of the resource
  3. Actual reference of the resource
  4. Provisioning state of the resource