-
Notifications
You must be signed in to change notification settings - Fork 3
Get SdnResource
Invokes a web request to SDN API for the requested resource.
Get-SdnResource -NcUri <Uri> -InstanceId <String> [-NcRestCredential <PSCredential>]
[-NcRestCertificate <X509Certificate>] [<CommonParameters>]
Get-SdnResource -NcUri <Uri> -Resource <SdnApiResource> [-ResourceId <String>] [-ApiVersion <String>]
[-NcRestCredential <PSCredential>] [-NcRestCertificate <X509Certificate>] [<CommonParameters>]
Get-SdnResource -NcUri <Uri> [-ResourceRef <String>] [-ApiVersion <String>] [-NcRestCredential <PSCredential>]
[-NcRestCertificate <X509Certificate>] [<CommonParameters>]
{{ Fill in the Description }}
Get-SdnResource -NcUri "https://nc.$env:USERDNSDOMAIN" -Resource PublicIPAddresses
Get-SdnResource -NcUri "https://nc.$env:USERDNSDOMAIN" -Resource PublicIPAddresses -ResourceId "d9266251-a3ba-4ac5-859e-2c3a7c70352a"
Get-SdnResource -NcUri "https://nc.$env:USERDNSDOMAIN" -ResourceRef "/publicIPAddresses/d9266251-a3ba-4ac5-859e-2c3a7c70352a"
Get-SdnResource -NcUri "https://nc.$env:USERDNSDOMAIN" -ResourceRef "/publicIPAddresses/d9266251-a3ba-4ac5-859e-2c3a7c70352a" -NcRestCredential (Get-Credential)
Specifies the Uniform Resource Identifier (URI) of the network controller that all Representational State Transfer (REST) clients use to connect to that controller.
Type: Uri
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The resource ref of the object you want to perform the operation against.
Type: String
Parameter Sets: ResourceRef
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The resource type you want to perform the operation against.
Type: SdnApiResource
Parameter Sets: Resource
Aliases:
Accepted values: AccessControlLists, AuditingSettingsConfig, Credentials, Discovery, GatewayPools, Gateways, IDNSServerConfig, LearnedIPAddresses, LoadBalancerManagerConfig, LoadBalancerMuxes, LoadBalancers, LogicalNetworks, MacPools, NetworkControllerBackup, NetworkControllerRestore, NetworkControllerStatistics, NetworkInterfaces, Operations, OperationResults, PublicIPAddresses, SecurityTags, Servers, ServiceInsertions, RouteTables, VirtualGateways, VirtualNetworkManagerConfig, VirtualNetworks, VirtualServers, VirtualSwitchManagerConfig
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify the unique ID of the resource.
Type: String
Parameter Sets: Resource
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify the unique Instance ID of the resource.
Type: String
Parameter Sets: InstanceID
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The API version to use when invoking against the NC REST API endpoint.
Type: String
Parameter Sets: Resource, ResourceRef
Aliases:
Required: False
Position: Named
Default value: $Global:SdnDiagnostics.EnvironmentInfo.RestApiVersion
Accept pipeline input: False
Accept wildcard characters: False
Specifies a user account that has permission to perform this action against the Network Controller REST API. The default is the current user.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False
Specifies the client certificate that is used for a secure web request to Network Controller REST API. Enter a variable that contains a certificate or a command or expression that gets the certificate.
Type: X509Certificate
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Clear-SdnWorkingDirectory
- Convert-SdnEtwTraceToTxt
- Copy-SdnFileFromComputer
- Copy-SdnFileToComputer
- Debug-SdnFabricInfrastructure
- Disable-SdnRasGatewayTracing
- Enable-SdnRasGatewayTracing
- Enable-SdnVipTrace
- Get-SdnApiEndpoint
- Get-SdnAuditLog
- Get-SdnCertificate
- Get-SdnConfigState
- Get-SdnDiagnosticLogFile
- Get-SdnEventLog
- Get-SdnFabricInfrastructureResult
- Get-SdnGateway
- Get-SdnInfrastructureInfo
- Get-SdnInternalLoadBalancer
- Get-SdnLoadBalancerMux
- Get-SdnModuleConfiguration
- Get-SdnMuxCertificate
- Get-SdnMuxDistributedRouterIP
- Get-SdnMuxState
- Get-SdnMuxStatefulVip
- Get-SdnMuxStatelessVip
- Get-SdnMuxStats
- Get-SdnMuxVip
- Get-SdnMuxVipConfig
- Get-SdnNetAdapterEncapOverheadConfig
- Get-SdnNetAdapterRdmaConfig
- Get-SdnNetworkController
- Get-SdnNetworkControllerClusterInfo
- Get-SdnNetworkControllerNode
- Get-SdnNetworkControllerNodeCertificate
- Get-SdnNetworkControllerRestCertificate
- Get-SdnNetworkControllerState
- Get-SdnNetworkInterfaceOutboundPublicIPAddress
- Get-SdnOvsdbAddressMapping
- Get-SdnOvsdbFirewallRule
- Get-SdnOvsdbGlobalTable
- Get-SdnOvsdbPhysicalPort
- Get-SdnOvsdbRouterTable
- Get-SdnOvsdbUcastMacRemoteTable
- Get-SdnProviderAddress
- Get-SdnPublicIPPoolUsageSummary
- Get-SdnResource
- Get-SdnServer
- Get-SdnServerCertificate
- Get-SdnServiceFabricApplicationHealth
- Get-SdnServiceFabricClusterConfig
- Get-SdnServiceFabricClusterHealth
- Get-SdnServiceFabricClusterManifest
- Get-SdnServiceFabricNode
- Get-SdnServiceFabricPartition
- Get-SdnServiceFabricReplica
- Get-SdnServiceFabricService
- Get-SdnSlbStateInformation
- Get-SdnVfpPortGroup
- Get-SdnVfpPortLayer
- Get-SdnVfpPortRule
- Get-SdnVfpPortState
- Get-SdnVfpVmSwitchPort
- Get-SdnVipConfig
- Get-SdnVMNetworkAdapter
- Get-SdnVMNetworkAdapterPortProfile
- Import-SdnCertificate
- Install-SdnDiagnostics
- Invoke-SdnCommand
- Invoke-SdnGetNetView
- Invoke-SdnResourceDump
- Invoke-SdnServiceFabricCommand
- Move-SdnServiceFabricReplica
- New-SdnCertificate
- New-SdnCertificateRotationConfig
- New-SdnExpressBGPHost
- New-SdnMuxCertificate
- New-SdnNetworkControllerNodeCertificate
- New-SdnNetworkControllerRestCertificate
- New-SdnServerCertificate
- Remove-SdnExpressBGPHost
- Repair-SdnDiagnosticsScheduledTask
- Set-SdnCertificateAcl
- Set-SdnNetworkController
- Set-SdnServiceFabricClusterConfig
- Set-SdnVMNetworkAdapterPortProfile
- Show-SdnVfpPortConfig
- Show-SdnVipState
- Start-SdnCertificateRotation
- Start-SdnDataCollection
- Start-SdnEtwTraceCapture
- Start-SdnMuxCertificateRotation
- Start-SdnNetshTrace
- Start-SdnServerCertificateRotation
- Stop-SdnEtwTraceCapture
- Stop-SdnNetshTrace
- Test-SdnCertificateRotationConfig
- Test-SdnExpressBGP
- Test-SdnProviderAddressConnectivity