@@ -108,20 +108,6 @@ public partial class GetAzADGroup_Get : global::System.Management.Automation.PSC
108108 /// <summary>Accessor for extensibleParameters.</summary>
109109 public global ::System . Collections . Generic . IDictionary < global ::System . String , global ::System . Object > ExtensibleParameters { get => _extensibleParameters ; }
110110
111- /// <summary>Backing field for <see cref="GroupId" /> property.</summary>
112- private string _groupId ;
113-
114- /// <summary>key: id of group</summary>
115- [ global ::System . Management . Automation . Parameter ( Mandatory = true , HelpMessage = "key: id of group" ) ]
116- [ Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . Info (
117- Required = true ,
118- ReadOnly = false ,
119- Description = @"key: id of group" ,
120- SerializedName = @"group-id" ,
121- PossibleTypes = new [ ] { typeof ( string ) } ) ]
122- [ global ::Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Category ( global ::Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . ParameterCategory . Path ) ]
123- public string GroupId { get => this . _groupId ; set => this . _groupId = value ; }
124-
125111 /// <summary>SendAsync Pipeline Steps to be appended to the front of the pipeline</summary>
126112 [ global ::System . Management . Automation . Parameter ( Mandatory = false , DontShow = true , HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline" ) ]
127113 [ global ::System . Management . Automation . ValidateNotNull ]
@@ -134,6 +120,21 @@ public partial class GetAzADGroup_Get : global::System.Management.Automation.PSC
134120 [ global ::Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Category ( global ::Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . ParameterCategory . Runtime ) ]
135121 public Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . SendAsyncStep [ ] HttpPipelinePrepend { get ; set ; }
136122
123+ /// <summary>Backing field for <see cref="Id" /> property.</summary>
124+ private string _id ;
125+
126+ /// <summary>key: id of group</summary>
127+ [ global ::System . Management . Automation . Parameter ( Mandatory = true , HelpMessage = "key: id of group" ) ]
128+ [ Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . Info (
129+ Required = true ,
130+ ReadOnly = false ,
131+ Description = @"key: id of group" ,
132+ SerializedName = @"group-id" ,
133+ PossibleTypes = new [ ] { typeof ( string ) } ) ]
134+ [ global ::System . Management . Automation . Alias ( "GroupId" ) ]
135+ [ global ::Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Category ( global ::Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . ParameterCategory . Path ) ]
136+ public string Id { get => this . _id ; set => this . _id = value ; }
137+
137138 /// <summary>Accessor for our copy of the InvocationInfo.</summary>
138139 public global ::System . Management . Automation . InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this . MyInvocation ; set { __invocationInfo = value ; } }
139140
@@ -393,12 +394,12 @@ protected override void ProcessRecord()
393394 try
394395 {
395396 await ( ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . IEventListener ) this ) . Signal ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . Events . CmdletBeforeAPICall ) ; if ( ( ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . IEventListener ) this ) . Token . IsCancellationRequested ) { return ; }
396- await this . Client . GroupsGroupGetGroup ( GroupId , this . InvocationInformation . BoundParameters . ContainsKey ( "ConsistencyLevel" ) ? ConsistencyLevel : null , this . InvocationInformation . BoundParameters . ContainsKey ( "Select" ) ? Select : null /* fixedArrayOf */ , this . InvocationInformation . BoundParameters . ContainsKey ( "Expand" ) ? Expand : null /* fixedArrayOf */ , onOk , onDefault , this , Pipeline ) ;
397+ await this . Client . GroupsGroupGetGroup ( Id , this . InvocationInformation . BoundParameters . ContainsKey ( "ConsistencyLevel" ) ? ConsistencyLevel : null , this . InvocationInformation . BoundParameters . ContainsKey ( "Select" ) ? Select : null /* fixedArrayOf */ , this . InvocationInformation . BoundParameters . ContainsKey ( "Expand" ) ? Expand : null /* fixedArrayOf */ , onOk , onDefault , this , Pipeline ) ;
397398 await ( ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . IEventListener ) this ) . Signal ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . Events . CmdletAfterAPICall ) ; if ( ( ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . IEventListener ) this ) . Token . IsCancellationRequested ) { return ; }
398399 }
399400 catch ( Microsoft . Azure . PowerShell . Cmdlets . Resources . MSGraph . Runtime . UndeclaredResponseException urexception )
400401 {
401- WriteError ( new global ::System . Management . Automation . ErrorRecord ( urexception , urexception . StatusCode . ToString ( ) , global ::System . Management . Automation . ErrorCategory . InvalidOperation , new { GroupId = GroupId , ConsistencyLevel = this . InvocationInformation . BoundParameters . ContainsKey ( "ConsistencyLevel" ) ? ConsistencyLevel : null , Select = this . InvocationInformation . BoundParameters . ContainsKey ( "Select" ) ? Select : null /* fixedArrayOf */ , Expand = this . InvocationInformation . BoundParameters . ContainsKey ( "Expand" ) ? Expand : null /* fixedArrayOf */ } )
402+ WriteError ( new global ::System . Management . Automation . ErrorRecord ( urexception , urexception . StatusCode . ToString ( ) , global ::System . Management . Automation . ErrorCategory . InvalidOperation , new { Id = Id , ConsistencyLevel = this . InvocationInformation . BoundParameters . ContainsKey ( "ConsistencyLevel" ) ? ConsistencyLevel : null , Select = this . InvocationInformation . BoundParameters . ContainsKey ( "Select" ) ? Select : null /* fixedArrayOf */ , Expand = this . InvocationInformation . BoundParameters . ContainsKey ( "Expand" ) ? Expand : null /* fixedArrayOf */ } )
402403 {
403404 ErrorDetails = new global ::System . Management . Automation . ErrorDetails ( urexception . Message ) { RecommendedAction = urexception . Action }
404405 } ) ;
0 commit comments