exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.3, generator: @autorest/powershell@3.0.468) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Returns the requested fabric location. .Description Returns the requested fabric location. .Example PS C:\> Get-AzsInfrastructureLocation Return a list of all fabric locations. .Example PS C:\> Get-AzsInfrastructureLocation -Location "local" Return a location based on the name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IFabricLocation .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsinfrastructurelocation #> function Get-AzsInfrastructureLocation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IFabricLocation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Fabric location. ${FabricLocation}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Azs.Fabric.Admin.private\Get-AzsInfrastructureLocation_Get'; GetViaIdentity = 'Azs.Fabric.Admin.private\Get-AzsInfrastructureLocation_GetViaIdentity'; List = 'Azs.Fabric.Admin.private\Get-AzsInfrastructureLocation_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create an IP pool. Once created an IP pool cannot be deleted. .Description Create an IP pool. Once created an IP pool cannot be deleted. .Example PS C:\> New-AzsIpPool -Name IpPool4 -StartIpAddress ***.***.***.*** -EndIpAddress ***.***.***.*** -AddressPrefix ***.***.***.***/24 .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IIPPool .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IIPPool .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. POOL <IIPPool>: This resource defines the range of IP addresses from which addresses are allocated for nodes within a subnet. [Location <String>]: The region where the resource is located. [Tag <IResourceTags>]: List of key-value pairs. [(Any) <String>]: This indicates any property can be added to this object. [AddressPrefix <String>]: The address prefix. [EndIPAddress <String>]: The ending IP address. [NumberOfAllocatedIPAddresses <Int64?>]: The number of currently allocated IP addresses. [NumberOfIPAddresses <Int64?>]: The total number of IP addresses. [NumberOfIPAddressesInTransition <Int64?>]: The current number of IP addresses in transition. [StartIPAddress <String>]: The starting IP address. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/new-azsippool #> function New-AzsIPPool { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IIPPool])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # IP pool name. ${Name}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IIPPool] # This resource defines the range of IP addresses from which addresses are allocated for nodes within a subnet. # To construct, see NOTES section for POOL properties and create a hash table. ${Pool}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # The address prefix. ${AddressPrefix}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # The ending IP address. ${EndIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # The region where the resource is located. ${Location1}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Int64] # The number of currently allocated IP addresses. ${NumberOfAllocatedIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Int64] # The total number of IP addresses. ${NumberOfIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Int64] # The current number of IP addresses in transition. ${NumberOfIPAddressesInTransition}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # The starting IP address. ${StartIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IResourceTags]))] [System.Collections.Hashtable] # List of key-value pairs. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Azs.Fabric.Admin.private\New-AzsIPPool_Create'; CreateExpanded = 'Azs.Fabric.Admin.private\New-AzsIPPool_CreateExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Scales out a scale unit. .Description Scales out a scale unit. .Example PS C:\> Add-AzsScaleUnitNode -BmciPv4Address $BmciPv4Address -ComputerName $ComputerName -ScaleUnit $ScaleUnitName Adds a list of nodes to the scale unit. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/add-azsscaleunitnode #> function Add-AzsScaleUnitNode { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='ScaleExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='ScaleExpanded', Mandatory)] [Parameter(ParameterSetName='Scale', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale units. ${ScaleUnit}, [Parameter(ParameterSetName='ScaleExpanded', Mandatory)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # BMC address of the physical machine. ${BmciPv4Address}, [Parameter(ParameterSetName='ScaleExpanded', Mandatory)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Computer name of the physical machine. ${ComputerName}, [Parameter(ParameterSetName='ScaleExpanded')] [Parameter(ParameterSetName='Scale')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='ScaleExpanded')] [Parameter(ParameterSetName='Scale')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='ScaleExpanded')] [Parameter(ParameterSetName='Scale')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='ScaleViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='ScaleViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='ScaleExpanded')] [Parameter(ParameterSetName='ScaleViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] # Flag indicates if the operation should wait for storage to converge before returning. ${AwaitStorageConvergence}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ ScaleExpanded = 'Azs.Fabric.Admin.custom\Add-AzsScaleUnitNode'; Scale = 'Azs.Fabric.Admin.custom\Add-AzsScaleUnitNode'; ScaleViaIdentityExpanded = 'Azs.Fabric.Admin.custom\Add-AzsScaleUnitNode'; ScaleViaIdentity = 'Azs.Fabric.Admin.custom\Add-AzsScaleUnitNode'; } if (('ScaleExpanded', 'Scale') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('ScaleExpanded', 'Scale') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('ScaleExpanded', 'Scale') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Start maintenance mode for a scale unit node. .Description Start maintenance mode for a scale unit node. .Example PS C:\> Disable-AzsScaleUnitNode -Name "HC1n25r2236" Enable maintenance mode for a scale unit node. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/disable-azsscaleunitnode #> function Disable-AzsScaleUnitNode { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale unit node. ${Name}, [Parameter(ParameterSetName='Stop')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='Stop')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Stop')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Stop = 'Azs.Fabric.Admin.custom\Disable-AzsScaleUnitNode'; StopViaIdentity = 'Azs.Fabric.Admin.custom\Disable-AzsScaleUnitNode'; } if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Stop maintenance mode for a scale unit node. .Description Stop maintenance mode for a scale unit node. .Example PS C:\> Enable-AzsScaleUnitNode -Name "HC1n25r2236" Stop maintenance mode on a scale unit node. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/enable-azsscaleunitnode #> function Enable-AzsScaleUnitNode { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Start', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Start', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale unit node. ${Name}, [Parameter(ParameterSetName='Start')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='Start')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Start')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='StartViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Start = 'Azs.Fabric.Admin.custom\Enable-AzsScaleUnitNode'; StartViaIdentity = 'Azs.Fabric.Admin.custom\Enable-AzsScaleUnitNode'; } if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the requested a storage drive. .Description Return the requested a storage drive. .Example PS C:\> $scaleUnit = Get-AzsScaleUnit | select -First 1 PS C:\> $storageSubSystem = Get-AzsStorageSubSystem -ScaleUnit $scaleUnit.Name PS C:\> Get-AzsDrive -ScaleUnit $scaleUnit.Name -StorageSubSystem $storageSubSystem.Name .Example PS C:\> $scaleUnit = Get-AzsScaleUnit | select -First 1 PS C:\> $storageSubSystem = Get-AzsStorageSubSystem -ScaleUnit $scaleUnit.Name PS C:\> Get-AzsDrive -ScaleUnit $scaleUnit.Name -StorageSubSystem $storageSubSystem.Name -Name '{a185d466-4d21-4c1f-9489-7c9c66b6b172}:PD:{fd389cf7-2115-2144-5afe-27910562d6b3}' .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20190501.IDrive .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsdrive #> function Get-AzsDrive { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20190501.IDrive])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale units. ${ScaleUnit}, [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the storage system. ${StorageSubSystem}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the storage drive. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData skip parameter. ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData top parameter. ${Top}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsDrive'; Get = 'Azs.Fabric.Admin.custom\Get-AzsDrive'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsDrive'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested edge gateway. .Description Returns the requested edge gateway. .Example PS C:\> Get-AzsEdgeGateway Get a list of all edge gateways. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IEdgeGateway .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsedgegateway #> function Get-AzsEdgeGateway { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IEdgeGateway])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the edge gateway. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsEdgeGateway'; Get = 'Azs.Fabric.Admin.custom\Get-AzsEdgeGateway'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsEdgeGateway'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested edge gateway pool object. .Description Returns the requested edge gateway pool object. .Example PS C:\> Get-AzsEdgeGatewayPool Return a list of all Edge Gateway pools. .Example PS C:\> {{ Add code here }} Return a specific edge gateway pool. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IEdgeGatewayPool .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsedgegatewaypool #> function Get-AzsEdgeGatewayPool { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IEdgeGatewayPool])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the edge gateway pool. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsEdgeGatewayPool'; Get = 'Azs.Fabric.Admin.custom\Get-AzsEdgeGatewayPool'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsEdgeGatewayPool'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested infrastructure role description. .Description Returns the requested infrastructure role description. .Example PS C:\> Get-AzsInfrastructureRole A list of all infrastructure roles. .Example PS C:\> Get-AzsInfrastructureRole -Name "Active Directory Federation Services" An infrastructure role based on the name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IInfraRole .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsinfrastructurerole #> function Get-AzsInfrastructureRole { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IInfraRole])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Infrastructure role name. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureRole'; Get = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureRole'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureRole'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the requested infrastructure role instance. .Description Return the requested infrastructure role instance. .Example PS C:\> Get-AzsInfrastructureRoleInstance A list of all infrastructure role instances. .Example PS C:\> Get-AzsInfrastructureRoleInstance -Name "AzS-ACS01" A single infrastructure role instance based on name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IInfraRoleInstance .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsinfrastructureroleinstance #> function Get-AzsInfrastructureRoleInstance { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IInfraRoleInstance])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of an infrastructure role instance. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureRoleInstance'; Get = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureRoleInstance'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureRoleInstance'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested fabric file share. .Description Returns the requested fabric file share. .Example PS C:\> Get-AzsInfrastructureShare .Example PS C:\> Get-AzsInfrastructureShare -Name SU1_ObjStore_1 .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IFileShare .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsinfrastructureshare #> function Get-AzsInfrastructureShare { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IFileShare])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Fabric file share name. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData skip parameter. ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData top parameter. ${Top}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureShare'; Get = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureShare'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsInfrastructureShare'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the requested IP pool. .Description Return the requested IP pool. .Example PS C:\> Get-AzsIpPool An list of all infrastructure ip pools. .Example PS C:\> Get-AzsIpPool -Name "08786a0f-ad8c-43aa-a154-06083abfc1ac" An infrastructure ip pool based on name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IIPPool .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsippool #> function Get-AzsIPPool { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IIPPool])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # IP pool name. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsIPPool'; Get = 'Azs.Fabric.Admin.custom\Get-AzsIPPool'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsIPPool'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested logical network. .Description Returns the requested logical network. .Example PS C:\> Get-AzsLogicalNetwork A list of all logical networks at a location. .Example PS C:\> Get-AzsLogicalNetwork -Name "bb6c6f28-bad9-441b-8e62-57d2be255904" A specific logical networks at a location based on a name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.ILogicalNetwork .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azslogicalnetwork #> function Get-AzsLogicalNetwork { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.ILogicalNetwork])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the logical network. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsLogicalNetwork'; Get = 'Azs.Fabric.Admin.custom\Get-AzsLogicalNetwork'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsLogicalNetwork'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested logical subnet. .Description Returns the requested logical subnet. .Example PS C:\> Get-AzsLogicalNetwork A list of all logical networks at a location. .Example PS C:\> Get-AzsLogicalNetwork -Name "bb6c6f28-bad9-441b-8e62-57d2be255904" A a specific logical networks at a location based on a name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.ILogicalSubnet .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azslogicalsubnet #> function Get-AzsLogicalSubnet { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.ILogicalSubnet])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the logical network. ${LogicalNetwork}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the logical subnet. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsLogicalSubnet'; Get = 'Azs.Fabric.Admin.custom\Get-AzsLogicalSubnet'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsLogicalSubnet'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested MAC address pool. .Description Returns the requested MAC address pool. .Example PS C:\> Get-AzsMacAddressPool A list of all MAC address pools at a location. .Example PS C:\> Get-AzsMacAddressPool -Name "8197fd09-8a69-417e-a55c-10c2c61f5ee7" A specific MAC address pool at a location based on name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IMacAddressPool .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsmacaddresspool #> function Get-AzsMacAddressPool { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IMacAddressPool])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the MAC address pool. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsMacAddressPool'; Get = 'Azs.Fabric.Admin.custom\Get-AzsMacAddressPool'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsMacAddressPool'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested scale unit. .Description Returns the requested scale unit. .Example PS C:\> Get-AzsScaleUnit A list of information about scale units. .Example PS C:\> Get-AzsScaleUnit -Name "S-Cluster" The information about a specific scale unit. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20201001.IScaleUnit .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsscaleunit #> function Get-AzsScaleUnit { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20201001.IScaleUnit])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale units. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsScaleUnit'; Get = 'Azs.Fabric.Admin.custom\Get-AzsScaleUnit'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsScaleUnit'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the requested scale unit node. .Description Return the requested scale unit node. .Example PS C:\> Get-AzsScaleUnitNode A list of all scale unit nodes at a location. .Example PS C:\> Get-AzsScaleUnitNode -Name "HC1n25r2231" A specific scale unit node at a location given a name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20201001.IScaleUnitNode .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsscaleunitnode #> function Get-AzsScaleUnitNode { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20201001.IScaleUnitNode])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale unit node. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsScaleUnitNode'; Get = 'Azs.Fabric.Admin.custom\Get-AzsScaleUnitNode'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsScaleUnitNode'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns the requested software load balancer multiplexer instance. .Description Returns the requested software load balancer multiplexer instance. .Example PS C:\> Get-AzsSlbMuxInstance A list of all software load balancer multiplexer instance at a location. .Example PS C:\> Get-AzsSlbMuxInstance -Name "AzS-SLB01" A specific software load balancer multiplexer instance at a location given a name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.ISlbMuxInstance .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsslbmuxinstance #> function Get-AzsSlbMuxInstance { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.ISlbMuxInstance])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of a SLB MUX instance. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsSlbMuxInstance'; Get = 'Azs.Fabric.Admin.custom\Get-AzsSlbMuxInstance'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsSlbMuxInstance'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the requested storage subsystem. .Description Return the requested storage subsystem. .Example PS C:\> $scaleUnit = Get-AzsScaleUnit | select -First 1 PS C:\> Get-AzsStorageSubSystem -ScaleUnit $scaleUnit.Name .Example PS C:\> $scaleUnit = Get-AzsScaleUnit | select -First 1 PS C:\> Get-AzsStorageSubSystem -ScaleUnit $scaleUnit.Name -Name s-cluster.DomainFQDN .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20181001.IStorageSubSystem .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsstoragesubsystem #> function Get-AzsStorageSubSystem { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20181001.IStorageSubSystem])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale units. ${ScaleUnit}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the storage system. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData skip parameter. ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData top parameter. ${Top}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsStorageSubSystem'; Get = 'Azs.Fabric.Admin.custom\Get-AzsStorageSubSystem'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsStorageSubSystem'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the requested a storage volume. .Description Return the requested a storage volume. .Example PS C:\> $scaleUnit = Get-AzsScaleUnit | select -First 1 PS C:\> $storageSubSystem = Get-AzsStorageSubSystem -ScaleUnit $scaleUnit.Name PS C:\> Get-AzsVolume -ScaleUnit $scaleUnit.Name -StorageSubSystem $storageSubSystem.Name .Example PS C:\> $scaleUnit = Get-AzsScaleUnit | select -First 1 PS C:\> $storageSubSystem = Get-AzsStorageSubSystem -ScaleUnit $scaleUnit.Name PS C:\> Get-AzsVolume -ScaleUnit $scaleUnit.Name -StorageSubSystem $storageSubSystem.Name -Name ee594cf5-cf54-46b4-a641-139553307195 .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20190501.IVolume .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/get-azsvolume #> function Get-AzsVolume { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20190501.IVolume])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale units. ${ScaleUnit}, [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the storage system. ${StorageSubSystem}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the storage volume. ${Name}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData filter parameter. ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData skip parameter. ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Query')] [System.String] # OData top parameter. ${Top}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Azs.Fabric.Admin.custom\Get-AzsVolume'; Get = 'Azs.Fabric.Admin.custom\Get-AzsVolume'; GetViaIdentity = 'Azs.Fabric.Admin.custom\Get-AzsVolume'; } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('List', 'Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Repairs a node of the cluster. .Description Repairs a node of the cluster. .Example PS C:\> Repair-AzsScaleUnitNode -Name "AZS-ERCO03" -BMCIPv4Address ***.***.***.*** .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20201001.IBareMetalNodeDescription .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BAREMETALNODE <IBareMetalNodeDescription>: Description of a bare metal node used for ScaleOut operation on a cluster. [BiosVersion <String>]: Bios version of the physical machine. [BmciPv4Address <String>]: BMC address of the physical machine. [ClusterName <String>]: Name of the cluster. [ComputerName <String>]: Name of the computer. [MacAddress <String>]: Name of the MAC address of the bare metal node. [Model <String>]: Model of the physical machine. [SerialNumber <String>]: Serial number of the physical machine. [Vendor <String>]: Vendor of the physical machine. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/repair-azsscaleunitnode #> function Repair-AzsScaleUnitNode { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RepairExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='RepairExpanded', Mandatory)] [Parameter(ParameterSetName='Repair', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale unit node. ${Name}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='Repair')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='Repair')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='Repair')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='RepairViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RepairViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Bios version of the physical machine. ${BiosVersion}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # BMC address of the physical machine. ${BmciPv4Address}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Name of the cluster. ${ClusterName}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Name of the computer. ${ComputerName}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Name of the MAC address of the bare metal node. ${MacAddress}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Model of the physical machine. ${Model}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Serial number of the physical machine. ${SerialNumber}, [Parameter(ParameterSetName='RepairExpanded')] [Parameter(ParameterSetName='RepairViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.String] # Vendor of the physical machine. ${Vendor}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter(ParameterSetName='Repair', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RepairViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20201001.IBareMetalNodeDescription] # Description of a bare metal node used for ScaleOut operation on a cluster. # To construct, see NOTES section for BAREMETALNODE properties and create a hash table. ${BareMetalNode}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ RepairExpanded = 'Azs.Fabric.Admin.custom\Repair-AzsScaleUnitNode'; Repair = 'Azs.Fabric.Admin.custom\Repair-AzsScaleUnitNode'; RepairViaIdentityExpanded = 'Azs.Fabric.Admin.custom\Repair-AzsScaleUnitNode'; RepairViaIdentity = 'Azs.Fabric.Admin.custom\Repair-AzsScaleUnitNode'; } if (('RepairExpanded', 'Repair') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('RepairExpanded', 'Repair') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('RepairExpanded', 'Repair') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Restarts the requested infrastructure role. .Description Restarts the requested infrastructure role. .Example PS C:\> Restart-AzsInfrastructureRole -Name "Compute Controller" .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/restart-azsinfrastructurerole #> function Restart-AzsInfrastructureRole { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Restart', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Restart', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Infrastructure role name. ${Name}, [Parameter(ParameterSetName='Restart')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='Restart')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Restart')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='RestartViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Restart = 'Azs.Fabric.Admin.custom\Restart-AzsInfrastructureRole'; RestartViaIdentity = 'Azs.Fabric.Admin.custom\Restart-AzsInfrastructureRole'; } if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Set GPU partition size. .Description Set GPU partition size. .Example PS C:\> Set-AzsScaleUnit -Name "AZS01" -NumberOfGPUPartition 8 .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/set-azsscaleunit #> function Set-AzsScaleUnit { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale units. ${Name}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Int32] # Number of GPU partitions ${NumberOfGPUPartition}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ SetExpanded = 'Azs.Fabric.Admin.custom\Set-AzsScaleUnit'; } if (('SetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('SetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('SetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Power on an infrastructure role instance. .Description Power on an infrastructure role instance. .Example PS C:\> Start-AzsInfrastructureRoleInstance -Name "AzS-ACS01" .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/start-azsinfrastructureroleinstance #> function Start-AzsInfrastructureRoleInstance { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='PowerOn', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='PowerOn', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of an infrastructure role instance. ${Name}, [Parameter(ParameterSetName='PowerOn')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='PowerOn')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='PowerOn')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='PowerOnViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ PowerOn = 'Azs.Fabric.Admin.custom\Start-AzsInfrastructureRoleInstance'; PowerOnViaIdentity = 'Azs.Fabric.Admin.custom\Start-AzsInfrastructureRoleInstance'; } if (('PowerOn') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('PowerOn') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('PowerOn') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Power on a scale unit node. .Description Power on a scale unit node. .Example PS C:\> Start-AzsScaleUnitNode -Name "AzS-ACS01" ProvisioningState : Succeeded .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/start-azsscaleunitnode #> function Start-AzsScaleUnitNode { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='PowerOn', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='PowerOn', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale unit node. ${Name}, [Parameter(ParameterSetName='PowerOn')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='PowerOn')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='PowerOn')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='PowerOnViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ PowerOn = 'Azs.Fabric.Admin.custom\Start-AzsScaleUnitNode'; PowerOnViaIdentity = 'Azs.Fabric.Admin.custom\Start-AzsScaleUnitNode'; } if (('PowerOn') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('PowerOn') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('PowerOn') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Power off a scale unit node. .Description Power off a scale unit node. .Example PS C:\> Stop-AzsInfrastructureRoleInstancef -Name "AzS-ACS01" .Inputs Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter [Drive <String>]: Name of the storage drive. [EdgeGateway <String>]: Name of the edge gateway. [EdgeGatewayPool <String>]: Name of the edge gateway pool. [FabricLocation <String>]: Fabric location. [FileShare <String>]: Fabric file share name. [IPPool <String>]: IP pool name. [Id <String>]: Resource identity path [InfraRole <String>]: Infrastructure role name. [InfraRoleInstance <String>]: Name of an infrastructure role instance. [Location <String>]: Location of the resource. [LogicalNetwork <String>]: Name of the logical network. [LogicalSubnet <String>]: Name of the logical subnet. [MacAddressPool <String>]: Name of the MAC address pool. [Operation <String>]: Operation identifier. [ResourceGroupName <String>]: Name of the resource group. [ScaleUnit <String>]: Name of the scale units. [ScaleUnitNode <String>]: Name of the scale unit node. [SlbMuxInstance <String>]: Name of a SLB MUX instance. [StorageSubSystem <String>]: Name of the storage system. [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. [Volume <String>]: Name of the storage volume. .Link https://docs.microsoft.com/en-us/powershell/module/azs.fabric.admin/stop-azsscaleunitnode #> function Stop-AzsScaleUnitNode { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='PowerOff', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='PowerOff', Mandatory)] [Parameter(ParameterSetName='Shutdown', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [System.String] # Name of the scale unit node. ${Name}, [Parameter(ParameterSetName='PowerOff')] [Parameter(ParameterSetName='Shutdown')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzLocation)[0].Location')] [System.String] # Location of the resource. ${Location}, [Parameter(ParameterSetName='PowerOff')] [Parameter(ParameterSetName='Shutdown')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='-join("System.",(Get-AzLocation)[0].Location)')] [System.String] # Name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='PowerOff')] [Parameter(ParameterSetName='Shutdown')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials that uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='ShutdownViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='PowerOffViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Body')] [System.Management.Automation.SwitchParameter] ${Force}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ PowerOff = 'Azs.Fabric.Admin.custom\Stop-AzsScaleUnitNode'; Shutdown = 'Azs.Fabric.Admin.custom\Stop-AzsScaleUnitNode'; ShutdownViaIdentity = 'Azs.Fabric.Admin.custom\Stop-AzsScaleUnitNode'; PowerOffViaIdentity = 'Azs.Fabric.Admin.custom\Stop-AzsScaleUnitNode'; } if (('PowerOff', 'Shutdown') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters['Location'] = (Get-AzLocation)[0].Location } if (('PowerOff', 'Shutdown') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters['ResourceGroupName'] = -join("System.",(Get-AzLocation)[0].Location) } if (('PowerOff', 'Shutdown') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIjhAYJKoZIhvcNAQcCoIIjdTCCI3ECAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBnmKXWsDSVQO8+ # pkMxbJOCW0MuJaLx05xv5eTYRTAlqqCCDYEwggX/MIID56ADAgECAhMzAAACUosz # qviV8znbAAAAAAJSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjEwOTAyMTgzMjU5WhcNMjIwOTAxMTgzMjU5WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQDQ5M+Ps/X7BNuv5B/0I6uoDwj0NJOo1KrVQqO7ggRXccklyTrWL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