From 378ae99108f18b6a7cb3ac231e3914fd937949c1 Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Tue, 25 Mar 2025 16:43:10 +0800 Subject: [PATCH 1/8] migrate Orbital module to autorest v4 --- .../Properties/AssemblyInfo.cs | 26 +++++ src/Orbital/Orbital.Autorest/README.md | 74 ++++---------- .../New-AzOrbitalSpacecraftLinkObject.ps1 | 21 ++-- ...OrbitalContactProfileLinkChannelObject.ps1 | 23 ++--- .../New-AzOrbitalContactProfileLinkObject.ps1 | 27 +++--- .../Orbital.Autorest/docs/Az.Orbital.md | 12 +-- .../Get-AzOrbitalAvailableGroundStation.md | 6 +- ...Get-AzOrbitalAvailableSpacecraftContact.md | 51 +++++++++- .../docs/Get-AzOrbitalContactProfile.md | 3 +- .../docs/Get-AzOrbitalSpacecraft.md | 3 +- .../docs/Get-AzOrbitalSpacecraftContact.md | 26 ++++- .../docs/New-AzOrbitalContactProfile.md | 96 +++++++++++++++---- ...zOrbitalContactProfileLinkChannelObject.md | 22 +++-- .../New-AzOrbitalContactProfileLinkObject.md | 28 +++--- .../docs/New-AzOrbitalSpacecraft.md | 85 +++++++++++++--- .../docs/New-AzOrbitalSpacecraftContact.md | 78 +++++++++++++-- .../docs/New-AzOrbitalSpacecraftLinkObject.md | 19 ++-- .../docs/Remove-AzOrbitalContactProfile.md | 1 - .../docs/Remove-AzOrbitalSpacecraft.md | 1 - .../docs/Remove-AzOrbitalSpacecraftContact.md | 24 ++++- .../docs/Update-AzOrbitalContactProfile.md | 59 ++++++++++-- .../docs/Update-AzOrbitalSpacecraft.md | 59 ++++++++++-- .../Orbital.Autorest/generate-info.json | 2 +- .../Orbital.Autorest/resources/README.md | 11 +++ src/Orbital/Orbital.sln | 89 +++++++++++++++-- src/Orbital/Orbital/Az.Orbital.psd1 | 14 +-- src/Orbital/Orbital/help/Az.Orbital.md | 10 +- .../Get-AzOrbitalAvailableGroundStation.md | 6 +- ...Get-AzOrbitalAvailableSpacecraftContact.md | 51 +++++++++- .../help/Get-AzOrbitalContactProfile.md | 3 +- .../Orbital/help/Get-AzOrbitalSpacecraft.md | 3 +- .../help/Get-AzOrbitalSpacecraftContact.md | 26 ++++- .../help/New-AzOrbitalContactProfile.md | 96 +++++++++++++++---- ...zOrbitalContactProfileLinkChannelObject.md | 22 +++-- .../New-AzOrbitalContactProfileLinkObject.md | 28 +++--- .../Orbital/help/New-AzOrbitalSpacecraft.md | 85 +++++++++++++--- .../help/New-AzOrbitalSpacecraftContact.md | 79 +++++++++++++-- .../help/New-AzOrbitalSpacecraftLinkObject.md | 19 ++-- .../help/Remove-AzOrbitalContactProfile.md | 1 - .../help/Remove-AzOrbitalSpacecraft.md | 1 - .../help/Remove-AzOrbitalSpacecraftContact.md | 25 ++++- .../help/Update-AzOrbitalContactProfile.md | 59 ++++++++++-- .../help/Update-AzOrbitalSpacecraft.md | 59 ++++++++++-- 43 files changed, 1107 insertions(+), 326 deletions(-) create mode 100644 src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs rename src/Orbital/Orbital.Autorest/custom/{ => autogen-model-cmdlets}/New-AzOrbitalContactProfileLinkChannelObject.ps1 (76%) rename src/Orbital/Orbital.Autorest/custom/{ => autogen-model-cmdlets}/New-AzOrbitalContactProfileLinkObject.ps1 (70%) create mode 100644 src/Orbital/Orbital.Autorest/resources/README.md diff --git a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..c5461e6d56f4 --- /dev/null +++ b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Orbital")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.3")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Orbital/Orbital.Autorest/README.md b/src/Orbital/Orbital.Autorest/README.md index c51d75d31ed6..7fec62dd9453 100644 --- a/src/Orbital/Orbital.Autorest/README.md +++ b/src/Orbital/Orbital.Autorest/README.md @@ -37,57 +37,18 @@ module-version: 0.1.0 title: Orbital subject-prefix: $(service-name) -resourcegroup-append: true -identity-correction-for-post: true -nested-object-to-string: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: - - from: swagger-document - where: $.definitions.SpacecraftsProperties.properties.provisioningState - transform: >- - return { - "type": "string", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/ProvisioningState" - } - ], - "description": "The current state of the resource's creation, deletion, or modification." - } - - from: swagger-document - where: $.definitions.ContactsProperties.properties.provisioningState - transform: >- - return { - "type": "string", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/ProvisioningState" - } - ], - "description": "The current state of the resource's creation, deletion, or modification." - } - - from: swagger-document - where: $.definitions.ContactProfilesProperties.properties.provisioningState - transform: >- - return { - "type": "string", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/ProvisioningState" - } - ], - "description": "The current state of the resource's creation, deletion, or modification." - } - - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ + # Following are common directives which are normally required in all the RPs + # 1. Remove the unexpanded parameter set + # 2. For New-* cmdlets, ViaIdentity is not required + # Following two directives are v4 specific + - where: + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity.*$ remove: true + # Remove the set-* cmdlet - where: verb: Set remove: true @@ -134,11 +95,16 @@ directive: set: parameter-name: Name alias: GroundStationName - # The following are commented out and their generated cmdlets may be renamed and custom logic - # - model-cmdlet: - # - ContactProfileLinkChannel - # - SpacecraftLink - # - ContactProfileLink + # Remove unmapped verb, if need please add back + - where: + subject: SpacecraftContact + verb: Update + remove: true + # SpacecraftLink required properties customized to Mandatory. + - model-cmdlet: + - model-name: ContactProfileLinkChannel + - model-name: ContactProfileLink + # - model-name: SpacecraftLink - where: model-name: Spacecraft set: diff --git a/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalSpacecraftLinkObject.ps1 b/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalSpacecraftLinkObject.ps1 index 5c2a14a21de1..cc1c77fe8c62 100644 --- a/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalSpacecraftLinkObject.ps1 +++ b/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalSpacecraftLinkObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SpacecraftLink. Create an in-memory object for SpacecraftLink. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.SpacecraftLink +Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.SpacecraftLink .Link -https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalSpacecraftLinkObject +https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalspacecraftlinkobject #> function New-AzOrbitalSpacecraftLinkObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.SpacecraftLink')] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.SpacecraftLink')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -36,21 +37,21 @@ function New-AzOrbitalSpacecraftLinkObject { [Parameter(Mandatory, HelpMessage="Center Frequency in MHz.")] [float] $CenterFrequencyMHz, - [Parameter(Mandatory, HelpMessage="Direction (uplink or downlink).")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction])] - [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction] + [Parameter(Mandatory, HelpMessage="Direction (Uplink or Downlink).")] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.PSArgumentCompleterAttribute("Uplink", "Downlink")] + [string] $Direction, [Parameter(Mandatory, HelpMessage="Link name.")] [string] $Name, - [Parameter(Mandatory, HelpMessage="polarization. eg (RHCP, LHCP).")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization])] - [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization] + [Parameter(Mandatory, HelpMessage="Polarization. e.g. (RHCP, LHCP).")] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.PSArgumentCompleterAttribute("RHCP", "LHCP", "linearVertical", "linearHorizontal")] + [string] $Polarization ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.SpacecraftLink]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.SpacecraftLink]::New() if ($PSBoundParameters.ContainsKey('BandwidthMHz')) { $Object.BandwidthMHz = $BandwidthMHz diff --git a/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalContactProfileLinkChannelObject.ps1 b/src/Orbital/Orbital.Autorest/custom/autogen-model-cmdlets/New-AzOrbitalContactProfileLinkChannelObject.ps1 similarity index 76% rename from src/Orbital/Orbital.Autorest/custom/New-AzOrbitalContactProfileLinkChannelObject.ps1 rename to src/Orbital/Orbital.Autorest/custom/autogen-model-cmdlets/New-AzOrbitalContactProfileLinkChannelObject.ps1 index a908b8cf856c..04f10800930b 100644 --- a/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalContactProfileLinkChannelObject.ps1 +++ b/src/Orbital/Orbital.Autorest/custom/autogen-model-cmdlets/New-AzOrbitalContactProfileLinkChannelObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for ContactProfileLinkChannel. Create an in-memory object for ContactProfileLinkChannel. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLinkChannel +Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLinkChannel .Link -https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalContactProfileLinkChannelObject +https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalcontactprofilelinkchannelobject #> function New-AzOrbitalContactProfileLinkChannelObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLinkChannel')] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLinkChannel')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -36,16 +37,16 @@ function New-AzOrbitalContactProfileLinkChannelObject { [Parameter(Mandatory, HelpMessage="Center Frequency in MHz.")] [float] $CenterFrequencyMHz, - [Parameter(HelpMessage="Configuration for decoding.")] + [Parameter(HelpMessage="Currently unused.")] [string] $DecodingConfiguration, - [Parameter(HelpMessage="Configuration for demodulation.")] + [Parameter(HelpMessage="Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. Only valid for downlink directions. If provided, the modem connects to the customer endpoint and sends demodulated data instead of a VITA.49 stream.")] [string] $DemodulationConfiguration, - [Parameter(HelpMessage="Configuration for encoding.")] + [Parameter(HelpMessage="Currently unused.")] [string] $EncodingConfiguration, - [Parameter(Mandatory, HelpMessage="IP Address.")] + [Parameter(Mandatory, HelpMessage="IP Address (IPv4).")] [string] $EndPointIPAddress, [Parameter(Mandatory, HelpMessage="Name of an end point.")] @@ -55,10 +56,10 @@ function New-AzOrbitalContactProfileLinkChannelObject { [string] $EndPointPort, [Parameter(Mandatory, HelpMessage="Protocol either UDP or TCP.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Protocol])] - [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Protocol] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.PSArgumentCompleterAttribute("TCP", "UDP")] + [string] $EndPointProtocol, - [Parameter(HelpMessage="Configuration for modulation.")] + [Parameter(HelpMessage="Copy of the modem configuration file such as Kratos QRadio. Only valid for uplink directions. If provided, the modem connects to the customer endpoint and accepts commands from the customer instead of a VITA.49 stream.")] [string] $ModulationConfiguration, [Parameter(Mandatory, HelpMessage="Channel name.")] @@ -67,7 +68,7 @@ function New-AzOrbitalContactProfileLinkChannelObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLinkChannel]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLinkChannel]::New() if ($PSBoundParameters.ContainsKey('BandwidthMHz')) { $Object.BandwidthMHz = $BandwidthMHz diff --git a/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalContactProfileLinkObject.ps1 b/src/Orbital/Orbital.Autorest/custom/autogen-model-cmdlets/New-AzOrbitalContactProfileLinkObject.ps1 similarity index 70% rename from src/Orbital/Orbital.Autorest/custom/New-AzOrbitalContactProfileLinkObject.ps1 rename to src/Orbital/Orbital.Autorest/custom/autogen-model-cmdlets/New-AzOrbitalContactProfileLinkObject.ps1 index d22f1016397b..6b066deb69bb 100644 --- a/src/Orbital/Orbital.Autorest/custom/New-AzOrbitalContactProfileLinkObject.ps1 +++ b/src/Orbital/Orbital.Autorest/custom/autogen-model-cmdlets/New-AzOrbitalContactProfileLinkObject.ps1 @@ -21,39 +21,40 @@ Create an in-memory object for ContactProfileLink. Create an in-memory object for ContactProfileLink. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLink +Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLink .Link -https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalContactProfileLinkObject +https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalcontactprofilelinkobject #> function New-AzOrbitalContactProfileLinkObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLink')] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLink')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory, HelpMessage="Contact Profile Link Channel.")] - [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileLinkChannel[]] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileLinkChannel[]] $Channel, - [Parameter(Mandatory, HelpMessage="Direction (uplink or downlink).")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction])] - [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction] + [Parameter(Mandatory, HelpMessage="Direction (Uplink or Downlink).")] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.PSArgumentCompleterAttribute("Uplink", "Downlink")] + [string] $Direction, - [Parameter(HelpMessage="Effective Isotropic Radiated Power (EIRP) in dBW.")] + [Parameter(HelpMessage="Effective Isotropic Radiated Power (EIRP) in dBW. It is the required EIRP by the customer. Not used yet.")] [float] $EirpdBw, - [Parameter(HelpMessage="Gain To Noise Temperature in db/K.")] + [Parameter(HelpMessage="Gain to noise temperature in db/K. It is the required G/T by the customer. Not used yet.")] [float] $GainOverTemperature, [Parameter(Mandatory, HelpMessage="Link name.")] [string] $Name, - [Parameter(Mandatory, HelpMessage="polarization. eg (RHCP, LHCP).")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization])] - [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization] + [Parameter(Mandatory, HelpMessage="Polarization. e.g. (RHCP, LHCP).")] + [Microsoft.Azure.PowerShell.Cmdlets.Orbital.PSArgumentCompleterAttribute("RHCP", "LHCP", "linearVertical", "linearHorizontal")] + [string] $Polarization ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLink]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLink]::New() if ($PSBoundParameters.ContainsKey('Channel')) { $Object.Channel = $Channel diff --git a/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md b/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md index 189abd27dc84..75d2c34973e7 100644 --- a/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md +++ b/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md @@ -1,6 +1,6 @@ --- Module Name: Az.Orbital -Module Guid: 4fb1d4af-9f8d-4a19-9f17-d8186bf02cfb +Module Guid: 6101de4a-589c-42af-b422-b0beeeeb91a3 Download Help Link: https://learn.microsoft.com/powershell/module/az.orbital Help Version: 1.0.0.0 Locale: en-US @@ -28,7 +28,7 @@ Gets the specified spacecraft in a specified resource group. Gets the specified contact in a specified resource group. ### [New-AzOrbitalContactProfile](New-AzOrbitalContactProfile.md) -Creates or updates a contact profile. +create a contact profile. ### [New-AzOrbitalContactProfileLinkChannelObject](New-AzOrbitalContactProfileLinkChannelObject.md) Create an in-memory object for ContactProfileLinkChannel. @@ -37,10 +37,10 @@ Create an in-memory object for ContactProfileLinkChannel. Create an in-memory object for ContactProfileLink. ### [New-AzOrbitalSpacecraft](New-AzOrbitalSpacecraft.md) -Creates or updates a spacecraft resource. +create a spacecraft resource. ### [New-AzOrbitalSpacecraftContact](New-AzOrbitalSpacecraftContact.md) -Creates a contact. +create a contact. ### [New-AzOrbitalSpacecraftLinkObject](New-AzOrbitalSpacecraftLinkObject.md) Create an in-memory object for SpacecraftLink. @@ -55,8 +55,8 @@ Deletes a specified spacecraft resource. Deletes a specified contact. ### [Update-AzOrbitalContactProfile](Update-AzOrbitalContactProfile.md) -Updates the specified contact profile tags. +update the specified contact profile tags. ### [Update-AzOrbitalSpacecraft](Update-AzOrbitalSpacecraft.md) -Updates the specified spacecraft tags. +update the specified spacecraft tags. diff --git a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableGroundStation.md b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableGroundStation.md index 4b6f1caecb76..11db2dfad0cd 100644 --- a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableGroundStation.md +++ b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableGroundStation.md @@ -13,7 +13,7 @@ Returns list of available ground stations. ## SYNTAX ``` -Get-AzOrbitalAvailableGroundStation -Capability [-SubscriptionId ] +Get-AzOrbitalAvailableGroundStation -Capability [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -48,7 +48,7 @@ Gets the specified available ground station. Ground Station Capability. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.CapabilityParameter +Type: System.String Parameter Sets: (All) Aliases: @@ -97,7 +97,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IAvailableGroundStation +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IAvailableGroundStation ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md index 787160da4927..1ee89dd77d8a 100644 --- a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md @@ -27,6 +27,20 @@ Get-AzOrbitalAvailableSpacecraftContact -Name -ResourceGroupName ] ``` +### ListViaJsonFilePath +``` +Get-AzOrbitalAvailableSpacecraftContact -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ListViaJsonString +``` +Get-AzOrbitalAvailableSpacecraftContact -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION Returns list of available contacts. A contact is available if the spacecraft is visible from the ground station for more than the minimum viable contact duration provided in the contact profile. @@ -137,6 +151,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Spacecraft ID. @@ -169,10 +213,9 @@ Accept wildcard characters: False ### -Parameter Parameters that define the contact resource. -To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactParameters Parameter Sets: List Aliases: @@ -265,11 +308,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactParameters +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactParameters ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IAvailableContacts +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IAvailableContacts ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalContactProfile.md index 06b7438dd8f7..a147acb9c802 100644 --- a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalContactProfile.md @@ -100,7 +100,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -186,7 +185,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfile +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfile ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraft.md b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraft.md index cebfbf003eaa..b39186ea4300 100644 --- a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraft.md @@ -100,7 +100,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -186,7 +185,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraft +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraft ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraftContact.md index 497cf3442eba..e633152f4b90 100644 --- a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalSpacecraftContact.md @@ -30,6 +30,12 @@ Get-AzOrbitalSpacecraftContact -InputObject [-DefaultProfile [] ``` +### GetViaIdentitySpacecraft +``` +Get-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Gets the specified contact in a specified resource group. @@ -100,7 +106,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -119,7 +124,7 @@ Contact name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentitySpacecraft Aliases: ContactName Required: True @@ -162,6 +167,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: GetViaIdentitySpacecraft +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -SpacecraftName Spacecraft ID. @@ -201,7 +221,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContact +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md index d407ce6cb947..8ae836eb1fc2 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md @@ -8,21 +8,36 @@ schema: 2.0.0 # New-AzOrbitalContactProfile ## SYNOPSIS -Creates or updates a contact profile. +create a contact profile. ## SYNTAX +### CreateExpanded (Default) ``` New-AzOrbitalContactProfile -Name -ResourceGroupName -Link -Location -NetworkConfigurationSubnetId [-SubscriptionId ] - [-AutoTrackingConfiguration ] [-EventHubUri ] - [-MinimumElevationDegree ] [-MinimumViableContactDuration ] [-Tag ] + [-AutoTrackingConfiguration ] [-EventHubUri ] [-MinimumElevationDegree ] + [-MinimumViableContactDuration ] [-ProvisioningState ] [-Tag ] [-ThirdPartyConfiguration ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzOrbitalContactProfile -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzOrbitalContactProfile -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Creates or updates a contact profile. +create a contact profile. ## EXAMPLES @@ -64,8 +79,8 @@ Accept wildcard characters: False Auto-tracking configuration. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.AutoTrackingConfiguration -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -97,7 +112,7 @@ Requires granting Orbital Resource Provider the rights to send telemetry into th ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -107,14 +122,43 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Link Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints. -To construct, see NOTES section for LINK properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileLink[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileLink[] +Parameter Sets: CreateExpanded Aliases: Required: True @@ -129,7 +173,7 @@ The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -145,7 +189,7 @@ Used for listing the available contacts with a spacecraft at a given ground stat ```yaml Type: System.Single -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -161,7 +205,7 @@ Used for listing the available contacts with a spacecraft at a given ground stat ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -192,7 +236,7 @@ Needs to be at least a class C subnet, and should not have any IP created in it. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -217,6 +261,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProvisioningState +The current state of the resource's creation, deletion, or modification. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -253,7 +312,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -266,11 +325,10 @@ Accept wildcard characters: False ### -ThirdPartyConfiguration Third-party mission configuration of the Contact Profile. Describes RF links, modem processing, and IP endpoints. -To construct, see NOTES section for THIRDPARTYCONFIGURATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileThirdPartyConfiguration[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileThirdPartyConfiguration[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -318,7 +376,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfile +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfile ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkChannelObject.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkChannelObject.md index d442a44cc141..8156cd065f45 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkChannelObject.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkChannelObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Orbital -online version: https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalContactProfileLinkChannelObject +online version: https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalcontactprofilelinkchannelobject schema: 2.0.0 --- @@ -14,7 +14,7 @@ Create an in-memory object for ContactProfileLinkChannel. ``` New-AzOrbitalContactProfileLinkChannelObject -BandwidthMHz -CenterFrequencyMHz - -EndPointIPAddress -EndPointName -EndPointPort -EndPointProtocol + -EndPointIPAddress -EndPointName -EndPointPort -EndPointProtocol -Name [-DecodingConfiguration ] [-DemodulationConfiguration ] [-EncodingConfiguration ] [-ModulationConfiguration ] [] ``` @@ -70,7 +70,7 @@ Accept wildcard characters: False ``` ### -DecodingConfiguration -Configuration for decoding. +Currently unused. ```yaml Type: System.String @@ -85,7 +85,9 @@ Accept wildcard characters: False ``` ### -DemodulationConfiguration -Configuration for demodulation. +Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. +Only valid for downlink directions. +If provided, the modem connects to the customer endpoint and sends demodulated data instead of a VITA.49 stream. ```yaml Type: System.String @@ -100,7 +102,7 @@ Accept wildcard characters: False ``` ### -EncodingConfiguration -Configuration for encoding. +Currently unused. ```yaml Type: System.String @@ -115,7 +117,7 @@ Accept wildcard characters: False ``` ### -EndPointIPAddress -IP Address. +IP Address (IPv4). ```yaml Type: System.String @@ -163,7 +165,7 @@ Accept wildcard characters: False Protocol either UDP or TCP. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Protocol +Type: System.String Parameter Sets: (All) Aliases: @@ -175,7 +177,9 @@ Accept wildcard characters: False ``` ### -ModulationConfiguration -Configuration for modulation. +Copy of the modem configuration file such as Kratos QRadio. +Only valid for uplink directions. +If provided, the modem connects to the customer endpoint and accepts commands from the customer instead of a VITA.49 stream. ```yaml Type: System.String @@ -211,7 +215,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLinkChannel +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLinkChannel ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkObject.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkObject.md index e8f693562e39..d09400e22d76 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkObject.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfileLinkObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Orbital -online version: https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalContactProfileLinkObject +online version: https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalcontactprofilelinkobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for ContactProfileLink. ## SYNTAX ``` -New-AzOrbitalContactProfileLinkObject -Channel -Direction - -Name -Polarization [-EirpdBw ] [-GainOverTemperature ] +New-AzOrbitalContactProfileLinkObject -Channel -Direction + -Name -Polarization [-EirpdBw ] [-GainOverTemperature ] [] ``` @@ -42,10 +42,9 @@ Create a ContactProfileLink object. ### -Channel Contact Profile Link Channel. -To construct, see NOTES section for CHANNEL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileLinkChannel[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileLinkChannel[] Parameter Sets: (All) Aliases: @@ -57,10 +56,10 @@ Accept wildcard characters: False ``` ### -Direction -Direction (uplink or downlink). +Direction (Uplink or Downlink). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction +Type: System.String Parameter Sets: (All) Aliases: @@ -73,6 +72,8 @@ Accept wildcard characters: False ### -EirpdBw Effective Isotropic Radiated Power (EIRP) in dBW. +It is the required EIRP by the customer. +Not used yet. ```yaml Type: System.Single @@ -87,7 +88,9 @@ Accept wildcard characters: False ``` ### -GainOverTemperature -Gain To Noise Temperature in db/K. +Gain to noise temperature in db/K. +It is the required G/T by the customer. +Not used yet. ```yaml Type: System.Single @@ -117,11 +120,12 @@ Accept wildcard characters: False ``` ### -Polarization -polarization. -eg (RHCP, LHCP). +Polarization. +e.g. +(RHCP, LHCP). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization +Type: System.String Parameter Sets: (All) Aliases: @@ -139,7 +143,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLink +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLink ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md index ea42e1fad2c6..ff84f3f90061 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md @@ -8,19 +8,34 @@ schema: 2.0.0 # New-AzOrbitalSpacecraft ## SYNOPSIS -Creates or updates a spacecraft resource. +create a spacecraft resource. ## SYNTAX +### CreateExpanded (Default) ``` New-AzOrbitalSpacecraft -Name -ResourceGroupName -Link -Location -TitleLine -TleLine1 -TleLine2 [-SubscriptionId ] - [-NoradId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [-NoradId ] [-ProvisioningState ] [-Tag ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzOrbitalSpacecraft -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzOrbitalSpacecraft -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates or updates a spacecraft resource. +create a spacecraft resource. ## EXAMPLES @@ -73,13 +88,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Link Immutable list of Spacecraft links. -To construct, see NOTES section for LINK properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraftLink[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraftLink[] +Parameter Sets: CreateExpanded Aliases: Required: True @@ -94,7 +138,7 @@ The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -124,7 +168,7 @@ NORAD ID of the spacecraft. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -149,6 +193,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProvisioningState +The current state of the resource's creation, deletion, or modification. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -185,7 +244,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -200,7 +259,7 @@ Title line of the two-line element set (TLE). ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -215,7 +274,7 @@ Line 1 of the two-line element set (TLE). ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -230,7 +289,7 @@ Line 2 of the two-line element set (TLE). ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -278,7 +337,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraft +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraft ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md index 5ded7f0eb11f..511a520c6718 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md @@ -8,19 +8,34 @@ schema: 2.0.0 # New-AzOrbitalSpacecraftContact ## SYNOPSIS -Creates a contact. +create a contact. ## SYNTAX +### CreateExpanded (Default) ``` New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName -ContactProfileId -GroundStationName -ReservationEndTime - -ReservationStartTime [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + -ReservationStartTime [-SubscriptionId ] [-ProvisioningState ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -Creates a contact. +create a contact. ## EXAMPLES @@ -62,7 +77,7 @@ Resource ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -93,7 +108,37 @@ Azure Ground Station name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString Aliases: Required: True @@ -133,12 +178,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProvisioningState +The current state of the resource's creation, deletion, or modification. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ReservationEndTime Reservation end time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -153,7 +213,7 @@ Reservation start time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -247,7 +307,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContact +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftLinkObject.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftLinkObject.md index 621efcad4755..c18a83423000 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftLinkObject.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftLinkObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Orbital -online version: https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalSpacecraftLinkObject +online version: https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalspacecraftlinkobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for SpacecraftLink. ## SYNTAX ``` -New-AzOrbitalSpacecraftLinkObject -BandwidthMHz -CenterFrequencyMHz -Direction - -Name -Polarization [] +New-AzOrbitalSpacecraftLinkObject -BandwidthMHz -CenterFrequencyMHz -Direction + -Name -Polarization [] ``` ## DESCRIPTION @@ -68,10 +68,10 @@ Accept wildcard characters: False ``` ### -Direction -Direction (uplink or downlink). +Direction (Uplink or Downlink). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction +Type: System.String Parameter Sets: (All) Aliases: @@ -98,11 +98,12 @@ Accept wildcard characters: False ``` ### -Polarization -polarization. -eg (RHCP, LHCP). +Polarization. +e.g. +(RHCP, LHCP). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization +Type: System.String Parameter Sets: (All) Aliases: @@ -120,7 +121,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.SpacecraftLink +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.SpacecraftLink ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalContactProfile.md index d2e302929d5a..d090d2e62ef1 100644 --- a/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalContactProfile.md @@ -71,7 +71,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity diff --git a/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraft.md b/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraft.md index 4dda10da1dd1..4b35dd5d97ba 100644 --- a/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraft.md @@ -71,7 +71,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity diff --git a/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraftContact.md index 2a111ebe431f..4db56a9cb86a 100644 --- a/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/Remove-AzOrbitalSpacecraftContact.md @@ -25,6 +25,12 @@ Remove-AzOrbitalSpacecraftContact -InputObject [-DefaultProfi [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentitySpacecraft +``` +Remove-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Deletes a specified contact. @@ -72,7 +78,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -91,7 +96,7 @@ Contact name. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentitySpacecraft Aliases: ContactName Required: True @@ -147,6 +152,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: DeleteViaIdentitySpacecraft +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -SpacecraftName Spacecraft ID. diff --git a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalContactProfile.md index bf60c846c740..5fe7b9b8680a 100644 --- a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalContactProfile.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzOrbitalContactProfile ## SYNOPSIS -Updates the specified contact profile tags. +update the specified contact profile tags. ## SYNTAX @@ -24,8 +24,22 @@ Update-AzOrbitalContactProfile -InputObject [-Tag [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzOrbitalContactProfile -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzOrbitalContactProfile -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Updates the specified contact profile tags. +update the specified contact profile tags. ## EXAMPLES @@ -90,7 +104,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -104,12 +117,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Contact Profile name. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -140,7 +183,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -155,7 +198,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -170,7 +213,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -220,7 +263,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfile +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfile ## NOTES diff --git a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraft.md b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraft.md index fe4ab83a049f..b2ef8156ab4d 100644 --- a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraft.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzOrbitalSpacecraft ## SYNOPSIS -Updates the specified spacecraft tags. +update the specified spacecraft tags. ## SYNTAX @@ -24,8 +24,22 @@ Update-AzOrbitalSpacecraft -InputObject [-Tag ] [- [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzOrbitalSpacecraft -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzOrbitalSpacecraft -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Updates the specified spacecraft tags. +update the specified spacecraft tags. ## EXAMPLES @@ -91,7 +105,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -105,12 +118,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Spacecraft ID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -141,7 +184,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -156,7 +199,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -171,7 +214,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -221,7 +264,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraft +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraft ## NOTES diff --git a/src/Orbital/Orbital.Autorest/generate-info.json b/src/Orbital/Orbital.Autorest/generate-info.json index 919776a97945..0738661fe297 100644 --- a/src/Orbital/Orbital.Autorest/generate-info.json +++ b/src/Orbital/Orbital.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "2ccc329b-3efe-4aac-b686-d8e863d3669e" + "generate_Id": "8c7eea92-1fef-4174-b0e7-af2c1d1e74cc" } diff --git a/src/Orbital/Orbital.Autorest/resources/README.md b/src/Orbital/Orbital.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Orbital/Orbital.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/Orbital/Orbital.sln b/src/Orbital/Orbital.sln index f6f7a64958d2..d0e0f1b3bf17 100644 --- a/src/Orbital/Orbital.sln +++ b/src/Orbital/Orbital.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orbital", "Orbital\Orbital.csproj", "{C51449E3-3349-498A-8BD3-57D6DAAC9D3F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{9616A06F-CBFE-4C9F-B828-2A175510D006}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Orbital.Autorest", "Orbital.Autorest", "{D3F1D949-0E57-67EC-955B-85D06D7DD717}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{CC35D3B0-17B1-401F-843A-1BFD6066C4FF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Debug|Any CPU.Build.0 = Debug|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Debug|x64.ActiveCfg = Debug|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Debug|x64.Build.0 = Debug|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Debug|x86.ActiveCfg = Debug|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Debug|x86.Build.0 = Debug|Any CPU {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Release|Any CPU.ActiveCfg = Release|Any CPU {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Release|Any CPU.Build.0 = Release|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Release|x64.ActiveCfg = Release|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Release|x64.Build.0 = Release|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Release|x86.ActiveCfg = Release|Any CPU + {76FF0468-91A0-4190-A9BD-88A4F6A21133}.Release|x86.Build.0 = Release|Any CPU {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Debug|x64.ActiveCfg = Debug|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Debug|x64.Build.0 = Debug|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Debug|x86.ActiveCfg = Debug|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Debug|x86.Build.0 = Debug|Any CPU {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Release|Any CPU.ActiveCfg = Release|Any CPU {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Release|Any CPU.Build.0 = Release|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Release|x64.ActiveCfg = Release|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Release|x64.Build.0 = Release|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Release|x86.ActiveCfg = Release|Any CPU + {51BA2CBB-7EC5-4C7A-841E-C297A96AF95C}.Release|x86.Build.0 = Release|Any CPU {AAB83835-400E-414B-BE45-B7CF62DAF732}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AAB83835-400E-414B-BE45-B7CF62DAF732}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Debug|x64.ActiveCfg = Debug|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Debug|x64.Build.0 = Debug|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Debug|x86.ActiveCfg = Debug|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Debug|x86.Build.0 = Debug|Any CPU {AAB83835-400E-414B-BE45-B7CF62DAF732}.Release|Any CPU.ActiveCfg = Release|Any CPU {AAB83835-400E-414B-BE45-B7CF62DAF732}.Release|Any CPU.Build.0 = Release|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Release|x64.ActiveCfg = Release|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Release|x64.Build.0 = Release|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Release|x86.ActiveCfg = Release|Any CPU + {AAB83835-400E-414B-BE45-B7CF62DAF732}.Release|x86.Build.0 = Release|Any CPU {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Debug|x64.ActiveCfg = Debug|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Debug|x64.Build.0 = Debug|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Debug|x86.ActiveCfg = Debug|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Debug|x86.Build.0 = Debug|Any CPU {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Release|Any CPU.ActiveCfg = Release|Any CPU {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Release|Any CPU.Build.0 = Release|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Release|x64.ActiveCfg = Release|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Release|x64.Build.0 = Release|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Release|x86.ActiveCfg = Release|Any CPU + {37434647-5BD7-4ED6-8B42-75774A65DBF2}.Release|x86.Build.0 = Release|Any CPU {02957377-E15C-41AB-89F1-6325AA01CEC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {02957377-E15C-41AB-89F1-6325AA01CEC7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Debug|x64.ActiveCfg = Debug|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Debug|x64.Build.0 = Debug|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Debug|x86.ActiveCfg = Debug|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Debug|x86.Build.0 = Debug|Any CPU {02957377-E15C-41AB-89F1-6325AA01CEC7}.Release|Any CPU.ActiveCfg = Release|Any CPU {02957377-E15C-41AB-89F1-6325AA01CEC7}.Release|Any CPU.Build.0 = Release|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Release|x64.ActiveCfg = Release|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Release|x64.Build.0 = Release|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Release|x86.ActiveCfg = Release|Any CPU + {02957377-E15C-41AB-89F1-6325AA01CEC7}.Release|x86.Build.0 = Release|Any CPU {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Debug|x64.ActiveCfg = Debug|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Debug|x64.Build.0 = Debug|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Debug|x86.ActiveCfg = Debug|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Debug|x86.Build.0 = Debug|Any CPU {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Release|Any CPU.ActiveCfg = Release|Any CPU {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Release|Any CPU.Build.0 = Release|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Release|x64.ActiveCfg = Release|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Release|x64.Build.0 = Release|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Release|x86.ActiveCfg = Release|Any CPU + {B2E186FB-1242-4DC5-A1AF-3AD0DC107576}.Release|x86.Build.0 = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Debug|x64.ActiveCfg = Debug|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Debug|x64.Build.0 = Debug|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Debug|x86.ActiveCfg = Debug|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Debug|x86.Build.0 = Debug|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|Any CPU.ActiveCfg = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|Any CPU.Build.0 = Release|Any CPU - {9616A06F-CBFE-4C9F-B828-2A175510D006}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9616A06F-CBFE-4C9F-B828-2A175510D006}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9616A06F-CBFE-4C9F-B828-2A175510D006}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9616A06F-CBFE-4C9F-B828-2A175510D006}.Release|Any CPU.Build.0 = Release|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x64.ActiveCfg = Release|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x64.Build.0 = Release|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.ActiveCfg = Release|Any CPU + {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.Build.0 = Release|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x64.ActiveCfg = Debug|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x64.Build.0 = Debug|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x86.ActiveCfg = Debug|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x86.Build.0 = Debug|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|Any CPU.Build.0 = Release|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x64.ActiveCfg = Release|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x64.Build.0 = Release|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x86.ActiveCfg = Release|Any CPU + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {76FF0468-91A0-4190-A9BD-88A4F6A21133} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} @@ -70,5 +140,6 @@ Global {37434647-5BD7-4ED6-8B42-75774A65DBF2} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {02957377-E15C-41AB-89F1-6325AA01CEC7} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {B2E186FB-1242-4DC5-A1AF-3AD0DC107576} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} + {CC35D3B0-17B1-401F-843A-1BFD6066C4FF} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} EndGlobalSection EndGlobal diff --git a/src/Orbital/Orbital/Az.Orbital.psd1 b/src/Orbital/Orbital/Az.Orbital.psd1 index 143f88a3a2de..d52810f4cf34 100644 --- a/src/Orbital/Orbital/Az.Orbital.psd1 +++ b/src/Orbital/Orbital/Az.Orbital.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 3/25/2025 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.2'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Orbital.Autorest/bin/Az.Orbital.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'Orbital.Autorest\Az.Orbital.format.ps1xml' +FormatsToProcess = 'Orbital.Autorest/Az.Orbital.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('Orbital.Autorest/Az.Orbital.psm1') @@ -105,7 +105,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Orbital' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Orbital' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -130,7 +130,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Orbital/Orbital/help/Az.Orbital.md b/src/Orbital/Orbital/help/Az.Orbital.md index 189abd27dc84..cbebef4a1f88 100644 --- a/src/Orbital/Orbital/help/Az.Orbital.md +++ b/src/Orbital/Orbital/help/Az.Orbital.md @@ -28,7 +28,7 @@ Gets the specified spacecraft in a specified resource group. Gets the specified contact in a specified resource group. ### [New-AzOrbitalContactProfile](New-AzOrbitalContactProfile.md) -Creates or updates a contact profile. +create a contact profile. ### [New-AzOrbitalContactProfileLinkChannelObject](New-AzOrbitalContactProfileLinkChannelObject.md) Create an in-memory object for ContactProfileLinkChannel. @@ -37,10 +37,10 @@ Create an in-memory object for ContactProfileLinkChannel. Create an in-memory object for ContactProfileLink. ### [New-AzOrbitalSpacecraft](New-AzOrbitalSpacecraft.md) -Creates or updates a spacecraft resource. +create a spacecraft resource. ### [New-AzOrbitalSpacecraftContact](New-AzOrbitalSpacecraftContact.md) -Creates a contact. +create a contact. ### [New-AzOrbitalSpacecraftLinkObject](New-AzOrbitalSpacecraftLinkObject.md) Create an in-memory object for SpacecraftLink. @@ -55,8 +55,8 @@ Deletes a specified spacecraft resource. Deletes a specified contact. ### [Update-AzOrbitalContactProfile](Update-AzOrbitalContactProfile.md) -Updates the specified contact profile tags. +update the specified contact profile tags. ### [Update-AzOrbitalSpacecraft](Update-AzOrbitalSpacecraft.md) -Updates the specified spacecraft tags. +update the specified spacecraft tags. diff --git a/src/Orbital/Orbital/help/Get-AzOrbitalAvailableGroundStation.md b/src/Orbital/Orbital/help/Get-AzOrbitalAvailableGroundStation.md index 15467de0c14c..1a968f930e6f 100644 --- a/src/Orbital/Orbital/help/Get-AzOrbitalAvailableGroundStation.md +++ b/src/Orbital/Orbital/help/Get-AzOrbitalAvailableGroundStation.md @@ -13,7 +13,7 @@ Returns list of available ground stations. ## SYNTAX ``` -Get-AzOrbitalAvailableGroundStation [-SubscriptionId ] -Capability +Get-AzOrbitalAvailableGroundStation [-SubscriptionId ] -Capability [-DefaultProfile ] [] ``` @@ -48,7 +48,7 @@ Gets the specified available ground station. Ground Station Capability. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.CapabilityParameter +Type: System.String Parameter Sets: (All) Aliases: @@ -97,7 +97,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IAvailableGroundStation +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IAvailableGroundStation ## NOTES diff --git a/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md b/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md index e2020ed01475..0528467156ac 100644 --- a/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md +++ b/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md @@ -28,6 +28,20 @@ Get-AzOrbitalAvailableSpacecraftContact -Name -ResourceGroupName ] ``` +### ListViaJsonFilePath +``` +Get-AzOrbitalAvailableSpacecraftContact -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### ListViaJsonString +``` +Get-AzOrbitalAvailableSpacecraftContact -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Returns list of available contacts. A contact is available if the spacecraft is visible from the ground station for more than the minimum viable contact duration provided in the contact profile. @@ -138,6 +152,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Spacecraft ID. @@ -170,10 +214,9 @@ Accept wildcard characters: False ### -Parameter Parameters that define the contact resource. -To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactParameters Parameter Sets: List Aliases: @@ -266,11 +309,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactParameters +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactParameters ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IAvailableContacts +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IAvailableContacts ## NOTES diff --git a/src/Orbital/Orbital/help/Get-AzOrbitalContactProfile.md b/src/Orbital/Orbital/help/Get-AzOrbitalContactProfile.md index 9cc2148871b3..35697e4dbafd 100644 --- a/src/Orbital/Orbital/help/Get-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital/help/Get-AzOrbitalContactProfile.md @@ -101,7 +101,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -187,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfile +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfile ## NOTES diff --git a/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraft.md b/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraft.md index 900aef9c7cf6..80f57c1c55d3 100644 --- a/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraft.md @@ -101,7 +101,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -187,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraft +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraft ## NOTES diff --git a/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraftContact.md index ee8dec8ea5f7..c91864a4068b 100644 --- a/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/Get-AzOrbitalSpacecraftContact.md @@ -19,6 +19,12 @@ Get-AzOrbitalSpacecraftContact -ResourceGroupName -SpacecraftName ] ``` +### GetViaIdentitySpacecraft +``` +Get-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + [-DefaultProfile ] [] +``` + ### Get ``` Get-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName @@ -102,7 +108,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -121,7 +126,7 @@ Contact name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: GetViaIdentitySpacecraft, Get Aliases: ContactName Required: True @@ -164,6 +169,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: GetViaIdentitySpacecraft +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -SpacecraftName Spacecraft ID. @@ -203,7 +223,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContact +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact ## NOTES diff --git a/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md index bf9f7a3ce7ad..a9acfef3ecf8 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md @@ -8,21 +8,36 @@ schema: 2.0.0 # New-AzOrbitalContactProfile ## SYNOPSIS -Creates or updates a contact profile. +create a contact profile. ## SYNTAX +### CreateExpanded (Default) ``` New-AzOrbitalContactProfile -Name -ResourceGroupName [-SubscriptionId ] -Link -Location -NetworkConfigurationSubnetId - [-AutoTrackingConfiguration ] [-EventHubUri ] - [-MinimumElevationDegree ] [-MinimumViableContactDuration ] [-Tag ] + [-AutoTrackingConfiguration ] [-EventHubUri ] [-MinimumElevationDegree ] + [-MinimumViableContactDuration ] [-ProvisioningState ] [-Tag ] [-ThirdPartyConfiguration ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzOrbitalContactProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzOrbitalContactProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or updates a contact profile. +create a contact profile. ## EXAMPLES @@ -64,8 +79,8 @@ Accept wildcard characters: False Auto-tracking configuration. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.AutoTrackingConfiguration -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -97,7 +112,7 @@ Requires granting Orbital Resource Provider the rights to send telemetry into th ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -107,14 +122,43 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Link Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints. -To construct, see NOTES section for LINK properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileLink[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileLink[] +Parameter Sets: CreateExpanded Aliases: Required: True @@ -129,7 +173,7 @@ The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -145,7 +189,7 @@ Used for listing the available contacts with a spacecraft at a given ground stat ```yaml Type: System.Single -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -161,7 +205,7 @@ Used for listing the available contacts with a spacecraft at a given ground stat ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -192,7 +236,7 @@ Needs to be at least a class C subnet, and should not have any IP created in it. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -217,6 +261,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProvisioningState +The current state of the resource's creation, deletion, or modification. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -253,7 +312,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -266,11 +325,10 @@ Accept wildcard characters: False ### -ThirdPartyConfiguration Third-party mission configuration of the Contact Profile. Describes RF links, modem processing, and IP endpoints. -To construct, see NOTES section for THIRDPARTYCONFIGURATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileThirdPartyConfiguration[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileThirdPartyConfiguration[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -318,7 +376,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfile +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfile ## NOTES diff --git a/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkChannelObject.md b/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkChannelObject.md index 532bd01046d6..eea650fd4d3a 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkChannelObject.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkChannelObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Orbital-help.xml Module Name: Az.Orbital -online version: https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalContactProfileLinkChannelObject +online version: https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalcontactprofilelinkchannelobject schema: 2.0.0 --- @@ -14,7 +14,7 @@ Create an in-memory object for ContactProfileLinkChannel. ``` New-AzOrbitalContactProfileLinkChannelObject -BandwidthMHz -CenterFrequencyMHz - -EndPointIPAddress -EndPointName -EndPointPort -EndPointProtocol + -EndPointIPAddress -EndPointName -EndPointPort -EndPointProtocol -Name [-DecodingConfiguration ] [-DemodulationConfiguration ] [-EncodingConfiguration ] [-ModulationConfiguration ] [] @@ -71,7 +71,7 @@ Accept wildcard characters: False ``` ### -DecodingConfiguration -Configuration for decoding. +Currently unused. ```yaml Type: System.String @@ -86,7 +86,9 @@ Accept wildcard characters: False ``` ### -DemodulationConfiguration -Configuration for demodulation. +Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. +Only valid for downlink directions. +If provided, the modem connects to the customer endpoint and sends demodulated data instead of a VITA.49 stream. ```yaml Type: System.String @@ -101,7 +103,7 @@ Accept wildcard characters: False ``` ### -EncodingConfiguration -Configuration for encoding. +Currently unused. ```yaml Type: System.String @@ -116,7 +118,7 @@ Accept wildcard characters: False ``` ### -EndPointIPAddress -IP Address. +IP Address (IPv4). ```yaml Type: System.String @@ -164,7 +166,7 @@ Accept wildcard characters: False Protocol either UDP or TCP. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Protocol +Type: System.String Parameter Sets: (All) Aliases: @@ -176,7 +178,9 @@ Accept wildcard characters: False ``` ### -ModulationConfiguration -Configuration for modulation. +Copy of the modem configuration file such as Kratos QRadio. +Only valid for uplink directions. +If provided, the modem connects to the customer endpoint and accepts commands from the customer instead of a VITA.49 stream. ```yaml Type: System.String @@ -212,7 +216,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLinkChannel +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLinkChannel ## NOTES diff --git a/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkObject.md b/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkObject.md index 057eb13492eb..fc4c1de11beb 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkObject.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalContactProfileLinkObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Orbital-help.xml Module Name: Az.Orbital -online version: https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalContactProfileLinkObject +online version: https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalcontactprofilelinkobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for ContactProfileLink. ## SYNTAX ``` -New-AzOrbitalContactProfileLinkObject -Channel -Direction - -Name -Polarization [-EirpdBw ] [-GainOverTemperature ] +New-AzOrbitalContactProfileLinkObject -Channel -Direction + -Name -Polarization [-EirpdBw ] [-GainOverTemperature ] [] ``` @@ -42,10 +42,9 @@ Create a ContactProfileLink object. ### -Channel Contact Profile Link Channel. -To construct, see NOTES section for CHANNEL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileLinkChannel[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileLinkChannel[] Parameter Sets: (All) Aliases: @@ -57,10 +56,10 @@ Accept wildcard characters: False ``` ### -Direction -Direction (uplink or downlink). +Direction (Uplink or Downlink). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction +Type: System.String Parameter Sets: (All) Aliases: @@ -73,6 +72,8 @@ Accept wildcard characters: False ### -EirpdBw Effective Isotropic Radiated Power (EIRP) in dBW. +It is the required EIRP by the customer. +Not used yet. ```yaml Type: System.Single @@ -87,7 +88,9 @@ Accept wildcard characters: False ``` ### -GainOverTemperature -Gain To Noise Temperature in db/K. +Gain to noise temperature in db/K. +It is the required G/T by the customer. +Not used yet. ```yaml Type: System.Single @@ -117,11 +120,12 @@ Accept wildcard characters: False ``` ### -Polarization -polarization. -eg (RHCP, LHCP). +Polarization. +e.g. +(RHCP, LHCP). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization +Type: System.String Parameter Sets: (All) Aliases: @@ -139,7 +143,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ContactProfileLink +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ContactProfileLink ## NOTES diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md index be4ac01f2319..233b42b1554c 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md @@ -8,19 +8,34 @@ schema: 2.0.0 # New-AzOrbitalSpacecraft ## SYNOPSIS -Creates or updates a spacecraft resource. +create a spacecraft resource. ## SYNTAX +### CreateExpanded (Default) ``` New-AzOrbitalSpacecraft -Name -ResourceGroupName [-SubscriptionId ] -Link -Location -TitleLine -TleLine1 -TleLine2 - [-NoradId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-NoradId ] [-ProvisioningState ] [-Tag ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzOrbitalSpacecraft -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzOrbitalSpacecraft -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Creates or updates a spacecraft resource. +create a spacecraft resource. ## EXAMPLES @@ -73,13 +88,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Link Immutable list of Spacecraft links. -To construct, see NOTES section for LINK properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraftLink[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraftLink[] +Parameter Sets: CreateExpanded Aliases: Required: True @@ -94,7 +138,7 @@ The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -124,7 +168,7 @@ NORAD ID of the spacecraft. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -149,6 +193,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProvisioningState +The current state of the resource's creation, deletion, or modification. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -185,7 +244,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -200,7 +259,7 @@ Title line of the two-line element set (TLE). ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -215,7 +274,7 @@ Line 1 of the two-line element set (TLE). ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -230,7 +289,7 @@ Line 2 of the two-line element set (TLE). ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -278,7 +337,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraft +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraft ## NOTES diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md index 42fec117b24b..863bab672958 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md @@ -8,19 +8,35 @@ schema: 2.0.0 # New-AzOrbitalSpacecraftContact ## SYNOPSIS -Creates a contact. +create a contact. ## SYNTAX +### CreateExpanded (Default) ``` New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName [-SubscriptionId ] -ContactProfileId -GroundStationName - -ReservationEndTime -ReservationStartTime [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + -ReservationEndTime -ReservationStartTime [-ProvisioningState ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Creates a contact. +create a contact. ## EXAMPLES @@ -62,7 +78,7 @@ Resource ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -93,7 +109,37 @@ Azure Ground Station name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString Aliases: Required: True @@ -133,12 +179,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProvisioningState +The current state of the resource's creation, deletion, or modification. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ReservationEndTime Reservation end time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -153,7 +214,7 @@ Reservation start time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -247,7 +308,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContact +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact ## NOTES diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftLinkObject.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftLinkObject.md index 5c8444ccaba2..c91ee64ecc6d 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftLinkObject.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftLinkObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Orbital-help.xml Module Name: Az.Orbital -online version: https://learn.microsoft.com/powershell/module/az.Orbital/new-AzOrbitalSpacecraftLinkObject +online version: https://learn.microsoft.com/powershell/module/Az.Orbital/new-azorbitalspacecraftlinkobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for SpacecraftLink. ## SYNTAX ``` -New-AzOrbitalSpacecraftLinkObject -BandwidthMHz -CenterFrequencyMHz -Direction - -Name -Polarization [] +New-AzOrbitalSpacecraftLinkObject -BandwidthMHz -CenterFrequencyMHz -Direction + -Name -Polarization [] ``` ## DESCRIPTION @@ -68,10 +68,10 @@ Accept wildcard characters: False ``` ### -Direction -Direction (uplink or downlink). +Direction (Uplink or Downlink). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Direction +Type: System.String Parameter Sets: (All) Aliases: @@ -98,11 +98,12 @@ Accept wildcard characters: False ``` ### -Polarization -polarization. -eg (RHCP, LHCP). +Polarization. +e.g. +(RHCP, LHCP). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Support.Polarization +Type: System.String Parameter Sets: (All) Aliases: @@ -120,7 +121,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.SpacecraftLink +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.SpacecraftLink ## NOTES diff --git a/src/Orbital/Orbital/help/Remove-AzOrbitalContactProfile.md b/src/Orbital/Orbital/help/Remove-AzOrbitalContactProfile.md index 28de2485b390..9a8ac1eaaf4f 100644 --- a/src/Orbital/Orbital/help/Remove-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital/help/Remove-AzOrbitalContactProfile.md @@ -72,7 +72,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity diff --git a/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraft.md b/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraft.md index a70c51572a73..15c4269d137e 100644 --- a/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraft.md @@ -72,7 +72,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity diff --git a/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraftContact.md index 211fbb725174..a069ac0142a4 100644 --- a/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/Remove-AzOrbitalSpacecraftContact.md @@ -19,6 +19,13 @@ Remove-AzOrbitalSpacecraftContact -Name -ResourceGroupName -Sp [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentitySpacecraft +``` +Remove-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzOrbitalSpacecraftContact -InputObject [-DefaultProfile ] [-AsJob] @@ -72,7 +79,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -91,7 +97,7 @@ Contact name. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentitySpacecraft Aliases: ContactName Required: True @@ -147,6 +153,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: DeleteViaIdentitySpacecraft +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -SpacecraftName Spacecraft ID. diff --git a/src/Orbital/Orbital/help/Update-AzOrbitalContactProfile.md b/src/Orbital/Orbital/help/Update-AzOrbitalContactProfile.md index 8bc82f2694f8..5007c7da1edf 100644 --- a/src/Orbital/Orbital/help/Update-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital/help/Update-AzOrbitalContactProfile.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzOrbitalContactProfile ## SYNOPSIS -Updates the specified contact profile tags. +update the specified contact profile tags. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzOrbitalContactProfile -Name -ResourceGroupName [-Subs [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonString +``` +Update-AzOrbitalContactProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzOrbitalContactProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzOrbitalContactProfile -InputObject [-Tag ] [-DefaultProfile ] @@ -26,7 +40,7 @@ Update-AzOrbitalContactProfile -InputObject [-Tag ``` ## DESCRIPTION -Updates the specified contact profile tags. +update the specified contact profile tags. ## EXAMPLES @@ -91,7 +105,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -105,12 +118,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Contact Profile name. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -141,7 +184,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -156,7 +199,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -171,7 +214,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -221,7 +264,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfile +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfile ## NOTES diff --git a/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraft.md b/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraft.md index 3b3d8387ad15..1ad366c71f59 100644 --- a/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraft.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzOrbitalSpacecraft ## SYNOPSIS -Updates the specified spacecraft tags. +update the specified spacecraft tags. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzOrbitalSpacecraft -Name -ResourceGroupName [-Subscrip [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonString +``` +Update-AzOrbitalSpacecraft -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzOrbitalSpacecraft -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzOrbitalSpacecraft -InputObject [-Tag ] [-DefaultProfile ] @@ -26,7 +40,7 @@ Update-AzOrbitalSpacecraft -InputObject [-Tag ] [- ``` ## DESCRIPTION -Updates the specified spacecraft tags. +update the specified spacecraft tags. ## EXAMPLES @@ -92,7 +106,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity @@ -106,12 +119,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Spacecraft ID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -142,7 +185,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -157,7 +200,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -172,7 +215,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -222,7 +265,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.ISpacecraft +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.ISpacecraft ## NOTES From 14c6937dc44d81b2a559caf02872d68368094ace Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Mon, 31 Mar 2025 10:18:33 +0800 Subject: [PATCH 2/8] Update ChangeLog.md --- src/Orbital/Orbital/ChangeLog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Orbital/Orbital/ChangeLog.md b/src/Orbital/Orbital/ChangeLog.md index 05bc3514a233..69e2df66d019 100644 --- a/src/Orbital/Orbital/ChangeLog.md +++ b/src/Orbital/Orbital/ChangeLog.md @@ -18,6 +18,8 @@ - Additional information about change #1 --> ## Upcoming Release +* Implemented code refactoring. + * Regenerated the module using the latest v4 generator to incorporate the new features added in the v4 generator. ## Version 0.1.3 * Upgraded nuget package to signed package. From a1d779f6bd7bb1b1c399350b8cf617b265e4443e Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Mon, 31 Mar 2025 13:11:30 +0800 Subject: [PATCH 3/8] add provisioningState back to read only --- .../Properties/AssemblyInfo.cs | 2 + src/Orbital/Orbital.Autorest/README.md | 39 +++++++++++++++++++ .../Orbital.Autorest/docs/Az.Orbital.md | 2 +- .../docs/New-AzOrbitalContactProfile.md | 17 +------- .../docs/New-AzOrbitalSpacecraft.md | 19 +-------- .../docs/New-AzOrbitalSpacecraftContact.md | 19 +-------- .../Orbital.Autorest/generate-info.json | 2 +- src/Orbital/Orbital.sln | 28 ++++++------- src/Orbital/Orbital/Az.Orbital.psd1 | 2 +- .../help/New-AzOrbitalContactProfile.md | 17 +------- .../Orbital/help/New-AzOrbitalSpacecraft.md | 19 +-------- .../help/New-AzOrbitalSpacecraftContact.md | 20 +--------- 12 files changed, 68 insertions(+), 118 deletions(-) diff --git a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs index c5461e6d56f4..15745cbdf89b 100644 --- a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs +++ b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs @@ -24,3 +24,5 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] + + diff --git a/src/Orbital/Orbital.Autorest/README.md b/src/Orbital/Orbital.Autorest/README.md index 7fec62dd9453..0d87650b38c0 100644 --- a/src/Orbital/Orbital.Autorest/README.md +++ b/src/Orbital/Orbital.Autorest/README.md @@ -38,6 +38,45 @@ title: Orbital subject-prefix: $(service-name) directive: + - from: swagger-document + where: $.definitions.SpacecraftsProperties.properties.provisioningState + transform: >- + return { + "type": "string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/definitions/ProvisioningState" + } + ], + "description": "The current state of the resource's creation, deletion, or modification." + } + - from: swagger-document + where: $.definitions.ContactsProperties.properties.provisioningState + transform: >- + return { + "type": "string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/definitions/ProvisioningState" + } + ], + "description": "The current state of the resource's creation, deletion, or modification." + } + - from: swagger-document + where: $.definitions.ContactProfilesProperties.properties.provisioningState + transform: >- + return { + "type": "string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/definitions/ProvisioningState" + } + ], + "description": "The current state of the resource's creation, deletion, or modification." + } # Following are common directives which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required diff --git a/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md b/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md index 75d2c34973e7..538da4f9cf41 100644 --- a/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md +++ b/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md @@ -1,6 +1,6 @@ --- Module Name: Az.Orbital -Module Guid: 6101de4a-589c-42af-b422-b0beeeeb91a3 +Module Guid: da3f3c81-b8f0-4648-9b05-4afd458a4b16 Download Help Link: https://learn.microsoft.com/powershell/module/az.orbital Help Version: 1.0.0.0 Locale: en-US diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md index 8ae836eb1fc2..ec21524179c4 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md @@ -17,7 +17,7 @@ create a contact profile. New-AzOrbitalContactProfile -Name -ResourceGroupName -Link -Location -NetworkConfigurationSubnetId [-SubscriptionId ] [-AutoTrackingConfiguration ] [-EventHubUri ] [-MinimumElevationDegree ] - [-MinimumViableContactDuration ] [-ProvisioningState ] [-Tag ] + [-MinimumViableContactDuration ] [-Tag ] [-ThirdPartyConfiguration ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -261,21 +261,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -The current state of the resource's creation, deletion, or modification. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md index ff84f3f90061..1bb75923c754 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraft.md @@ -16,8 +16,8 @@ create a spacecraft resource. ``` New-AzOrbitalSpacecraft -Name -ResourceGroupName -Link -Location -TitleLine -TleLine1 -TleLine2 [-SubscriptionId ] - [-NoradId ] [-ProvisioningState ] [-Tag ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-NoradId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ### CreateViaJsonFilePath @@ -193,21 +193,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -The current state of the resource's creation, deletion, or modification. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md index 511a520c6718..1df9707ed714 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md @@ -16,8 +16,8 @@ create a contact. ``` New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName -ContactProfileId -GroundStationName -ReservationEndTime - -ReservationStartTime [-SubscriptionId ] [-ProvisioningState ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + -ReservationStartTime [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] ``` ### CreateViaJsonFilePath @@ -178,21 +178,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -The current state of the resource's creation, deletion, or modification. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ReservationEndTime Reservation end time of a contact (ISO 8601 UTC standard). diff --git a/src/Orbital/Orbital.Autorest/generate-info.json b/src/Orbital/Orbital.Autorest/generate-info.json index 0738661fe297..841200cf4f6c 100644 --- a/src/Orbital/Orbital.Autorest/generate-info.json +++ b/src/Orbital/Orbital.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "8c7eea92-1fef-4174-b0e7-af2c1d1e74cc" + "generate_Id": "7bb77942-bb8d-4a27-b7f3-7c67eec84f85" } diff --git a/src/Orbital/Orbital.sln b/src/Orbital/Orbital.sln index d0e0f1b3bf17..0f5cc8f854da 100644 --- a/src/Orbital/Orbital.sln +++ b/src/Orbital/Orbital.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orbital", "Orbital\Orbital. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Orbital.Autorest", "Orbital.Autorest", "{D3F1D949-0E57-67EC-955B-85D06D7DD717}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{CC35D3B0-17B1-401F-843A-1BFD6066C4FF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{035AF234-9B6B-4E90-B342-90EA46BAF1D9}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x64.Build.0 = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.ActiveCfg = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.Build.0 = Release|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x64.ActiveCfg = Debug|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x64.Build.0 = Debug|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x86.ActiveCfg = Debug|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Debug|x86.Build.0 = Debug|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|Any CPU.Build.0 = Release|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x64.ActiveCfg = Release|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x64.Build.0 = Release|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x86.ActiveCfg = Release|Any CPU - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF}.Release|x86.Build.0 = Release|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x64.ActiveCfg = Debug|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x64.Build.0 = Debug|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x86.ActiveCfg = Debug|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x86.Build.0 = Debug|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|Any CPU.Build.0 = Release|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x64.ActiveCfg = Release|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x64.Build.0 = Release|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x86.ActiveCfg = Release|Any CPU + {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {37434647-5BD7-4ED6-8B42-75774A65DBF2} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {02957377-E15C-41AB-89F1-6325AA01CEC7} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {B2E186FB-1242-4DC5-A1AF-3AD0DC107576} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} - {CC35D3B0-17B1-401F-843A-1BFD6066C4FF} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} + {035AF234-9B6B-4E90-B342-90EA46BAF1D9} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} EndGlobalSection EndGlobal diff --git a/src/Orbital/Orbital/Az.Orbital.psd1 b/src/Orbital/Orbital/Az.Orbital.psd1 index d52810f4cf34..b059d78b739d 100644 --- a/src/Orbital/Orbital/Az.Orbital.psd1 +++ b/src/Orbital/Orbital/Az.Orbital.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 3/25/2025 +# Generated on: 3/31/2025 # @{ diff --git a/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md index a9acfef3ecf8..97082bdb68b4 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md @@ -17,7 +17,7 @@ create a contact profile. New-AzOrbitalContactProfile -Name -ResourceGroupName [-SubscriptionId ] -Link -Location -NetworkConfigurationSubnetId [-AutoTrackingConfiguration ] [-EventHubUri ] [-MinimumElevationDegree ] - [-MinimumViableContactDuration ] [-ProvisioningState ] [-Tag ] + [-MinimumViableContactDuration ] [-Tag ] [-ThirdPartyConfiguration ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -261,21 +261,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -The current state of the resource's creation, deletion, or modification. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md index 233b42b1554c..b50a69c6b931 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraft.md @@ -16,8 +16,8 @@ create a spacecraft resource. ``` New-AzOrbitalSpacecraft -Name -ResourceGroupName [-SubscriptionId ] -Link -Location -TitleLine -TleLine1 -TleLine2 - [-NoradId ] [-ProvisioningState ] [-Tag ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoradId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath @@ -193,21 +193,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -The current state of the resource's creation, deletion, or modification. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md index 863bab672958..b9d33cda9679 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md @@ -16,9 +16,8 @@ create a contact. ``` New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName [-SubscriptionId ] -ContactProfileId -GroundStationName - -ReservationEndTime -ReservationStartTime [-ProvisioningState ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] - [] + -ReservationEndTime -ReservationStartTime [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath @@ -179,21 +178,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProvisioningState -The current state of the resource's creation, deletion, or modification. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ReservationEndTime Reservation end time of a contact (ISO 8601 UTC standard). From b5831fb0aad349936b3c89ae16e4f524339786a4 Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Tue, 1 Apr 2025 17:59:02 +0800 Subject: [PATCH 4/8] add update contact cmdlet --- .../Properties/AssemblyInfo.cs | 2 - src/Orbital/Orbital.Autorest/README.md | 10 +- .../Orbital.Autorest/docs/Az.Orbital.md | 3 + .../docs/Update-AzOrbitalSpacecraftContact.md | 261 ++++++++++++++++++ .../Update-AzOrbitalSpacecraftContact.md | 22 ++ .../Orbital.Autorest/generate-info.json | 2 +- ...pdate-AzOrbitalSpacecraftContact.Tests.ps1 | 29 ++ src/Orbital/Orbital.Autorest/test/env.json | 20 +- src/Orbital/Orbital.sln | 28 +- src/Orbital/Orbital/Az.Orbital.psd1 | 5 +- src/Orbital/Orbital/help/Az.Orbital.md | 3 + .../help/Update-AzOrbitalSpacecraftContact.md | 261 ++++++++++++++++++ 12 files changed, 612 insertions(+), 34 deletions(-) create mode 100644 src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md create mode 100644 src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md create mode 100644 src/Orbital/Orbital.Autorest/test/Update-AzOrbitalSpacecraftContact.Tests.ps1 create mode 100644 src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md diff --git a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs index 15745cbdf89b..c5461e6d56f4 100644 --- a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs +++ b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs @@ -24,5 +24,3 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] - - diff --git a/src/Orbital/Orbital.Autorest/README.md b/src/Orbital/Orbital.Autorest/README.md index 0d87650b38c0..e8893b79f6c2 100644 --- a/src/Orbital/Orbital.Autorest/README.md +++ b/src/Orbital/Orbital.Autorest/README.md @@ -134,11 +134,11 @@ directive: set: parameter-name: Name alias: GroundStationName - # Remove unmapped verb, if need please add back - - where: - subject: SpacecraftContact - verb: Update - remove: true + # Remove contact update cmdlet, if need please add back + # - where: + # subject: SpacecraftContact + # verb: Update + # remove: true # SpacecraftLink required properties customized to Mandatory. - model-cmdlet: - model-name: ContactProfileLinkChannel diff --git a/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md b/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md index 538da4f9cf41..414352ee1f41 100644 --- a/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md +++ b/src/Orbital/Orbital.Autorest/docs/Az.Orbital.md @@ -60,3 +60,6 @@ update the specified contact profile tags. ### [Update-AzOrbitalSpacecraft](Update-AzOrbitalSpacecraft.md) update the specified spacecraft tags. +### [Update-AzOrbitalSpacecraftContact](Update-AzOrbitalSpacecraftContact.md) +update a contact. + diff --git a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md new file mode 100644 index 000000000000..b6cd7fa0b569 --- /dev/null +++ b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md @@ -0,0 +1,261 @@ +--- +external help file: +Module Name: Az.Orbital +online version: https://learn.microsoft.com/powershell/module/az.orbital/update-azorbitalspacecraftcontact +schema: 2.0.0 +--- + +# Update-AzOrbitalSpacecraftContact + +## SYNOPSIS +update a contact. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + [-SubscriptionId ] [-ContactProfileId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzOrbitalSpacecraftContact -InputObject [-ContactProfileId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentitySpacecraftExpanded +``` +Update-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + [-ContactProfileId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +update a contact. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ContactProfileId +Resource ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Contact name. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentitySpacecraftExpanded +Aliases: ContactName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: UpdateViaIdentitySpacecraftExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SpacecraftName +Spacecraft ID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact + +## NOTES + +## RELATED LINKS + diff --git a/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/Orbital/Orbital.Autorest/generate-info.json b/src/Orbital/Orbital.Autorest/generate-info.json index 841200cf4f6c..584aff85925e 100644 --- a/src/Orbital/Orbital.Autorest/generate-info.json +++ b/src/Orbital/Orbital.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "7bb77942-bb8d-4a27-b7f3-7c67eec84f85" + "generate_Id": "5aee4b7d-0c7f-4087-9a14-321ba8d2b696" } diff --git a/src/Orbital/Orbital.Autorest/test/Update-AzOrbitalSpacecraftContact.Tests.ps1 b/src/Orbital/Orbital.Autorest/test/Update-AzOrbitalSpacecraftContact.Tests.ps1 new file mode 100644 index 000000000000..85058a9f3eae --- /dev/null +++ b/src/Orbital/Orbital.Autorest/test/Update-AzOrbitalSpacecraftContact.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzOrbitalSpacecraftContact')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzOrbitalSpacecraftContact.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzOrbitalSpacecraftContact' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentitySpacecraftExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Orbital/Orbital.Autorest/test/env.json b/src/Orbital/Orbital.Autorest/test/env.json index b71f29e07610..e5aa0fcf7e4a 100644 --- a/src/Orbital/Orbital.Autorest/test/env.json +++ b/src/Orbital/Orbital.Autorest/test/env.json @@ -1,17 +1,17 @@ { "spacecraftName": "AQUA-Test", - "contactProfile": "azps-orbital-contactprofile", - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "Tenant": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", + "locationSweden": "SwedenCentral", "contactProfileSweden": "Sweden-contactprofile", - "spacecraftContact": "azps-orbital-testspacecraftContact", + "contactProfile": "azps-orbital-contactprofile", + "resourceGroup": "azpstest-gp", + "virtualnetwork": "orbital-virtualnetwork", "groundStationName": "Microsoft_Gavle", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "virtualnetworkSubnets": "orbital-vn", - "locationSweden": "SwedenCentral", - "virtualnetworkSweden": "Sweden-virtualnetwork", "eventhub": "eventhub-test-0505", + "location": "westus2", "spacecraftNameSweden": "SwedenAQUASpacecraft", - "virtualnetwork": "orbital-virtualnetwork", - "resourceGroup": "azpstest-gp", - "location": "westus2" + "SubscriptionId": "0b1f6471-1bf0-4dda-aec3-cb9272f09590", + "virtualnetworkSweden": "Sweden-virtualnetwork", + "virtualnetworkSubnets": "orbital-vn", + "spacecraftContact": "azps-orbital-testspacecraftContact" } diff --git a/src/Orbital/Orbital.sln b/src/Orbital/Orbital.sln index 0f5cc8f854da..850c70bc2704 100644 --- a/src/Orbital/Orbital.sln +++ b/src/Orbital/Orbital.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orbital", "Orbital\Orbital. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Orbital.Autorest", "Orbital.Autorest", "{D3F1D949-0E57-67EC-955B-85D06D7DD717}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{035AF234-9B6B-4E90-B342-90EA46BAF1D9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{0D03FB0E-778F-4D82-8560-468E6BF2E002}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x64.Build.0 = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.ActiveCfg = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.Build.0 = Release|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x64.ActiveCfg = Debug|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x64.Build.0 = Debug|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x86.ActiveCfg = Debug|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Debug|x86.Build.0 = Debug|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|Any CPU.Build.0 = Release|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x64.ActiveCfg = Release|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x64.Build.0 = Release|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x86.ActiveCfg = Release|Any CPU - {035AF234-9B6B-4E90-B342-90EA46BAF1D9}.Release|x86.Build.0 = Release|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x64.ActiveCfg = Debug|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x64.Build.0 = Debug|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x86.ActiveCfg = Debug|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x86.Build.0 = Debug|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|Any CPU.Build.0 = Release|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x64.ActiveCfg = Release|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x64.Build.0 = Release|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x86.ActiveCfg = Release|Any CPU + {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {37434647-5BD7-4ED6-8B42-75774A65DBF2} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {02957377-E15C-41AB-89F1-6325AA01CEC7} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {B2E186FB-1242-4DC5-A1AF-3AD0DC107576} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} - {035AF234-9B6B-4E90-B342-90EA46BAF1D9} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} + {0D03FB0E-778F-4D82-8560-468E6BF2E002} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} EndGlobalSection EndGlobal diff --git a/src/Orbital/Orbital/Az.Orbital.psd1 b/src/Orbital/Orbital/Az.Orbital.psd1 index b059d78b739d..2d70ad70facf 100644 --- a/src/Orbital/Orbital/Az.Orbital.psd1 +++ b/src/Orbital/Orbital/Az.Orbital.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 3/31/2025 +# Generated on: 4/1/2025 # @{ @@ -79,7 +79,8 @@ FunctionsToExport = 'Get-AzOrbitalAvailableGroundStation', 'New-AzOrbitalSpacecraftLinkObject', 'Remove-AzOrbitalContactProfile', 'Remove-AzOrbitalSpacecraft', 'Remove-AzOrbitalSpacecraftContact', - 'Update-AzOrbitalContactProfile', 'Update-AzOrbitalSpacecraft' + 'Update-AzOrbitalContactProfile', 'Update-AzOrbitalSpacecraft', + 'Update-AzOrbitalSpacecraftContact' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() diff --git a/src/Orbital/Orbital/help/Az.Orbital.md b/src/Orbital/Orbital/help/Az.Orbital.md index cbebef4a1f88..743cd33c11a0 100644 --- a/src/Orbital/Orbital/help/Az.Orbital.md +++ b/src/Orbital/Orbital/help/Az.Orbital.md @@ -60,3 +60,6 @@ update the specified contact profile tags. ### [Update-AzOrbitalSpacecraft](Update-AzOrbitalSpacecraft.md) update the specified spacecraft tags. +### [Update-AzOrbitalSpacecraftContact](Update-AzOrbitalSpacecraftContact.md) +update a contact. + diff --git a/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md new file mode 100644 index 000000000000..a81413815522 --- /dev/null +++ b/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md @@ -0,0 +1,261 @@ +--- +external help file: Az.Orbital-help.xml +Module Name: Az.Orbital +online version: https://learn.microsoft.com/powershell/module/az.orbital/update-azorbitalspacecraftcontact +schema: 2.0.0 +--- + +# Update-AzOrbitalSpacecraftContact + +## SYNOPSIS +update a contact. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + [-SubscriptionId ] [-ContactProfileId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentitySpacecraftExpanded +``` +Update-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + [-ContactProfileId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzOrbitalSpacecraftContact -InputObject [-ContactProfileId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +update a contact. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ContactProfileId +Resource ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Contact name. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentitySpacecraftExpanded +Aliases: ContactName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: UpdateViaIdentitySpacecraftExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SpacecraftName +Spacecraft ID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact + +## NOTES + +## RELATED LINKS From 3f66a0ccab622fadacb4e2773260dc3c8581c422 Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:37:36 +0800 Subject: [PATCH 5/8] Update example --- .../Properties/AssemblyInfo.cs | 1 + ...Get-AzOrbitalAvailableSpacecraftContact.md | 2 +- .../docs/New-AzOrbitalContactProfile.md | 2 +- .../docs/New-AzOrbitalSpacecraftContact.md | 2 +- .../docs/Update-AzOrbitalSpacecraftContact.md | 21 ++++---------- ...Get-AzOrbitalAvailableSpacecraftContact.md | 2 +- .../examples/New-AzOrbitalContactProfile.md | 2 +- .../New-AzOrbitalSpacecraftContact.md | 2 +- .../Update-AzOrbitalSpacecraftContact.md | 21 ++++---------- .../Orbital.Autorest/generate-info.json | 2 +- src/Orbital/Orbital.sln | 28 +++++++++---------- src/Orbital/Orbital/Az.Orbital.psd1 | 2 +- ...Get-AzOrbitalAvailableSpacecraftContact.md | 2 +- .../help/New-AzOrbitalContactProfile.md | 2 +- .../help/New-AzOrbitalSpacecraftContact.md | 2 +- .../help/Update-AzOrbitalSpacecraftContact.md | 21 ++++---------- 16 files changed, 44 insertions(+), 70 deletions(-) diff --git a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs index c5461e6d56f4..9ab1d04faa36 100644 --- a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs +++ b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs @@ -24,3 +24,4 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md index 1ee89dd77d8a..f5229d6d0363 100644 --- a/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/Get-AzOrbitalAvailableSpacecraftContact.md @@ -52,7 +52,7 @@ A contact is available if the spacecraft is visible from the ground station for $dateS = Get-Date -Day 9 -Month 5 -AsUTC $dateE = Get-Date -Day 10 -Month 5 -AsUTC -Get-AzOrbitalAvailableSpacecraftContact -Name SwedenAQUASpacecraft -ResourceGroupName azpstest-gp -EndTime $dateE -StartTime $dateS -GroundStationName Microsoft_Gavle -ContactProfileId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile +Get-AzOrbitalAvailableSpacecraftContact -Name SwedenAQUASpacecraft -ResourceGroupName azpstest-gp -EndTime $dateE -StartTime $dateS -GroundStationName Microsoft_Gavle -ContactProfileId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile ``` ```output diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md index ec21524179c4..4fc81c2fdd3b 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalContactProfile.md @@ -47,7 +47,7 @@ $linkChannel = New-AzOrbitalContactProfileLinkChannelObject -BandwidthMHz 15 -Ce $profileLink = New-AzOrbitalContactProfileLinkObject -Channel $linkChannel -Direction Downlink -Name RHCP_Downlink -Polarization RHCP -EirpdBw 0 -GainOverTemperature 0 -New-AzOrbitalContactProfile -Name azps-orbital-contactprofile -ResourceGroupName azpstest-gp -Location westus2 -AutoTrackingConfiguration xBand -EventHubUri /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.EventHub/namespaces/eventhub-test -Link $profileLink -MinimumElevationDegree 5 -MinimumViableContactDuration PT1M -NetworkConfigurationSubnetId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Network/virtualNetworks/orbital-virtualnetwork/subnets/orbital-vn +New-AzOrbitalContactProfile -Name azps-orbital-contactprofile -ResourceGroupName azpstest-gp -Location westus2 -AutoTrackingConfiguration xBand -EventHubUri /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.EventHub/namespaces/eventhub-test -Link $profileLink -MinimumElevationDegree 5 -MinimumViableContactDuration PT1M -NetworkConfigurationSubnetId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Network/virtualNetworks/orbital-virtualnetwork/subnets/orbital-vn ``` ```output diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md index 1df9707ed714..ba8b196b1a78 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md @@ -44,7 +44,7 @@ create a contact. $dateS = Get-Date -Year 2023 -Month 5 -Day 10 -Hour 11 -Minute 06 -Second 07 $dateE = Get-Date -Year 2023 -Month 5 -Day 10 -Hour 11 -Minute 16 -Second 21 -New-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" -GroundStationName "Microsoft_Gavle" -ReservationStartTime $dateS -ReservationEndTime $dateE +New-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" -GroundStationName "Microsoft_Gavle" -ReservationStartTime $dateS -ReservationEndTime $dateE ``` ```output diff --git a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md index b6cd7fa0b569..d3c25d6034d8 100644 --- a/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/Update-AzOrbitalSpacecraftContact.md @@ -37,27 +37,18 @@ update a contact. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Updates a contact. ```powershell -{{ Add code here }} +Update-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name GroundStationName Status ReservationStartTime ReservationEndTime ResourceGroupName +---- ----------------- ------ -------------------- ------------------ ----------------- +azps-orbital-contact Microsoft_Gavle scheduled 5/10/2023 3:06:07 AM 5/10/2023 3:16:21 AM azpstest-gp ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} +This command updates a contact. ## PARAMETERS diff --git a/src/Orbital/Orbital.Autorest/examples/Get-AzOrbitalAvailableSpacecraftContact.md b/src/Orbital/Orbital.Autorest/examples/Get-AzOrbitalAvailableSpacecraftContact.md index 8895f5f4b963..d4e71a175720 100644 --- a/src/Orbital/Orbital.Autorest/examples/Get-AzOrbitalAvailableSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/examples/Get-AzOrbitalAvailableSpacecraftContact.md @@ -3,7 +3,7 @@ $dateS = Get-Date -Day 9 -Month 5 -AsUTC $dateE = Get-Date -Day 10 -Month 5 -AsUTC -Get-AzOrbitalAvailableSpacecraftContact -Name SwedenAQUASpacecraft -ResourceGroupName azpstest-gp -EndTime $dateE -StartTime $dateS -GroundStationName Microsoft_Gavle -ContactProfileId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile +Get-AzOrbitalAvailableSpacecraftContact -Name SwedenAQUASpacecraft -ResourceGroupName azpstest-gp -EndTime $dateE -StartTime $dateS -GroundStationName Microsoft_Gavle -ContactProfileId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile ``` ```output diff --git a/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalContactProfile.md index 0973077c0d89..41341f1045ce 100644 --- a/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalContactProfile.md @@ -4,7 +4,7 @@ $linkChannel = New-AzOrbitalContactProfileLinkChannelObject -BandwidthMHz 15 -Ce $profileLink = New-AzOrbitalContactProfileLinkObject -Channel $linkChannel -Direction Downlink -Name RHCP_Downlink -Polarization RHCP -EirpdBw 0 -GainOverTemperature 0 -New-AzOrbitalContactProfile -Name azps-orbital-contactprofile -ResourceGroupName azpstest-gp -Location westus2 -AutoTrackingConfiguration xBand -EventHubUri /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.EventHub/namespaces/eventhub-test -Link $profileLink -MinimumElevationDegree 5 -MinimumViableContactDuration PT1M -NetworkConfigurationSubnetId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Network/virtualNetworks/orbital-virtualnetwork/subnets/orbital-vn +New-AzOrbitalContactProfile -Name azps-orbital-contactprofile -ResourceGroupName azpstest-gp -Location westus2 -AutoTrackingConfiguration xBand -EventHubUri /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.EventHub/namespaces/eventhub-test -Link $profileLink -MinimumElevationDegree 5 -MinimumViableContactDuration PT1M -NetworkConfigurationSubnetId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Network/virtualNetworks/orbital-virtualnetwork/subnets/orbital-vn ``` ```output diff --git a/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalSpacecraftContact.md index de0a35c45561..d9df579343a3 100644 --- a/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/examples/New-AzOrbitalSpacecraftContact.md @@ -3,7 +3,7 @@ $dateS = Get-Date -Year 2023 -Month 5 -Day 10 -Hour 11 -Minute 06 -Second 07 $dateE = Get-Date -Year 2023 -Month 5 -Day 10 -Hour 11 -Minute 16 -Second 21 -New-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" -GroundStationName "Microsoft_Gavle" -ReservationStartTime $dateS -ReservationEndTime $dateE +New-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" -GroundStationName "Microsoft_Gavle" -ReservationStartTime $dateS -ReservationEndTime $dateE ``` ```output diff --git a/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md index 0371f56c36d2..716b51cf467c 100644 --- a/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/examples/Update-AzOrbitalSpacecraftContact.md @@ -1,22 +1,13 @@ -### Example 1: {{ Add title here }} +### Example 1: Updates a contact. ```powershell -{{ Add code here }} +Update-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name GroundStationName Status ReservationStartTime ReservationEndTime ResourceGroupName +---- ----------------- ------ -------------------- ------------------ ----------------- +azps-orbital-contact Microsoft_Gavle scheduled 5/10/2023 3:06:07 AM 5/10/2023 3:16:21 AM azpstest-gp ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} +This command updates a contact. diff --git a/src/Orbital/Orbital.Autorest/generate-info.json b/src/Orbital/Orbital.Autorest/generate-info.json index 584aff85925e..078c44503dde 100644 --- a/src/Orbital/Orbital.Autorest/generate-info.json +++ b/src/Orbital/Orbital.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "5aee4b7d-0c7f-4087-9a14-321ba8d2b696" + "generate_Id": "c2667740-f6fc-4b88-8ad1-57a6153a539c" } diff --git a/src/Orbital/Orbital.sln b/src/Orbital/Orbital.sln index 850c70bc2704..5209cc24a8c6 100644 --- a/src/Orbital/Orbital.sln +++ b/src/Orbital/Orbital.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orbital", "Orbital\Orbital. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Orbital.Autorest", "Orbital.Autorest", "{D3F1D949-0E57-67EC-955B-85D06D7DD717}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{0D03FB0E-778F-4D82-8560-468E6BF2E002}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{4E3BA685-D647-40C7-812F-0F675026C071}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x64.Build.0 = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.ActiveCfg = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.Build.0 = Release|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x64.ActiveCfg = Debug|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x64.Build.0 = Debug|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x86.ActiveCfg = Debug|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Debug|x86.Build.0 = Debug|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|Any CPU.Build.0 = Release|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x64.ActiveCfg = Release|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x64.Build.0 = Release|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x86.ActiveCfg = Release|Any CPU - {0D03FB0E-778F-4D82-8560-468E6BF2E002}.Release|x86.Build.0 = Release|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x64.ActiveCfg = Debug|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x64.Build.0 = Debug|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x86.ActiveCfg = Debug|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x86.Build.0 = Debug|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Release|Any CPU.Build.0 = Release|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x64.ActiveCfg = Release|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x64.Build.0 = Release|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x86.ActiveCfg = Release|Any CPU + {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {37434647-5BD7-4ED6-8B42-75774A65DBF2} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {02957377-E15C-41AB-89F1-6325AA01CEC7} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {B2E186FB-1242-4DC5-A1AF-3AD0DC107576} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} - {0D03FB0E-778F-4D82-8560-468E6BF2E002} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} + {4E3BA685-D647-40C7-812F-0F675026C071} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} EndGlobalSection EndGlobal diff --git a/src/Orbital/Orbital/Az.Orbital.psd1 b/src/Orbital/Orbital/Az.Orbital.psd1 index 2d70ad70facf..9c7e1bc7ab07 100644 --- a/src/Orbital/Orbital/Az.Orbital.psd1 +++ b/src/Orbital/Orbital/Az.Orbital.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 4/1/2025 +# Generated on: 4/2/2025 # @{ diff --git a/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md b/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md index 0528467156ac..30647b0a4c8e 100644 --- a/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md +++ b/src/Orbital/Orbital/help/Get-AzOrbitalAvailableSpacecraftContact.md @@ -53,7 +53,7 @@ A contact is available if the spacecraft is visible from the ground station for $dateS = Get-Date -Day 9 -Month 5 -AsUTC $dateE = Get-Date -Day 10 -Month 5 -AsUTC -Get-AzOrbitalAvailableSpacecraftContact -Name SwedenAQUASpacecraft -ResourceGroupName azpstest-gp -EndTime $dateE -StartTime $dateS -GroundStationName Microsoft_Gavle -ContactProfileId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile +Get-AzOrbitalAvailableSpacecraftContact -Name SwedenAQUASpacecraft -ResourceGroupName azpstest-gp -EndTime $dateE -StartTime $dateS -GroundStationName Microsoft_Gavle -ContactProfileId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile ``` ```output diff --git a/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md b/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md index 97082bdb68b4..d53476957e8b 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalContactProfile.md @@ -47,7 +47,7 @@ $linkChannel = New-AzOrbitalContactProfileLinkChannelObject -BandwidthMHz 15 -Ce $profileLink = New-AzOrbitalContactProfileLinkObject -Channel $linkChannel -Direction Downlink -Name RHCP_Downlink -Polarization RHCP -EirpdBw 0 -GainOverTemperature 0 -New-AzOrbitalContactProfile -Name azps-orbital-contactprofile -ResourceGroupName azpstest-gp -Location westus2 -AutoTrackingConfiguration xBand -EventHubUri /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.EventHub/namespaces/eventhub-test -Link $profileLink -MinimumElevationDegree 5 -MinimumViableContactDuration PT1M -NetworkConfigurationSubnetId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Network/virtualNetworks/orbital-virtualnetwork/subnets/orbital-vn +New-AzOrbitalContactProfile -Name azps-orbital-contactprofile -ResourceGroupName azpstest-gp -Location westus2 -AutoTrackingConfiguration xBand -EventHubUri /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.EventHub/namespaces/eventhub-test -Link $profileLink -MinimumElevationDegree 5 -MinimumViableContactDuration PT1M -NetworkConfigurationSubnetId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Network/virtualNetworks/orbital-virtualnetwork/subnets/orbital-vn ``` ```output diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md index b9d33cda9679..e384e3ee662b 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md @@ -44,7 +44,7 @@ create a contact. $dateS = Get-Date -Year 2023 -Month 5 -Day 10 -Hour 11 -Minute 06 -Second 07 $dateE = Get-Date -Year 2023 -Month 5 -Day 10 -Hour 11 -Minute 16 -Second 21 -New-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" -GroundStationName "Microsoft_Gavle" -ReservationStartTime $dateS -ReservationEndTime $dateE +New-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" -GroundStationName "Microsoft_Gavle" -ReservationStartTime $dateS -ReservationEndTime $dateE ``` ```output diff --git a/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md index a81413815522..ca9eb82c6d6f 100644 --- a/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/Update-AzOrbitalSpacecraftContact.md @@ -38,27 +38,18 @@ update a contact. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Updates a contact. ```powershell -{{ Add code here }} +Update-AzOrbitalSpacecraftContact -Name azps-orbital-contact -ResourceGroupName azpstest-gp -SpacecraftName SwedenAQUASpacecraft -ContactProfileId "/subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/azpstest-gp/providers/Microsoft.Orbital/contactProfiles/Sweden-contactprofile" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name GroundStationName Status ReservationStartTime ReservationEndTime ResourceGroupName +---- ----------------- ------ -------------------- ------------------ ----------------- +azps-orbital-contact Microsoft_Gavle scheduled 5/10/2023 3:06:07 AM 5/10/2023 3:16:21 AM azpstest-gp ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} +This command updates a contact. ## PARAMETERS From 9c97745e3d1ef57a5771eb9b0da7f2388d994c10 Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:25:32 +0800 Subject: [PATCH 6/8] Update env.json --- src/Orbital/Orbital.Autorest/test/env.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Orbital/Orbital.Autorest/test/env.json b/src/Orbital/Orbital.Autorest/test/env.json index e5aa0fcf7e4a..ca98623b0ee1 100644 --- a/src/Orbital/Orbital.Autorest/test/env.json +++ b/src/Orbital/Orbital.Autorest/test/env.json @@ -1,17 +1,17 @@ { "spacecraftName": "AQUA-Test", - "Tenant": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", - "locationSweden": "SwedenCentral", - "contactProfileSweden": "Sweden-contactprofile", "contactProfile": "azps-orbital-contactprofile", - "resourceGroup": "azpstest-gp", - "virtualnetwork": "orbital-virtualnetwork", + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "contactProfileSweden": "Sweden-contactprofile", + "spacecraftContact": "azps-orbital-testspacecraftContact", "groundStationName": "Microsoft_Gavle", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "virtualnetworkSubnets": "orbital-vn", + "locationSweden": "SwedenCentral", + "virtualnetworkSweden": "Sweden-virtualnetwork", "eventhub": "eventhub-test-0505", - "location": "westus2", "spacecraftNameSweden": "SwedenAQUASpacecraft", - "SubscriptionId": "0b1f6471-1bf0-4dda-aec3-cb9272f09590", - "virtualnetworkSweden": "Sweden-virtualnetwork", - "virtualnetworkSubnets": "orbital-vn", - "spacecraftContact": "azps-orbital-testspacecraftContact" -} + "virtualnetwork": "orbital-virtualnetwork", + "resourceGroup": "azpstest-gp", + "location": "westus2" +} \ No newline at end of file From 9a3109cb80846146225fc8874ce5ee91bf962379 Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Wed, 2 Apr 2025 16:00:45 +0800 Subject: [PATCH 7/8] Update ChangeLog.md --- src/Orbital/Orbital/ChangeLog.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Orbital/Orbital/ChangeLog.md b/src/Orbital/Orbital/ChangeLog.md index 69e2df66d019..cdcf8e4c43ec 100644 --- a/src/Orbital/Orbital/ChangeLog.md +++ b/src/Orbital/Orbital/ChangeLog.md @@ -18,8 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release -* Implemented code refactoring. - * Regenerated the module using the latest v4 generator to incorporate the new features added in the v4 generator. +* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). ## Version 0.1.3 * Upgraded nuget package to signed package. From 2806fe1a627dee6cbd1892706213cab889c92fb3 Mon Sep 17 00:00:00 2001 From: JoyerJin <116236375+JoyerJin@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:25:17 +0800 Subject: [PATCH 8/8] add variant CreateViaIdentitySpacecraftExpanded --- .../Properties/AssemblyInfo.cs | 1 - src/Orbital/Orbital.Autorest/README.md | 2 +- .../docs/New-AzOrbitalSpacecraftContact.md | 39 +++++++++++++--- .../Orbital.Autorest/generate-info.json | 2 +- src/Orbital/Orbital.sln | 28 ++++++------ src/Orbital/Orbital/Az.Orbital.psd1 | 2 +- .../help/New-AzOrbitalSpacecraftContact.md | 45 ++++++++++++++----- 7 files changed, 84 insertions(+), 35 deletions(-) diff --git a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs index 9ab1d04faa36..c5461e6d56f4 100644 --- a/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs +++ b/src/Orbital/Orbital.Autorest/Properties/AssemblyInfo.cs @@ -24,4 +24,3 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] - diff --git a/src/Orbital/Orbital.Autorest/README.md b/src/Orbital/Orbital.Autorest/README.md index e8893b79f6c2..974e0f91bbb3 100644 --- a/src/Orbital/Orbital.Autorest/README.md +++ b/src/Orbital/Orbital.Autorest/README.md @@ -85,7 +85,7 @@ directive: variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) remove: true - where: - variant: ^CreateViaIdentity.*$ + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true # Remove the set-* cmdlet - where: diff --git a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md index ba8b196b1a78..2f34b6f80f14 100644 --- a/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital.Autorest/docs/New-AzOrbitalSpacecraftContact.md @@ -20,6 +20,14 @@ New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -Space [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentitySpacecraftExpanded +``` +New-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + -ContactProfileId -GroundStationName -ReservationEndTime + -ReservationStartTime [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ### CreateViaJsonFilePath ``` New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName @@ -77,7 +85,7 @@ Resource ID. ```yaml Type: System.String -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -108,7 +116,7 @@ Azure Ground Station name. ```yaml Type: System.String -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -183,7 +191,7 @@ Reservation end time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -198,7 +206,7 @@ Reservation start time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -214,7 +222,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -224,12 +232,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: CreateViaIdentitySpacecraftExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -SpacecraftName Spacecraft ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -244,7 +267,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -290,6 +313,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity + ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact diff --git a/src/Orbital/Orbital.Autorest/generate-info.json b/src/Orbital/Orbital.Autorest/generate-info.json index 078c44503dde..1b380e462ae1 100644 --- a/src/Orbital/Orbital.Autorest/generate-info.json +++ b/src/Orbital/Orbital.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "c2667740-f6fc-4b88-8ad1-57a6153a539c" + "generate_Id": "f7104420-7dfc-45f7-b08b-787746271c16" } diff --git a/src/Orbital/Orbital.sln b/src/Orbital/Orbital.sln index 5209cc24a8c6..3043b96cd131 100644 --- a/src/Orbital/Orbital.sln +++ b/src/Orbital/Orbital.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orbital", "Orbital\Orbital. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Orbital.Autorest", "Orbital.Autorest", "{D3F1D949-0E57-67EC-955B-85D06D7DD717}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{4E3BA685-D647-40C7-812F-0F675026C071}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Orbital", "..\..\generated\Orbital\Orbital.Autorest\Az.Orbital.csproj", "{FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x64.Build.0 = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.ActiveCfg = Release|Any CPU {C51449E3-3349-498A-8BD3-57D6DAAC9D3F}.Release|x86.Build.0 = Release|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x64.ActiveCfg = Debug|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x64.Build.0 = Debug|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x86.ActiveCfg = Debug|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Debug|x86.Build.0 = Debug|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Release|Any CPU.Build.0 = Release|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x64.ActiveCfg = Release|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x64.Build.0 = Release|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x86.ActiveCfg = Release|Any CPU - {4E3BA685-D647-40C7-812F-0F675026C071}.Release|x86.Build.0 = Release|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Debug|x64.ActiveCfg = Debug|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Debug|x64.Build.0 = Debug|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Debug|x86.ActiveCfg = Debug|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Debug|x86.Build.0 = Debug|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Release|Any CPU.Build.0 = Release|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Release|x64.ActiveCfg = Release|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Release|x64.Build.0 = Release|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Release|x86.ActiveCfg = Release|Any CPU + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {37434647-5BD7-4ED6-8B42-75774A65DBF2} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {02957377-E15C-41AB-89F1-6325AA01CEC7} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} {B2E186FB-1242-4DC5-A1AF-3AD0DC107576} = {B1BABA84-6C83-4393-9D5F-58D5E01C1C13} - {4E3BA685-D647-40C7-812F-0F675026C071} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} + {FEA6F26B-5D0F-48F6-92E1-FBBC5C6E8A98} = {D3F1D949-0E57-67EC-955B-85D06D7DD717} EndGlobalSection EndGlobal diff --git a/src/Orbital/Orbital/Az.Orbital.psd1 b/src/Orbital/Orbital/Az.Orbital.psd1 index 9c7e1bc7ab07..29fd019b034b 100644 --- a/src/Orbital/Orbital/Az.Orbital.psd1 +++ b/src/Orbital/Orbital/Az.Orbital.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 4/2/2025 +# Generated on: 4/3/2025 # @{ diff --git a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md index e384e3ee662b..19074bb3c755 100644 --- a/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md +++ b/src/Orbital/Orbital/help/New-AzOrbitalSpacecraftContact.md @@ -20,6 +20,13 @@ New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -Space [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonString +``` +New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ### CreateViaJsonFilePath ``` New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName @@ -27,10 +34,11 @@ New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -Space [-WhatIf] [-Confirm] [] ``` -### CreateViaJsonString +### CreateViaIdentitySpacecraftExpanded ``` -New-AzOrbitalSpacecraftContact -Name -ResourceGroupName -SpacecraftName - [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] +New-AzOrbitalSpacecraftContact -Name -SpacecraftInputObject + -ContactProfileId -GroundStationName -ReservationEndTime + -ReservationStartTime [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -77,7 +85,7 @@ Resource ID. ```yaml Type: System.String -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -108,7 +116,7 @@ Azure Ground Station name. ```yaml Type: System.String -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -183,7 +191,7 @@ Reservation end time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -198,7 +206,7 @@ Reservation start time of a contact (ISO 8601 UTC standard). ```yaml Type: System.DateTime -Parameter Sets: CreateExpanded +Parameter Sets: CreateExpanded, CreateViaIdentitySpacecraftExpanded Aliases: Required: True @@ -214,7 +222,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -224,12 +232,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SpacecraftInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity +Parameter Sets: CreateViaIdentitySpacecraftExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -SpacecraftName Spacecraft ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -244,7 +267,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -290,6 +313,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IOrbitalIdentity + ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContact